slitaz-configs rev 1
Add Openbox configuration files (autostart, menu and rc)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 09 14:26:36 2008 +0200 (2008-06-09) |
parents | d8f4b6f7b099 |
children | 9744db7d576d |
files | rootfs/etc/X11/wm.default rootfs/etc/xdg/openbox/autostart.sh rootfs/etc/xdg/openbox/menu.xml rootfs/etc/xdg/openbox/rc.xml |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rootfs/etc/X11/wm.default Mon Jun 09 14:26:36 2008 +0200 1.3 @@ -0,0 +1,1 @@ 1.4 +openbox
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/rootfs/etc/xdg/openbox/autostart.sh Mon Jun 09 14:26:36 2008 +0200 2.3 @@ -0,0 +1,23 @@ 2.4 +# This shell script is run before Openbox launches. 2.5 +# Environment variables set here are passed to the Openbox session. 2.6 + 2.7 +# DBUS message bus (automount removables devices) 2.8 +dbus-launch --exit-with-session & 2.9 + 2.10 +# Start PCmanFM as deamon for Wallpaper and desktop icons. 2.11 +pcmanfm -d & 2.12 + 2.13 +# Start the panel. 2.14 +lxpanel & 2.15 + 2.16 +# Start Pacellite clipboard. 2.17 +#parcellite & 2.18 + 2.19 +# Desktop effects 2.20 +#xcompmgr -c -r 10 & 2.21 + 2.22 +# Set a background image using hsetroot (depends on imlib2). 2.23 +#hsetroot -fill /usr/share/images/slitaz-background.png & 2.24 + 2.25 +# Background color with xsetroot. 2.26 +#xsetroot -solid "#222222" &
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/rootfs/etc/xdg/openbox/menu.xml Mon Jun 09 14:26:36 2008 +0200 3.3 @@ -0,0 +1,163 @@ 3.4 +<?xml version="1.0" encoding="UTF-8"?> 3.5 + 3.6 +<openbox_menu xmlns="http://openbox.org/3.4/menu"> 3.7 + 3.8 +<!-- Favorites applications --> 3.9 +<menu id="favorites-menu" label="Favorites Applications"> 3.10 + <item label="File Manager"> 3.11 + <action name="Execute"><command>pcmanfm</command></action> 3.12 + </item> 3.13 + <item label="Terminal"> 3.14 + <action name="Execute"><command>xterm</command></action> 3.15 + </item> 3.16 + <item label="Mount Devices"> 3.17 + <action name="Execute"><command>subox mountbox</command></action> 3.18 + </item> 3.19 + <item label="Web Browser"> 3.20 + <action name="Execute"><command>firefox</command></action> 3.21 + </item> 3.22 + <item label="Text Editor"> 3.23 + <action name="Execute"><command>leafpad</command></action> 3.24 + </item> 3.25 + <item label="Images Viewer"> 3.26 + <action name="Execute"><command>gpicview</command></action> 3.27 + </item> 3.28 +</menu> 3.29 + 3.30 +<!-- Desktop files --> 3.31 +<menu id="desktop-menu" label="Desktop Files & Icons"> 3.32 + <item label="Creat new direcory"> 3.33 + <action name="Execute"><command>desktopbox new-folder</command></action> 3.34 + </item> 3.35 + <item label="Creat new file"> 3.36 + <action name="Execute"><command>desktopbox new-file</command></action> 3.37 + </item> 3.38 + <separator /> 3.39 + <item label="Add new icon"> 3.40 + <action name="Execute"><command>desktopbox add-icons</command></action> 3.41 + </item> 3.42 +</menu> 3.43 + 3.44 +<!-- Desktop effects --> 3.45 +<menu id="desktop-effects" label="Desktop Effects"> 3.46 + <item label="Active composite"> 3.47 + <action name="Execute"><command>xcompmgr</command></action> 3.48 + </item> 3.49 + <item label="Active shadows"> 3.50 + <action name="Execute"><command>xcompmgr -c -r 10</command></action> 3.51 + </item> 3.52 + <item label="Active shadows/fade"> 3.53 + <action name="Execute"><command>xcompmgr -c -f -r 10</command></action> 3.54 + </item> 3.55 + <separator /> 3.56 + <item label="Set opacity (actual)"> 3.57 + <action name="Execute"> 3.58 + <command>transset-df --actual --max 60</command> 3.59 + </action> 3.60 + </item> 3.61 + <item label="Set opacity (click)"> 3.62 + <action name="Execute"> 3.63 + <command>transset-df --click --max 60</command> 3.64 + </action> 3.65 + </item> 3.66 + <separator /> 3.67 + <item label="Stop effects"> 3.68 + <action name="Execute"><command>killall xcompmgr</command></action> 3.69 + </item> 3.70 +</menu> 3.71 + 3.72 +<!-- SliTaz Live (Tazlito and Tazusb) --> 3.73 +<menu id="slitaz-live-menu" label="SliTaz Live"> 3.74 + <item label="Tazlito LiveCD Tool"> 3.75 + <action name="Execute"><command>subox tazlitobox</command></action> 3.76 + </item> 3.77 + <separator /> 3.78 + <item label="TazUSB Writefs (gzip)"> 3.79 + <action name="Execute"> 3.80 + <command>subox "xterm -e tazusb writefs gzip"</command> 3.81 + </action> 3.82 + </item> 3.83 + <item label="TazUSB Writefs (lzma)"> 3.84 + <action name="Execute"> 3.85 + <command>subox "xterm -e tazusb writefs lzma"</command> 3.86 + </action> 3.87 + </item> 3.88 + <item label="TazUSB Writefs (none)"> 3.89 + <action name="Execute"> 3.90 + <command>subox "xterm -e tazusb writefs none"</command> 3.91 + </action> 3.92 + </item> 3.93 +</menu> 3.94 + 3.95 +<!-- SliTaz documentation --> 3.96 +<menu id="documentation-menu" label="Documentation"> 3.97 + <item label="Tazlito Manual"> 3.98 + <action name="Execute"> 3.99 + <command>firefox /usr/share/doc/tazlito/tazlito.html</command> 3.100 + </action> 3.101 + </item> 3.102 + <item label="Tazpkg Manual"> 3.103 + <action name="Execute"> 3.104 + <command>firefox /usr/share/doc/tazpkg/tazpkg.html</command> 3.105 + </action> 3.106 + </item> 3.107 + <item label="TazUSB Manual (en)"> 3.108 + <action name="Execute"> 3.109 + <command>firefox /usr/share/doc/tazusb/tazusb.en.html</command> 3.110 + </action> 3.111 + </item> 3.112 + <item label="Tazwok Manual"> 3.113 + <action name="Execute"> 3.114 + <command>firefox /usr/share/doc/tazwok/tazwok.html</command> 3.115 + </action> 3.116 + </item> 3.117 + <item label="GNU General Public License"> 3.118 + <action name="Execute"> 3.119 + <command>xterm -T "General Public License" -e less -M /usr/share/licenses/gpl.txt</command> 3.120 + </action> 3.121 + </item> 3.122 +</menu> 3.123 + 3.124 +<!-- Openbox configuration --> 3.125 +<menu id="openbox-menu" label="Openbox"> 3.126 + <item label="ObConf"> 3.127 + <action name="Execute"><command>obconf</command></action> 3.128 + </item> 3.129 + <item label="Autostart Script"> 3.130 + <action name="Execute"> 3.131 + <command>geany ~/.config/openbox/autostart.sh</command> 3.132 + </action> 3.133 + </item> 3.134 + <item label="Openbox Menu"> 3.135 + <action name="Execute"> 3.136 + <command>geany ~/.config/openbox/menu.xml</command> 3.137 + </action> 3.138 + </item> 3.139 + <separator /> 3.140 + <item label="Reconfigure"> 3.141 + <action name="Reconfigure" /> 3.142 + </item> 3.143 + <item label="Restart"> 3.144 + <action name="Restart" /> 3.145 + </item> 3.146 +</menu> 3.147 + 3.148 +<menu id="root-menu" label="Openbox 3"> 3.149 + <!-- <separator label="SliTaz Openbox" /> --> 3.150 + <menu id="favorites-menu" /> 3.151 + <menu id="desktop-menu" /> 3.152 + <!-- Pipe menu to open folder using GTK bookmarks --> 3.153 + <menu id="open-folder-menu" label="Open Folder" 3.154 + execute="/usr/lib/openbox/open-folder-menu.sh" /> 3.155 + <menu id="desktop-effects" /> 3.156 + <menu id="slitaz-live-menu" /> 3.157 + <separator /> 3.158 + <menu id="client-list-menu" /> 3.159 + <menu id="openbox-menu" /> 3.160 + <separator /> 3.161 + <item label="Logout"> 3.162 + <action name="Execute"><command>desktopbox logout</command></action> 3.163 + </item> 3.164 +</menu> 3.165 + 3.166 +</openbox_menu>
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/rootfs/etc/xdg/openbox/rc.xml Mon Jun 09 14:26:36 2008 +0200 4.3 @@ -0,0 +1,699 @@ 4.4 +<?xml version="1.0" encoding="UTF-8"?> 4.5 +<!-- Do not edit this file, it will be overwritten on install. 4.6 + Copy the file to $HOME/.config/openbox/ instead. --> 4.7 +<openbox_config xmlns="http://openbox.org/3.4/rc"> 4.8 + <resistance> 4.9 + <strength>10</strength> 4.10 + <screen_edge_strength>20</screen_edge_strength> 4.11 + </resistance> 4.12 + <focus> 4.13 + <focusNew>yes</focusNew> 4.14 + <!-- always try to focus new windows when they appear. other rules do 4.15 + apply --> 4.16 + <followMouse>no</followMouse> 4.17 + <!-- move focus to a window when you move the mouse into it --> 4.18 + <focusLast>yes</focusLast> 4.19 + <!-- focus the last used window when changing desktops, instead of the one 4.20 + under the mouse pointer. when followMouse is enabled --> 4.21 + <underMouse>no</underMouse> 4.22 + <!-- move focus under the mouse, even when the mouse is not moving --> 4.23 + <focusDelay>200</focusDelay> 4.24 + <!-- when followMouse is enabled, the mouse must be inside the window for 4.25 + this many milliseconds (1000 = 1 sec) before moving focus to it --> 4.26 + <raiseOnFocus>no</raiseOnFocus> 4.27 + <!-- when followMouse is enabled, and a window is given focus by moving the 4.28 + mouse into it, also raise the window --> 4.29 + </focus> 4.30 + <placement> 4.31 + <policy>Smart</policy> 4.32 + <!-- 'Smart' or 'UnderMouse' --> 4.33 + <center>yes</center> 4.34 + <!-- whether to place windows in the center of the free area found or 4.35 + the top left corner --> 4.36 + <monitor>Any</monitor> 4.37 + <!-- with Smart placement on a multi-monitor system, try to place new windows 4.38 + on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where 4.39 + the active window is --> 4.40 + </placement> 4.41 + <theme> 4.42 + <name>SliTaz</name> 4.43 + <titleLayout>NLIMC</titleLayout> 4.44 + <!-- 4.45 + available characters are NDSLIMC, each can occur at most once. 4.46 + N: window icon 4.47 + L: window label (AKA title). 4.48 + I: iconify 4.49 + M: maximize 4.50 + C: close 4.51 + S: shade (roll up/down) 4.52 + D: omnipresent (on all desktops). 4.53 + --> 4.54 + <keepBorder>yes</keepBorder> 4.55 + <animateIconify>yes</animateIconify> 4.56 + <font place="ActiveWindow"> 4.57 + <name>Sans</name> 4.58 + <size>10</size> 4.59 + <!-- font size in points --> 4.60 + <weight>Bold</weight> 4.61 + <!-- 'bold' or 'normal' --> 4.62 + <slant>Normal</slant> 4.63 + <!-- 'italic' or 'normal' --> 4.64 + </font> 4.65 + <font place="InactiveWindow"> 4.66 + <name>Sans</name> 4.67 + <size>10</size> 4.68 + <!-- font size in points --> 4.69 + <weight>Bold</weight> 4.70 + <!-- 'bold' or 'normal' --> 4.71 + <slant>Normal</slant> 4.72 + <!-- 'italic' or 'normal' --> 4.73 + </font> 4.74 + <font place="MenuHeader"> 4.75 + <name>Sans</name> 4.76 + <size>10</size> 4.77 + <!-- font size in points --> 4.78 + <weight>Normal</weight> 4.79 + <!-- 'bold' or 'normal' --> 4.80 + <slant>Normal</slant> 4.81 + <!-- 'italic' or 'normal' --> 4.82 + </font> 4.83 + <font place="MenuItem"> 4.84 + <name>Sans</name> 4.85 + <size>11</size> 4.86 + <!-- font size in points --> 4.87 + <weight>Normal</weight> 4.88 + <!-- 'bold' or 'normal' --> 4.89 + <slant>Normal</slant> 4.90 + <!-- 'italic' or 'normal' --> 4.91 + </font> 4.92 + <font place="OnScreenDisplay"> 4.93 + <name>sans</name> 4.94 + <size>9</size> 4.95 + <!-- font size in points --> 4.96 + <weight>bold</weight> 4.97 + <!-- 'bold' or 'normal' --> 4.98 + <slant>normal</slant> 4.99 + <!-- 'italic' or 'normal' --> 4.100 + </font> 4.101 + </theme> 4.102 + <desktops> 4.103 + <!-- this stuff is only used at startup, pagers allow you to change them 4.104 + during a session 4.105 + 4.106 + these are default values to use when other ones are not already set 4.107 + by other applications, or saved in your session 4.108 + 4.109 + use obconf if you want to change these without having to log out 4.110 + and back in --> 4.111 + <number>4</number> 4.112 + <firstdesk>1</firstdesk> 4.113 + <names> 4.114 + <!-- set names up here if you want to, like this: 4.115 + <name>desktop 1</name> 4.116 + <name>desktop 2</name> 4.117 + --> 4.118 + </names> 4.119 + <popupTime>875</popupTime> 4.120 + <!-- The number of milliseconds to show the popup for when switching 4.121 + desktops. Set this to 0 to disable the popup. --> 4.122 + </desktops> 4.123 + <resize> 4.124 + <drawContents>yes</drawContents> 4.125 + <popupShow>Nonpixel</popupShow> 4.126 + <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> 4.127 + <popupPosition>Center</popupPosition> 4.128 + <!-- 'Center', 'Top', or 'Fixed' --> 4.129 + <popupFixedPosition> 4.130 + <!-- these are used if popupPosition is set to 'Fixed' --> 4.131 + <x>10</x> 4.132 + <!-- positive number for distance from left edge, negative number for 4.133 + distance from right edge, or 'Center' --> 4.134 + <y>10</y> 4.135 + <!-- positive number for distance from top edge, negative number for 4.136 + distance from bottom edge, or 'Center' --> 4.137 + </popupFixedPosition> 4.138 + </resize> 4.139 + <!-- You can reserve a portion of your screen where windows will not cover when 4.140 + they are maximized, or when they are initially placed. 4.141 + Many programs reserve space automatically, but you can use this in other 4.142 + cases. --> 4.143 + <margins> 4.144 + <top>0</top> 4.145 + <bottom>0</bottom> 4.146 + <left>0</left> 4.147 + <right>0</right> 4.148 + </margins> 4.149 + <dock> 4.150 + <position>TopLeft</position> 4.151 + <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> 4.152 + <floatingX>0</floatingX> 4.153 + <floatingY>0</floatingY> 4.154 + <noStrut>no</noStrut> 4.155 + <stacking>Above</stacking> 4.156 + <!-- 'Above', 'Normal', or 'Below' --> 4.157 + <direction>Vertical</direction> 4.158 + <!-- 'Vertical' or 'Horizontal' --> 4.159 + <autoHide>no</autoHide> 4.160 + <hideDelay>300</hideDelay> 4.161 + <!-- in milliseconds (1000 = 1 second) --> 4.162 + <showDelay>300</showDelay> 4.163 + <!-- in milliseconds (1000 = 1 second) --> 4.164 + <moveButton>Middle</moveButton> 4.165 + <!-- 'Left', 'Middle', 'Right' --> 4.166 + </dock> 4.167 + <keyboard> 4.168 + <chainQuitKey>C-g</chainQuitKey> 4.169 + <!-- Keybindings for desktop switching --> 4.170 + <keybind key="C-A-Left"> 4.171 + <action name="DesktopLeft"> 4.172 + <dialog>no</dialog> 4.173 + <wrap>no</wrap> 4.174 + </action> 4.175 + </keybind> 4.176 + <keybind key="C-A-Right"> 4.177 + <action name="DesktopRight"> 4.178 + <dialog>no</dialog> 4.179 + <wrap>no</wrap> 4.180 + </action> 4.181 + </keybind> 4.182 + <keybind key="C-A-Up"> 4.183 + <action name="DesktopUp"> 4.184 + <dialog>no</dialog> 4.185 + <wrap>no</wrap> 4.186 + </action> 4.187 + </keybind> 4.188 + <keybind key="C-A-Down"> 4.189 + <action name="DesktopDown"> 4.190 + <dialog>no</dialog> 4.191 + <wrap>no</wrap> 4.192 + </action> 4.193 + </keybind> 4.194 + <keybind key="S-A-Left"> 4.195 + <action name="SendToDesktopLeft"> 4.196 + <dialog>no</dialog> 4.197 + <wrap>no</wrap> 4.198 + </action> 4.199 + </keybind> 4.200 + <keybind key="S-A-Right"> 4.201 + <action name="SendToDesktopRight"> 4.202 + <dialog>no</dialog> 4.203 + <wrap>no</wrap> 4.204 + </action> 4.205 + </keybind> 4.206 + <keybind key="S-A-Up"> 4.207 + <action name="SendToDesktopUp"> 4.208 + <dialog>no</dialog> 4.209 + <wrap>no</wrap> 4.210 + </action> 4.211 + </keybind> 4.212 + <keybind key="S-A-Down"> 4.213 + <action name="SendToDesktopDown"> 4.214 + <dialog>no</dialog> 4.215 + <wrap>no</wrap> 4.216 + </action> 4.217 + </keybind> 4.218 + <keybind key="W-F1"> 4.219 + <action name="Desktop"> 4.220 + <desktop>1</desktop> 4.221 + </action> 4.222 + </keybind> 4.223 + <keybind key="W-F2"> 4.224 + <action name="Desktop"> 4.225 + <desktop>2</desktop> 4.226 + </action> 4.227 + </keybind> 4.228 + <keybind key="W-F3"> 4.229 + <action name="Desktop"> 4.230 + <desktop>3</desktop> 4.231 + </action> 4.232 + </keybind> 4.233 + <keybind key="W-F4"> 4.234 + <action name="Desktop"> 4.235 + <desktop>4</desktop> 4.236 + </action> 4.237 + </keybind> 4.238 + <keybind key="W-d"> 4.239 + <action name="ToggleShowDesktop"/> 4.240 + </keybind> 4.241 + <!-- Keybindings for windows --> 4.242 + <keybind key="A-F4"> 4.243 + <action name="Close"/> 4.244 + </keybind> 4.245 + <keybind key="A-Escape"> 4.246 + <action name="Lower"/> 4.247 + <action name="FocusToBottom"/> 4.248 + <action name="Unfocus"/> 4.249 + </keybind> 4.250 + <keybind key="A-space"> 4.251 + <action name="ShowMenu"> 4.252 + <menu>client-menu</menu> 4.253 + </action> 4.254 + </keybind> 4.255 + <!-- Keybindings for window switching --> 4.256 + <keybind key="A-Tab"> 4.257 + <action name="NextWindow"/> 4.258 + </keybind> 4.259 + <keybind key="A-S-Tab"> 4.260 + <action name="PreviousWindow"/> 4.261 + </keybind> 4.262 + <keybind key="C-A-Tab"> 4.263 + <action name="NextWindow"> 4.264 + <panels>yes</panels> 4.265 + <desktop>yes</desktop> 4.266 + </action> 4.267 + </keybind> 4.268 + <!-- Keybindings for running applications --> 4.269 + <keybind key="W-e"> 4.270 + <action name="Execute"> 4.271 + <startupnotify> 4.272 + <enabled>true</enabled> 4.273 + <name>Konqueror</name> 4.274 + </startupnotify> 4.275 + <command>kfmclient openProfile filemanagement</command> 4.276 + </action> 4.277 + </keybind> 4.278 + </keyboard> 4.279 + <mouse> 4.280 + <dragThreshold>8</dragThreshold> 4.281 + <!-- number of pixels the mouse must move before a drag begins --> 4.282 + <doubleClickTime>200</doubleClickTime> 4.283 + <!-- in milliseconds (1000 = 1 second) --> 4.284 + <screenEdgeWarpTime>400</screenEdgeWarpTime> 4.285 + <!-- Time before changing desktops when the pointer touches the edge of the 4.286 + screen while moving a window, in milliseconds (1000 = 1 second). 4.287 + Set this to 0 to disable warping --> 4.288 + <context name="Frame"> 4.289 + <mousebind button="A-Left" action="Press"> 4.290 + <action name="Focus"/> 4.291 + <action name="Raise"/> 4.292 + </mousebind> 4.293 + <mousebind button="A-Left" action="Click"> 4.294 + <action name="Unshade"/> 4.295 + </mousebind> 4.296 + <mousebind button="A-Left" action="Drag"> 4.297 + <action name="Move"/> 4.298 + </mousebind> 4.299 + <mousebind button="A-Right" action="Press"> 4.300 + <action name="Focus"/> 4.301 + <action name="Raise"/> 4.302 + <action name="Unshade"/> 4.303 + </mousebind> 4.304 + <mousebind button="A-Right" action="Drag"> 4.305 + <action name="Resize"/> 4.306 + </mousebind> 4.307 + <mousebind button="A-Middle" action="Press"> 4.308 + <action name="Lower"/> 4.309 + <action name="FocusToBottom"/> 4.310 + <action name="Unfocus"/> 4.311 + </mousebind> 4.312 + <mousebind button="A-Up" action="Click"> 4.313 + <action name="DesktopPrevious"/> 4.314 + </mousebind> 4.315 + <mousebind button="A-Down" action="Click"> 4.316 + <action name="DesktopNext"/> 4.317 + </mousebind> 4.318 + <mousebind button="C-A-Up" action="Click"> 4.319 + <action name="DesktopPrevious"/> 4.320 + </mousebind> 4.321 + <mousebind button="C-A-Down" action="Click"> 4.322 + <action name="DesktopNext"/> 4.323 + </mousebind> 4.324 + <mousebind button="A-S-Up" action="Click"> 4.325 + <action name="SendToDesktopPrevious"/> 4.326 + </mousebind> 4.327 + <mousebind button="A-S-Down" action="Click"> 4.328 + <action name="SendToDesktopNext"/> 4.329 + </mousebind> 4.330 + </context> 4.331 + <context name="Titlebar"> 4.332 + <mousebind button="Left" action="Press"> 4.333 + <action name="Focus"/> 4.334 + <action name="Raise"/> 4.335 + </mousebind> 4.336 + <mousebind button="Left" action="Drag"> 4.337 + <action name="Move"/> 4.338 + </mousebind> 4.339 + <mousebind button="Left" action="DoubleClick"> 4.340 + <action name="ToggleMaximizeFull"/> 4.341 + </mousebind> 4.342 + <mousebind button="Middle" action="Press"> 4.343 + <action name="Lower"/> 4.344 + <action name="FocusToBottom"/> 4.345 + <action name="Unfocus"/> 4.346 + </mousebind> 4.347 + <mousebind button="Up" action="Click"> 4.348 + <action name="Shade"/> 4.349 + <action name="FocusToBottom"/> 4.350 + <action name="Unfocus"/> 4.351 + <action name="Lower"/> 4.352 + </mousebind> 4.353 + <mousebind button="Down" action="Click"> 4.354 + <action name="Unshade"/> 4.355 + <action name="Raise"/> 4.356 + </mousebind> 4.357 + <mousebind button="Right" action="Press"> 4.358 + <action name="Focus"/> 4.359 + <action name="Raise"/> 4.360 + <action name="ShowMenu"> 4.361 + <menu>client-menu</menu> 4.362 + </action> 4.363 + </mousebind> 4.364 + </context> 4.365 + <context name="Top"> 4.366 + <mousebind button="Left" action="Press"> 4.367 + <action name="Focus"/> 4.368 + <action name="Raise"/> 4.369 + <action name="Unshade"/> 4.370 + </mousebind> 4.371 + <mousebind button="Left" action="Drag"> 4.372 + <action name="Resize"> 4.373 + <edge>top</edge> 4.374 + </action> 4.375 + </mousebind> 4.376 + </context> 4.377 + <context name="Left"> 4.378 + <mousebind button="Left" action="Press"> 4.379 + <action name="Focus"/> 4.380 + <action name="Raise"/> 4.381 + </mousebind> 4.382 + <mousebind button="Left" action="Drag"> 4.383 + <action name="Resize"> 4.384 + <edge>left</edge> 4.385 + </action> 4.386 + </mousebind> 4.387 + </context> 4.388 + <context name="Right"> 4.389 + <mousebind button="Left" action="Press"> 4.390 + <action name="Focus"/> 4.391 + <action name="Raise"/> 4.392 + </mousebind> 4.393 + <mousebind button="Left" action="Drag"> 4.394 + <action name="Resize"> 4.395 + <edge>right</edge> 4.396 + </action> 4.397 + </mousebind> 4.398 + </context> 4.399 + <context name="Bottom"> 4.400 + <mousebind button="Left" action="Press"> 4.401 + <action name="Focus"/> 4.402 + <action name="Raise"/> 4.403 + </mousebind> 4.404 + <mousebind button="Left" action="Drag"> 4.405 + <action name="Resize"> 4.406 + <edge>bottom</edge> 4.407 + </action> 4.408 + </mousebind> 4.409 + <mousebind button="Middle" action="Press"> 4.410 + <action name="Lower"/> 4.411 + <action name="FocusToBottom"/> 4.412 + <action name="Unfocus"/> 4.413 + </mousebind> 4.414 + <mousebind button="Right" action="Press"> 4.415 + <action name="Focus"/> 4.416 + <action name="Raise"/> 4.417 + <action name="ShowMenu"> 4.418 + <menu>client-menu</menu> 4.419 + </action> 4.420 + </mousebind> 4.421 + </context> 4.422 + <context name="BLCorner"> 4.423 + <mousebind button="Left" action="Press"> 4.424 + <action name="Focus"/> 4.425 + <action name="Raise"/> 4.426 + </mousebind> 4.427 + <mousebind button="Left" action="Drag"> 4.428 + <action name="Resize"/> 4.429 + </mousebind> 4.430 + </context> 4.431 + <context name="BRCorner"> 4.432 + <mousebind button="Left" action="Press"> 4.433 + <action name="Focus"/> 4.434 + <action name="Raise"/> 4.435 + </mousebind> 4.436 + <mousebind button="Left" action="Drag"> 4.437 + <action name="Resize"/> 4.438 + </mousebind> 4.439 + </context> 4.440 + <context name="TLCorner"> 4.441 + <mousebind button="Left" action="Press"> 4.442 + <action name="Focus"/> 4.443 + <action name="Raise"/> 4.444 + <action name="Unshade"/> 4.445 + </mousebind> 4.446 + <mousebind button="Left" action="Drag"> 4.447 + <action name="Resize"/> 4.448 + </mousebind> 4.449 + </context> 4.450 + <context name="TRCorner"> 4.451 + <mousebind button="Left" action="Press"> 4.452 + <action name="Focus"/> 4.453 + <action name="Raise"/> 4.454 + <action name="Unshade"/> 4.455 + </mousebind> 4.456 + <mousebind button="Left" action="Drag"> 4.457 + <action name="Resize"/> 4.458 + </mousebind> 4.459 + </context> 4.460 + <context name="Client"> 4.461 + <mousebind button="Left" action="Press"> 4.462 + <action name="Focus"/> 4.463 + <action name="Raise"/> 4.464 + </mousebind> 4.465 + <mousebind button="Middle" action="Press"> 4.466 + <action name="Focus"/> 4.467 + <action name="Raise"/> 4.468 + </mousebind> 4.469 + <mousebind button="Right" action="Press"> 4.470 + <action name="Focus"/> 4.471 + <action name="Raise"/> 4.472 + </mousebind> 4.473 + </context> 4.474 + <context name="Icon"> 4.475 + <mousebind button="Left" action="Press"> 4.476 + <action name="Focus"/> 4.477 + <action name="Raise"/> 4.478 + <action name="Unshade"/> 4.479 + <action name="ShowMenu"> 4.480 + <menu>client-menu</menu> 4.481 + </action> 4.482 + </mousebind> 4.483 + <mousebind button="Right" action="Press"> 4.484 + <action name="Focus"/> 4.485 + <action name="Raise"/> 4.486 + <action name="ShowMenu"> 4.487 + <menu>client-menu</menu> 4.488 + </action> 4.489 + </mousebind> 4.490 + </context> 4.491 + <context name="AllDesktops"> 4.492 + <mousebind button="Left" action="Press"> 4.493 + <action name="Focus"/> 4.494 + <action name="Raise"/> 4.495 + <action name="Unshade"/> 4.496 + </mousebind> 4.497 + <mousebind button="Left" action="Click"> 4.498 + <action name="ToggleOmnipresent"/> 4.499 + </mousebind> 4.500 + </context> 4.501 + <context name="Shade"> 4.502 + <mousebind button="Left" action="Press"> 4.503 + <action name="Focus"/> 4.504 + <action name="Raise"/> 4.505 + </mousebind> 4.506 + <mousebind button="Left" action="Click"> 4.507 + <action name="ToggleShade"/> 4.508 + </mousebind> 4.509 + </context> 4.510 + <context name="Iconify"> 4.511 + <mousebind button="Left" action="Press"> 4.512 + <action name="Focus"/> 4.513 + <action name="Raise"/> 4.514 + </mousebind> 4.515 + <mousebind button="Left" action="Click"> 4.516 + <action name="Iconify"/> 4.517 + </mousebind> 4.518 + </context> 4.519 + <context name="Maximize"> 4.520 + <mousebind button="Left" action="Press"> 4.521 + <action name="Focus"/> 4.522 + <action name="Raise"/> 4.523 + <action name="Unshade"/> 4.524 + </mousebind> 4.525 + <mousebind button="Middle" action="Press"> 4.526 + <action name="Focus"/> 4.527 + <action name="Raise"/> 4.528 + <action name="Unshade"/> 4.529 + </mousebind> 4.530 + <mousebind button="Right" action="Press"> 4.531 + <action name="Focus"/> 4.532 + <action name="Raise"/> 4.533 + <action name="Unshade"/> 4.534 + </mousebind> 4.535 + <mousebind button="Left" action="Click"> 4.536 + <action name="ToggleMaximizeFull"/> 4.537 + </mousebind> 4.538 + <mousebind button="Middle" action="Click"> 4.539 + <action name="ToggleMaximizeVert"/> 4.540 + </mousebind> 4.541 + <mousebind button="Right" action="Click"> 4.542 + <action name="ToggleMaximizeHorz"/> 4.543 + </mousebind> 4.544 + </context> 4.545 + <context name="Close"> 4.546 + <mousebind button="Left" action="Press"> 4.547 + <action name="Focus"/> 4.548 + <action name="Raise"/> 4.549 + <action name="Unshade"/> 4.550 + </mousebind> 4.551 + <mousebind button="Left" action="Click"> 4.552 + <action name="Close"/> 4.553 + </mousebind> 4.554 + </context> 4.555 + <context name="Desktop"> 4.556 + <mousebind button="Up" action="Click"> 4.557 + <action name="DesktopPrevious"/> 4.558 + </mousebind> 4.559 + <mousebind button="Down" action="Click"> 4.560 + <action name="DesktopNext"/> 4.561 + </mousebind> 4.562 + <mousebind button="A-Up" action="Click"> 4.563 + <action name="DesktopPrevious"/> 4.564 + </mousebind> 4.565 + <mousebind button="A-Down" action="Click"> 4.566 + <action name="DesktopNext"/> 4.567 + </mousebind> 4.568 + <mousebind button="C-A-Up" action="Click"> 4.569 + <action name="DesktopPrevious"/> 4.570 + </mousebind> 4.571 + <mousebind button="C-A-Down" action="Click"> 4.572 + <action name="DesktopNext"/> 4.573 + </mousebind> 4.574 + <mousebind button="Left" action="Press"> 4.575 + <action name="Focus"/> 4.576 + <action name="Raise"/> 4.577 + </mousebind> 4.578 + <mousebind button="Right" action="Press"> 4.579 + <action name="Focus"/> 4.580 + <action name="Raise"/> 4.581 + </mousebind> 4.582 + </context> 4.583 + <context name="Root"> 4.584 + <!-- Menus --> 4.585 + <mousebind button="Middle" action="Press"> 4.586 + <action name="ShowMenu"> 4.587 + <menu>client-list-combined-menu</menu> 4.588 + </action> 4.589 + </mousebind> 4.590 + <mousebind button="Right" action="Press"> 4.591 + <action name="ShowMenu"> 4.592 + <menu>root-menu</menu> 4.593 + </action> 4.594 + </mousebind> 4.595 + </context> 4.596 + <context name="MoveResize"> 4.597 + <mousebind button="Up" action="Click"> 4.598 + <action name="DesktopPrevious"/> 4.599 + </mousebind> 4.600 + <mousebind button="Down" action="Click"> 4.601 + <action name="DesktopNext"/> 4.602 + </mousebind> 4.603 + <mousebind button="A-Up" action="Click"> 4.604 + <action name="DesktopPrevious"/> 4.605 + </mousebind> 4.606 + <mousebind button="A-Down" action="Click"> 4.607 + <action name="DesktopNext"/> 4.608 + </mousebind> 4.609 + </context> 4.610 + </mouse> 4.611 + <menu> 4.612 + <!-- You can specify more than one menu file in here and they are all loaded, 4.613 + just don't make menu ids clash or, well, it'll be kind of pointless --> 4.614 + <!-- default menu file (or custom one in $HOME/.config/openbox/) --> 4.615 + <file>menu.xml</file> 4.616 + <hideDelay>200</hideDelay> 4.617 + <!-- if a press-release lasts longer than this setting (in milliseconds), the 4.618 + menu is hidden again --> 4.619 + <middle>no</middle> 4.620 + <!-- center submenus vertically about the parent entry --> 4.621 + <submenuShowDelay>100</submenuShowDelay> 4.622 + <!-- this one is easy, time to delay before showing a submenu after hovering 4.623 + over the parent entry --> 4.624 + <applicationIcons>yes</applicationIcons> 4.625 + <!-- controls if icons appear in the client-list-(combined-)menu --> 4.626 + <manageDesktops>yes</manageDesktops> 4.627 + <!-- show the manage desktops section in the client-list-(combined-)menu --> 4.628 + </menu> 4.629 + <applications> 4.630 + <!-- 4.631 + # this is an example with comments through out. use these to make your 4.632 + # own rules, but without the comments of course. 4.633 + 4.634 + <application name="first element of window's WM_CLASS property (see xprop)" 4.635 + class="second element of window's WM_CLASS property (see xprop)" 4.636 + role="the window's WM_WINDOW_ROLE property (see xprop)"> 4.637 + # the name or the class can be set, or both. this is used to match 4.638 + # windows when they appear. role can optionally be set as well, to 4.639 + # further restrict your matches. 4.640 + 4.641 + # the name, class, and role use simple wildcard matching such as those 4.642 + # used by a shell. you can use * to match any characters and ? to match 4.643 + # any single character. 4.644 + 4.645 + # when multiple rules match a window, they will all be applied, in the 4.646 + # order that they appear in this list 4.647 + 4.648 + 4.649 + # each element can be left out or set to 'default' to specify to not 4.650 + # change that attribute of the window 4.651 + 4.652 + <decor>yes</decor> 4.653 + # enable or disable window decorations 4.654 + 4.655 + <shade>no</shade> 4.656 + # make the window shaded when it appears, or not 4.657 + 4.658 + <position> 4.659 + # the position is only used if both an x and y coordinate are provided 4.660 + # (and not set to 'default') 4.661 + <x>center</x> 4.662 + # a number like 50, or 'center' to center on screen. use a negative number 4.663 + # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the 4.664 + # right edge (or bottom). 4.665 + <y>200</y> 4.666 + <monitor>1</monitor> 4.667 + # specifies the monitor in a xinerama setup. 4.668 + # 1 is the first head, or 'mouse' for wherever the mouse is 4.669 + </position> 4.670 + 4.671 + <focus>yes</focus> 4.672 + # if the window should try be given focus when it appears. if this is set 4.673 + # to yes it doesn't guarantee the window will be given focus. some 4.674 + # restrictions may apply, but Openbox will try to 4.675 + 4.676 + <desktop>1</desktop> 4.677 + # 1 is the first desktop, 'all' for all desktops 4.678 + 4.679 + <layer>normal</layer> 4.680 + # 'above', 'normal', or 'below' 4.681 + 4.682 + <iconic>no</iconic> 4.683 + # make the window iconified when it appears, or not 4.684 + 4.685 + <skip_pager>no</skip_pager> 4.686 + # asks to not be shown in pagers 4.687 + 4.688 + <skip_taskbar>no</skip_taskbar> 4.689 + # asks to not be shown in taskbars. window cycling actions will also 4.690 + # skip past such windows 4.691 + 4.692 + <fullscreen>yes</fullscreen> 4.693 + # make the window in fullscreen mode when it appears 4.694 + 4.695 + <maximized>true</maximized> 4.696 + # 'Horizontal', 'Vertical' or boolean (yes/no) 4.697 + </application> 4.698 + 4.699 + # end of the example 4.700 +--> 4.701 + </applications> 4.702 +</openbox_config>