Find the answer to your Linux question:
Results 1 to 5 of 5
Hey everyone need a change right!!! I am bored of watching the same white color on my console and want to change everything to green color including the start up.I ...
  1. #1
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493

    changing the color of the console permanetly to green

    Hey everyone need a change right!!!
    I am bored of watching the same white color on my console and want to change everything to green color including the start up.I did something like this
    Code:
    setterm -background black - foreground green -store
    It did change the color but not permanently.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Is this just for your user within desktop terminal emulators (konsole,gnome-terminal) or for all users on the VTs?

    If it's just for you then add it into your .bashrc file in your home directory or the terminals themselves often include theming options.

  3. #3
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    I just did the ( added the setterm in my bashrc) but when my pc boots for the 1st time I see all the services getting started in white color. I want event that to be in green color. I read that somewhere that i should put the setterm in a startup script but don't know which one.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  4. #4
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    also I have one more doubt. When on the console i do
    Code:
    setterm -foreground green
    without the -store option . The console color changes to green but only for a short period of time and disappears when I issue a ls cmd.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  5. #5
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    I am not sure you can achieve this without problems unless you hack it at kernel level. Even if you set this at boot time, you can only do it after init has started, which means that, at least the kernel output at the beggining is going to be white. Obviously no start script can help at that time because by that time, init hasn't been started yet.

    I've found a patch for the kernel to be able to set a different color for the kernel output, however I haven't used it myself.

    [3/3] Re: Colored Kernel Output for 2.6.25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...