lkml.org 
[lkml]   [2006]   [Jan]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 15 Jan 2006 13:15:23 +0100 (MET)
FromJan Engelhardt <>
SubjectRe: Modify setterm color palette
>I've been looking in the kernel sources in the "console.c" and I think
>spotted the
>place where the colours are set but it seems to me that a more appropiate
>place to do such things would be the terminfo db.
>
>Any hints ?

drivers/char/vt.c: default_red, default_grn, default_blu

You can also change them with `echo -en "\e]PXRRGGBB"`, where X is a hex 
digit (range 0-F), and RGB are the components. Check console_codes(4) and 
go figure. :)

>I'm using radeonfb under Suse/amd64 if that makes any difference...

I am not sure if changing colors works with fb, try your best.



Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-15 12:17    [from the cache]
©2003-2008