Removing unwanted start menu entries in 24.04

Hi there! :wave:

This may have been asked before by someone else but is there an easy way to delete unwanted start menu entries, apart from going into /usr/share/applications as root and either deleting entries or renaming them? There are some entries in the start menu that I want to remove but they do not have icons or files in the location I mentioned above. :thinking:

If you have any questions or need more details (including a screenshot of something,) please let me know. :slightly_smiling_face:

Regards…

1 Like

For this task I have installed ‘Main Menu’ (also known as ‘Alacarte’) by ‘Discover’:

alacarte

2 Likes

Hi Wolf314! :slightly_smiling_face:

Thank you for your help, I appreciate it! Lord willing, I’ll give Alacarte a shot and get back with you with the results. :+1:

Regards…

2 Likes

Hi everyone!

I installed Alacarte as Wolf314 suggested but for some reason, it’s not working as expected. I tried unchecking two or three start menu entries but the app didn’t remove the entries. Please see the example in the screenshot I included in this post. Am I not understanding how to use the app or is there something else wrong? :thinking:

Regards…


picture upload site

2 Likes

Unchecking is not sufficient. You have to delete the entry.

1 Like

Hi Wolf314! :slightly_smiling_face:

Thank you! Before I try that, is there a way of getting an entry back if I delete it?

Regards…

1 Like

After deletion you can still start the application via Runner (chapter 5.3 of Lubuntu Manual).

For instance, I had deleted the launcher of ‘Picom’. When using Runner to start it, there is its path shown:
picom

With this path you can create a new launcher anytime by a right click to the desktop:
launcher
launcher 2
The Command is the respective path shown in Runner.

Addendum:
With ‘Main Menu’ you can create a new entry in the application menu. But for some reason the fresh entry seems to appear in category ‘Other’ only.

2 Likes

After some trials the method I now consider best is to find the .desktop file of the entry you want to hide and modify it by adding a new line to it: Hidden=true

In this way the entry vanishes from the application menu, but can re-appear by deleting the mentioned line in its .desktop file.

To find the respective file, …

  • right click on the entry and choose ‘Add to desktop’. Then right click on the new icon on the desktop and choose ‘properties’. There you can read the name of the according .desktop file. For reason of simplicity let it be abc.desktop.
  • open the terminal and execute
    sudo find / -name 'abc.desktop'
    to locate its path.
2 Likes

Hi Wolf314! :slightly_smiling_face:

Thank you! Lord willing, let me try out your suggestions and I’ll get back with you. :+1:

Regards…

Be aware that the changes in the .desktop file take effect not until the next log-in.

Ah, thank you for the heads up! :slight_smile:

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.