Page 1 of 1

Re: change urxvt folder color, how? (SOLVED)

Posted: Fri Oct 13, 2023 3:37 am
by gychang

when I use urxvt and ls -l, I get a darkblue color which is difficult to see. Is there a way to change this? I tried urxvt terminal control but can't figure it out.

I am using Fossapup64-CE4 iso and prefer urxvt to lxterminal.

thanks,


Re: change urxvt folder color, how?

Posted: Fri Oct 13, 2023 3:43 am
by MochiMoppel

Re: change urxvt folder color, how?

Posted: Fri Oct 13, 2023 1:30 pm
by Burunduk

MochiMoppel has explained how to change the ls colors.
Other programs can use the blue color too. If you want to change colors in urxvt (for all the programs it runs), you can add the lines

URxvt.color4: #5555ff - for the blue
URxvt.color12: #7777ff - for the bold blue (the one used in ls for directories)

to the /root/.Xdefaults file (change the colors to your liking).

Or try to install the modified UrxvtControl.


Re: change urxvt folder color, how? (SOLVED)

Posted: Fri Oct 13, 2023 11:45 pm
by gychang

with help from @MochiMoppel I added the following to .bashrc file and works well now.

#change rox folder color 34-blue to 32-green
LS_COLORS=$LS_COLORS:"di=1;32"

screen.png
screen.png (182.42 KiB) Viewed 439 times