When launching an application through the command line I successfully use:gourmet --gourmet-directory $HOME/my/custom/path/But it does not work when trying to replicate this behaviour on a .desktop file with:Exec=gourmet --gourmet-directory $HOME/my/custom/path/ %F I am probably missing something very basic here, but I cannot get my head around this. Any help would be much appreciated.
How to pass argument in .desktop file
linux;.desktop
Only command line options with one hyphen are possible in the Exec field.Exec=sh -c gourmet --gourmet-directory $HOME/my/custom/path/ %Fshould work.