<---- template headericclude ----->
Console Session Colors
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2016
    Location
    Cape Canaveral
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Console Session Colors

    Hello,

    1. There seem to be myriad links on changing the terminal colors for a prompt or even on a line-by-line basis. I cant find anything on setting and retaining the settings for my entire console session (foreground, background, bold etc). How can I do that from a script or command line?

    2. Is there a tool or website to see swatches, i.e a set of colors that work together for console colors?
    BTW, I know how to output all the available terminal colors (not looking for that).


    Thanks,

    Michael

  2. #2
    Join Date
    Dec 2007
    Location
    Australia
    Posts
    1,898
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Console Session Colors

    Perhaps put your mods in .bash_profile, e.g. I have: echo -ne '\033[?17;0;32c' to get a color cursor on the console on this machine. It is blue.

  3. #3
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,903
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: Console Session Colors

    Maybe not exactly what you are looking for, but to control some color aspects of what see in a console (mostly directory and file type color assignments) there are:
    Code:
    $ locate DIR_COLORS
    /etc/DIR_COLORS
    /etc/DIR_COLORS.256color
    /etc/DIR_COLORS.lightbgcolor
    I have for years used and modified the DIR_COLORS file by doing:
    Code:
    $ cp /etc/DIR_COLORS /home/me/.dir_colors
    You can have a field day arranging things to suit yourself by editing your .dir_colors file, which is automatically parsed when calling up an X term and I think on console also.

    /usr/share/man/man5/dir_colors.5.gz
    /usr/bin/dircolors
    /usr/share/man/man1/dircolors.1.gz

Similar Threads

  1. console and xorg colors washed out
    By ardya in forum Hardware
    Replies: 2
    Last Post: 8th September 2016, 05:35 PM
  2. RDP as console session?
    By gurutech in forum Servers & Networking
    Replies: 1
    Last Post: 31st August 2011, 08:03 PM
  3. strange mc colors under console text mode
    By CD-RW in forum Using Fedora
    Replies: 7
    Last Post: 15th December 2006, 08:43 PM
  4. Console colors not correctly displayed
    By woosting in forum Using Fedora
    Replies: 8
    Last Post: 24th February 2005, 02:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]