fBSD-flavoured popular xmms skins :

Helix Sawfish v1.0
Winamp X (XMMS version) v1.01

auto power off :

Imagine you want to perform a night compilation, but also would like to turn off your machine after compilation is finished to save power (and save our planet from global warming!) or to stop disturbing your sleep. However if it`s already 7AM, when you usually get up, yet you want to have the computer on. This can be done by issuing the following command in
  • c-like shell$ make ; if ( `date +%H` <= "07" ) halt -p
  • bourne shell$ make ; if [ `date +%H` -le "07" ]; then halt -p; fi
Note that the system will be turned off regardless of the end status of the first command. Thus if you want to have the computer shut down after a successful compilation simply change the semicolon after make to &&

autologin to X11 and console :

When you are the only person that uses your desktop at all, it might be desirable to resign from the tiring login process and get logged directly into X11, but sometimes you may not want to run full desktop but just to perform one or two commands on console and switch off, boot another OS or anything. A solution for that case might be autologin which drops you to console on key pressed or starts X11 session after say 5 seconds timeout. That requires 3 steps listed below, depending what OS you run:
  • FreeBSD and tcsh shell
    • change proper line describing ttyv0 bahavior in /etc/ttys file ttyv0 "/usr/libexec/getty autologin" vt220 on insecure
    • insert the line below into /etc/gettytab file autologin|al.9600::al=yourusername:tc=std.9600:
    • set delayed X11 run by appending the following line to ~/.tcshrc if (! $?DISPLAY ) /bin/sh -c "/usr/bin/read -t 5 XLOGIN || /usr/X11R6/bin/xinit"
  • Linux and bash shell
    • Looks like we have a little more to do here, firstly we need a binary that will start the login shell as getty do not accept additional arguments for the standard login program, which in fact fulfills our needs. We provide a wrapper for that, you can do that by pasting the commands listed below to shell, just change username to your user name!: mkdir -p ~/bin && cd ~/bin cat > letmein.c << EOF #include int main() { execl("/bin/login","login","-f","username", (char *)0); } EOF gcc -o letmein letmein.c && rm -rf letmein.c Now change proper line describing tty1 bahavior in /etc/inittab file 1:2345:respawn:/sbin/getty -n -l /home/yourusername/bin/letmein 38400 tty1
    • finally set delayed X11 run by appending the following line to ~/.bashrc or putting it before fi of if [ "$PS1" ] clausule when there is one if [ ! "$DISPLAY" ]; then read -t 5 || /usr/X11R6/bin/startx; fi
home->visitor = altair.homeunix.com
home->totalVisits = 11247
home->now = Sat Nov 21 20:42:02 2009
home->contact();