shell-things/local/share/applications
Aminda Suomalainen 447dcfdf08
fix .prettierrc & run prettier again
2024-07-03 19:08:14 +03:00
..
.gitignore
README.md
a-brave-beta.desktop
a-brave-nightly.desktop
a-brave.desktop
a-code-insiders.desktop
a-code.desktop
a-codium.desktop
a-firefox.desktop
a-google-chrome.desktop
a-joplin.desktop
a-microsoft-edge-beta.desktop
a-microsoft-edge-dev.desktop
a-microsoft-edge.desktop
a-mpv.desktop
a-signal.desktop
a-steam.desktop
a-syncplay.desktop
a-telegram.desktop
a-thunderbird.desktop
briar.desktop
libreawoo.desktop

README.md

Custom app menu entries

These can be used for either ~/.local/share/applications or /usr/local/share/applications which are read by graphical desktop environments for their app menus and default applications selections.

Additionally ~/.config/autostart or /etc/xdg/autostart could symlink here so graphical desktop environments started the apps on login.

a-*.desktop

These files are companions to my script repos bash/usr-local-bin/* belonging to /usr/local/share/applications and are named so to avoid masking package manager. They have clearly different names such as using all caps.

Apparently one can also have subdirectories in /usr/local/share/applications/ and ~/.local/share/applications/ making life easier.

Refreshing the menus

update-desktop-database -v ~/.local/share/applications
sudo update-desktop-database -v /usr/local/share/applications

Default applications

Codium documentation points out the existence of ~/.config/mimeapps.list and gives these two examples:

[Default Applications]
inode/directory=org.gnome.Nautilus.desktop;
% grep directory /usr/share/applications/mimeinfo.cache
inode/directory=codium.desktop
org.gnome.Nautilus.desktop

TODO: I wonder if it needs an update-desktop-database or similar though.