Ubuntu reload desktop files
Ubuntu How to force Unity reload ~/.local/share/applications/shortcutsunity Let's say I changed/added some myapp.desktop file at ~/.local/share/applications/. How I can force Unity reload ~/.local/share/applications and reflect shortcuts correctly in lens? Best AnswerA little late, but i stumbled upon this thread before finding a solution, atleast to my problem, googling something related, nearly giving up. As per this guide help.ubuntu.com, don't just edit or create your .desktop files in /usr/local/share/applications or ~/.local/share/applications. Instead, create the file somewhere else and use desktop-file-installto add the file. E.g. you create ~/myapp.desktop and do desktop-file-install --dir=$HOME/.local/share/applications ~/myapp.desktopExisting files of the same name will be overwritten and unity updated, you can use --delete-original if the source is not needed anymore, or sudo desktop-file-install ~/myapp.desktopto install it for all users. Related Question
|