Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-01-2003, 01:11 AM   #1
LQ Newbie
Registered: Apr 2003
Location: Luxembourg
Distribution: Debian 3.0
Posts: 14

Rep: Reputation: 0
Question KNOPPIX Colorful Console

Does anyone know ho I can setup my console to look like the one in Knoppix (HiRes and colors) ???
Thanx in advance
Old 05-01-2003, 11:11 AM   #2
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Is it Eterm you are asking about?
Old 05-01-2003, 11:35 AM   #3
Registered: Feb 2002
Location: Denver, CO US
Distribution: Arch
Posts: 453

Rep: Reputation: 30
I think they're talking about at boot up time, the display is hires instead of 640X480 or whatever. Also the text is colored...a different color for a different bootup sequence. If that's what you're talking about, I have no idea. What a useless post...sorry.
Old 05-01-2003, 11:42 AM   #4
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Old 05-01-2003, 12:43 PM   #5
Registered: Apr 2003
Location: Scotland UK
Distribution: Gentoo
Posts: 92

Rep: Reputation: 15
Compile your kernel for Framebuffer support, then add in vga=790 or whatever line is appropriate for your mode into the kernel switches in lilo.conf.
If you mean the stopping and starting of services being al coloured, then that is a bit more complicated, but done using the start-stop-daemon which was first in debian funnily enough. They just add a pile of ANSI colour codes to the init scripts to make it colourful.
As for the console itself, you can make that more colourful by editing your prompt env variable (in bashrc) and adding ACSII colour codes to that. You may also want to set up ls to work in colour. To do that edit your bashrc and add an alias for ls so it runs "ls --color"
To give you an idea, this is what my .bashrc looks like:
 This file is sourced by all *interactive* bash shells on startup.  This
# file *should generate no output* or it will break the scp and rcp commands.

# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias close="eject -t"
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"

# Change the window title of X terminals
case $TERM in
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
                PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'

##uncomment the following to activate bash-completion:
[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
Don't just copy and paste this to your system, though. It would probably work but the bash completion might be stored somewhere else in debian. Notice all the \033s - Thats the ANSI escape sequence, which makes it so you can put colour codes in there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
colorful g++ pttcoco Linux - Distributions 2 05-30-2005 02:20 PM
Colorful File Names in Konsole drumstick Linux - Newbie 4 05-20-2005 01:03 AM
Question: How to do colorful boot like in Knoppix SeSchae Debian 3 10-19-2003 05:55 AM
Knoppix Console CaptainChronic Linux - Newbie 7 10-04-2003 02:42 PM
How can i set colorful login massage bigface Linux - General 1 06-30-2002 10:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration