Debian/Tips

echo "ddate +%." > /etc/profile

ddate | cowsay | figlet

fortune | cowsay is also really nice ... ;)

ps ax | grep egg | figlet > ~/public_html/mybots.txt

http://truti.dk/index.php?center=tutorials.php

echo waimea > ~/.xinitrc      "startx" starts waimea from now on  (works with any window manager like fluxbox, windowmaker etc.)

(there is also ~/.xsession for the same thing )

---

customizing your X login screen: (using xdm)

to set background color of root window (before login):

echo " /usr/X11R6/bin/xsetroot -solid black" > /etc/X11/xdm/Xsetup

instead of "black" you can use the colors defined in /etc/X11/rgb.txt

the login window itself can be customized in /etc/X11/xdm/Xresources

examples: (from Xresources)

... xlogin*greeting: zyme.s23 xlogin*namePrompt: �40�40�40�40�40�40�40who: xlogin*passwdPrompt: �40�40�40�40�40�40�40why: xlogin*fail: Non serviam. ... xlogin*background: black ... xlogin*greetColor: green ...