slitaz-configs rev 219
sts have it's own repos now
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 26 22:10:29 2014 +0200 (2014-04-26) |
parents | 91821b54cf83 |
children | 9b895d28801f |
files | sts/README sts/applications/sts-kill.desktop sts/images/sts-background.jpg sts/lxpanel/sts/config sts/lxpanel/sts/panels/panel sts/openbox/sts-autostart sts/openbox/sts-rc.xml sts/sts sts/sts-session |
line diff
1.1 --- a/sts/README Fri Apr 25 14:06:26 2014 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,16 +0,0 @@ 1.4 -SliTaz Tiny/Touch Screen desktop 1.5 -=============================================================================== 1.6 - 1.7 - 1.8 -The goal of the sts desktop is to provide a nice experience on really small 1.9 -screens such as a 320x240 2.8" TFT or 800x480 5" HDMI/VGA. The desktop uses 1.10 -Openbox window manager and LXpanel. Apps are started maximized and undecorated. 1.11 -The top panel provides icons of opened applications and the hidden bottom panel 1.12 -provides desktop switch and a close button for the current running application. 1.13 - 1.14 -Sts can be used on any screen but was coded for custom i486/ARM flavors. These 1.15 -flavors use a custom /etc/slitaz/applications.conf with sts-session as WM. Sts 1.16 -can also be started by Slim or with startx and an appropriate ~/.xsession file. 1.17 - 1.18 - 1.19 -===============================================================================
2.1 --- a/sts/applications/sts-kill.desktop Fri Apr 25 14:06:26 2014 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,6 +0,0 @@ 2.4 -[Desktop Entry] 2.5 -Type=Application 2.6 -Name=Close application 2.7 -Name=Fermer l'application 2.8 -Exec=sts kill 2.9 -Icon=gtk-close
3.1 Binary file sts/images/sts-background.jpg has changed
4.1 --- a/sts/lxpanel/sts/config Fri Apr 25 14:06:26 2014 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,4 +0,0 @@ 4.4 -[Command] 4.5 -FileManager=spacefm %s 4.6 -Terminal=xterm 4.7 -Logout=tazbox logout
5.1 --- a/sts/lxpanel/sts/panels/panel Fri Apr 25 14:06:26 2014 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,112 +0,0 @@ 5.4 -# lxpanel <profile> config file. Manually editing is not recommended. 5.5 -# Use preference dialog in lxpanel to adjust config when you can. 5.6 - 5.7 -Global { 5.8 - edge=top 5.9 - allign=left 5.10 - margin=0 5.11 - widthtype=percent 5.12 - width=100 5.13 - height=32 5.14 - transparent=1 5.15 - tintcolor=#222222 5.16 - alpha=255 5.17 - autohide=0 5.18 - heightwhenhidden=4 5.19 - setdocktype=1 5.20 - setpartialstrut=1 5.21 - usefontcolor=1 5.22 - fontsize=11 5.23 - fontcolor=#ffffff 5.24 - usefontsize=1 5.25 - background=0 5.26 - iconsize=32 5.27 - loglevel=2 5.28 -} 5.29 - 5.30 -Plugin { 5.31 - type = menu 5.32 - Config { 5.33 - image=/usr/share/pixmaps/slitaz-menu.png 5.34 - system { 5.35 - } 5.36 - separator { 5.37 - } 5.38 - item { 5.39 - image=exec 5.40 - command=run 5.41 - } 5.42 - separator { 5.43 - } 5.44 - item { 5.45 - image=logout 5.46 - command=logout 5.47 - } 5.48 - } 5.49 -} 5.50 - 5.51 -Plugin { 5.52 - type = space 5.53 - Config { 5.54 - Size=2 5.55 - } 5.56 -} 5.57 - 5.58 -Plugin { 5.59 - type = space 5.60 - expand=1 5.61 - Config { 5.62 - Size=4 5.63 - } 5.64 -} 5.65 - 5.66 -Plugin { 5.67 - type = taskbar 5.68 - Config { 5.69 - tooltips=1 5.70 - IconsOnly=1 5.71 - ShowAllDesks=0 5.72 - UseMouseWheel=0 5.73 - UseUrgencyHint=1 5.74 - FlatButton=1 5.75 - MaxTaskWidth=200 5.76 - spacing=0 5.77 - GroupedTasks=1 5.78 - } 5.79 -} 5.80 - 5.81 -Plugin { 5.82 - type = space 5.83 - expand=1 5.84 - Config { 5.85 - Size=2 5.86 - } 5.87 -} 5.88 - 5.89 -Plugin { 5.90 - type = tray 5.91 -} 5.92 - 5.93 -Plugin { 5.94 - type = space 5.95 - Config { 5.96 - Size=4 5.97 - } 5.98 -} 5.99 - 5.100 -Plugin { 5.101 - type = netstatus 5.102 - Config { 5.103 - iface=wlan0 5.104 - } 5.105 -} 5.106 - 5.107 -Plugin { 5.108 - type = launchbar 5.109 - Config { 5.110 - Button { 5.111 - id=/usr/share/applications/sts-kill.desktop 5.112 - } 5.113 - } 5.114 -} 5.115 -
6.1 --- a/sts/openbox/sts-autostart Fri Apr 25 14:06:26 2014 +0200 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,14 +0,0 @@ 6.4 -# This shell script is run before Openbox launches. 6.5 -# Environment variables set here are passed to the Openbox session. 6.6 - 6.7 -# Start DBUS session. 6.8 -if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then 6.9 - dbus-launch --sh-syntax --exit-with-session & 6.10 -fi 6.11 - 6.12 -# Desktop background 6.13 -#hsetroot -fill /usr/share/images/sts-background.png & 6.14 -hsetroot -fill /usr/share/images/slitaz-arm-background.png & 6.15 - 6.16 -# Desktop panel 6.17 -lxpanel -p sts &
7.1 --- a/sts/openbox/sts-rc.xml Fri Apr 25 14:06:26 2014 +0200 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,716 +0,0 @@ 7.4 -<?xml version="1.0" encoding="UTF-8"?> 7.5 -<!-- Do not edit this file, it will be overwritten on install. 7.6 - Copy the file to $HOME/.config/openbox/ instead. --> 7.7 -<openbox_config xmlns="http://openbox.org/3.4/rc"> 7.8 - <resistance> 7.9 - <strength>10</strength> 7.10 - <screen_edge_strength>20</screen_edge_strength> 7.11 - </resistance> 7.12 - <focus> 7.13 - <focusNew>yes</focusNew> 7.14 - <!-- always try to focus new windows when they appear. other rules do 7.15 - apply --> 7.16 - <followMouse>no</followMouse> 7.17 - <!-- move focus to a window when you move the mouse into it --> 7.18 - <focusLast>yes</focusLast> 7.19 - <!-- focus the last used window when changing desktops, instead of the one 7.20 - under the mouse pointer. when followMouse is enabled --> 7.21 - <underMouse>no</underMouse> 7.22 - <!-- move focus under the mouse, even when the mouse is not moving --> 7.23 - <focusDelay>200</focusDelay> 7.24 - <!-- when followMouse is enabled, the mouse must be inside the window for 7.25 - this many milliseconds (1000 = 1 sec) before moving focus to it --> 7.26 - <raiseOnFocus>no</raiseOnFocus> 7.27 - <!-- when followMouse is enabled, and a window is given focus by moving the 7.28 - mouse into it, also raise the window --> 7.29 - </focus> 7.30 - <placement> 7.31 - <policy>Smart</policy> 7.32 - <!-- 'Smart' or 'UnderMouse' --> 7.33 - <center>yes</center> 7.34 - <!-- whether to place windows in the center of the free area found or 7.35 - the top left corner --> 7.36 - <monitor>Any</monitor> 7.37 - <!-- with Smart placement on a multi-monitor system, try to place new windows 7.38 - on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where 7.39 - the active window is --> 7.40 - <primaryMonitor/> 7.41 - </placement> 7.42 - <theme> 7.43 - <name>SliTaz</name> 7.44 - <titleLayout>NLIMC</titleLayout> 7.45 - <!-- 7.46 - available characters are NDSLIMC, each can occur at most once. 7.47 - N: window icon 7.48 - L: window label (AKA title). 7.49 - I: iconify 7.50 - M: maximize 7.51 - C: close 7.52 - S: shade (roll up/down) 7.53 - D: omnipresent (on all desktops). 7.54 - --> 7.55 - <keepBorder>yes</keepBorder> 7.56 - <animateIconify>yes</animateIconify> 7.57 - <font place="ActiveWindow"> 7.58 - <name>Sans</name> 7.59 - <size>8</size> 7.60 - <!-- font size in points --> 7.61 - <weight>Bold</weight> 7.62 - <!-- 'bold' or 'normal' --> 7.63 - <slant>Normal</slant> 7.64 - <!-- 'italic' or 'normal' --> 7.65 - </font> 7.66 - <font place="InactiveWindow"> 7.67 - <name>Sans</name> 7.68 - <size>8</size> 7.69 - <!-- font size in points --> 7.70 - <weight>Bold</weight> 7.71 - <!-- 'bold' or 'normal' --> 7.72 - <slant>Normal</slant> 7.73 - <!-- 'italic' or 'normal' --> 7.74 - </font> 7.75 - <font place="MenuHeader"> 7.76 - <name>Sans</name> 7.77 - <size>10</size> 7.78 - <!-- font size in points --> 7.79 - <weight>Normal</weight> 7.80 - <!-- 'bold' or 'normal' --> 7.81 - <slant>Normal</slant> 7.82 - <!-- 'italic' or 'normal' --> 7.83 - </font> 7.84 - <font place="MenuItem"> 7.85 - <name>Sans</name> 7.86 - <size>11</size> 7.87 - <!-- font size in points --> 7.88 - <weight>Normal</weight> 7.89 - <!-- 'bold' or 'normal' --> 7.90 - <slant>Normal</slant> 7.91 - <!-- 'italic' or 'normal' --> 7.92 - </font> 7.93 - <font place="OnScreenDisplay"> 7.94 - <name>sans</name> 7.95 - <size>14</size> 7.96 - <!-- font size in points --> 7.97 - <weight>bold</weight> 7.98 - <!-- 'bold' or 'normal' --> 7.99 - <slant>normal</slant> 7.100 - <!-- 'italic' or 'normal' --> 7.101 - </font> 7.102 - <font place="ActiveOnScreenDisplay"> 7.103 - <name>Sans</name> 7.104 - <size>16</size> 7.105 - <weight>Normal</weight> 7.106 - <slant>Normal</slant> 7.107 - </font> 7.108 - <font place="InactiveOnScreenDisplay"> 7.109 - <name>Sans</name> 7.110 - <size>8</size> 7.111 - <weight/> 7.112 - <slant/> 7.113 - </font> 7.114 - </theme> 7.115 - <desktops> 7.116 - <!-- this stuff is only used at startup, pagers allow you to change them 7.117 - during a session 7.118 - 7.119 - these are default values to use when other ones are not already set 7.120 - by other applications, or saved in your session 7.121 - 7.122 - use obconf if you want to change these without having to log out 7.123 - and back in --> 7.124 - <number>2</number> 7.125 - <firstdesk>1</firstdesk> 7.126 - <names> 7.127 - <!-- set names up here if you want to, like this: 7.128 - <name>desktop 1</name> 7.129 - <name>desktop 2</name> 7.130 - --> 7.131 - </names> 7.132 - <popupTime>875</popupTime> 7.133 - <!-- The number of milliseconds to show the popup for when switching 7.134 - desktops. Set this to 0 to disable the popup. --> 7.135 - </desktops> 7.136 - <resize> 7.137 - <drawContents>yes</drawContents> 7.138 - <popupShow>Nonpixel</popupShow> 7.139 - <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> 7.140 - <popupPosition>Center</popupPosition> 7.141 - <!-- 'Center', 'Top', or 'Fixed' --> 7.142 - <popupFixedPosition> 7.143 - <!-- these are used if popupPosition is set to 'Fixed' --> 7.144 - <x>10</x> 7.145 - <!-- positive number for distance from left edge, negative number for 7.146 - distance from right edge, or 'Center' --> 7.147 - <y>10</y> 7.148 - <!-- positive number for distance from top edge, negative number for 7.149 - distance from bottom edge, or 'Center' --> 7.150 - </popupFixedPosition> 7.151 - </resize> 7.152 - <!-- You can reserve a portion of your screen where windows will not cover when 7.153 - they are maximized, or when they are initially placed. 7.154 - Many programs reserve space automatically, but you can use this in other 7.155 - cases. --> 7.156 - <margins> 7.157 - <top>0</top> 7.158 - <bottom>0</bottom> 7.159 - <left>0</left> 7.160 - <right>0</right> 7.161 - </margins> 7.162 - <dock> 7.163 - <position>TopLeft</position> 7.164 - <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> 7.165 - <floatingX>0</floatingX> 7.166 - <floatingY>0</floatingY> 7.167 - <noStrut>no</noStrut> 7.168 - <stacking>Above</stacking> 7.169 - <!-- 'Above', 'Normal', or 'Below' --> 7.170 - <direction>Vertical</direction> 7.171 - <!-- 'Vertical' or 'Horizontal' --> 7.172 - <autoHide>no</autoHide> 7.173 - <hideDelay>300</hideDelay> 7.174 - <!-- in milliseconds (1000 = 1 second) --> 7.175 - <showDelay>300</showDelay> 7.176 - <!-- in milliseconds (1000 = 1 second) --> 7.177 - <moveButton>Middle</moveButton> 7.178 - <!-- 'Left', 'Middle', 'Right' --> 7.179 - </dock> 7.180 - <keyboard> 7.181 - <chainQuitKey>C-g</chainQuitKey> 7.182 - <!-- Keybindings for desktop switching --> 7.183 - <keybind key="C-A-Left"> 7.184 - <action name="DesktopLeft"> 7.185 - <dialog>no</dialog> 7.186 - <wrap>no</wrap> 7.187 - </action> 7.188 - </keybind> 7.189 - <keybind key="C-A-Right"> 7.190 - <action name="DesktopRight"> 7.191 - <dialog>no</dialog> 7.192 - <wrap>no</wrap> 7.193 - </action> 7.194 - </keybind> 7.195 - <keybind key="C-A-Up"> 7.196 - <action name="DesktopUp"> 7.197 - <dialog>no</dialog> 7.198 - <wrap>no</wrap> 7.199 - </action> 7.200 - </keybind> 7.201 - <keybind key="C-A-Down"> 7.202 - <action name="DesktopDown"> 7.203 - <dialog>no</dialog> 7.204 - <wrap>no</wrap> 7.205 - </action> 7.206 - </keybind> 7.207 - <keybind key="S-A-Left"> 7.208 - <action name="SendToDesktopLeft"> 7.209 - <dialog>no</dialog> 7.210 - <wrap>no</wrap> 7.211 - </action> 7.212 - </keybind> 7.213 - <keybind key="S-A-Right"> 7.214 - <action name="SendToDesktopRight"> 7.215 - <dialog>no</dialog> 7.216 - <wrap>no</wrap> 7.217 - </action> 7.218 - </keybind> 7.219 - <keybind key="S-A-Up"> 7.220 - <action name="SendToDesktopUp"> 7.221 - <dialog>no</dialog> 7.222 - <wrap>no</wrap> 7.223 - </action> 7.224 - </keybind> 7.225 - <keybind key="S-A-Down"> 7.226 - <action name="SendToDesktopDown"> 7.227 - <dialog>no</dialog> 7.228 - <wrap>no</wrap> 7.229 - </action> 7.230 - </keybind> 7.231 - <keybind key="W-F1"> 7.232 - <action name="Desktop"> 7.233 - <desktop>1</desktop> 7.234 - </action> 7.235 - </keybind> 7.236 - <keybind key="W-F2"> 7.237 - <action name="Desktop"> 7.238 - <desktop>2</desktop> 7.239 - </action> 7.240 - </keybind> 7.241 - <keybind key="W-F3"> 7.242 - <action name="Desktop"> 7.243 - <desktop>3</desktop> 7.244 - </action> 7.245 - </keybind> 7.246 - <keybind key="W-F4"> 7.247 - <action name="Desktop"> 7.248 - <desktop>4</desktop> 7.249 - </action> 7.250 - </keybind> 7.251 - <keybind key="W-d"> 7.252 - <action name="ToggleShowDesktop"/> 7.253 - </keybind> 7.254 - <!-- Keybindings for windows --> 7.255 - <keybind key="A-F4"> 7.256 - <action name="Close"/> 7.257 - </keybind> 7.258 - <keybind key="A-Escape"> 7.259 - <action name="Lower"/> 7.260 - <action name="FocusToBottom"/> 7.261 - <action name="Unfocus"/> 7.262 - </keybind> 7.263 - <keybind key="A-space"> 7.264 - <action name="ShowMenu"> 7.265 - <menu>client-menu</menu> 7.266 - </action> 7.267 - </keybind> 7.268 - <!-- Keybindings for window switching --> 7.269 - <keybind key="A-Tab"> 7.270 - <action name="NextWindow"/> 7.271 - </keybind> 7.272 - <keybind key="A-S-Tab"> 7.273 - <action name="PreviousWindow"/> 7.274 - </keybind> 7.275 - <keybind key="C-A-Tab"> 7.276 - <action name="NextWindow"> 7.277 - <panels>yes</panels> 7.278 - <desktop>yes</desktop> 7.279 - </action> 7.280 - </keybind> 7.281 - <!-- Keybindings for running applications --> 7.282 - <keybind key="W-e"> 7.283 - <action name="Execute"> 7.284 - <startupnotify> 7.285 - <enabled>true</enabled> 7.286 - <name>App Launcher</name> 7.287 - </startupnotify> 7.288 - <command>lxpanelctl run</command> 7.289 - </action> 7.290 - </keybind> 7.291 - </keyboard> 7.292 - <mouse> 7.293 - <dragThreshold>8</dragThreshold> 7.294 - <!-- number of pixels the mouse must move before a drag begins --> 7.295 - <doubleClickTime>200</doubleClickTime> 7.296 - <!-- in milliseconds (1000 = 1 second) --> 7.297 - <screenEdgeWarpTime>400</screenEdgeWarpTime> 7.298 - <!-- Time before changing desktops when the pointer touches the edge of the 7.299 - screen while moving a window, in milliseconds (1000 = 1 second). 7.300 - Set this to 0 to disable warping --> 7.301 - <context name="Frame"> 7.302 - <mousebind button="A-Left" action="Press"> 7.303 - <action name="Focus"/> 7.304 - <action name="Raise"/> 7.305 - </mousebind> 7.306 - <mousebind button="A-Left" action="Click"> 7.307 - <action name="Unshade"/> 7.308 - </mousebind> 7.309 - <mousebind button="A-Left" action="Drag"> 7.310 - <action name="Move"/> 7.311 - </mousebind> 7.312 - <mousebind button="A-Right" action="Press"> 7.313 - <action name="Focus"/> 7.314 - <action name="Raise"/> 7.315 - <action name="Unshade"/> 7.316 - </mousebind> 7.317 - <mousebind button="A-Right" action="Drag"> 7.318 - <action name="Resize"/> 7.319 - </mousebind> 7.320 - <mousebind button="A-Middle" action="Press"> 7.321 - <action name="Lower"/> 7.322 - <action name="FocusToBottom"/> 7.323 - <action name="Unfocus"/> 7.324 - </mousebind> 7.325 - <mousebind button="A-Up" action="Click"> 7.326 - <action name="DesktopPrevious"/> 7.327 - </mousebind> 7.328 - <mousebind button="A-Down" action="Click"> 7.329 - <action name="DesktopNext"/> 7.330 - </mousebind> 7.331 - <mousebind button="C-A-Up" action="Click"> 7.332 - <action name="DesktopPrevious"/> 7.333 - </mousebind> 7.334 - <mousebind button="C-A-Down" action="Click"> 7.335 - <action name="DesktopNext"/> 7.336 - </mousebind> 7.337 - <mousebind button="A-S-Up" action="Click"> 7.338 - <action name="SendToDesktopPrevious"/> 7.339 - </mousebind> 7.340 - <mousebind button="A-S-Down" action="Click"> 7.341 - <action name="SendToDesktopNext"/> 7.342 - </mousebind> 7.343 - </context> 7.344 - <context name="Titlebar"> 7.345 - <mousebind button="Left" action="Press"> 7.346 - <action name="Focus"/> 7.347 - <action name="Raise"/> 7.348 - </mousebind> 7.349 - <mousebind button="Left" action="Drag"> 7.350 - <action name="Move"/> 7.351 - </mousebind> 7.352 - <mousebind button="Left" action="DoubleClick"> 7.353 - <action name="ToggleMaximizeFull"/> 7.354 - </mousebind> 7.355 - <mousebind button="Middle" action="Press"> 7.356 - <action name="Lower"/> 7.357 - <action name="FocusToBottom"/> 7.358 - <action name="Unfocus"/> 7.359 - </mousebind> 7.360 - <mousebind button="Up" action="Click"> 7.361 - <action name="Shade"/> 7.362 - <action name="FocusToBottom"/> 7.363 - <action name="Unfocus"/> 7.364 - <action name="Lower"/> 7.365 - </mousebind> 7.366 - <mousebind button="Down" action="Click"> 7.367 - <action name="Unshade"/> 7.368 - <action name="Raise"/> 7.369 - </mousebind> 7.370 - <mousebind button="Right" action="Press"> 7.371 - <action name="Focus"/> 7.372 - <action name="Raise"/> 7.373 - <action name="ShowMenu"> 7.374 - <menu>client-menu</menu> 7.375 - </action> 7.376 - </mousebind> 7.377 - </context> 7.378 - <context name="Top"> 7.379 - <mousebind button="Left" action="Press"> 7.380 - <action name="Focus"/> 7.381 - <action name="Raise"/> 7.382 - <action name="Unshade"/> 7.383 - </mousebind> 7.384 - <mousebind button="Left" action="Drag"> 7.385 - <action name="Resize"> 7.386 - <edge>top</edge> 7.387 - </action> 7.388 - </mousebind> 7.389 - </context> 7.390 - <context name="Left"> 7.391 - <mousebind button="Left" action="Press"> 7.392 - <action name="Focus"/> 7.393 - <action name="Raise"/> 7.394 - </mousebind> 7.395 - <mousebind button="Left" action="Drag"> 7.396 - <action name="Resize"> 7.397 - <edge>left</edge> 7.398 - </action> 7.399 - </mousebind> 7.400 - </context> 7.401 - <context name="Right"> 7.402 - <mousebind button="Left" action="Press"> 7.403 - <action name="Focus"/> 7.404 - <action name="Raise"/> 7.405 - </mousebind> 7.406 - <mousebind button="Left" action="Drag"> 7.407 - <action name="Resize"> 7.408 - <edge>right</edge> 7.409 - </action> 7.410 - </mousebind> 7.411 - </context> 7.412 - <context name="Bottom"> 7.413 - <mousebind button="Left" action="Press"> 7.414 - <action name="Focus"/> 7.415 - <action name="Raise"/> 7.416 - </mousebind> 7.417 - <mousebind button="Left" action="Drag"> 7.418 - <action name="Resize"> 7.419 - <edge>bottom</edge> 7.420 - </action> 7.421 - </mousebind> 7.422 - <mousebind button="Middle" action="Press"> 7.423 - <action name="Lower"/> 7.424 - <action name="FocusToBottom"/> 7.425 - <action name="Unfocus"/> 7.426 - </mousebind> 7.427 - <mousebind button="Right" action="Press"> 7.428 - <action name="Focus"/> 7.429 - <action name="Raise"/> 7.430 - <action name="ShowMenu"> 7.431 - <menu>client-menu</menu> 7.432 - </action> 7.433 - </mousebind> 7.434 - </context> 7.435 - <context name="BLCorner"> 7.436 - <mousebind button="Left" action="Press"> 7.437 - <action name="Focus"/> 7.438 - <action name="Raise"/> 7.439 - </mousebind> 7.440 - <mousebind button="Left" action="Drag"> 7.441 - <action name="Resize"/> 7.442 - </mousebind> 7.443 - </context> 7.444 - <context name="BRCorner"> 7.445 - <mousebind button="Left" action="Press"> 7.446 - <action name="Focus"/> 7.447 - <action name="Raise"/> 7.448 - </mousebind> 7.449 - <mousebind button="Left" action="Drag"> 7.450 - <action name="Resize"/> 7.451 - </mousebind> 7.452 - </context> 7.453 - <context name="TLCorner"> 7.454 - <mousebind button="Left" action="Press"> 7.455 - <action name="Focus"/> 7.456 - <action name="Raise"/> 7.457 - <action name="Unshade"/> 7.458 - </mousebind> 7.459 - <mousebind button="Left" action="Drag"> 7.460 - <action name="Resize"/> 7.461 - </mousebind> 7.462 - </context> 7.463 - <context name="TRCorner"> 7.464 - <mousebind button="Left" action="Press"> 7.465 - <action name="Focus"/> 7.466 - <action name="Raise"/> 7.467 - <action name="Unshade"/> 7.468 - </mousebind> 7.469 - <mousebind button="Left" action="Drag"> 7.470 - <action name="Resize"/> 7.471 - </mousebind> 7.472 - </context> 7.473 - <context name="Client"> 7.474 - <mousebind button="Left" action="Press"> 7.475 - <action name="Focus"/> 7.476 - <action name="Raise"/> 7.477 - </mousebind> 7.478 - <mousebind button="Middle" action="Press"> 7.479 - <action name="Focus"/> 7.480 - <action name="Raise"/> 7.481 - </mousebind> 7.482 - <mousebind button="Right" action="Press"> 7.483 - <action name="Focus"/> 7.484 - <action name="Raise"/> 7.485 - </mousebind> 7.486 - </context> 7.487 - <context name="Icon"> 7.488 - <mousebind button="Left" action="Press"> 7.489 - <action name="Focus"/> 7.490 - <action name="Raise"/> 7.491 - <action name="Unshade"/> 7.492 - <action name="ShowMenu"> 7.493 - <menu>client-menu</menu> 7.494 - </action> 7.495 - </mousebind> 7.496 - <mousebind button="Right" action="Press"> 7.497 - <action name="Focus"/> 7.498 - <action name="Raise"/> 7.499 - <action name="ShowMenu"> 7.500 - <menu>client-menu</menu> 7.501 - </action> 7.502 - </mousebind> 7.503 - </context> 7.504 - <context name="AllDesktops"> 7.505 - <mousebind button="Left" action="Press"> 7.506 - <action name="Focus"/> 7.507 - <action name="Raise"/> 7.508 - <action name="Unshade"/> 7.509 - </mousebind> 7.510 - <mousebind button="Left" action="Click"> 7.511 - <action name="ToggleOmnipresent"/> 7.512 - </mousebind> 7.513 - </context> 7.514 - <context name="Shade"> 7.515 - <mousebind button="Left" action="Press"> 7.516 - <action name="Focus"/> 7.517 - <action name="Raise"/> 7.518 - </mousebind> 7.519 - <mousebind button="Left" action="Click"> 7.520 - <action name="ToggleShade"/> 7.521 - </mousebind> 7.522 - </context> 7.523 - <context name="Iconify"> 7.524 - <mousebind button="Left" action="Press"> 7.525 - <action name="Focus"/> 7.526 - <action name="Raise"/> 7.527 - </mousebind> 7.528 - <mousebind button="Left" action="Click"> 7.529 - <action name="Iconify"/> 7.530 - </mousebind> 7.531 - </context> 7.532 - <context name="Maximize"> 7.533 - <mousebind button="Left" action="Press"> 7.534 - <action name="Focus"/> 7.535 - <action name="Raise"/> 7.536 - <action name="Unshade"/> 7.537 - </mousebind> 7.538 - <mousebind button="Middle" action="Press"> 7.539 - <action name="Focus"/> 7.540 - <action name="Raise"/> 7.541 - <action name="Unshade"/> 7.542 - </mousebind> 7.543 - <mousebind button="Right" action="Press"> 7.544 - <action name="Focus"/> 7.545 - <action name="Raise"/> 7.546 - <action name="Unshade"/> 7.547 - </mousebind> 7.548 - <mousebind button="Left" action="Click"> 7.549 - <action name="ToggleMaximizeFull"/> 7.550 - </mousebind> 7.551 - <mousebind button="Middle" action="Click"> 7.552 - <action name="ToggleMaximizeVert"/> 7.553 - </mousebind> 7.554 - <mousebind button="Right" action="Click"> 7.555 - <action name="ToggleMaximizeHorz"/> 7.556 - </mousebind> 7.557 - </context> 7.558 - <context name="Close"> 7.559 - <mousebind button="Left" action="Press"> 7.560 - <action name="Focus"/> 7.561 - <action name="Raise"/> 7.562 - <action name="Unshade"/> 7.563 - </mousebind> 7.564 - <mousebind button="Left" action="Click"> 7.565 - <action name="Close"/> 7.566 - </mousebind> 7.567 - </context> 7.568 - <context name="Desktop"> 7.569 - <mousebind button="Up" action="Click"> 7.570 - <action name="DesktopPrevious"/> 7.571 - </mousebind> 7.572 - <mousebind button="Down" action="Click"> 7.573 - <action name="DesktopNext"/> 7.574 - </mousebind> 7.575 - <mousebind button="A-Up" action="Click"> 7.576 - <action name="DesktopPrevious"/> 7.577 - </mousebind> 7.578 - <mousebind button="A-Down" action="Click"> 7.579 - <action name="DesktopNext"/> 7.580 - </mousebind> 7.581 - <mousebind button="C-A-Up" action="Click"> 7.582 - <action name="DesktopPrevious"/> 7.583 - </mousebind> 7.584 - <mousebind button="C-A-Down" action="Click"> 7.585 - <action name="DesktopNext"/> 7.586 - </mousebind> 7.587 - <mousebind button="Left" action="Press"> 7.588 - <action name="Focus"/> 7.589 - <action name="Raise"/> 7.590 - </mousebind> 7.591 - <mousebind button="Right" action="Press"> 7.592 - <action name="Focus"/> 7.593 - <action name="Raise"/> 7.594 - </mousebind> 7.595 - </context> 7.596 - <context name="Root"> 7.597 - <!-- Menus --> 7.598 - <mousebind button="Middle" action="Press"> 7.599 - <action name="ShowMenu"> 7.600 - <menu>client-list-combined-menu</menu> 7.601 - </action> 7.602 - </mousebind> 7.603 - <mousebind button="Right" action="Press"> 7.604 - <action name="ShowMenu"> 7.605 - <menu>root-menu</menu> 7.606 - </action> 7.607 - </mousebind> 7.608 - </context> 7.609 - <context name="MoveResize"> 7.610 - <mousebind button="Up" action="Click"> 7.611 - <action name="DesktopPrevious"/> 7.612 - </mousebind> 7.613 - <mousebind button="Down" action="Click"> 7.614 - <action name="DesktopNext"/> 7.615 - </mousebind> 7.616 - <mousebind button="A-Up" action="Click"> 7.617 - <action name="DesktopPrevious"/> 7.618 - </mousebind> 7.619 - <mousebind button="A-Down" action="Click"> 7.620 - <action name="DesktopNext"/> 7.621 - </mousebind> 7.622 - </context> 7.623 - </mouse> 7.624 - <menu> 7.625 - <!-- You can specify more than one menu file in here and they are all loaded, 7.626 - just don't make menu ids clash or, well, it'll be kind of pointless --> 7.627 - <!-- default menu file (or custom one in $HOME/.config/openbox/) --> 7.628 - <file>menu.xml</file> 7.629 - <hideDelay>200</hideDelay> 7.630 - <!-- if a press-release lasts longer than this setting (in milliseconds), the 7.631 - menu is hidden again --> 7.632 - <middle>no</middle> 7.633 - <!-- center submenus vertically about the parent entry --> 7.634 - <submenuShowDelay>100</submenuShowDelay> 7.635 - <!-- this one is easy, time to delay before showing a submenu after hovering 7.636 - over the parent entry --> 7.637 - <applicationIcons>yes</applicationIcons> 7.638 - <!-- controls if icons appear in the client-list-(combined-)menu --> 7.639 - <manageDesktops>yes</manageDesktops> 7.640 - <!-- show the manage desktops section in the client-list-(combined-)menu --> 7.641 - </menu> 7.642 - <applications> 7.643 - <application class="*"> 7.644 - <maximized>yes</maximized> 7.645 - <decor>no</decor> 7.646 - </application> 7.647 - <!-- 7.648 - # this is an example with comments through out. use these to make your 7.649 - # own rules, but without the comments of course. 7.650 - 7.651 - <application name="first element of window's WM_CLASS property (see xprop)" 7.652 - class="second element of window's WM_CLASS property (see xprop)" 7.653 - role="the window's WM_WINDOW_ROLE property (see xprop)"> 7.654 - # the name or the class can be set, or both. this is used to match 7.655 - # windows when they appear. role can optionally be set as well, to 7.656 - # further restrict your matches. 7.657 - 7.658 - # the name, class, and role use simple wildcard matching such as those 7.659 - # used by a shell. you can use * to match any characters and ? to match 7.660 - # any single character. 7.661 - 7.662 - # when multiple rules match a window, they will all be applied, in the 7.663 - # order that they appear in this list 7.664 - 7.665 - 7.666 - # each element can be left out or set to 'default' to specify to not 7.667 - # change that attribute of the window 7.668 - 7.669 - <decor>yes</decor> 7.670 - # enable or disable window decorations 7.671 - 7.672 - <shade>no</shade> 7.673 - # make the window shaded when it appears, or not 7.674 - 7.675 - <position> 7.676 - # the position is only used if both an x and y coordinate are provided 7.677 - # (and not set to 'default') 7.678 - <x>center</x> 7.679 - # a number like 50, or 'center' to center on screen. use a negative number 7.680 - # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the 7.681 - # right edge (or bottom). 7.682 - <y>200</y> 7.683 - <monitor>1</monitor> 7.684 - # specifies the monitor in a xinerama setup. 7.685 - # 1 is the first head, or 'mouse' for wherever the mouse is 7.686 - </position> 7.687 - 7.688 - <focus>yes</focus> 7.689 - # if the window should try be given focus when it appears. if this is set 7.690 - # to yes it doesn't guarantee the window will be given focus. some 7.691 - # restrictions may apply, but Openbox will try to 7.692 - 7.693 - <desktop>1</desktop> 7.694 - # 1 is the first desktop, 'all' for all desktops 7.695 - 7.696 - <layer>normal</layer> 7.697 - # 'above', 'normal', or 'below' 7.698 - 7.699 - <iconic>no</iconic> 7.700 - # make the window iconified when it appears, or not 7.701 - 7.702 - <skip_pager>no</skip_pager> 7.703 - # asks to not be shown in pagers 7.704 - 7.705 - <skip_taskbar>no</skip_taskbar> 7.706 - # asks to not be shown in taskbars. window cycling actions will also 7.707 - # skip past such windows 7.708 - 7.709 - <fullscreen>yes</fullscreen> 7.710 - # make the window in fullscreen mode when it appears 7.711 - 7.712 - <maximized>true</maximized> 7.713 - # 'Horizontal', 'Vertical' or boolean (yes/no) 7.714 - </application> 7.715 - 7.716 - # end of the example 7.717 ---> 7.718 - </applications> 7.719 -</openbox_config>
8.1 --- a/sts/sts Fri Apr 25 14:06:26 2014 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,37 +0,0 @@ 8.4 -#!/bin/sh 8.5 -# 8.6 -# This tool is used by SliTaz Tiny/Touch Screens desktop. 8.7 -# 8.8 -# Copyright (C) 2014 SliTaz ARM - BSD License 8.9 -# Author: Christophe Lincoln <pankso@slitaz.org> 8.10 -# 8.11 - 8.12 -data="/usr/share/slitaz/sts" 8.13 -obconf="${XDG_CONFIG_HOME}/openbox" 8.14 - 8.15 -case "$1" in 8.16 - info) 8.17 - if [ "$STS_DESKTOP_WM" ]; then 8.18 - echo "STS_DESKTOP_WM : $STS_DESKTOP_WM" 8.19 - else 8.20 - echo "The sts desktop is not running" 8.21 - fi ;; 8.22 - setup) 8.23 - # Setup a user session. Openbox configs are setup by sts-session 8.24 - # but on a system update only $data files are updated so users may 8.25 - # want to get latest configs with --forced from cmdline or via a 8.26 - # GUI box. 8.27 - 8.28 - # sed -i "//sts-session/" ${XDG_CONFIG_HOME}/slitaz/applications.conf 8.29 - user=$(id -un) 8.30 - echo "TODO: sorry $user" ;; 8.31 - kill) 8.32 - # Close button on panel so we can have undecorated windows 8.33 - xid=$(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) 8.34 - pid=$(xprop -id ${xid} _NET_WM_PID | awk '{print $3}') 8.35 - kill ${pid} ;; 8.36 - *|help) 8.37 - echo "$(basename $0) [info|kill]" ;; 8.38 -esac 8.39 - 8.40 -exit 0
9.1 --- a/sts/sts-session Fri Apr 25 14:06:26 2014 +0200 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,32 +0,0 @@ 9.4 -#!/bin/sh 9.5 -# 9.6 -# Start SliTaz Tiny/Touch Screens desktop session 9.7 -# 9.8 - 9.9 -export STS_DESKTOP_WM="openbox" 9.10 -export XDG_CACHE_HOME="$HOME/.cache" 9.11 -export XDG_CONFIG_HOME="$HOME/.config" 9.12 -export XDG_DATA_HOME="$HOME/.local/share" 9.13 - 9.14 -data="/usr/share/slitaz/sts" 9.15 -obconf="${XDG_CONFIG_HOME}/openbox" 9.16 - 9.17 -# Ob sts-rc.xml 9.18 -if [ ! -f "${XDG_CONFIG_HOME}/openbox/sts-rc.xml" ]; then 9.19 - mkdir -p ${obconf} 9.20 - cp ${data}/openbox/sts-rc.xml ${obconf} 9.21 -fi 9.22 - 9.23 -# Ob sts-autostart 9.24 -if [ ! -x "${XDG_CONFIG_HOME}/openbox/sts-autostart" ]; then 9.25 - cp ${data}/openbox/sts-autostart ${obconf} 9.26 -fi 9.27 - 9.28 -# LXpanel configs 9.29 -if [ ! -d "${XDG_CONFIG_HOME}/openbox/lxpanel/sts" ]; then 9.30 - cp -rf ${data}/lxpanel ${XDG_CONFIG_HOME} 9.31 -fi 9.32 - 9.33 -# Start Openbox 9.34 -exec openbox --config-file ${obconf}/sts-rc.xml \ 9.35 - --startup ${obconf}/sts-autostart