Originally Posted by
Holger_Gehrke
Not really. Aliases are substituted by the shell (bash, probably). There's no shell involved when calling programs through a .desktop file. You could put the changed .desktop file for spotify in $HOME/.local/share/applications - the directory for user-specific .desktop files - and add that directory to the ones you keep in sync.
Holger
Sounds good.
After moving the spotify.desktop file I can see in Nautilus there is a lock on the icon but I have edited the exec line from spotify %U to:
Code:
Exec=/usr/bin/spotify --force-device-scale-factor=2.0 %U
Is it correct for the URL parameter to come at the very end there or should it be directly after /usr/bin/spotify?
I am looking at a permissions cheatsheet here but I am unsure if I should duplicate the permissions for jetbrains or for telegram?
Code:
user@host:~/.local/share/applications$ lltotal 20
drwx------ 1 user user 224 Sep 12 20:12 ./
drwxr-xr-x 1 user user 452 Sep 12 20:14 ../
-rwxrw-r-- 1 user user 353 Sep 12 12:42 jetbrains-idea.desktop*
-rwxrw-r-- 1 user user 440 Sep 12 12:40 jetbrains-toolbox.desktop*
-rw-rw-r-- 1 user user 0 Sep 11 18:58 mimeapps.list
-rw-rw-r-- 1 user user 58 Sep 12 11:28 mimeinfo.cache
-rw-r--r-- 1 root root 238 Sep 12 09:47 spotify.desktop
-rw-rw-r-- 1 user user 411 Sep 12 11:28 telegramdesktop.desktop
Bookmarks