Those ScreenSaver-related applications such as X-Debian-Screen-Saving-activate_screensaver_(next).desktop are stored in /.local/share/applications/menu-xdg/ from what I can see.
You could remove this icons one-by-one by adding the line
NoDisplay=true
this is a partial solution, I'm looking for a more "clean" solution, e.g. adding an exlusion to the lxde-applications.menu file, or see if I can exlude those categories (e.g. X-Debian-Screen-Saving) from the Others category. The second one is showing no success, cause in order to remove duplicates LibreOffice and Chrome icons from other, the only solution was to fully purge all the
<Include> section from every <Not><Category> line, dunno why.
lxpanel menu: "other" category overpopulated
Re: lxpanel menu: "other" category overpopulated
Screensaver files in my Debian+LXDE are stored in /.local/share/applications/menu-xdg, so are the duplicate files that appears on both their categories and others.
Now the only thing left to do is to check if is better to remove those one by one, add “NoDisplay=true” to all of them, or to edit the lxde-application.menu to exlude them, exluding categories or folder path.
Have a nice day
Now the only thing left to do is to check if is better to remove those one by one, add “NoDisplay=true” to all of them, or to edit the lxde-application.menu to exlude them, exluding categories or folder path.
Have a nice day
-
- Posts: 1094
- Joined: Sat Aug 27, 2011 5:44 pm
- Location: Sierra Vista, Arizona USA
- Contact:
Re: lxpanel menu: "other" category overpopulated
Welcome to the LXDE forum. New thread created because of the age of the older post.
Rex
Re: lxpanel menu: "other" category overpopulated
In my Debian+LXDE the icons in the Other tab are stored in two folder, one is in your user folder under the path ~/.local/share/applications/menu-xdg, the other is in
/var/lib/menu-xdg/applications/menu-xdg
Theese icons have weird categories, all starting with X-Debian-* that makes the tag in Other menu pretty useless, that's why they cause duplicates and so
now I've edited my lxde-appearance.menu (in ~/.config/menus, to affect only my current user) in order to avoid it displaying those icons
Here's how my <Other> Looks like
It's really not a clean way of resolving the issue, but it works, if someone could point out how to exlude the /var/lib/menu-xdg/applications/menu-xdg from the file, or at least how to exlude all the X-Debian-* categories, I think it would be a cleaner way of doing this.
Sadly I'm not good at editing XML, hope someone good will bump here
/var/lib/menu-xdg/applications/menu-xdg
Theese icons have weird categories, all starting with X-Debian-* that makes the
Code: Select all
<OnlyUnallocated/>
now I've edited my lxde-appearance.menu (in ~/.config/menus, to affect only my current user) in order to avoid it displaying those icons
Here's how my <Other> Looks like
Code: Select all
<!-- Other -->
<Menu>
<Name>Other</Name>
<Directory>lxde-other.directory</Directory>
<OnlyUnallocated/>
<Include>
<And>
<Not><Category>Core</Category></Not>
<Not><Category>Settings</Category></Not>
<Not><Category>Screensaver</Category></Not>
<Not><Category>X-Debian-Applications-Accessibility</Category></Not>
<Not><Category>X-Debian-Applications-Data-Management</Category></Not>
<Not><Category>X-Debian-Applications-Editors</Category></Not>
<Not><Category>X-Debian-Applications-File-Management</Category></Not>
<Not><Category>X-Debian-Applications-Graphics</Category></Not>
<Not><Category>X-Debian-Applications-Network-Communication</Category></Not>
<Not><Category>X-Debian-Applications-Network-File-Transfer</Category></Not>
<Not><Category>X-Debian-Applications-Network-Web-Browsing</Category></Not>
<Not><Category>X-Debian-Applications-Office</Category></Not>
<Not><Category>X-Debian-Applications-Programming</Category></Not>
<Not><Category>X-Debian-Applications-Science-Mathematics</Category></Not>
<Not><Category>X-Debian-Applications-Shells</Category></Not>
<Not><Category>X-Debian-Applications-System-Administration</Category></Not>
<Not><Category>X-Debian-Applications-System-Hardware</Category></Not>
<Not><Category>X-Debian-Applications-System-Monitoring</Category></Not>
<Not><Category>X-Debian-Applications-System-Package-Management</Category></Not>
<Not><Category>X-Debian-Applications-Terminal-Emulators</Category></Not>
<Not><Category>X-Debian-Applications-Text</Category></Not>
<Not><Category>X-Debian-Applications-Video</Category></Not>
<Not><Category>X-Debian-Applications-Viewers</Category></Not>
<Not><Category>X-Debian-Games-Toys</Category></Not>
<Not><Category>X-Debian-Help</Category></Not>
<Not><Category>X-Debian-Screen-Locking</Category></Not>
<Not><Category>X-Debian-Screen-Saving</Category></Not>
</And>
</Include>
</Menu> <!-- End Other -->
Sadly I'm not good at editing XML, hope someone good will bump here