Possibly notepad isn't the best example, though I don't use Lubuntu so maybe things are different
Typically wine installs a wine wrapper script in /usr/bin for notepad so it can be started like any other binary, in this case just
notepad
So a simple desktop launcher would be
Code:
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=wine-notepad
Name=notepad
Exec=notepad
StartupNotify=true
Noting that the launcher (.desktop) must be set to execute in permissions
For 'normal' installed .exes you can create launchers with several different Exec= lines, 2 examples here with same .exe
The only difference would be seen on something like Unity where the 2nd one produces the correct icon in the launcher, not a factor here.
Code:
[Desktop Entry]
Name=DVD Decrypter
Exec=wine "C:\Program Files\DVD Decrypter\DVDDecrypter.exe"
Type=Application
StartupNotify=true
Path=/home/doug/.wine/dosdevices/c:/Program Files/DVD Decrypter
Icon=/home/doug/.local/share/icons/48e9_dvddecrypter.0.png
or
Code:
[Desktop Entry]
Name=DVD Decrypter
Exec=env WINEPREFIX="/home/doug/.wine" wine C:\\\\Program\\ Files\\\\DVD\\ Decrypter\\\\DVDDecrypter.exe
Type=Application
StartupNotify=true
Path=/home/doug/.wine/dosdevices/c:/Program Files/DVD Decrypter
Icon=/home/doug/.local/share/icons/48e9_dvddecrypter.0.png
To put some perspective I included the linux path in a Path= line, can be in the .desktop
As far as notepad - you could test if the wrapper script is working by simply using notepad in a terminal or run dialog (Alt+f2 here
Bookmarks