I need to launch some applications on KDE with some added config changes. The best way to do that without messing up with /
is by copying .desktop
file of individual applications, that I need to change config of, from /usr/share/applications
, add options, and then copy them to ~/.local/share/applications
.
I was wondering if that is going to cause any problems that I am not aware of. And if there is a better way to do that say by not copying everything but only adding a changes in the desktop file in ~/.local/share/applications
.
Thanks.
Best Answer
Yes it should work to copy the ones you want to modify to
~/.local/share/applications
, and shouldn't cause too many problems unless you make some bad edits (e.g. removing mime-types etc). Copying all the ones mean that if they are updated at/usr/share/applications
, they won;t be updated in~/.local/share/applications
, and the launchers for apps you remove will remain. Don't bother copying all of them that is unnecessary.After you make the edits, running
update-desktop-database ~/.local/share/applications/
should make sure the new launcher is recognised, so is shown in the Dash/Menu.Unity's launcher, and probably Gnome's Dash will likely still show the version in
/usr/share/applications
, so you will need to unlock and lock the icon. Gnome 3 may also need a restart, Nautilus may do as well so logging out and logging back in should fix this.Reading the following may help with making edits: