You are not logged in.

#1 2018-04-19 17:44:48

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 228
Website

[SOLVED]LXDE: Replace desktop right click with OB menu?

Hi there guys!

I've always enjoyed the ability to right-click on my desktop or always-visible conky area to get to the OB menu.  I'm trying out Lubuntu, which is utilizes LXDE and OB.

Currently, if you right click the desktop, you get a flyout providing options to manage files and folders on the desktop or manage display properties.  Since I don't use files or folders on the desktop, I would rather have the very handy OB menu show up when I right-click.  I've never really adjusted to being forced to click one very small area to get to my menu.

To add a tiny bit of confusion to the mix, if I can manage to integrate the LXDE menu into it, I'd replace the current LXDEpanel with tint2 but I'm going to wait until  I know how the first part goes before diving into that.

Any suggestions on how to perform this feat would be greatly appreciated.

Thanks for your time!


Schw.im! A social site with an identity crisis.

Offline

#2 2018-04-19 18:37:06

hhh
Meep!
Registered: 2015-09-17
Posts: 7,916
Website

Re: [SOLVED]LXDE: Replace desktop right click with OB menu?

What entries do you see in ~/.config/openbox/rc.xml for root-menu? In BL, this is the entry, starting at line #822...

    <context name="Root">
      <!-- Menus -->
      <mousebind button="Middle" action="Press">
        <action name="ShowMenu">
          <menu>client-list-combined-menu</menu>
        </action>
      </mousebind>
      <mousebind button="Right" action="Press">
        <action name="ShowMenu">
          <menu>root-menu</menu>
        </action>
      </mousebind>
    </context>

Offline

#3 2018-04-19 18:38:46

ohnonot
...again
Registered: 2015-09-29
Posts: 3,773
Website

Re: [SOLVED]LXDE: Replace desktop right click with OB menu?

the most straightforward would be to disable pcmanfm's desktop handling completely.
to achieve that you have to rummage in LXDE's "Desktop Session" dialog iirc.

another way is to right-click desktop => preferences => advanced => check "show window managers menu on right-click".

i'm writing this from memory, but something along those lines.

Offline

#4 2018-04-19 20:07:14

schwim
Member
From: Western NC, US
Registered: 2015-09-29
Posts: 228
Website

Re: [SOLVED]LXDE: Replace desktop right click with OB menu?

ohnonot wrote:

another way is to right-click desktop => preferences => advanced => check "show window managers menu on right-click".

i'm writing this from memory, but something along those lines.

That worked great for the desktop area, but when I right-click on the conky, nothing happens at all(In my BL install, right-clicking on conky still provides the menu).  Is there a chance that I've got to change a setting in the conky?

background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent no
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 150
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
# default_color 808080
default_color ff8000
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 8
gap_y 40
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
maximum_width 200
minimum_size 200 1030
temperature_unit fahrenheit

I had to change own_window_type to normal to get conky to stop disappearing on me when I clicked the desktop.

Last edited by schwim (2018-04-19 20:13:35)


Schw.im! A social site with an identity crisis.

Offline

#5 2018-04-19 23:43:30

hhh
Meep!
Registered: 2015-09-17
Posts: 7,916
Website

Re: [SOLVED]LXDE: Replace desktop right click with OB menu?

In BL, conky is set to Window Type Normal by default, Sector set it up that way to allow drag & drop placement of our conky. I always set it to Type Desktop so it doesn't disappear when you hit W-d in BL, although that does disable d&d. I don't know if any of that is useful info to you.

Offline

#6 2018-04-20 03:12:10

hhh
Meep!
Registered: 2015-09-17
Posts: 7,916
Website

Re: [SOLVED]LXDE: Replace desktop right click with OB menu?

I'm downloading the latest Lubuntu, I'll post back when I can.

Offline

#7 2018-04-20 23:22:02

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,052

Re: [SOLVED]LXDE: Replace desktop right click with OB menu?

This is working on openbox with compton - no LXDE:

own_window yes
own_window_transparent no
own_window_type desktop
own_window_argb_visual yes
own_window_argb_value 150
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

I can right/left/center click on conky and get the menu, icon list

What do you have below TEXT in your conky?

Do you have more than one conky running?


You must unlearn what you have learned.
    -- yoda

Offline

#8 2018-04-21 23:58:13

hhh
Meep!
Registered: 2015-09-17
Posts: 7,916
Website

Re: [SOLVED]LXDE: Replace desktop right click with OB menu?

Conky discussion is continued here...

https://forums.bunsenlabs.org/viewtopic.php?id=4747

-thread split by hhh-

Offline

Board footer

Powered by FluxBB