LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-30-2004, 11:08 AM   #1
minike
Member
 
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'...as 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
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Hola, minike

Bienvenido al LinuxQuestions.org 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
Nikon01
Member
 
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: http://members.cox.net/laitcg/new/ce.html . I like it this way but I'm not sure why I just like it ;D
 
Old 08-30-2004, 05:11 PM   #4
minike
Member
 
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..
 
  


Reply


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 color...no NOT in X centr0 Slackware 4 05-01-2003 03:29 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration