[openbox] wishlist

Holly Bostick motub at planet.nl
Tue Sep 6 08:36:00 EDT 2005


Ales Zemene schreef:
> hi, i really appreciate work done on openbox. one feature i would 
> like is moving windows on desktop by keys, like on evilwm : 
> ctrl+alt+h left, ctrl+alt+h right ... and so on. perhaps is possible 
> to keybind some keys in rc.xml ?
> 
> Ales Zemene

Yes, it is (always has been, afaik; it's one of the main features of OB3).

The main idea is you copy /etc/xdg/openbox/rc.xml to
~/.config/openbox/rc.xml, and configure that copy to your taste. Any
rc.xml (like any menu.xml) found in ~/.config/openbox will be read and
used before the default one in /etc/ . In rc.xml, you can set
keybindings and mouse bindings:

<keybind key="C-A-Left"> <action>
name="DesktopLeft"><wrap>no</wrap></action></keybind>

<keybind key="C-A-Right"> <action
name="DesktopRight"><wrap>no</wrap></action></keybind>

<keybind key="C-A-Up"> <action
name="DesktopUp"><wrap>no</wrap></action></keybind>

<keybind key="C-A-Down"> <action
name="DesktopDown"><wrap>no</wrap></action></keybind>

<keybind key="C-A-KP_1"> <action
name="Desktop"><desktop>1</desktop><wrap>no</wrap></action></keybind>

<keybind key="C-A-KP_2"> <action
name="Desktop"><desktop>2</desktop><wrap>no</wrap></action></keybind>

<keybind key="C-A-KP_3"> <action
name="Desktop"><desktop>3</desktop><wrap>no</wrap></action></keybind>

The first 4 are default settings, the last 3 are settings I made myself
to switch desktops quickly.

You might want to use xev to see what the functional names of certain
keys are, and which button number you've pressed on your mouse.

You might also want to read the documentation at
http://icculus.org/openbox/docs.php; it's a bit outdated, and not
exactly thorough, but certainly sufficient to get you started with your
custom setup.

HTH,
Holly



More information about the openbox mailing list