For shortcuts in the Applications drop-down Menu and on the title bar of the Gnome Desktop, where is the path to their directories?
Asked
Active
Viewed 8.6k times
59
wsdzbm
- 977
-
1For the benefit of a comprehensive understanding and an organic yet simple description on how desktop files work and where they should be placed, see the Gnome Developers website at: https://developer.gnome.org/integration-guide/stable/desktop-files.html.en Hope this helps! – user3567566 Oct 18 '20 at 06:17
-
1That is a helpful resource, but seems to have been moved to: https://developer-old.gnome.org/integration-guide/stable/desktop-files.html.en – JonathanDavidArndt Apr 16 '23 at 01:21
3 Answers
72
You are looking for the .desktop files, which are located in /usr/share/applications (or sometimes /usr/local/share/applications).
Some applications may place these files in ~/.local/share/applications instead.
CheekyBeeswaxer
- 557
Charles Green
- 21,909
-
I saw some duplications in that folder. I guess they are the shortcuts in the
Applicationsmenu? How about the shortcuts on the titlebar? I didn't see them in/usr/share/applications– wsdzbm Mar 17 '16 at 14:31 -
What titlebar we're talking about ? The top black bar ? Can you give example of application you're referring to ? – Sergiy Kolodyazhnyy Mar 17 '16 at 14:33
-
@Lee Are you referring to the tray icons, such as the bluetooth icon or the speaker volume icon? – Charles Green Mar 17 '16 at 14:47
-
@CharlesGreen yes, they are included on the title bar. I'm using
gnome-session-flashback, notunity. – wsdzbm Mar 17 '16 at 14:50 -
@Serg On the top of the Desktop, where there is
Applicationsmenu, custommed application shortcuts and applet indicators such as the icons of dropbox, input method, time clock and system menu. – wsdzbm Mar 17 '16 at 14:52 -
1Those may vary. If that's an external application like dropbox - it has .desktop file as well in
/usr/share/applicaitons/folder. If that's something built in like clock or input method - that's built into the gnome, likely won't have a shortcut. – Sergiy Kolodyazhnyy Mar 17 '16 at 15:04
65
- Most apps: /usr/share/applications/
- Some apps: /usr/local/share/applications
- Some other apps: ~/.local/share/applications/
- Installed with Snap apps: /var/lib/snapd/desktop/applications/
- Installed with Flatpak apps: /var/lib/flatpak/exports/share/applications/
- Installed with Wine apps: ~/.local/share/applications/wine/Programs/
Xtigyro
- 751
11
-
3This would be better off as an edit to the existing answer. (you also get additional reputation for editing existing answers here) – Fabby Aug 31 '17 at 08:55
-
2@DavidCulbreth: Posting questions, posting answers and editing answers are rep 1 privileges. Posting comments needs higher rep. – Fabby Aug 11 '18 at 22:53