Completely disable the menu when I right click on the desktop (LXDE, Openbox, Ubuntu)

desktoplxdeopenbox

I would like to setup an old PC as a thinclient for our VMware View infrastructure. I need to disable the menu that pops up when I right-click on the desktop, along with some other things such as disabling the screen saver.

This is what I have done so far:

  • Disable LXDE screensaver

    Delete @xscreensaver –no-splash from /etc/xdg/lxsession/LXDE/autostart

  • Remove right click desktop menu options

    Right click on desktop and choose Desktop Preferences

    Select the advanced tab and check off Show menus provided by window managers when desktop is clicked

    Edit /etc/xdg/openbox/menu.xml and remove everything between <menu id=”root-menu” label=”Openbox 3”> and </menu>

  • Disable the LXPanel

    Edit /etc/xdg/lxsession/LXDE/autostart and comment out @lxpanel –profile LXDE.

All of this seems to work fine, but when I right-click the desktop I still see this:

Screenshot of the pop-up menu

How do I kill this?

Best Answer

This question is very old, but you need to remove the line from /etc/xdg/lxsession/LXDE/autostart that is starting pcmanfm. The right-click menu you see there is not from openbox, but from the pcmanfm desktop window.

Related Question