Page 1 of 1

How to change urxvt text colors in Bionicpup64? (Solved)

Posted: Mon Dec 06, 2021 6:55 pm
by Lassar

Am using the urxvt terminal in Bionicpup64.

When you use the ls command, it displays the files in different colors.

This makes it very hard to read.

Wanting the files listed in only one color: Black

Can I edit a file to change this, or do I have to use
the package manger to install another terminal?

What's the fix for this?


Re: urxvt terminals colors very annoying.

Posted: Mon Dec 06, 2021 8:18 pm
by williams2

In the file /etc/profile change this line: alias ls='ls --color=auto'

You can delete the line, or add a # to the beginning of the line:

#alias ls='ls --color=auto'

Or add the line unalias ls to /root/.profile

Or you can change the colours. I find blue hard to see so I put this:

urxvt*color4: #5555FF
urxvt*color12: #5555FF

in the file /root/.Xdefaults

picture of Links2 using #5555FF blue:

blue.jpg
blue.jpg (173.36 KiB) Viewed 296 times

Re: urxvt terminals colors very annoying.

Posted: Mon Dec 06, 2021 8:24 pm
by mikeslr

I have never gotten the hang of urxvt. My old fingers (or mind) don't respond well to it's 'middle-click' requirement for copy/pasting. Among the first things I install is lxterminal. Bionicpup64's Puppy Package Manager will install it. Then open Menu>System>Default Application Chooser and set it as default. Under Edit>Preferences you have a choice of colors, fonts and sizes.

Someone else will have to explain what is possible under urxvt, and how.


Re: urxvt terminals colors very annoying.

Posted: Mon Dec 06, 2021 8:39 pm
by williwaw

search for urxvtcontrol in the ppm, (it may already be installed) to configure the terminal itself.

for ls only, williams2 answer is best


Re: urxvt terminals colors very annoying.

Posted: Mon Dec 06, 2021 9:08 pm
by mikewalsh

In most Puppies, I set urxvt up with a black background and green-blue turquoise text. In Bionicpup64, however, I never did discover how to reset the color of the prompt (which is dark blue OOTB), so there urxvt is set up with a light grey background and black text.....

Mike. ;)


Re: urxvt terminals colors very annoying.

Posted: Mon Dec 06, 2021 9:15 pm
by Lassar

Changing the profile works!

Thank you! Thank you! Than you!


Re: urxvt terminals colors very annoying.

Posted: Mon Dec 06, 2021 9:46 pm
by williams2

never did discover how to reset the color of the prompt

In the file /root/.bashrc there may be a line something like:

PS1="\[\e]2;\w\a\e[34m\]$USER\\$ \[\e[0m\]"

34 is the colour blue, I guess.

I changed mine to PS1="\\$ "


Re: How to change urxvt text colors in Bionicpup64? (Solved)

Posted: Tue Dec 07, 2021 1:15 am
by bigpup

If there is no menu entry to run it. Usually in menu >Utility>
In a terminal

Code: Select all

urxvtcontrol
Screenshot(6).jpg
Screenshot(6).jpg (43.38 KiB) Viewed 273 times