PDA

View Full Version : Can I change "welcome to knoppix"?



gnough
06-30-2004, 04:36 PM
Hi, I installed knoppix 3.4 on my hard drive.
When knoppix boots, there appears a message like,
"welcome to knoppix (HD installation)"
Can I change the above message or delete it?
Google didn't help much because I don't know what people call the message. Maybe welcomming message?
Thanks.

arkaine23
06-30-2004, 06:23 PM
This is probably the Message of the Day. And it is configured in /etc/motd

gnough
07-01-2004, 12:16 AM
thanks. I checked /etc/motd, but it didn't work.
Since the message I want to change appears right after init starts, I read inittab and other files and I found /etc/init.d/knoppix-hd-autoconfig has welcome() function and there I could edit that echo line and it worked.

Also, knoppix-hd-autoconfig seems to set colors to my console window like:
# ANSI COLORS
CRE="^M^[[K"
NORMAL="^[[0;39m"
# RED: Failure or error message
RED="^[[1;31m"
# GREEN: Success message
GREEN="^[[1;32m"
# YELLOW: Descriptions
YELLOW="^[[1;33m"
# BLUE: System messages
BLUE="^[[1;34m"
# MAGENTA: Found devices or drivers
MAGENTA="^[[1;35m"
# CYAN: Questions
CYAN="^[[1;36m"
# BOLD WHITE: Hint
WHITE="^[[1;37m"

I'll search the web, but does anyone know what does "^[[1:33m" kind of string do? I think they are like #33ffaa on web sites, so if I edit correctly I think I might be ablle to change colors of my console (not xterm but in framebuffer mode)...

eco2geek
07-01-2004, 08:23 AM
For a good explanation of the colors, see the Colors section (http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html) of the Bash Prompt HOWTO (http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/index.html).