I was wondering if anyone knows how I can hide the "All" category in Xubuntu's Whisker Menu? I can hide most categories except "All".
Any help would be much appreciated!
I was wondering if anyone knows how I can hide the "All" category in Xubuntu's Whisker Menu? I can hide most categories except "All".
Any help would be much appreciated!
I don't seem to find any command that allows that, neither via GUI nor config file. It seems to be a deeply embedded characteristics so that every new item is placed automatically in this All category.
The only alternative I can think of is that you compile your own whisker menu. That requires (1) some knowledge of C++ (language in which the program is written), (2) know how to compile a program from source. Also, you need to remove the program (Xfce Whisker Menu) before compiling. So do at your own risk.
The source code is here. As far as I can see, to get what you need modify the following files:
category.cpp: remove lines 43 to 63.
applications-page.cpp: remove lines 285 to 291.
Save and compile using these instructions or similar.
Remember to to remove the whisker menu app from your system beforehand.
user308164's answer probably worked on an older version of the code.
What worked for me was to make the iterator start at the end:
In panel-plugin/window.cpp change from
for (std::vector<SectionButton*>::const_iterator i = categories.begin(), end = categories.end(); i != end; ++i)
to
for (std::vector<SectionButton*>::const_iterator i = categories.end(), end = categories.end(); i != end; ++i)