LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-01-2003, 12:11 AM   #1
-=bcc=-E-nigma
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, 10:11 AM   #2
fancypiper
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, 10:35 AM   #3
busbarn
Member
 
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, 10:42 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Framebuffer?
 
Old 05-01-2003, 11:43 AM   #5
Nukes
Member
 
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:
Code:
 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
        xterm*|rxvt|Eterm|eterm)
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
                ;;
        screen)
                PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
                ;;
esac

##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.
 
  


Reply



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 01:20 PM
Colorful File Names in Konsole drumstick Linux - Newbie 4 05-20-2005 12:03 AM
Question: How to do colorful boot like in Knoppix SeSchae Debian 3 10-19-2003 04:55 AM
Knoppix Console CaptainChronic Linux - Newbie 7 10-04-2003 01:42 PM
How can i set colorful login massage bigface Linux - General 1 06-30-2002 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:32 PM.

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