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

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
Lassar
Posts: 107
Joined: Mon Jan 18, 2021 12:59 am
Been thanked: 1 time

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

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

Last edited by Flash on Mon Dec 06, 2021 9:44 pm, edited 2 times in total.
Reason: Original title: urxvt terminals colors very annoying.
williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: urxvt terminals colors very annoying.

Post 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 288 times
Last edited by williams2 on Mon Dec 06, 2021 9:00 pm, edited 2 times in total.
User avatar
mikeslr
Posts: 2959
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 914 times

Re: urxvt terminals colors very annoying.

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

williwaw
Posts: 1937
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 368 times

Re: urxvt terminals colors very annoying.

Post 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

User avatar
mikewalsh
Moderator
Posts: 6154
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 792 times
Been thanked: 1979 times

Re: urxvt terminals colors very annoying.

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

Lassar
Posts: 107
Joined: Mon Jan 18, 2021 12:59 am
Been thanked: 1 time

Re: urxvt terminals colors very annoying.

Post by Lassar »

Changing the profile works!

Thank you! Thank you! Than you!

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: urxvt terminals colors very annoying.

Post 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="\\$ "

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

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

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

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Users”