LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2007, 09:17 PM   #1
kwikness
Member
 
Registered: Apr 2006
Location: MA
Distribution: Slackware 13
Posts: 67

Rep: Reputation: 15
saving setterm


Hi, i'm trying to use setterm via typing it as a console command to change my console text color on my Slackware distro. It works and everything, but when I reboot, the changes aren't saved and the text returns to its normal color. Is there a config file I have to put it in? If so, where is this file?


I realize this must be an often asked question, but I couldn't find a straight answer.
 
Old 07-19-2007, 09:48 PM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
You are using bash as your shell, ja?

For each user for which you want it to be automatically reset, log in as that user, and stay in the home directory.

If there exists a file called .profile, put the command there.

If there exists a file called .bash_profile, put the command there.

Hope this helps.
 
Old 07-20-2007, 01:07 AM   #3
kwikness
Member
 
Registered: Apr 2006
Location: MA
Distribution: Slackware 13
Posts: 67

Original Poster
Rep: Reputation: 15
Ok so I found the profile file and edited it with vim. My terminal text color now turns green when I log in.

I want to turn the text green as early as possible. For example.. How could I turn the text green while the system is booting, during this screen..

<img src = "http://kouellette16.home.comcast.net/linuxss.jpg">
http://kouellette16.home.comcast.net/linuxss.jpg
 
Old 07-20-2007, 07:41 AM   #4
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
As far as I know, you'd have to modify and recompile the kernel to do that. I don't know much about that, and have never done it. If you really want to do this, start by looking at file init/main.c, in function start_kernel().
 
Old 07-20-2007, 11:13 AM   #5
kwikness
Member
 
Registered: Apr 2006
Location: MA
Distribution: Slackware 13
Posts: 67

Original Poster
Rep: Reputation: 15
can anyone give me a more detailed description of how to do this?
 
Old 07-20-2007, 11:16 AM   #6
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Sorry no. But suggest you have a live rescue thing to hand, like knoppix.
 
Old 07-20-2007, 03:24 PM   #7
kwikness
Member
 
Registered: Apr 2006
Location: MA
Distribution: Slackware 13
Posts: 67

Original Poster
Rep: Reputation: 15
Thread Closed

Last edited by kwikness; 07-20-2007 at 03:51 PM.
 
  


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
Setterm -powerdown xx won't work. dangerboy Linux - Hardware 2 07-19-2006 05:20 AM
setterm ?? Bill Johns Linux - Software 1 04-11-2005 04:44 AM
Setterm -powerdown 2 -store not saving settings after reboot kragbax Linux - Newbie 1 12-22-2004 11:11 PM
setterm command won't budge frankie_DJ Slackware 1 09-29-2004 08:17 PM
Unable to get setterm to work in the konsole christong Linux - General 0 11-11-2003 06:43 PM


All times are GMT -5. The time now is 09:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration