Help:WindowsInteractionWithWindowsKey

From Openbox

Revision as of 11:26, 9 July 2011 by Deters (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

One of the most boring tasks on desktop interaction is the windows organization (like positioning windows side by side, expanding, focusing, minimizing)...

This proposal make use of the Super modifier key (aka Windows key) to deal with windows interactions... Here are the shortcuts being proposed:

Keybindings for Classic windows switching:

 W-Tab       Next window (like A-Tab)
 W-S-Tab     Previous window (like A-S-Tab)

Directional window switching:

 W-Left      moves focus to the window left of the current focused window
 W-Right     moves focus to the window right of the current focused window
 W-Up        moves focus to the window above of the current focused window
 W-Down      moves focus to the window bellow of the current focused window

Directional window moving:

 W-C-Left    Moves the window to the nearest edge left of it
 W-C-Right   Moves the window to the nearest edge right of it
 W-C-Up      Moves the window to the nearest edge above of it
 W-C-Down    Moves the window to the nearest edge bellow of it

Directional window expanding:

 W-S-Left    expand current window to left of current position
 W-S-Right   move current window to right of current position
 W-S-Up      move current window to above of current position
 W-S-Down    move current window to bellow of current position

Other util keys

 W-Space     maximize window
 W-Enter     toggle full screen
 W-Esc       minimize window
 W-B         toggle decorations (border of windows)
 W-d         show desktop


And this is the configuration to enable the above described shortcuts:

   <keybind key="W-Tab">
     <action name="NextWindow"/>
   </keybind>
   <keybind key="W-S-Tab">
     <action name="PreviousWindow"/>
   </keybind>
   <keybind key="W-Up">
     <action name="DirectionalFocusNorth">
       <dialog>yes</dialog>
     </action>
   </keybind>
   <keybind key="W-Down">
     <action name="DirectionalFocusSouth">
       <dialog>yes</dialog>
     </action>
   </keybind>
   <keybind key="W-Left">
     <action name="DirectionalFocusWest">
       <dialog>yes</dialog>
     </action>
   </keybind>
   <keybind key="W-Right">
     <action name="DirectionalFocusEast">
       <dialog>yes</dialog>
     </action>
   </keybind>
   <keybind key="W-C-Up">
     <action name="MoveToEdgeNorth"/>
   </keybind>
   <keybind key="W-C-Down">
     <action name="MoveToEdgeSouth"/>
   </keybind>
   <keybind key="W-C-Left">
     <action name="MoveToEdgeWest"/>
   </keybind>
   <keybind key="W-C-Right">
     <action name="MoveToEdgeEast"/>
   </keybind>
   <keybind key="W-S-Up">
     <action name="UnmaximizeFull"/>
     <action name="GrowToEdgeNorth"/>
   </keybind>
   <keybind key="W-S-Down">
     <action name="UnmaximizeFull"/>
     <action name="GrowToEdgeSouth"/>
   </keybind>
   <keybind key="W-S-Left">
     <action name="UnmaximizeFull"/>
     <action name="GrowToEdgeWest"/>
   </keybind>
   <keybind key="W-S-Right">
     <action name="UnmaximizeFull"/>
     <action name="GrowToEdgeEast"/>
   </keybind>
   <keybind key="W-space">
     <action name="ToggleMaximizeFull"/>
   </keybind>
   <keybind key="W-Return">
     <action name="ToggleFullscreen"/>
   </keybind>
   <keybind key="W-Escape">
     <action name="Iconify"/>
   </keybind>
   <keybind key="W-B">
     <action name="ToggleDecorations"/>
   </keybind>
   <keybind key="W-d">
     <action name="ToggleShowDesktop"/>
   </keybind>
Personal tools