wok rev 469

SliTaz theme for Openbox and improved default menu
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 20 23:05:10 2008 +0100 (2008-03-20)
parents ce6a7900a0ab
children 1d89cf2a8bf1
files openbox/receipt openbox/stuff/openbox/autostart.sh openbox/stuff/openbox/menu.xml openbox/stuff/openbox/rc.xml openbox/stuff/themes/SliTaz/openbox-3/themerc
line diff
     1.1 --- a/openbox/receipt	Thu Mar 20 22:30:30 2008 +0100
     1.2 +++ b/openbox/receipt	Thu Mar 20 23:05:10 2008 +0100
     1.3 @@ -42,6 +42,8 @@
     1.4  	# Menu config and autostart script.
     1.5  	mkdir -p $fs/etc/xdg
     1.6  	cp -a stuff/openbox $fs/etc/xdg
     1.7 +	# SliTaz theme
     1.8 +	cp -a stuff/themes $fs/usr/share
     1.9  	# LXpanel config.
    1.10  	mkdir -p $fs/etc/lxpanel/openbox
    1.11  	cp stuff/lxpanel.config $fs/etc/lxpanel/openbox/config
     2.1 --- a/openbox/stuff/openbox/autostart.sh	Thu Mar 20 22:30:30 2008 +0100
     2.2 +++ b/openbox/stuff/openbox/autostart.sh	Thu Mar 20 23:05:10 2008 +0100
     2.3 @@ -14,9 +14,9 @@
     2.4  fi
     2.5  
     2.6  # Login sound.
     2.7 -if which alsaplayer >/dev/null; then
     2.8 -	alsaplayer -i text /usr/share/sounds/login.ogg &
     2.9 -fi
    2.10 +#if which alsaplayer >/dev/null; then
    2.11 +#	alsaplayer -i text /usr/share/sounds/login.ogg &
    2.12 +#fi
    2.13  
    2.14  # Start the panel.
    2.15  if which lxpanel >/dev/null; then
     3.1 --- a/openbox/stuff/openbox/menu.xml	Thu Mar 20 22:30:30 2008 +0100
     3.2 +++ b/openbox/stuff/openbox/menu.xml	Thu Mar 20 23:05:10 2008 +0100
     3.3 @@ -55,13 +55,7 @@
     3.4    </item>
     3.5  </menu>
     3.6  
     3.7 -<menu id="root-menu" label="Openbox 3">
     3.8 -  <separator label="SliTaz Openbox" />
     3.9 -  <menu id="favorites-menu" />
    3.10 -  <menu id="desktop-effects" />
    3.11 -  <menu id="slitaz-live-menu" />
    3.12 -  <menu id="client-list-menu" />
    3.13 -  <separator />
    3.14 +<menu id="openbox-menu" label="Openbox">
    3.15    <item label="ObConf">
    3.16      <action name="Execute">
    3.17        <command>obconf</command>
    3.18 @@ -75,4 +69,27 @@
    3.19    </item>
    3.20  </menu>
    3.21  
    3.22 +<menu id="system-actions-menu" label="System Actions">
    3.23 +  <item label="Reboot">
    3.24 +    <action name="Execute"><command>reboot</command></action>
    3.25 +  </item>
    3.26 +  <item label="Reboot (forced)">
    3.27 +    <action name="Execute"><command>reboot -f</command></action>
    3.28 +  </item>
    3.29 +  <item label="Shutdown">
    3.30 +    <action name="Execute"><command>poweroff</command></action>
    3.31 +  </item>
    3.32 +</menu>
    3.33 +
    3.34 +<menu id="root-menu" label="Openbox 3">
    3.35 +  <separator label="SliTaz Openbox" />
    3.36 +  <menu id="favorites-menu" />
    3.37 +  <menu id="desktop-effects" />
    3.38 +  <menu id="slitaz-live-menu" />
    3.39 +  <menu id="client-list-menu" />
    3.40 +  <separator />
    3.41 +  <menu id="openbox-menu" />
    3.42 +  <menu id="system-actions-menu" />
    3.43 +</menu>
    3.44 +
    3.45  </openbox_menu>
     4.1 --- a/openbox/stuff/openbox/rc.xml	Thu Mar 20 22:30:30 2008 +0100
     4.2 +++ b/openbox/stuff/openbox/rc.xml	Thu Mar 20 23:05:10 2008 +0100
     4.3 @@ -36,7 +36,7 @@
     4.4         the active window is -->
     4.5    </placement>
     4.6    <theme>
     4.7 -    <name>Onyx-Citrus</name>
     4.8 +    <name>SliTaz</name>
     4.9      <titleLayout>NLIMC</titleLayout>
    4.10      <!--
    4.11        available characters are NDSLIMC, each can occur at most once.
    4.12 @@ -79,7 +79,7 @@
    4.13      </font>
    4.14      <font place="MenuItem">
    4.15        <name>Sans</name>
    4.16 -      <size>10</size>
    4.17 +      <size>11</size>
    4.18        <!-- font size in points -->
    4.19        <weight>Normal</weight>
    4.20        <!-- 'bold' or 'normal' -->
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/openbox/stuff/themes/SliTaz/openbox-3/themerc	Thu Mar 20 23:05:10 2008 +0100
     5.3 @@ -0,0 +1,86 @@
     5.4 +!! SliTaz GNU/Linux Openbox theme.
     5.5 +!! based on Onyx-Citrus by Dana Jansens who was
     5.6 +!! inspired by "Carbon" by p0ng, and the ever so popular Vista glass look
     5.7 +
     5.8 +!! Menu background
     5.9 +menu.items.bg: flat gradient vertical
    5.10 +menu.items.bg.color: #f1efeb
    5.11 +menu.items.bg.colorTo: #ffffff
    5.12 +
    5.13 +!! Menu text
    5.14 +menu.items.text.color: #000000
    5.15 +menu.items.justify: left
    5.16 +menu.items.disabled.text.color: #606060
    5.17 +
    5.18 +!! Menu headers
    5.19 +menu.title.bg: raised splitvertical gradient
    5.20 +menu.title.bg.color: #303030
    5.21 +menu.title.bg.colorTo: #181818
    5.22 +menu.title.text.color: white
    5.23 +menu.title.text.justify: center
    5.24 +
    5.25 +!! Selected menu item
    5.26 +menu.items.active.bg: raised splitvertical gradient
    5.27 +menu.items.active.bg.color: #e18a51
    5.28 +menu.items.active.bg.colorTo: #e1621d
    5.29 +menu.items.active.text.color: white
    5.30 +
    5.31 +!! Titlebar
    5.32 +window.active.title.bg: raised splitvertical gradient
    5.33 +window.active.title.bg.color: #414141
    5.34 +window.active.title.bg.colorTo: #202020
    5.35 +window.inactive.title.bg: gradient splitvertical gradient flat
    5.36 +window.inactive.title.bg.color: #DEE0D8
    5.37 +window.inactive.title.bg.colorTo: #E0E0D8
    5.38 +
    5.39 +!! Titlebar text
    5.40 +window.label.text.justify: center
    5.41 +window.active.label.bg: parentrelative
    5.42 +window.active.label.text.color: #f8f8f8
    5.43 +window.inactive.label.bg: parentrelative
    5.44 +window.inactive.label.text.color: #747474
    5.45 +
    5.46 +!! Window buttons
    5.47 +window.*.button.*.bg: parentrelative
    5.48 +window.active.button.*.hover.bg: flat splitvertical gradient border
    5.49 +window.inactive.button.*.hover.bg: parentrelative
    5.50 +window.*.button.*.pressed.bg: flat splitvertical gradient border
    5.51 +
    5.52 +window.active.button.*.hover.bg.color: #e18a51
    5.53 +window.active.button.*.hover.bg.colorTo: #e1621d
    5.54 +window.active.button.*.hover.bg.border.color: #ab5d20
    5.55 +
    5.56 +window.active.button.*.pressed.bg.color: #99663c
    5.57 +window.active.button.*.pressed.bg.colorTo: #99663c
    5.58 +window.active.button.*.pressed.image.color: #888888
    5.59 +window.active.button.*.pressed.bg.border.color: #683913
    5.60 +window.inactive.button.*.pressed.bg.color: #ffaa64
    5.61 +window.inactive.button.*.pressed.bg.colorTo: #ffaa64
    5.62 +window.inactive.button.*.pressed.image.color: #fdceb7
    5.63 +window.inactive.button.*.pressed.bg.border.color: #f0832c
    5.64 +
    5.65 +window.active.button.*.image.color: #e0e0e0
    5.66 +window.active.button.disabled.image.color: #707070
    5.67 +window.inactive.button.*.image.color: #747474
    5.68 +window.inactive.button.disabled.image.color: #c0c0c0
    5.69 +
    5.70 +!! Borders
    5.71 +window.active.border.color: #181818
    5.72 +window.inactive.border.color: #404040
    5.73 +window.inactive.title.separator.color: #eeeee6
    5.74 +border.width: 1
    5.75 +padding.width: 2
    5.76 +window.handle.width: 0
    5.77 +window.active.client.color:  #181818
    5.78 +window.inactive.client.color:  #CACAB6
    5.79 +window.client.padding.width: 1
    5.80 +window.client.padding.height: 1
    5.81 +menu.overlap: 0
    5.82 +
    5.83 +!! Font shadows
    5.84 +menu.items.font:shadow=n:shadowtint=30
    5.85 +
    5.86 +!! On-screen displays
    5.87 +osd.bg: gradient vertical flat
    5.88 +osd.bg.color: #303030
    5.89 +osd.bg.colorTo: #080808