Re: Terminal font colors?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Todd Zullinger wrote:
Mikkel L. Ellertson wrote:
Bob Goodwin wrote:
Due to my poor vision I find it best to view the terminal display
with a white text on a black background.  That together with a
larger font works well for me.

But when I list a directory with "ll" the text is in color with the
directories in a shade of blue that is unreadable against a black
background requiring that I do "ll --color=no" about one hundred
times a day!  Can someone tell me where those colors are set so I
can change the shade of blue.  I can deal with the colors as long
as the text is bright enough, in fact I have come to appreciate the
colored listing, well almost.

Thanks.

Bob Goodwin

/etc/DIR_COLORS

Actually, for gnome-terminal (and xterm, and likely other X terminal
programs) /etc/DIR_COLORS.xterm is used.  And this file disables the
bold attributes that make the colors much more legible on a black
background.  (IIRC, this has something to do with the default fonts
and their inability to display bold and utf-8?  I forget where I got
that idea though, so it may be wildly off-base)

If you check out /etc/profile.d/colorls.sh you can see the various
files that are read for color settings.  What I've done for a while
now is copy /etc/DIR_COLORS to ~/.dircolors and then source the
colorls.sh script (to get the updated colors used without having to
log out or start a ner terminal):

cp /etc/DIR_COLORS ~/.dircolors
source /etc/profile.d/colorls.sh

Then an ls in a terminal with a dark background should be much nicer.
And if you do need to cusomize it, you're doing it with your own
personal dir colors file instead of the system-wide one.

Thanks for the help but in my case it seems things are a bit different since I use XFCE rather than Gnome.

What I discovered is that Edit > Preferences > Colors contains a palette of available colors and I was able to simply change the dark blue to a light shade there to solve my problem. Operating on /etc/DIR_COLORS permits me to get some effects like reverse video but what I really needed was a brighter text so I set that for bold and then in the XFCE terminal preferences I was able to get a better color.

Again thank you.

Bob Goodwin

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux