Slackware に awesome を最短インストールする方法!
slackpkg
# vim /etc/slackpkg/mirror
(slackware64-13.37 をよしなに追加する。)
# slackpkg update
# slackpkg upgrade-all
sbopkg
# wget http://sbopkg.googlecode.com/files/sbopkg-0.35.0-noarch-1_cng.tgz
# installpkg sbopkg-0.35.0-noarch-1_cng.tgz
# sbopkg -r
cairo(enable xcb)
※CD-ROMからソースを引っ張ってきます。
# vim cairo.SlackBuild
--enable-tee \
--enable-gobject \
+ --enable-xcb \
--build=$ARCH-slackware-linux
# None of these are 'stable' yet...
# ./cairo.SlackBuild
# upgradepkg --reinstall /tmp/cairo*.txz
# sbopkg -i lua
imlib2
# sbopkg -i imlib2
libev
# sbopkg -i libev
libxdg-basedir
# cd $SLACKBUILDS
# mkdir libxdg-basedir
# cd libxdg-basedir
# wget https://raw.github.com/cycojesus/slackbuilds/master/l/libxdg-basedir/libxdg-basedir.SlackBuild
# chmod +x libxdg-basedir.SlackBuild
# ./libxdg-basedir.SlackBuild
# upgradepkg --install-new /tmp/libxdg-basedir-*.txz
awesome-3.4.10
# mkdir awesome
# cd awesome
# wget http://awesome.naquadah.org/download/awesome-3.4.10.tar.bz2
# tar xf awesome-3.4.10.tar.bz2
# cd awesome-3.4.10
# make
# mkdir /tmp/awesome-3.4.10
# make install DESTDIR=/tmp/awesome-3.4.10
# cd /tmp/awesome-3.4.10
# makepkg -l y -c n /tmp/awesome-3.4.10.tgz
# installpkg /tmp/awesome-3.4.10.tgz
# cd /etc/X11/xinit
# wget http://slackbuilds.org/slackbuilds/13.0/desktop/awesome/xinitrc.awesome
# chmod +x xinitrc.awesome
# cp awesome/awesome-3.4.10/awesomerc.lua.in /home/username/.config/awesome/rc.lua
# chown username.groupname /home/username/.config/awesome/rc.lua
おまけ
$ xwmconfig
$ vim ~/.config/awesome/rc.lua
- beautiful.init("@AWESOME_THEMES_PATH@/default/theme.lua")
+ beautiful.init("/usr/local/share/awesome/themes/default/theme.lua")
# sbopkg -i giblib
# sbopkg -i feh
# vim /usr/local/share/awesome/themes/default/theme.lua
- wallpaper_cmd = awsetbg /usr/local/share/awesome/themes/default/background.png
+ --wallpaper_cmd = awsetbg /usr/local/share/awesome/themes/default/background.png
+ wallpaper_cmd = feh --bg-scale /usr/local/share/awesome/themes/default/background.png