I would like to install an application in custom wineprefix and winearch
let say that I’ll install a software like this:
WINEARCH=win64 WINEPREFIX=~/wineapps/test wine installer.exe
Application executable is going to be in:
~/wineapps/test/Program\ Files/test/start.exe
How should I create a shortcut on Manjaro desktop?
I’ve found:
https://wiki.archlinux.org/index.php/Desktop_entries
But I’m not sure how to use the information.
I need to create .destkop file in the:
/usr/share/applications/
or /usr/local/share/applications/
Does it matter where I create this file?
And in this file there should be:
[Desktop Entry]
# The type as listed above
Type=Application
# The name of the application
Name=test
# The path to the folder in which the executable is run
Path=~/wineapps/test/Program\ Files/test/
# The executable of the application, possibly with arguments.
Exec=WINEPREFIX=... WINEARCH=... wine '~/wineapps/test/Program\ Files/test/start.exe'
# The name of the icon that will be used to display this entry
Icon=...
# Describes whether this application needs to be run in a terminal or not
Terminal=false
# Describes the categories in which this entry should be shown
Categories=Graphic;
I believe that Type=Application is ok. Patch to icon is self-explanatory.
I have no idea if the Path and Exec are even close to ok.
And what to do next? When I’ll have .desktop
file what I should do next?