Just a few hints for a good configuration:
- Install pbbuttonsd for Apple's special buttons and power management.
- Install ibam if you need a good battery monitor.
- Install cpudyn to reduce power consuption.
- Copy and edit wmiirc:
$ cp /etc/X11/wmii-3.5/wmiirc ~/.wmii-3.5/wmiirc $ nano ~/.wmii-3.5/wmiirc
Replace this:
# Status Bar Info
status() {
echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
}
With this:
# Status Bar Info
status() {
echo -n $(amixer get Master | tail -1 | awk '{print $5}' | tr -d []%) '|' $(ibam --percentcharge | head -1 | awk '{print $3}') '|' $(date | awk '{print $5}' | tr -d ,.)
}Now you can see in informations about volume, battery charge and time in your status bar.
- Create halt, reboot, suspend and hibernate scripts:
#!/bin/bash dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
~/.wmii-3.5/reboot
#!/bin/bash dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
~/.wmii-3.5/sleep
#!/bin/bash pbbcmd sleep
~/.wmii-3.5/hibernate
#!/bin/bash pbbcmd hibernate
And do not forget to add yourself to powerdev group and to write a .xinitrc like this:
exec ck-launch-session wmii

0 commenti:
Posta un commento