21

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

26

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.

| improve this answer | |
  • 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 – Lee 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, not unity. – Lee Mar 17 '16 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. – Sergiy Kolodyazhnyy Mar 17 '16 at 15:04
9
  1. Most apps: /usr/share/applications/
  2. Some apps: ~/.local/share/applications/
  3. Installed by Snap apps: /var/lib/snapd/desktop/applications/
  4. Installed by Flatpak apps: /var/lib/flatpak/exports/share/applications/
| improve this answer | |
  • 2
    +1 for snap location :) – nuala Jun 10 '19 at 13:31
6

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

| improve this answer | |
  • 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 '17 at 8:55
  • 1
    @DavidCulbreth: Posting questions, posting answers and editing answers are rep 1 privileges. Posting comments needs higher rep. – Fabby Aug 11 '18 at 22:53

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.