LinuxQuestions.org
Visit Jeremy's Blog.
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-2012, 08:51 PM   #16
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825

Sorry, I gave you the wrong name, the file name is vt.c, you will find it on your system in drivers/char/ in your source tree.
The part you need to change is in line 2866.
Information on how to properly compile a Slackware kernel can be found here: http://alien.slackbook.org/dokuwiki/...kernelbuilding
 
1 members found this post helpful.
Old 07-20-2012, 04:05 AM   #17
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Quote:
Originally Posted by nixblog View Post
The following has worked for Debian in the past by adding the following to /etc/rc.local,

Code:
echo -en "\\033[32m\\033[8]" > /dev/tty1
This will give you green text in tty1 at login - repeat for other ttys if necessary. You will need a restart for it to take effect if I remember rightly.
Sorry but this does not work for me - slackware 13.37. Got any more tricks that do not include recompiling the kernel.
 
Old 07-20-2012, 04:41 AM   #18
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 52
Quote:
Originally Posted by honeybadger View Post
Sorry but this does not work for me - slackware 13.37. Got any more tricks that do not include recompiling the kernel.
As a matter of fact, yes

The path (in slackware) to rc.local is actually /etc/rc.d and not just /etc - have just entered the line in rc.local on my test build of slackware 13.37 64bit and text changes to green on reboot where it says "Welcome to Linux 2.6.37.6 (tty1)"

If you wanted green text in everything then you still need to edit colour configs in some apps as they will still display their native colour schemes.

Last edited by nixblog; 07-20-2012 at 04:46 AM.
 
Old 07-20-2012, 09:16 AM   #19
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Quote:
Originally Posted by nixblog View Post
As a matter of fact, yes

The path (in slackware) to rc.local is actually /etc/rc.d and not just /etc - have just entered the line in rc.local on my test build of slackware 13.37 64bit and text changes to green on reboot where it says "Welcome to Linux 2.6.37.6 (tty1)"

If you wanted green text in everything then you still need to edit colour configs in some apps as they will still display their native colour schemes.
Indeed it does Just needs a reboot. I tried to log out and log back in. Perhaps my expectations from slackware are a lot more (I need to get life).
 
  


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
How to change light green text color to dark green of xterm ? cola Slackware 13 01-03-2010 10:07 AM
How to make boot up text + console full screen Cantremember Linux - Newbie 1 04-11-2009 09:16 PM
How can I make text smaller in console? nflenz Linux - General 5 02-09-2006 08:45 AM
Konqueror's "text view" option makes text green. newtwolinux SUSE / openSUSE 2 08-26-2005 07:45 AM
make OpenBSD's text console larger? gani *BSD 4 09-21-2004 12:44 AM


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