From Openbox

Revision as of 04:35, 25 May 2007 by Aperculum (Talk | contribs)

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

Openbox configuration is made essentially by modifying just one file called rc.xml. Default configuration file should be found from /etc/xdg/openbox/ and user specific file should be placed in ~/.config/openbox/. By default there is also menu.xml which is for menu configuration. Menu configuration is separated from rest of the configs for clarity but it is not necessary. rc.xml is separated into 11 different sections. All the options are discussed below with examples.



strength tag tells Openbox how much resistance(in pixels) there is between two windows before it let's them overlap.
screen_edge_strength tag is basically the same as strength tag but between window and the screen edge.



When focusNew tag is set to 'yes' Openbox will automatically give focus to new windows when they are created, otherwise the focus will stay as it is.
followMouse tag will make focus follow mouse. e.g. when mouse is being moved the focus will always be given to window under the mouse cursor.
focusDelay tag only applies if followMouse is also set. focusDelay is time(in milliseconds) how much Openbox will wait before giving focus to the window under mouse cursor.
raiseOnFocus causes window being raised to top when given focus.



policy can be either Smart or UnderMouse. Smart will cause new windows to be placed automatically by Openbox. UnderMouse makes new windows to be placed under the mouse cursor.

Personal tools