How to make Linux launcher

Questions about Wine on Linux
Locked
abdu
Level 2
Level 2
Posts: 20
Joined: Mon Jul 05, 2021 7:43 pm

How to make Linux launcher

Post by abdu »

So confusing on how to correctly have a new desktop launcher, how its thumb rules

On shell just works

Code: Select all

$ cd $HOME/.wine/drive_c/shamela4
$ wine launcher.exe
but how come on desktop launcher
..
...
Command: wine $HOME/.wine/drive_c/shamela4/launcher.exe
Working dir.: $HOME/.wine/drive_c/shamela4
..

clicking this newly launcher not work ?

And, maybe on a new post, how to have its icon which Windws sometime put in package, sometime embedded in the .exe to be shown on desktop
abdu
Level 2
Level 2
Posts: 20
Joined: Mon Jul 05, 2021 7:43 pm

Re: How to make Linux launcher

Post by abdu »

How dumb I'm
it cannot be shell var., so itd be:
Command: wine /home/abdu/.wine/drive_c/shamela4/launcher.exe
Working dir.: /home/abdu/.wine/drive_c/shamela4
but still a bit issue it won;'t work unless selecting option: Run in Terminal
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: How to make Linux launcher

Post by jkfloris »

I don't know exactly what launcher you're trying to use, but a .desktop file can look like this:

Code: Select all

[Desktop Entry]
Type=Application
Name=Shamela
Comment=Shamela 4
Exec=/usr/bin/wine start /unix "/home/abdu/.wine/drive_c/shamela4/launcher.exe"
Icon=wine
Terminal=false
Locked