fortune Mod Quotes in Debain
I was wondering if there was a way to get the quotes that pop up when you log into slackware in debian. I was also curious to what the command to pick the window manager you want to use if your not using GDM? I've already tried xwmconfig with a command not found responds
|
I believe the quotes come from a program called fortune..
aptitude update aptitude install fortune then edit the /home/username/.bashrc http://debaday.debian.net/2007/04/01...okies-for-all/ heres info on changing window managers. http://www.tuxfiles.org/linuxhelp/changeman.html http://linuxplanet.com/linuxplanet/tutorials/981/4/ |
It's "fortunes" with an "s".
A nice way to use them is as the sources for screensaver programs that display text, like "Starwars" |
Can't remember if it's the same for Debian, but in Ubuntu I've put (just before the prompt section) in ~/.bashrc:
Code:
if [ -x /usr/games/fortune ]; then Got it from the example .bashrc in the "Advanced Bash Scripting Guide". |
Thanks for your help. I now have the fortune program. How do I make it execute every time I login a terminal like in slackware? Is there a easier way to switch between window managers from the text based login screen (I don't want to use GDM or any other GNU login manager).
|
Quote:
editing .bashrc has been mentioned twice already... |
Quote:
|
All times are GMT -5. The time now is 01:55 PM. |