diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/rc.xml | 84 | ||||
| -rw-r--r-- | data/rc.xsd | 6 | ||||
| -rw-r--r-- | data/xsession/openbox-kde-session.in | 3 |
3 files changed, 71 insertions, 22 deletions
diff --git a/data/rc.xml b/data/rc.xml index a576ca60..63470918 100644 --- a/data/rc.xml +++ b/data/rc.xml @@ -98,7 +98,16 @@ <slant>normal</slant> <!-- 'italic' or 'normal' --> </font> - <font place="OnScreenDisplay"> + <font place="ActiveOnScreenDisplay"> + <name>sans</name> + <size>9</size> + <!-- font size in points --> + <weight>bold</weight> + <!-- 'bold' or 'normal' --> + <slant>normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <font place="InactiveOnScreenDisplay"> <name>sans</name> <size>9</size> <!-- font size in points --> @@ -266,6 +275,28 @@ </action> </keybind> + <!-- Keybindings for window switching with the arrow keys --> + <keybind key="W-S-Right"> + <action name="DirectionalCycleWindows"> + <direction>right</direction> + </action> + </keybind> + <keybind key="W-S-Left"> + <action name="DirectionalCycleWindows"> + <direction>left</direction> + </action> + </keybind> + <keybind key="W-S-Up"> + <action name="DirectionalCycleWindows"> + <direction>up</direction> + </action> + </keybind> + <keybind key="W-S-Down"> + <action name="DirectionalCycleWindows"> + <direction>down</direction> + </action> + </keybind> + <!-- Keybindings for running applications --> <keybind key="W-e"> <action name="Execute"> @@ -354,14 +385,24 @@ </mousebind> <mousebind button="Up" action="Click"> - <action name="Shade"/> - <action name="FocusToBottom"/> - <action name="Unfocus"/> - <action name="Lower"/> + <action name="if"> + <shaded>no</shaded> + <then> + <action name="Shade"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + <action name="Lower"/> + </then> + </action> </mousebind> <mousebind button="Down" action="Click"> - <action name="Unshade"/> - <action name="Raise"/> + <action name="if"> + <shaded>yes</shaded> + <then> + <action name="Unshade"/> + <action name="Raise"/> + </then> + </action> </mousebind> <mousebind button="Right" action="Press"> @@ -565,23 +606,23 @@ </context> <context name="Desktop"> - <mousebind button="Up" action="Press"> + <mousebind button="Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="Down" action="Press"> + <mousebind button="Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> - <mousebind button="A-Up" action="Press"> + <mousebind button="A-Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="A-Down" action="Press"> + <mousebind button="A-Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> - <mousebind button="C-A-Up" action="Press"> + <mousebind button="C-A-Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="C-A-Down" action="Press"> + <mousebind button="C-A-Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> @@ -606,16 +647,16 @@ </context> <context name="MoveResize"> - <mousebind button="Up" action="Press"> + <mousebind button="Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="Down" action="Press"> + <mousebind button="Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> - <mousebind button="A-Up" action="Press"> + <mousebind button="A-Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="A-Down" action="Press"> + <mousebind button="A-Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> </context> @@ -652,16 +693,19 @@ <!-- # this is an example with comments through out. use these to make your # own rules, but without the comments of course. + # you may use one or more of the name/class/role/title/type rules to specify + # windows to match <application name="the window's _OB_APP_NAME property (see obxprop)" class="the window's _OB_APP_CLASS property (see obxprop)" role="the window's _OB_APP_ROLE property (see obxprop)" + title="the window's _OB_APP_TITLE property (see obxprop)" type="the window's _OB_APP_TYPE property (see obxprob).. (if unspecified, then it is 'dialog' for child windows)"> - # you may set only one of name/class/role/type, or you may use more than one - # together to restrict your matches. + # you may set only one of name/class/role/title/type, or you may use more + # than one together to restrict your matches. - # the name, class, and role use simple wildcard matching such as those + # the name, class, role, and title use simple wildcard matching such as those # used by a shell. you can use * to match any characters and ? to match # any single character. diff --git a/data/rc.xsd b/data/rc.xsd index 499b81c9..2fed1f48 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -61,6 +61,7 @@ <xsd:element minOccurs="0" name="underMouse" type="ob:bool"/> <xsd:element minOccurs="0" name="focusDelay" type="xsd:integer"/> <xsd:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/> + <xsd:element minOccurs="0" name="unfocusOnLeave" type="ob:bool"/> </xsd:all> </xsd:complexType> <xsd:complexType name="placement"> @@ -218,7 +219,7 @@ <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/> <xsd:element minOccurs="0" name="middle" type="ob:bool"/> <xsd:element minOccurs="0" name="submenuShowDelay" type="xsd:integer"/> - <xsd:element minOccurs="0" name="applicationIcons" type="ob:bool"/> + <xsd:element minOccurs="0" name="showIcons" type="ob:bool"/> <xsd:element minOccurs="0" name="manageDesktops" type="ob:bool"/> </xsd:sequence> </xsd:complexType> @@ -245,9 +246,10 @@ <xsd:element minOccurs="0" name="fullscreen" type="ob:bool"/> <xsd:element minOccurs="0" name="maximized" type="ob:maximization"/> </xsd:all> + <!-- at least one of these must be present --> <xsd:attribute name="role" type="xsd:string"/> + <xsd:attribute name="title" type="xsd:string"/> <xsd:attribute name="type" type="ob:clienttype"/> - <!-- at least one of these must be present --> <xsd:attribute name="name" type="xsd:string"/> <xsd:attribute name="class" type="xsd:string"/> </xsd:complexType> diff --git a/data/xsession/openbox-kde-session.in b/data/xsession/openbox-kde-session.in index 5299b045..14e35043 100644 --- a/data/xsession/openbox-kde-session.in +++ b/data/xsession/openbox-kde-session.in @@ -7,6 +7,9 @@ if test -n "$1"; then exit fi +# Set the prefix for the menu layout to use +export XDG_MENU_PREFIX="kde-" + # Clean up after GDM xprop -root -remove _NET_NUMBER_OF_DESKTOPS \ -remove _NET_DESKTOP_NAMES \ |
