Talk:Desktop entries

From ArchWiki
Jump to navigation Jump to search

desktop-file-install

What I missed: Don't just put your .desktop files to e.g. ~/.local/share/applications, but craft your desktop file an then install it like

desktop-file-install --dir=~/.local/share/applications ~/app.desktop

--Henry78 (talk) 19:12, 14 September 2016 (UTC)

Thanks. It is added. Close. -- Fengchao (talk) 03:00, 29 October 2019 (UTC)
What for? -- Ubone (talk) 07:28, 29 October 2019 (UTC)
See the desktop-file-install(1) manual for why the tool exists. -- Lahwaacz (talk) 17:31, 29 October 2019 (UTC)

Updating database

I am correct in saying that you should run for example

$ sudo update-desktop-database

or

$ sudo update-desktop-database ~/.local/share/applications/

if want your changes to come into force immediately?

--Nielius (talk) 08:01, 20 April 2018 (UTC)

Thanks. Already added in section "Update database of desktop entries". Close. Fengchao (talk) 02:50, 29 October 2019 (UTC)
I have never seen a need for this. Ubone (talk) 07:26, 29 October 2019 (UTC)