- Open your favourite text editor (
gedit
,nano
, etc.), create a new file with the following content and save it to your Desktop with a name having extension.desktop
In this example, I've chosen to the nameinetexplorer.desktop
and saved it to my desktop.
[Desktop Entry] Name=Internet Explorer Exec=wine "C:\Program Files\Internet Explorer\iexplore.exe" Icon=/path/to/iconfile Type=Application Categories=Wine;
(for GUI applications)wine "C:\path to the\executable file"
(for CLI application) like saywineconsole "C:\path to the\executable file"
(enclosing the path within double quoteswine "C:\Program Files\Internet Explorer\iexplore.exe"
".. .."
is important if the path contain blank spaces.)
Replace /path/to/iconfile (the value for Icon field) with the path of an icon file (like Icon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.
On the left is a shortcut with icon specified, for the one on right, not. - Turn on the file's execute bit on.
Graphically you can do it by right clicking the.desktop
file, and from the context menu select Properties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.
selecting property from right-click context menu
setting execute permission
From terminal, you can do this with:
wherechmod +x $USER/Desktop/inetexplorer.desktop
$USER/Desktop/inetexplorer.desktop
should be the absolute path of the desktop shortcut that was created.
Sunday, December 28, 2014
creating wine shortcuts on ubuntu
http://askubuntu.com/questions/437555/creating-wine-shortcuts
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment