menu button green

pull/40/head
TomasM 2017-10-31 12:51:24 -04:00
parent b5fda18642
commit ebe447f278
5 changed files with 85 additions and 1 deletions

View File

@ -0,0 +1,19 @@
apt-get update
apt-get install --yes --no-install-recommends xserver-xorg xinit xterm blackbox libxcursor1 breeze-cursor-theme
# default cursor is white, force it
ln -sf /etc/X11/cursors/Breeze_Snow.theme /etc/alternatives/x-cursor-theme
cp cleanup /tmp
# install x11 server utils, apt-get would add cpp dependency, bullshit!
cd /tmp
apt-get download x11-xserver-utils
dpkg -x x11-xserver-utils*.deb /tmp/x11utils
cd /tmp/x11utils
cp -aR * /
. /tmp/cleanup
savechanges /02-xorg.sb

View File

@ -0,0 +1,55 @@
#!/bin/bash
CWD=$(dirname $(readlink -f $0))
NAME=fluxbox
VERSION=1.3.5
# first install stock version
apt-get update
apt-get install --no-install-recommends --yes $NAME feh
. ./cleanup
savechanges /$NAME-stock.sb
cd /
unsquashfs /$NAME-stock.sb
# then, we want to patch it to implement window resizing!
# so we will recompile whole package
REBUILD=/tmp/$NAME-rebuild-$$
apt-get update
apt-get --yes build-dep $NAME
mkdir -p $REBUILD
cd $REBUILD
apt-get source $NAME
cd $NAME-$VERSION
cat $CWD/patches/fluxbox-slax.diff > debian/patches/fluxbox-slax.diff
echo fluxbox-slax.diff >> debian/patches/series
dpkg-buildpackage -us -uc
rm -Rf debian/$NAME/DEBIAN
rm -Rf debian/$NAME/usr/share/doc
rm -Rf debian/$NAME/usr/share/images
cp debian/$NAME/usr/bin/fluxbox /squashfs-root/usr/bin
# add xlunch from sources
wget -O /tmp/xlunch.tar.gz --no-check-certificate https://github.com/Tomas-M/xlunch/archive/master.tar.gz
cd /tmp
tar -xf xlunch.tar.gz
cd xlunch-master
make
cp xlunch /squashfs-root/usr/bin
echo -e "#!/bin/bash\nxlunch --voidclickterminate --rootwindowbackground --iconpadding 30 --textpadding 15 --paddingswap --leastmargin 20" >/squashfs-root/usr/bin/fbmenu
chmod ugo+x /squashfs-root/usr/bin/fbmenu
savechanges /03-desktop.sb /squashfs-root

View File

@ -0,0 +1,9 @@
apt-get update
apt-get install --yes --no-install-recommends chromium
. ./cleanup
rm -Rf /usr/share/icons/gnome/256x256
savechanges /04-chromium.sb

View File

@ -0,0 +1 @@
../cleanup

View File

@ -81,7 +81,7 @@ toolbar.iconbar.unfocused.justify: left
toolbar.button: flat solid
toolbar.button.color: #333333
toolbar.button.picColor: #dddddd
toolbar.button.picColor: #61CA00
toolbar.button.pressed: flat solid
! menu