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.