11

I want to know if there is a way to remove application launchers in GNOME's activities menu:

enter image description here

I also want to know If I can make folders (or groups) like the existing utilities folder in the picture:

enter image description here

After I install applications they always install other dependencies which I don't want to browse through every time I am searching for an application.

In Openbox this was exeptionally well done using ~/.config/openbox/menu.xml where I specified exact file / folder structure which benefited my productivity.

1
  • Please post the second part (i.e. folders in Activities) as a separate question if possible because it sounds like a separate issue. Ping me if you do so.
    – pomsky
    Nov 12 '17 at 16:58
24

App launchers shown in GNOME Activities are located either in /usr/share/applications/ or ~/.local/share/applications/ as .desktop files.

You can hide an individual app launcher from Activities by adding an extra NoDisplay=true line to the corresponding .desktop file.

It is generally not advisable to edit the .desktop file located in /usr/share/applications/. Instead copy the file to ~/.local/share/applications/ first and make the change to the copied file.


If you can't find the right .desktop file in any of the two locations mentioned above, try /usr/local/share/applications too.

6
  • Is it possible to screw anything if I just delete everything from there and manually ad them myself? Also is it possible that they get overwritten on system upgrades?
    – 71GA
    Nov 12 '17 at 17:31
  • 1
    Theoretically it shouldn't cause any issue with the app itself. But as you have suspected, an application update will create/overwrite the .desktop file(s).
    – pomsky
    Nov 12 '17 at 17:35
  • Probably .desktop files in .local/share/applications won't get overwritten on upgrade while the ones in /usr/share/applications will.
    – 71GA
    Nov 12 '17 at 17:39
  • @71GA Yes, that's why it's advisable to create a local copy first and make the changes there.
    – pomsky
    Nov 12 '17 at 17:40
  • 1
    A minimalist solution would be creating a same-name .desktop file at ~/local/share/applications/ with only the "NoDisplay=true" line. I create this file and create several symlinks to mask the apps that I don't use.
    – wuxb
    Mar 19 '19 at 2:29
2

The GUI way could be to install "Alacarte". It's super easy to manage and remove app launchers from the menu.

2
  • Does "Alacarte" keep launchers removed even after updates?
    – 71GA
    Apr 16 '20 at 17:50
  • If the application doesn't automatically create a .desktop file or launcher for itself then yes, it will still be removed after updates. BUT almost every applications creates a .desktop/launcher file upon install my guess is that the launcher will come up. I haven't tried it yet. Mar 21 at 16:43
2

In my case, the application's identity was in ~/.local/share/applications but it was obfuscated through a name like

chrome-hmbjbjdpkobdjplfobhljndfdfdipjhg-Default.desktop

making it difficult to find by name (in my case, the icon was named "Zoom"). For me, the solution was to run

cd ~/.local/share/applications
grep -rn Zoom

with "Zoom" replaced with the icon name. Once you have found the file, you can view its contents to uninstall the program it is linked to as well.

1
  • 1
    It is a mistery to me why they need to overcomplicate things at GNOME.
    – 71GA
    Feb 17 at 8:09
0

This was too easy and yet I didn’t know either and had to search far and wide. You can easily make new ‘app icon folder groups’ by dragging an icon over a second icon. When you see it highlight release it and now both icons will be in the group that you can click on and name. Keep adding icons in the same manner. It works the same on an iPad. It never occurred to me it would be so simple! Removing icons seems to be much harder, and I can’t figure out why PopShop is suddenly creating extras.

0

The package menulibre provides the possibility to hide launchers with a simple switch:

(It's in french here, you'll find this option in your language)

enter image description here

Don't forget to save your modifications with the following top-left icon:

enter image description here

1
  • Beware: this method also removes applications from showing up in gnome's type-to-search list of applications! Sep 11 at 22:47

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.