Search This Blog

Monday 4 October 2010

My openbox shortcuts quick version

Of course you can change all these setting if you like or if they conflict with other applications. Just copy the file in the post above to a file named rc.xml and place it in your /home/username/.config/openbox/ directory. Then you can edit it for that user. Hint: CTL-h will show the hidden .config directory (any file that starts with a "." is hidden)

I’ve tried to make them newbie friendly and easy to remember whilst group the most used keys.

Refer to the open box website for detailed instructions.
http://openbox.org/wiki/Main_Page
Also urukrama's very good guide
http://urukrama.wordpress.com/openbox-guide/

Basics:
Keyboard short cut settings: Modifier keys C=CTL A=Alt S=Shift W=Windows M=Meta. Function keys=F1/F12.

Note you will use the arrow keys alot!

The most used keys are:
Menus:
ALT+z (openbox menu)
ALT+x (openbox view active desktops and applications)
ALT+c (openbox client menu)

Viewing and moving:
ALT+tab (Tab through all open applications: to the right)
ALT+b (toggle boarder)
ALT+d (toggle show/hide desktop)
ALT+f (toggle full screen)
ALT+F4 (close active window)
ALT+Escape (send active window to the bottom of the open windows stack)
CTL+ALT-Righ/Left (Move to desktop on the Right/left)
SHIFT+ALT-Righ/Leftt (Send active window to desktop on the Right/left)
F12 (add new desktop)
F11 (remove desktop)

Launching applications:
Windows-key+ a-z (edit as required)

A bit more detail:
Show openbox menu: Note the Root menu is the openbox menu.xml : Note use arrow keys!
keybind key="A-z"

Show all desktops and active applications menu: Note use arrow keys!
keybind key="A-x"

Show Openbox window menu on active window:
remember c 4 client-menu: Note the client menu is the openbox bar drop down menu: Note use arrow keys!
keybind key="A-c"

Iconify active window:
remember i 4 iconify: use A-Tab to raise
keybind key="A-i"

Move the current window to Center:
remember M 4 Move:
keybind key="A-m"

Resize the current window: Note use arrow keys!
remember r 4 resize:
keybind key="A-r"

Toggle Maximize Full screen on/off:
remember f 4 full screen:
keybind key="A-f"

Toggle window decoration on/off:
remember b 4 border:
keybind key="A-b"

Show Desktop toggle on/off:
remember d 4 desktop:
keybind key="A-d"

Lower active window to the bottom of the window stack
keybind key="A-Escape

Keybindings for desktop switching

Move to desktop on the Right: Note use arrow keys!
keybind key="C-A-Right"

Move to desktop on the left: Note use arrow keys!
keybind key="C-A-Left"

Send active window to desktop on the left. And follow it!: Note use arrow keys!
keybind key="S-A-Left"

Send active window to desktop on the right. And follow it!: Note use arrow keys!
keybind key="S-A-Right"

Switch to desktop (number)-- Note I rarely use this a C-A-Left or C-A-Right arrow is easier

Switch to desktop (number 1)
keybind key="W-F1"

Switch to desktop (number 2)
keybind key="W-F2"

Switch to desktop (number 3)
keybind key="W-F3"

Switch to desktop (number 4)
keybind key="W-F4"

Screen capture Gnome
keybind key="A-S-Print"

Tab through all open applications: to the right
keybind key="A-Tab"

Tab through all open windows: to the Left
keybind key="A-S-Tab"

Tab through all open Desktops: to the right
keybind key="C-A-Tab"

Remove current desktop and go to next available: Open applications auto switch to next Desktop
keybind key="F11"

Add new desktop to current position
keybind key="F12"