LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-25-2002, 02:56 PM   #1
aaronluke
Member
 
Registered: Aug 2002
Posts: 58

Rep: Reputation: 15
mandrake 9.0 tty colour


i just moved to mandrake and i want to know is there a way to change the colour of the font or background of the ttys? i tried setterm -foreground green and it only changes for that line then it goes back to default is it possible in mandrake?
 
Old 10-25-2002, 03:03 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You should check out aliasing ls to ls -l --color or similar

Check the link in my sig on commands and their explainations for more info on actually doing this.

Also might try man alias

Cool
 
Old 10-25-2002, 03:04 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ok, I quickly browsed it and found it:

Quote:
alias ls="ls --color=tty"
Create an alias for the command "ls" to enhance its format with color. In this example, the alias is also called "ls" and the "color" option is only envoke when the output is done to a terminal (not to files). Put the alias into the file /etc/bashrc if you would like the alias to be always accessible to all users on the system. Type "alias" alone to see the list of aliases on your system.
Cool
 
  


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
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
Movies all Gray in colour on Mandrake 10c Velocide Linux - Newbie 1 03-20-2004 08:01 AM
how do i do this in installing colour? santasballz Linux - Newbie 1 02-29-2004 05:06 PM
why is X 24bit colour? Jestrik Linux - General 9 01-14-2004 07:07 AM
How do i fix my colour problem in Mandrake? nick Linux - General 0 06-14-2001 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 08:36 AM.

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