Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How does one remove items from the menu plugin on the panel?

I am using lubuntu 11.10, LXPanel 0.5.8.

share|improve this question
add comment

1 Answer

In the file .config/lxpanel/LXDE/panels/panel you can find the following stanza:

Plugin {
    type = menu
    Config {
        image=/usr/share/lxde/images/lxde-icon.png
        system {
        }
        separator {
        }
        item {
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}

The most of the menu is constructed from the content of the directory /usr/share/applications/, where applications put their desktop files, and in the menu is organized based on the content of the Categories field.

share|improve this answer
    
This is not true. You can delete every file in /usr/share/applications and /usr/share/desktop-directories (and any other .desktop and .directory file you can find) run xdg-desktop-menu forceupdate, run lxpanelctl restart , log out, log in and the menu is STILL THERE. It is immutable. –  Maine_guy Feb 24 '13 at 2:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.