LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Make console text green (https://www.linuxquestions.org/questions/linux-newbie-8/make-console-text-green-4175417662/)

TobiSGD 07-19-2012 07:51 PM

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

honeybadger 07-20-2012 03:05 AM

Quote:

Originally Posted by nixblog (Post 4733170)
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.

nixblog 07-20-2012 03:41 AM

Quote:

Originally Posted by honeybadger (Post 4733472)
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.

honeybadger 07-20-2012 08:16 AM

Quote:

Originally Posted by nixblog (Post 4733500)
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).


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