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

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

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

Post 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,

Attachments
screen.png
screen.png (192 KiB) Viewed 513 times
Last edited by gychang on Fri Oct 13, 2023 11:43 pm, edited 1 time in total.

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

User avatar
MochiMoppel
Posts: 1233
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 437 times

Re: change urxvt folder color, how?

Post by MochiMoppel »

Burunduk
Posts: 251
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 7 times
Been thanked: 127 times

Re: change urxvt folder color, how?

Post 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.

User avatar
gychang
Posts: 591
Joined: Fri Aug 28, 2020 4:51 pm
Location: San Diego, CA
Has thanked: 206 times
Been thanked: 64 times

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

Post 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 435 times

======

Puppy Bytes, utube videos
https://www.youtube.com/channel/UCg-DUU ... u62_iqR-MA

======

Post Reply

Return to “Users”