The time now is Tue 24 Apr 2018, 09:05
All times are UTC - 4 |
Author |
Message |
mikeslr

Joined: 16 Jun 2008 Posts: 2342 Location: 500 seconds from Sol
|
Posted: 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.
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
|
|
 |
step
Joined: 04 May 2012 Posts: 1030
|
Posted: Sun 17 Jan 2016, 07:51 Post subject:
|
|
Nice summary, thank you! (bookmarked)
_________________ Fatdog64-721|+Packages|Kodi|Findnrun|+forum|gtkmenuplus
|
Back to top
|
|
 |
mikeslr

Joined: 16 Jun 2008 Posts: 2342 Location: 500 seconds from Sol
|
Posted: 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
|
|
 |
|
|
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
|