Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-30-2004, 11:08 AM   #1
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Rep: Reputation: 30
Smile change the console font color

hi, pals ! this is my first time in this forum, and it seems its a good place.. introducing myself: I'm from Argentina (that's why my english is terrible )
I'm a programming student here, in Buenos Aires....and I'm trying to discover the 'linux world' you know, it's not as simple as win.. so newbies like me need some help.... My linux distro is zipslack--it's only a console mode and that's what I want! ..I don't like windows at all .. (when I get ride on it, I'll do a disk partition and install some *nix flavor on it)
straight to the point: (I'll start with something not SO important --got a lot to ask !!) : how can I change permanently -and for all the virtual consoles- the color font? I found this command: 'setterm -foreground colornamehere -store'
but it only works in the console where I call this command, and when I restart the system such set is lost... and the default font color is back
would anybody please tell me how to do such change as the default for all the consoles?
thanks a lot --greetz from Argentina
Old 08-30-2004, 11:24 AM   #2
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Hola, minike

Bienvenido al Slackware forum!

El comando que tu usas lo vas a tener que poner en ~/.bashrc para que se ponga en efecto cada vez que entras al ziplack. Prueba con ese file y dime si funciona o no.

I just basically suggested that he puts the setterm command inside ~/.bashrc so that it runs everytime at logon. Would that be correct?
Old 08-30-2004, 03:14 PM   #3
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
What I did is I made an exicutable file and dropped it in /etc/profile.d/ (make the file extention sh otherwise it wont run). There's a good tutorial on it at: . I like it this way but I'm not sure why I just like it ;D
Old 08-30-2004, 05:11 PM   #4
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
thanks for answer, pals!!

hrp2171 : your help was useful, but there's no '.bashrc' in my zipslack! --I don't know it that's normal or not, but I also use 'cygwin' (an unix terminal emulator for win).. and there exits that file, but not in slack... so what I've done is to put the 'setterm' command in the /etc/profile file...and it works!!
in fact, the first login after the boot process, the font color is white, but when I log in, it color changes to the one I set in the 'profile'.
(by the way: where are U from? your spanish is perfect!)

nikon01 : I found your recipe interesting...and I also visit the link you gave me (very useful page!)
Have you change the color font that way? does it appears in white until you log in -like happens to me?

About the aliases: having in mind I don't have a '.bashrc' file (and I won't compile that executable wright now)... where should I write my aliases? in the /etc/profile ?
thanks again..


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
Change font color xterm aeruzcar Linux - Software 3 01-04-2012 04:48 PM
How to change KDE 3.3 Desktop font color ? s34n Linux - Software 6 08-25-2009 12:38 PM
change the font color Drunkalot Linux - General 2 08-09-2005 10:37 PM
Change KDE desktop font color TheOneAndOnlySM Slackware 5 01-24-2004 06:55 PM
change font NOT in X centr0 Slackware 4 05-01-2003 03:29 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:50 AM.

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