Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 24 May 2016, 19:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Menus for Wine
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
mikeslr


Joined: 16 Jun 2008
Posts: 1384
Location: 500 seconds from Sol

PostPosted: Sat 16 Jan 2016, 21:20    Post subject:  Menus for Wine  

Hi All,

Starting with Wine 1.5.18, Version2013 moved the menu entries into a separate dotpet named wine_extras-v2.pet. It's currently available from here: http://lilfile.com/j9oqqs,

Alternative to having listing for some programs which come with wine scattered throughout your Menu are:

peebee's "just one entry under Utility which leads to a menu of all the wine programs" which is available from here: http://www.murga-linux.com/puppy/viewtopic.php?p=640535#640535

and Argolances' WinUtil 1.4, available on the French Forum, http://www.murga-linux.com/puppy/viewtopic.php?t=102332

I have not, as yet, tried either alternative since currently all my Pups use portable-wine which provides menu-listing for those wine programs I am likely to use.

Previous to using portable-wine, I "de-cluttered" the Menu by browsing to /usr/share/applications, opening the desktop files of unwanted applications and adding a "z" to the beginning of the word specified in the Category Argument. Since there is no recognized --for example-- zUtility Category, the application would no longer appear on the Menu. If, later, I changed my mind, returning the application to the Menu was just a matter of removing the "z" and restarting X.

Version2013's post, http://www.murga-linux.com/puppy/viewtopic.php?p=725128#725128 thoughtfully provided a link to WineHQ's listing of Commands which call programs included within Wine. https://web.archive.org/web/20151224045237/http://wiki.winehq.org/ListofCommands. Those programs can be initiated by opening a terminal and typing, Code:

wine wineprogram arg1 arg2 ...

For example, "wine winefile" will open wine's filemanager.

With this information, it is easy to create menu entries for any of wine's builtin programs that you consider useful enough to be on the Menu. The following is the text of Wine-Control.desktop as it appears in /usr/share/applications

[Desktop Entry]
Encoding=UTF-8
Name=Wine Control Panel
Icon=/usr/share/pixmaps/winecfg.png
Comment=Wine Control Panel
Exec=wine control
Terminal=false
Type=Application
Categories=Utility
GenericName=Wine Control Panel

To create a menu-entry for a different builtin wine program, open your text editor and copy the above into it, then change the relevant arguments and save it to /usr/share/applications with a different name. For example, if I wanted a menu entry for wine's filemanager, I would make the below bolded
changes and save it as "wine-filemanager" --without the quotes:

[Desktop Entry]
Encoding=UTF-8
Name=Wine Filemanager
Icon=/usr/share/pixmaps/winecfg.png
Comment=Wine Filemanager
Exec=wine winefile
Terminal=false
Type=Application
Categories=X-Filesystem-filemanager
GenericName=Wine Filemanager

Make sure you have an appropriate icon in /usr/share/pixmaps. Smile

Above, I've bolded references to wine's included/builtin programs. These are NOT the programs you install. To create menu listings for those progams, see http://murga-linux.com/puppy/viewtopic.php?p=814296

mikesLr

Last edited by mikeslr on Wed 09 Mar 2016, 20:29; edited 2 times in total
Back to top
View user's profile Send private message 
step

Joined: 04 May 2012
Posts: 628

PostPosted: Sun 17 Jan 2016, 07:51    Post subject:  

Nice summary, thank you! (bookmarked)
_________________
Fatdog64-702|+Packages|Findnrun|+forum|OpenMediaVault
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 1384
Location: 500 seconds from Sol

PostPosted: Wed 17 Feb 2016, 23:22    Post subject: Winetricks -- Menu listing  

Hi All,

I recently had occasion to work with an installed wine rather than portable. Some versions of wine, both portable and installed as a pet, include winetricks. And some don't.

To start winetricks from a portable-wine which include it, you normally have to open a terminal and type, code:

wine.sh winetricks.

Doing the equivalent in an installed wine I thought the code would be "wine winetricks" --without the quotes. But that returned an error message. I'm not sure I know what inspired me to enter the code which worked, which is simply:

winetricks

At any rate, keep that distinction in mind if you want a menu entry for winetricks.

mikesLr
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Virtualization
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0499s ][ Queries: 11 (0.0086s) ][ GZIP on ]