43

For shortcuts in the Applications drop-down Menu and on the title bar of the Gnome Desktop, where is the path to their directories?

1

3 Answers 3

54

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.

6
  • I saw some duplications in that folder. I guess they are the shortcuts in the Applications menu? How about the shortcuts on the titlebar? I didn't see them in /usr/share/applications
    – ddzzbbwwmm
    Mar 17, 2016 at 14:31
  • What titlebar we're talking about ? The top black bar ? Can you give example of application you're referring to ? Mar 17, 2016 at 14:33
  • @Lee Are you referring to the tray icons, such as the bluetooth icon or the speaker volume icon? Mar 17, 2016 at 14:47
  • @CharlesGreen yes, they are included on the title bar. I'm using gnome-session-flashback, not unity.
    – ddzzbbwwmm
    Mar 17, 2016 at 14:50
  • 1
    Those 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. Mar 17, 2016 at 15:04
42
  1. Most apps: /usr/share/applications/
  2. Some apps: /usr/local/share/applications
  3. Some other apps: ~/.local/share/applications/
  4. Installed with Snap apps: /var/lib/snapd/desktop/applications/
  5. Installed with Flatpak apps: /var/lib/flatpak/exports/share/applications/
  6. Installed with Wine apps: ~/.local/share/applications/wine/Programs/
0
8

Your own shortcuts can also be placed in ~/.local/share/applications.

3
  • 2
    This would be better off as an edit to the existing answer. (you also get additional reputation for editing existing answers here)
    – Fabby
    Aug 31, 2017 at 8:55
  • 2
    @DavidCulbreth: Posting questions, posting answers and editing answers are rep 1 privileges. Posting comments needs higher rep.
    – Fabby
    Aug 11, 2018 at 22:53
  • You're doing great @rloth! Keep the good stuff coming. Nov 4, 2021 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.