Re: Disappearing menus
Johan Vromans <[email protected]>
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Organization | Squirrel Consultancy |
| Message-ID | <[email protected]> |
On Tue, 27 Oct 2015 09:19:03 +0200 TT <[email protected]> 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. -- Johan _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox
obrc.xml
(application/xml, 17.7 KB)
<?xml version='1.0' encoding='UTF-8'?>
<!-- Generated by openbox 1.13* on 2015-10-20 19:50:04 - DO NOT EDIT -->
<openbox_config xmlns="http://openbox.org/3.4/rc">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<!-- Always try to focus new windows when they appear. Other rules do apply. -->
<focusNew>yes</focusNew>
<!-- Move focus to a window when you move the mouse into it. -->
<followMouse>yes</followMouse>
<!-- Focus the last used window when changing desktops, instead of the one under the mouse pointer. When followMouse is enabled. -->
<focusLast>no</focusLast>
<!-- Move focus under the mouse, even when the mouse is not moving. -->
<underMouse>yes</underMouse>
<!-- When followMouse is enabled, the mouse must be inside the window for this many milliseconds (1000 = 1 sec) before moving focus to it. -->
<focusDelay>400</focusDelay>
<!-- When followMouse is enabled, and a window is given focus by moving the mouse into it, also raise the window. -->
<raiseOnFocus>yes</raiseOnFocus>
</focus>
<placement>
<policy>UnderMouse</policy>
<!-- 'Smart' or 'UnderMouse' -->
<center>yes</center>
<!-- whether to place windows in the center of the free area found or
the top left corner -->
<monitor>Mouse</monitor>
</placement>
<theme>
<name>Clearlooks</name>
<titleLayout>NLIMC</titleLayout>
<!--
avaible characters are NDSLIMC, each can occur at most once.
N: window icon
L: window label (AKA title).
I: iconify
M: maximize
C: close
S: shade (roll up/down)
D: omnipresent (on all desktops).
-->
<keepBorder>no</keepBorder>
<animateIconify>yes</animateIconify>
<font place="ActiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveWindow">
<name>sans</name>
<size>8</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuHeader">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuItem">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>normal</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="OnScreenDisplay">
<name>sans</name>
<size>9</size>
<!-- font size in points -->
<weight>bold</weight>
<!-- 'bold' or 'normal' -->
<slant>normal</slant>
<!-- 'italic' or 'normal' -->
</font>
</theme>
<desktops>
<!-- This stuff is only used at startup, pagers allow you to change them
during a session.
Use obconf if you want to change these without having to log out
and back in. -->
<number>5</number>
<firstdesk>1</firstdesk>
<names>
<name>Local</name>
<name>IRC</name>
<name>Aux1</name>
<name>CM</name>
<name>Aux2</name>
</names>
<!-- The number of milliseconds to show the popup when switching desktops. Set this to 0 to disable the popup. -->
<popupTime>875</popupTime>
</desktops>
<resize>
<drawContents>yes</drawContents>
<popupShow>Always</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition>
<!-- 'Center' or 'Top' -->
<popupFixedPosition>
<x>0</x>
<y>0</y>
</popupFixedPosition>
</resize>
<!-- You can reserve a portion of your screen where windows will
not cover when they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in
other cases. -->
<margins>
<top>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
<dock>
<position>Left</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Above</stacking>
<!-- 'Above', 'Normal', or 'Below' -->
<direction>Vertical</direction>
<!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide>
<hideDelay>300</hideDelay>
<!-- in milliseconds (1000 = 1 second) -->
<showDelay>300</showDelay>
<!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' -->
</dock>
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching. -->
<keybind key="W-Left">
<action name="DesktopLeft">
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-Right">
<action name="DesktopRight">
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-Up">
<action name="DesktopUp">
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-Down">
<action name="DesktopDown">
<wrap>no</wrap>
</action>
</keybind>
<!-- Keybindings for sending windows to desktops. -->
<keybind key="W-A-Left">
<action name="SendToDesktopLeft">
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-A-Right">
<action name="SendToDesktopRight">
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-A-Up">
<action name="SendToDesktopUp">
<wrap>no</wrap>
</action>
</keybind>
<keybind key="W-A-Down">
<action name="SendToDesktopDown">
<wrap>no</wrap>
</action>
</keybind>
<!-- Keybindings to switch desktops directly. -->
<keybind key="W-F1">
<action name="Desktop">
<desktop>1</desktop>
</action>
</keybind>
<keybind key="W-F2">
<action name="Desktop">
<desktop>2</desktop>
</action>
</keybind>
<keybind key="W-F3">
<action name="Desktop">
<desktop>3</desktop>
</action>
</keybind>
<keybind key="W-F4">
<action name="Desktop">
<desktop>4</desktop>
</action>
</keybind>
<keybind key="W-F5">
<action name="Desktop">
<desktop>5</desktop>
</action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="W-Tab">
<action name="NextWindow"/>
</keybind>
<keybind key="W-S-Tab">
<action name="PreviousWindow"/>
</keybind>
<keybind key="C-W-Tab">
<action name="NextWindow">
<panels>yes</panels>
<desktop>yes</desktop>
</action>
</keybind>
<!-- F16 is the 'menu' key (mapped by xmodmap) -->
<!-- OpenBox can deal with Menu natively, no need to remap -->
<keybind key="Menu">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<keybind key="W-Menu">
<action name="ShowMenu">
<menu>terms-menu</menu>
</action>
</keybind>
<keybind key="C-Menu">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
<keybind key="A-Menu">
<action name="ShowMenu">
<menu>exec-menu</menu>
</action>
</keybind>
<keybind key="S-Menu">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</keybind>
<keybind key="W-b">
<action name="ToggleDecorations"/>
</keybind>
<keybind key="W-i">
<action name="Iconify"/>
</keybind>
<keybind key="W-z">
<action name="ToggleFullScreen"/>
</keybind>
<keybind key="W-space">
<action name="ShowMenu"><menu>client-menu</menu></action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>0</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
<context name="Frame">
<mousebind button="W-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="W-Right" action="Drag">
<action name="Resize"/>
</mousebind>
<!-- CTWM compatibility
<mousebind button="C-A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="C-A-Middle" action="Drag">
<action name="Resize"/>
</mousebind> -->
</context>
<context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Up" action="Click">
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
<action name="Lower"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="Unshade"/>
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind button="Middle" action="Drag">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
</context>
<context name="BLCorner">
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="BRCorner">
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TLCorner">
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<context name="TRCorner">
<mousebind button="Left" action="Drag">
<action name="Resize"/>
</mousebind>
</context>
<!-- NOTUSED -->
<context name="Client">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<!-- NOTUSED -->
<context name="Icon">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Shade">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind button="Middle" action="Click">
<action name="ToggleMaximizeVert"/>
</mousebind>
<mousebind button="Right" action="Click">
<action name="ToggleMaximizeHorz"/>
</mousebind>
</context>
<context name="Close">
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="Left" action="Click">
<action name="Close"/>
</mousebind>
</context>
<context name="Desktop">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<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>
<context name="MoveResize">
<mousebind button="Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="DesktopNext"/>
</mousebind>
</context>
</mouse>
<menu>
<!-- You can specify more than one menu file in here and they
are all loaded, just don't make menu ids clash or, well,
it'll be kind of pointless -->
<file>/home/jv/XStart/phoenix.squirrel.nl/:0/obmenu.xml</file>
<hideDelay>200</hideDelay>
<middle>no</middle>
<submenuShowDelay>100</submenuShowDelay>
<applicationIcons>yes</applicationIcons>
</menu>
<applications>
<application class="XBiff" name="xbiff">
<decor>no</decor>
<desktop>all</desktop>
<skip_taskbar>yes</skip_taskbar>
</application>
<application class="XClock" name="xclock">
<decor>no</decor>
<desktop>all</desktop>
<skip_taskbar>yes</skip_taskbar>
</application>
<application class="XBclock" name="xledclock">
<decor>no</decor>
<desktop>all</desktop>
<skip_taskbar>yes</skip_taskbar>
</application>
<application class="XGnokii" name="xgnokii">
<decor>no</decor>
</application>
<application class="XPostit" name="xpostit">
<decor>no</decor>
<desktop>all</desktop>
<skip_taskbar>yes</skip_taskbar>
</application>
<application class="Xmessage" name="xmessage">
<decor>no</decor>
<desktop>all</desktop>
<skip_taskbar>yes</skip_taskbar>
</application>
<application class="XTerm" name="Console">
<decor>no</decor>
</application>
<application class="XLoad" name="xload">
<decor>no</decor>
<desktop>all</desktop>
<skip_taskbar>yes</skip_taskbar>
</application>
<application class="XVroot" name="xv">
<decor>no</decor>
</application>
<application class="XEyes" name="xeyes">
<decor>no</decor>
</application>
</applications>
</openbox_config>