Blacklist an application in the AppMenu?

Asked by d-snake

Hi Devs,

after searching around the web, I've found no way to exclude an application for showing his main menu in the global app menu. I've searched also in the source for such a feature but I've found nothing. I have the problem with Gimp. Every time when you select the layer window, the main menu is empty. That means you have to select the main window of Gimp and then the main menu. That sucks ;-)

Is it possible to implement something? Something like this:

Instead an hard coded array of blacklisted array:
Source of indicator-appmenu/natty/src/indicator-appmenu.c:
Line 849
/* List of desktop files that shouldn't have menu stubs. */
const static gchar * stubs_blacklist[] = {
 /* Firefox */
 /* Thunderbird */
 /* Open Office */
 /* Blender */
 /* Eclipse */


You can search for the blacklisted *.dektop files in the folder "/usr/share/indicator-appmenu/blacklist" and one in the HOME path like "~/.local/share/indicator-appmenu/blacklist". In this folders are just softlinks from "/usr/share/applications/*".

What do you think of it? Thanks for response ;-)

Question information

English Edit question
Ubuntu indicator-appmenu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joshua L├╝ckers (joshualuckers) said :

Can you help with this problem?

Provide an answer of your own, or ask d-snake for more information if necessary.

To post a message you must log in.