| View previous topic :: View next topic |
| Author |
Message |
Bill Cosby Guru


Joined: 22 Jan 2005 Posts: 430 Location: Aachen, Germany
|
Posted: Wed Apr 11, 2012 7:19 am Post subject: Linux console colors (tty)? |
|
|
Hi there,
I was wondering, you can change the background and foreground colors in the Linux console (e.g. with setterm), but does anyone know where I can change the predefined colors for this?
I mean I can do "setterm -background blue", but where is defined what "blue" looks like? I figure this must be somewhere in the Kernel source, anyone knows anything about this?
Regards,
Bill _________________ The Creature from Jekyll Island. |
|
| Back to top |
|
 |
ultraincognito Guru


Joined: 03 Jun 2011 Posts: 346 Location: Ukraine
|
Posted: Wed Apr 11, 2012 12:13 pm Post subject: |
|
|
| Why did you post this topic in the "Off the Wall"? |
|
| Back to top |
|
 |
Bill Cosby Guru


Joined: 22 Jan 2005 Posts: 430 Location: Aachen, Germany
|
Posted: Wed Apr 11, 2012 12:18 pm Post subject: |
|
|
| ultraincognito wrote: | | Why did you post this topic in the "Off the Wall"? |
It is not "Gentoo specific", e.g. the line under "Gentoo Chat" says: "For general linux questions, see Off The Wall."  _________________ The Creature from Jekyll Island. |
|
| Back to top |
|
 |
ultraincognito Guru


Joined: 03 Jun 2011 Posts: 346 Location: Ukraine
|
Posted: Wed Apr 11, 2012 1:13 pm Post subject: |
|
|
The colors are in the /usr/bin/setterm. Info 100%.
Try:
| Code: | # sed -i 's/white/test/' /usr/bin/setterm
# setterm -background test |
and ascertain yourself. |
|
| Back to top |
|
 |
Frustie Tux's lil' helper


Joined: 31 Aug 2007 Posts: 94 Location: My own little planet.
|
Posted: Wed Apr 11, 2012 2:40 pm Post subject: |
|
|
| ultraincognito wrote: | The colors are in the /usr/bin/setterm. Info 100%.
Try:
| Code: | # sed -i 's/white/test/' /usr/bin/setterm
# setterm -background test |
and ascertain yourself. |
knowingly telling people to break their environment is NOT the otw way.
making fun of them is  _________________ If we ignore it maybe it will go away. |
|
| Back to top |
|
 |
Bill Cosby Guru


Joined: 22 Jan 2005 Posts: 430 Location: Aachen, Germany
|
Posted: Wed Apr 11, 2012 10:09 pm Post subject: |
|
|
| ultraincognito wrote: | The colors are in the /usr/bin/setterm. Info 100%.
Try:
| Code: | # sed -i 's/white/test/' /usr/bin/setterm
# setterm -background test |
and ascertain yourself. |
Ya, well, thanks for not helping.
So does anyone know where the colors are defined in the kernel? _________________ The Creature from Jekyll Island. |
|
| Back to top |
|
 |
|