a new default config file.. it's very click to focusy. will make an example for mouse focus people.

This commit is contained in:
Dana Jansens 2007-05-13 21:44:35 +00:00
parent 3acd5ff0c5
commit 8fd052ff44

View file

@ -119,22 +119,17 @@
<!-- 'Vertical' or 'Horizontal' --> <!-- 'Vertical' or 'Horizontal' -->
<autoHide>no</autoHide> <autoHide>no</autoHide>
<hideDelay>300</hideDelay> <hideDelay>300</hideDelay>
<!-- in milliseconds (1000 = 1 second) -->
<showDelay>300</showDelay> <showDelay>300</showDelay>
<!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton> <moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' -->
</dock> </dock>
<keyboard> <keyboard>
<chainQuitKey>C-g</chainQuitKey> <chainQuitKey>C-g</chainQuitKey>
<keybind key="A-F10"> <!-- Keybindings for desktop switching -->
<action name="MaximizeFull"/>
</keybind>
<keybind key="A-F5">
<action name="UnmaximizeFull"/>
</keybind>
<keybind key="A-F12">
<action name="ToggleShade"/>
</keybind>
<keybind key="C-A-Left"> <keybind key="C-A-Left">
<action name="DesktopLeft"><wrap>no</wrap></action> <action name="DesktopLeft"><wrap>no</wrap></action>
</keybind> </keybind>
@ -159,12 +154,36 @@
<keybind key="S-A-Down"> <keybind key="S-A-Down">
<action name="SendToDesktopDown"><wrap>no</wrap></action> <action name="SendToDesktopDown"><wrap>no</wrap></action>
</keybind> </keybind>
<keybind key="C-A-d"> <keybind key="W-F1">
<action name="Desktop"><desktop>1</desktop></action>
</keybind>
<keybind key="W-F2">
<action name="Desktop"><desktop>1</desktop></action>
</keybind>
<keybind key="W-F3">
<action name="Desktop"><desktop>1</desktop></action>
</keybind>
<keybind key="W-F4">
<action name="Desktop"><desktop>1</desktop></action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/> <action name="ToggleShowDesktop"/>
</keybind> </keybind>
<!-- Keybindings for windows -->
<keybind key="A-F4"> <keybind key="A-F4">
<action name="Close"/> <action name="Close"/>
</keybind> </keybind>
<keybind key="A-Escape">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu"><menu>client-menu</menu></action>
</keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab"> <keybind key="A-Tab">
<action name="NextWindow"/> <action name="NextWindow"/>
</keybind> </keybind>
@ -172,191 +191,220 @@
<action name="PreviousWindow"/> <action name="PreviousWindow"/>
</keybind> </keybind>
<keybind key="C-A-Tab"> <keybind key="C-A-Tab">
<action name="NextWindow"><panels>yes</panels></action> <action name="NextWindow">
<panels>yes</panels><desktop>yes</desktop>
</action>
</keybind> </keybind>
<keybind key="C-A-S-Tab">
<action name="PreviousWindow"><panels>yes</panels></action> <!-- Keybindings for running applications -->
</keybind> <keybind key="W-e">
<keybind key="A-F7"> <action name="Execute">
<action name="Move"/> <startupnotify>
</keybind> <enabled>true</enabled>
<keybind key="A-F8"> <name>Konqueror</name>
<action name="Resize"/> </startupnotify>
</keybind> <execute>kfmclient openProfile filemanagement</execute>
<keybind key="A-F9"> </action>
<action name="Iconify"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu"><menu>client-menu</menu></action>
</keybind> </keybind>
</keyboard> </keyboard>
<mouse> <mouse>
<dragThreshold>3</dragThreshold> <dragThreshold>3</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>200</doubleClickTime> <doubleClickTime>200</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<context name="Frame"> <context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="Activate"/>
</mousebind>
<mousebind button="A-Left" action="Drag"> <mousebind button="A-Left" action="Drag">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="A-Left" action="Click">
<action name="Raise"/> <mousebind button="A-Right" action="Press">
<action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="A-Left" action="Press"> <mousebind button="A-Right" action="Drag">
<action name="Focus"/>
</mousebind>
<mousebind button="A-Middle" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="A-Middle" action="Click"> <mousebind button="A-Middle" action="Click">
<action name="Lower"/> <action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="A-Right" action="Press">
<action name="ShowMenu"><menu>client-menu</menu></action> <mousebind button="A-S-Up" action="Click">
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
</mousebind> </mousebind>
<mousebind button="A-Down" action="Click"> <mousebind button="A-S-Down" action="Click">
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
<mousebind button="C-A-Up" action="Click"> <mousebind button="A-S-Up" action="Click">
<action name="SendToDesktopPrevious"/> <action name="SendToDesktopPrevious"/>
</mousebind> </mousebind>
<mousebind button="C-A-Down" action="Click"> <mousebind button="A-S-Down" action="Click">
<action name="SendToDesktopNext"/> <action name="SendToDesktopNext"/>
</mousebind> </mousebind>
</context> </context>
<context name="Titlebar"> <context name="Titlebar">
<mousebind button="Left" action="Press">
<action name="Activate"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Move"/> <action name="Move"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click">
<action name="Raise"/>
</mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
<mousebind button="Left" action="DoubleClick"> <mousebind button="Left" action="DoubleClick">
<action name="ToggleShade"/> <action name="ToggleMaximizeFull"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="Lower"/> <action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="Up" action="Click"> <mousebind button="Up" action="Click">
<action name="Shade"/> <action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind> </mousebind>
<mousebind button="Down" action="Click"> <mousebind button="Down" action="Click">
<action name="Unshade"/> <action name="Unshade"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Activate"/>
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind> </mousebind>
</context> </context>
<context name="Top"> <context name="Top">
<mousebind button="Left" action="Press">
<action name="Activate"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"><edge>top</edge></action> <action name="Resize"><edge>top</edge></action>
</mousebind> </mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Activate"/> <action name="Activate"/>
</mousebind> </mousebind>
</context>
<context name="Bottom">
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"><edge>bottom</edge></action> <action name="Resize"><edge>bottom</edge></action>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="Activate"/>
<action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind>
</context>
<context name="BLCorner">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Activate"/> <action name="Activate"/>
</mousebind> </mousebind>
</context>
<context name="BLCorner">
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
</context> </context>
<context name="BRCorner"> <context name="BRCorner">
<mousebind button="Left" action="Press">
<action name="Activate"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
</context> </context>
<context name="TLCorner"> <context name="TLCorner">
<mousebind button="Left" action="Press">
<action name="Activate"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
</context> </context>
<context name="TRCorner"> <context name="TRCorner">
<mousebind button="Left" action="Press">
<action name="Activate"/>
</mousebind>
<mousebind button="Left" action="Drag"> <mousebind button="Left" action="Drag">
<action name="Resize"/> <action name="Resize"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press">
<action name="Focus"/>
</mousebind>
</context> </context>
<context name="Client"> <context name="Client">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
<action name="Raise"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
</context> </context>
<context name="Icon"> <context name="Icon">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind>
<mousebind button="Right" action="Press">
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind> </mousebind>
<mousebind button="Left" action="Press"> <mousebind button="Right" action="Press">
<action name="Activate"/>
<action name="ShowMenu"><menu>client-menu</menu></action> <action name="ShowMenu"><menu>client-menu</menu></action>
</mousebind> </mousebind>
</context> </context>
<context name="AllDesktops"> <context name="AllDesktops">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleOmnipresent"/> <action name="ToggleOmnipresent"/>
</mousebind> </mousebind>
</context> </context>
<context name="Shade"> <context name="Shade">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleShade"/> <action name="ToggleShade"/>
</mousebind> </mousebind>
</context> </context>
<context name="Iconify"> <context name="Iconify">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="Iconify"/> <action name="Iconify"/>
</mousebind> </mousebind>
</context> </context>
<context name="Maximize"> <context name="Maximize">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="ToggleMaximizeFull"/> <action name="ToggleMaximizeFull"/>
@ -368,14 +416,16 @@
<action name="ToggleMaximizeHorz"/> <action name="ToggleMaximizeHorz"/>
</mousebind> </mousebind>
</context> </context>
<context name="Close"> <context name="Close">
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Click"> <mousebind button="Left" action="Click">
<action name="Close"/> <action name="Close"/>
</mousebind> </mousebind>
</context> </context>
<context name="Desktop"> <context name="Desktop">
<mousebind button="Up" action="Press"> <mousebind button="Up" action="Press">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
@ -383,16 +433,19 @@
<mousebind button="Down" action="Press"> <mousebind button="Down" action="Press">
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
<mousebind button="A-Up" action="Press"> <mousebind button="A-Up" action="Press">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
</mousebind> </mousebind>
<mousebind button="A-Down" action="Press"> <mousebind button="A-Down" action="Press">
<action name="DesktopNext"/> <action name="DesktopNext"/>
</mousebind> </mousebind>
<mousebind button="Left" action="Press"> <mousebind button="Left" action="Press">
<action name="Focus"/> <action name="Activate"/>
<action name="Raise"/> </mousebind>
</mousebind>
<!-- Menus -->
<mousebind button="Middle" action="Press"> <mousebind button="Middle" action="Press">
<action name="ShowMenu"><menu>client-list-combined-menu</menu></action> <action name="ShowMenu"><menu>client-list-combined-menu</menu></action>
</mousebind> </mousebind>
@ -400,6 +453,7 @@
<action name="ShowMenu"><menu>root-menu</menu></action> <action name="ShowMenu"><menu>root-menu</menu></action>
</mousebind> </mousebind>
</context> </context>
<context name="MoveResize"> <context name="MoveResize">
<mousebind button="Up" action="Press"> <mousebind button="Up" action="Press">
<action name="DesktopPrevious"/> <action name="DesktopPrevious"/>
@ -422,9 +476,9 @@
<!-- default menu file (or custom one in $HOME/.config/openbox/) --> <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<file>menu.xml</file> <file>menu.xml</file>
<hideDelay>250</hideDelay> <hideDelay>200</hideDelay>
<middle>no</middle> <middle>no</middle>
<submenuShowDelay>0</submenuShowDelay> <submenuShowDelay>100</submenuShowDelay>
<applicationIcons>yes</applicationIcons> <applicationIcons>yes</applicationIcons>
</menu> </menu>