Console terminal colors, how to change?

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
wdx12
Posts: 24
Joined: Sun Jan 03, 2021 2:45 pm
Has thanked: 9 times
Been thanked: 2 times

Console terminal colors, how to change?

Post by wdx12 »

Hello,

I have default console colors (black background etc). Is there a way to select
different colors for background, files, directory etc. Having trouble with low contrasts.

User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2745 times
Been thanked: 2619 times
Contact:

Re: Console Terminal Colors, How to change

Post by rockedge »

Menu->Utility->Urxvt Terminal Control

wdx12
Posts: 24
Joined: Sun Jan 03, 2021 2:45 pm
Has thanked: 9 times
Been thanked: 2 times

Re: Console Terminal Colors, How to change

Post by wdx12 »

Thanks!

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

Re: Console Terminal Colors, How to change

Post by bigpup »

OK, you want us to guess what Puppy version you are using. :roll:
We will guess it is using URXVT for the console. :roll:
So I will guess it has no menu entry.
This is how to do it from console/terminal:
viewtopic.php?f=160&t=1598

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

Eastler_Dart
Posts: 80
Joined: Wed Aug 05, 2020 3:34 am
Has thanked: 1 time
Been thanked: 8 times

Re: Console terminal colors, how to change?

Post by Eastler_Dart »

I went also in troubles, with colors in urxvt.

My Solution:
rename /usr/bin/urxvt to urxvt_bin
make an new (sh-)script file named urxvt:

Code: Select all

#!/bin/sh
# anders die Farben nicht dauerhaft hin bekommen :-( / found no other way for permanent colors of scrollbar 

exec urxvt_bin -bg rgb:55/00/00 -fg rgb:DD/CC/AA -scrollColor '#D3A36E' -troughColor '#1DD146' -sr -fn "xft:Monospace:pixelsize=12"  "${@}"

make that script executable
now you have (permanent)

  • coloured scrollbar,

  • xft:font (Monospace in example) size 12

  • back- and foreground-colors (brown/red/yellow in example)

  • Scrollbar on right side (-sr)

(works in upup-ef, should work in many puppies using urxvt)
hope it helps

Post Reply

Return to “Beginners Help”