First, you need compile and reinstall cairo with the flag --enable-xcb. Retrieve from a Slackware repository and recompile it yourself.
Install the libraries:
- imlib2 at slackbuilds.org
- lua at slackbuilds.org
- libev at slackbuilds.org
- libxdg-basedir at r3n4n-slackbuilds-libxdg-basedir
Install awesome window manager. SlackBuild at r3n4n-slackbuilds-awesome
sábado, 12 de março de 2011
quarta-feira, 9 de março de 2011
sábado, 26 de fevereiro de 2011
Chrome: Java support for Linux Google Chrome
As root (Slackware x86_64):
# mkdir /opt/google/chrome/plugins
# cd /opt/google/chrome/plugins
# ln -s /usr/lib64/java/jre/lib/amd64/libnpjp2.so
terça-feira, 1 de fevereiro de 2011
X11: Disable screen shut off with VLC
# Turn off monitor modes that will power down,
# standby or blank the screen:
$ /usr/bin/xset -dpms
$ /usr/bin/xset s off
# Open VLC:
$ /usr/bin/vlc "$@"
# Re-enable modes:
$ /usr/bin/xset dpms
$ /usr/bin/xset s on
sexta-feira, 10 de dezembro de 2010
VirtualBox: iniciando uma VM pelo terminal
$ VBoxManage list vms$ nohup VBoxHeadless –startvm 'Windows' -p 3389$ VBoxManage controlvm 'Windows' poweroff
sexta-feira, 19 de novembro de 2010
Slackware: Unpack initrd.img
Unpack:
Pack:
$ gzip -dc ../initrd.img | cpio -i -d -H newc --no-absolute-filenamesPack:
$ find . -print | cpio -o -H newc | gzip -9 > ../initrd.img
segunda-feira, 15 de novembro de 2010
Shell: Battery monitor
BATTERY_DEVICE=$(hal-find-by-property --key info.category --string battery | head -n 1)if test -z "${BATTERY_DEVICE}" ; thenBATTERY=0elseBATTERY=$(hal-get-property --udi ${BATTERY_DEVICE} --key battery.charge_level.percentage)fiecho " ${BATTERY}% "
Assinar:
Postagens (Atom)
Drunk Penguins
Drunk Penguins