ok, so I'm trying to make a portable launcher for my wine application...
[Desktop Entry]
Name= UMC
Type= Application
Terminal=true
Exec= wine ~/data/Python/x86/python.exe loader.py 'x86'
StartupNotify= true
Icon= ~/data/UMC.ico
the '~' in my code means the current directory, which can be relocated.
what could I use in place of the '~' that would do what I expect??
~
means your home directory usually, but it doesn't matter, since~
isn't evaluated in a desktop file: askubuntu.com/a/142239/158442. You might want to look at stackoverflow.com/questions/3452746/…%k
parameter, as seen in askubuntu.com/a/345123/158442."export PATH=$PATH: 'dirname %k'; wine data/Python/x86/python.exe loader.py 'x86'"
, the terminal just pops up then out, no text... I'm a noob btw :P