jimbo1qaz
Posts: 1
Joined: Fri Dec 21, 2012 12:52 am

Raspbian XFCE Desktop Right-click Broken

Fri Dec 21, 2012 1:07 am

I right clicked the desktop, changed the background. Looks good.
Then I think I switched the tab and checked that thing saying something like "open window manager menu when clock on desktop".
Now when I right click on desktop, I get the menu to:
Open browser and terminal
Change workspace
Change Openbox theme
Shutdown/log off?
And no way to open the desktop appearance/settings menu to change it back. :shock: :evil:
I think my menu's dead. Which file do I edit to change it back?
USA. Cuz Britain is gey.

trololo
Posts: 4
Joined: Fri Dec 21, 2012 10:41 pm

Re: Raspbian XFCE Desktop Right-click Broken

Fri Dec 21, 2012 10:43 pm

Actually, it's LXDE.

theowiersema
Posts: 3
Joined: Fri Dec 28, 2012 4:49 am

Re: Raspbian XFCE Desktop Right-click Broken

Fri Dec 28, 2012 4:57 am

Got the same problem. :/

User avatar
hop
Posts: 87
Joined: Thu Nov 22, 2012 9:40 pm

Re: Raspbian XFCE Desktop Right-click Broken

Fri Dec 28, 2012 8:32 am

Look in the preferences menu for OpenBox configuration.

MikeP666
Posts: 2
Joined: Mon Dec 31, 2012 10:11 pm
Location: Hampshire UK

Re: Raspbian XFCE Desktop Right-click Broken

Mon Dec 31, 2012 10:21 pm

Hi

To get back to defaults you can do one of two things:

1) Big bang approach. In a terminal navigate to:
/home/pi/.config/pcmanfm/LXDE
delete pcmanfm.conf
Exit LXDE and restart
You will now be back to defaults

2) In a terminal navigate to:
/home/pi/.config/pcmanfm/LXDE
edit pcmanfm.conf
locate:

........
[desktop]

............
show_wm_menu=1

..............
Change value from 1 to 0 and save
Resart LXDE

Have fune

mikep

jkibbe
Posts: 5
Joined: Mon Feb 04, 2013 5:35 pm

Re: Raspbian XFCE Desktop Right-click Broken

Fri Apr 05, 2013 11:19 pm

It took me a while to figure this one out (and lots of failed attempts). I figured I'd post my solution here to help others that can seem to undo what they have done!

Anyway, launch a terminal and enter pcmanfm --desktop-pref. When the desktop preferences window pops up, click on the "Advanced" tab and deselect "Show menus provided by window managers when desktop is clicked." That's it!

When we changed the setting, we essentially told the Openbox Window Manager to take over the right-click duties. This switches it back to the PCManFM File Manager that we had by default.

Good luck!

jameli
Posts: 1
Joined: Sun Nov 03, 2013 5:47 pm

Re: Raspbian XFCE Desktop Right-click Broken

Sun Nov 03, 2013 5:59 pm

Code: Select all

 pcmanfm --desktop-pref
Awesome!!!
I had been looking for this command... restored my raspi several times because of this :cry: finally here is the solution. :D
Thanks bro, it helped a lot!

rinusvw
Posts: 5
Joined: Tue Nov 26, 2013 11:11 pm

Re: Raspbian XFCE Desktop Right-click Broken

Fri Jan 31, 2014 3:13 pm

@jkibbe: You found the solution, congratulations!

But why not combine the best of both worlds? I.e. make certain that you can change desktop preferences by calling pcmanfm from the alternative "Openbox " menu. This is very easy to do:
- open the next file for editing with the Leafpad editor, or the editor of your choice.

Code: Select all

~/.config.openbox/menu.xml

If this file is not present you can copy it from

Code: Select all

/etc/xdg/openbox/menu.xml
- look for the code snippet

Code: Select all

<menu id="/Debian" />
  <separator />
  <menu id="client-list-menu" />
and insert the next code just below this

Code: Select all

  <item label="Preferences">
    <action name="Execute"><execute>pcmanfm --desktop-pref</execute></action>
  </item>
This adds the menu-item "Preferences" to the Openbox desktop-menu, and the item is linked to the execution of the pcmanfm command.
- If the openbox desktop menu is running right-click on the desktop and choose "Restart" to restart Openbox with the new menu definition.
- Now if you again right-click on the desktop you see the new menu item "Preferences" under the item "Desktop". Selecting this item will start pcmanfm, where you can deselect "Show menus provided by window managers when desktop is clicked." again.

Succes!

rinusvw
Posts: 5
Joined: Tue Nov 26, 2013 11:11 pm

Re: Raspbian XFCE Desktop Right-click Broken

Mon Feb 24, 2014 1:31 pm

:o
I of course ment that you should edit the file

Code: Select all

~/.config/openbox/menu.xml
and not the file ~/.config.openbox/menu.xml
A single dot makes a huge difference 8-)

Hobie
Posts: 1
Joined: Thu Dec 03, 2015 5:10 pm

Re: Raspbian XFCE Desktop Right-click Broken

Thu Dec 03, 2015 5:13 pm

You fix it in .config/lxsession/LXDE-pi/autostart

remove the " . " before @pcmanfm --desktop --profile LXDE-pi

Done.

STech
Posts: 1
Joined: Thu Jun 22, 2017 7:24 pm

Re: Raspbian XFCE Desktop Right-click Broken

Thu Jun 22, 2017 7:28 pm

Sharing what worked for me:

~/.config/pcmanfm/LXDE-pi/desktop-items-0.conf

change "show_wm_menu" to 0

This is on Raspbian on a raspi3

Return to “Beginners”