Debian/Tips

From S23Wiki
Jump to: navigation, search

cowsay ddate

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

waimea

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:

</pre>

Flash Player in Debian 64-bit with Iceweasel

Root:

echo "deb http://www.dipconsultants.com/debian etch main" >> /etc/apt/sources.list
apt-get update
apt-get install markybob-keyring 
apt-get update
apt-get install ia32-libs-gtk nspluginwrapper

User:

wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
tar -zxf install_flash_player_9_linux.tar.gz
mv install_flash_player_9_linux/libflashplayer.so ~/.mozilla/plugins/ 
nspluginwrapper -i ~/.mozilla/plugins/libflashplayer.so
nspluginwrapper -v -a -u


Followed this tutorial [1] and just changed "mv install_flash_player_9_linux/flashplayer-installer/libflashplayer.so ~/.mozilla/plugins/" to "mv install_flash_player_9_linux/libflashplayer.so ~/.mozilla/plugins/". Everything worked fine and as expected, after the last step i also see "Update plugin /home/mutante/.mozilla/plugins/npwrapper.libflashplayer.so" but Youtube still doesnt work, says i dont have a flash player :( Mutante 20:15, 25 February 2008 (CET)

Back to Debian