Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #37400

Re: text colors in terminals (ls command)

From Rob van der Putten <rob@sput.nl>
Newsgroups comp.os.linux.misc
Subject Re: text colors in terminals (ls command)
Date 2023-03-04 10:41 +0100
Organization A noiseless patient Spider
Message-ID <ttv3oc$ukfj$1@dont-email.me> (permalink)
References <ttv2r2$uish$1@dont-email.me>

Show all headers | View raw


Hi there


On 04/03/2023 10:25, Bazza wrote:

> In Alma Linux 9, the ls command shows directories in dark blue, which is 
> hard to read. One can use ls --color=never to avoid this.
> konsole seems broken: ls shows directories with 47m in front, e.g. 
> 47mDownloads
> I presume 47 is the code for dark blue.
> ls command in terminal, xfce-terminal show the dark blue.
> ye olde xterm seems best: off-white background, so directories are visible
> 
> In Debian, ls shows directories in blue, but no so stupidly dark as Alma.

You can actually set the RGB values of each colour in ~/.Xresources.
E.G.:

*VT100*color4: rgb:00/44/ee
URxvt.color4:  #0044ee
URxvt.color12: #5555ff

Then run xrdb -merge ~/.Xresources


Regards,
Rob

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

text colors in terminals (ls command) Bazza <suzywng@outlook.com> - 2023-03-04 17:25 +0800
  Re: text colors in terminals (ls command) Rob van der Putten <rob@sput.nl> - 2023-03-04 10:41 +0100
    Re: text colors in terminals (ls command) "Nuno Silva" <nunojsilva@invalid.invalid> - 2023-03-05 10:04 +0000
      Re: text colors in terminals (ls command) Rob van der Putten <rob@sput.nl> - 2023-03-05 12:01 +0100
        Re: text colors in terminals (ls command) Anthk <anthk@disroot.org> - 2023-03-24 15:39 +0000
  Re: text colors in terminals (ls command) Grant Taylor <gtaylor@tnetconsulting.net> - 2023-03-04 10:27 -0700
  Re: text colors in terminals (ls command) Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2023-03-05 16:14 +0000
    Re: text colors in terminals (ls command) Eli the Bearded <*@eli.users.panix.com> - 2023-03-05 22:23 +0000
  Re: text colors in terminals (ls command) Anthk <anthk@disroot.org> - 2023-03-24 15:39 +0000

csiph-web