[openbox] Disappearing menus

TT turkuting at gmail.com
Tue Oct 27 14:48:12 EDT 2015


On 10/27/2015 11:48 AM, Johan Vromans wrote:
> On Tue, 27 Oct 2015 09:19:03 +0200
> TT <turkuting at gmail.com> wrote:
>
>> are you sure you have configured the mouse events to work on the root
>> window, aka desktop background?
>> or some other part of openbox, e.g. window titles?
>> are you using a desktop manager? if you say mate, you probably are.
>> openbox root window events won't work then!
> This would have been a possibility if root window events never worked. But
> they work fine, for days, weeks, and then suddenly they do not work anymore.
> Mouse clicks in windows, title bars and hot keys still work.
> After some fiddling with programs and panel apps they sometimes work again.
> Otherwise a logout/login is required. Openbox refresh and restart do not
> help.
>
>> i think it's best if you show us the relevant section of your
>> ~/.config/openbox/rc.xml.
> Sure, no problem.
i guess you're talking about this:

     <context name="Root">
       <!-- Menus -->
       <mousebind button="Left" action="Press">
         <action name="ShowMenu">
           <menu>root-menu</menu>
         </action>
       </mousebind>
       <mousebind button="Middle" action="Press">
         <action name="ShowMenu">
           <menu>terms-menu</menu>
         </action>
       </mousebind>
       <mousebind button="Right" action="Press">
         <action name="ShowMenu">
           <menu>exec-menu</menu>
         </action>
       </mousebind>
       <mousebind button="A-Right" action="Press">
         <action name="ShowMenu">
           <menu>client-menu</menu>
         </action>
       </mousebind>
     </context>

i don't know what these terms-menu, exec-menu, client-menu are.
are you sure they exist?

in any case, i guess you replaced whichever window manager mate is using 
with openbox?
if you want this to work, i think it's easier to keep all mate keybinds, 
and use openbox as a window manager only. or then you have to deal with 
the mate desktop environment to avoid all sorts of overlappings.
esp. the root window vs. desktop manager problem.

i have no clue why it sometimes work and sometimes not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20151027/75eb2599/attachment.html>


More information about the openbox mailing list