UN*X Note

just some geek's notes. Placed here in case, I forgot or someone else didn't know...

Growisofs with Volume ID

growisofs -dvd-compat -Z /dev/sr0 -J -R -V volume_id path/to/data

(volume_id= DVD name)

Home made fortune cookies:

Supposed you've got a file named .quotes, containing quotations, separated by single lines with a "%" character. Now you want to make fortune cookies from it:

cp .quotes /usr/share/games/fortunes/quotes
strfile /usr/share/games/fortunes/quotes

(/usr/share/games/fortunes is Debian-specific, your path might differ)

$ fortune quotes
God damn Muphry's law.
:)

XRANDR - mono/dual head w/o xorg.conf

xrandr --output DVI-1 --mode 1024x768 --right-of DVI-0

gives you a second screen on an otherwise deactivated monitor, with it's own resolution but still reacheable by your pointing device from the first screen. Useful for watching TV on the couch. Or presenting some TV to your significant other on the couch to STF her/him U while you're coding...

Last not least: Das Tool zum automatischen Überprüfen der GPG-Signaturen von Debian-Paketen heisst

the name of that tool used to check the GPG-sigs of Debian packages is called
debsig-verify

if you ever tried to find it via apt-cache, you know why I wrote this down...

(wer schon einmal mit apt-cache ein bestimmtes Tool gesucht hat, das "irgendwas mit 'deb' oder 'apt' und 'sig' oder so ähnlich" heisst, der  weiss, warum ich das hier hinschreibe....)