How to change colors of Urxvt Terminal Emulator? (Solved)
Ohh Hello musher,
I didn't post as a disrespect to you. I would never do that sir.
I just thought the takenp person who reopened the thread might be interested in quick tool that edits .xdefaults
Everyone isn't into learning manual ways.
I on other hand like it.
I did look at your way and will try when I get time.
Cya later.
I didn't post as a disrespect to you. I would never do that sir.
I just thought the takenp person who reopened the thread might be interested in quick tool that edits .xdefaults
Everyone isn't into learning manual ways.
I on other hand like it.
I did look at your way and will try when I get time.
Cya later.
- a_salty_dogg
- Posts: 180
- Joined: Sun 15 Dec 2013, 19:08
@musher0
Thanks but "-fg black" had no effect.
It's only the initial "root#" which displays in neon yellow anyhow; all the commands typed and all responses show in perfectly legible black, apart from that one item.
Xenial 7-06 already has Urxvt Terminal Control installed as standard, but it seems to offer no option to change colour of that "root#".
No worries anyway: tbh I always prefer to install and use Sakura, which I've always found far friendlier and more civilised than Urxvt.
Thanks but "-fg black" had no effect.
It's only the initial "root#" which displays in neon yellow anyhow; all the commands typed and all responses show in perfectly legible black, apart from that one item.
Xenial 7-06 already has Urxvt Terminal Control installed as standard, but it seems to offer no option to change colour of that "root#".
No worries anyway: tbh I always prefer to install and use Sakura, which I've always found far friendlier and more civilised than Urxvt.
Thanks for the thanks.
Then you could tryNow the yellow prompt should be against a black background.
OR
if your backdrop is dark rather than light, and you feel adventurous, you
could tryThis will let the dark color of your backdrop show through as the
background of your console, with a brown shading of 50 %. You can
change "SaddleBrown", if you don't like brown, to "CadetBlue" or
"VioletRed4", or any other named color listed in file /root/.rgb.txt.
Also, you can try a "solarized" effect if you push the shade (-sh) over 100.
-sh can go from 0 to 255, but at very high levels it tends to blur everything
with the -tint color. (Please see attached pic.)
~~~~~~~~
In any case, basic ANSI foreground colors are as follows:
I don't know Sakura, but I know that LxTerminal picks up the same
prompt -- and colors in the prompt -- as urxvt. So perhaps you would
have the same contrast problem in Sakura.
If so, may I suggest that your have a look at your /root/.bashrc file, if it
has a "PROMPT" or "PS1" string in it (usually towards the bottom). Now,
within the "PROMPT" or "PS1" string, look for an expression "[33m". That
would be your annoying yellow color. You could change it to any other
thirty-something number except 36 or 37 to get proper contrast, as per
the ANSI color table above.
IHTH.
~~~~~~~~~~
P.S. The formulas for the prompt in the attached console pic are:
Then you could try
Code: Select all
-fg white -bg black
OR
if your backdrop is dark rather than light, and you feel adventurous, you
could try
Code: Select all
-tr -sh 50 -tint SaddleBrown
background of your console, with a brown shading of 50 %. You can
change "SaddleBrown", if you don't like brown, to "CadetBlue" or
"VioletRed4", or any other named color listed in file /root/.rgb.txt.
Also, you can try a "solarized" effect if you push the shade (-sh) over 100.
-sh can go from 0 to 255, but at very high levels it tends to blur everything
with the -tint color. (Please see attached pic.)
~~~~~~~~
In any case, basic ANSI foreground colors are as follows:
Source: http://pueblo.sourceforge.net/doc/manua ... codes.html[30m -- set foreground color to black
[31m -- ... red
[32m -- ... green
[33m -- ... yellow
[34m -- ... blue
[35m -- ... magenta (purple)
[36m -- ... cyan
[37m -- ... white
I don't know Sakura, but I know that LxTerminal picks up the same
prompt -- and colors in the prompt -- as urxvt. So perhaps you would
have the same contrast problem in Sakura.
If so, may I suggest that your have a look at your /root/.bashrc file, if it
has a "PROMPT" or "PS1" string in it (usually towards the bottom). Now,
within the "PROMPT" or "PS1" string, look for an expression "[33m". That
would be your annoying yellow color. You could change it to any other
thirty-something number except 36 or 37 to get proper contrast, as per
the ANSI color table above.
IHTH.
~~~~~~~~~~
P.S. The formulas for the prompt in the attached console pic are:
Not from me, BTW (except choice of motto), but I lost the ref., sorry.PROMPT_COMMAND='DIR=`pwd|sed -e "s!$HOME!~!"`; if [ ${#DIR} -gt 30 ]; then CurDir=${DIR:0:12}...${DIR:${#DIR}-10}; else CurDir=$DIR; fi';titlebar="\D{Le %A %d %B %G, %r}"
PS1="Croyez pour être forts; aimez pour être heureux. \e[1;36m(Hugo)\e[m | \D{%a %d %b, %R}\n[\$CurDir]>"
- Attachments
-
- solarized-urxvt.jpg
- Recipe for this one is:
urxvt -bg #271F0C -fg black -bd #BDBDBD" -tr -tint AntiqueWhite1 -sh 150 - (155.16 KiB) Downloaded 244 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
- a_salty_dogg
- Posts: 180
- Joined: Sun 15 Dec 2013, 19:08
- a_salty_dogg
- Posts: 180
- Joined: Sun 15 Dec 2013, 19:08
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Hi, tallboy/orrin/Flash et al.
And yellow on white (in Xenial).....I believe that's probably Mr. Broughton!
(Dearie me. Poor old Micko & Phil; they work themselves into a frazzle to bring you ungrateful heathens some of the most 'classic' Puppies you've ever seen......and all you lot can do is moan about the default terminal colors!! )
Only kidding.....
Actually, I'm glad I found this thread. I've finally been able to modify URXVT in Slacko 570 (been wondering how to do it for ages!); okay, the default's a reasonable white on black, but the font's a bit small.....and I do prefer yellow on dark blue, with a slightly larger italic font. (The old 'peepers' aren't improving with age; I'm getting this last few months so's I've bumped the DPI settings up one notch throughout the kennels. Don't see the point in squinting when I don't need to!) I did try Phil's URXVT settings .pet for it, but 570 uses the older urxvt, which doesn't respond to it (probably writes to a different location).
Menu->Graphic->GColorChooser2 gave me the hex values for the colours I wanted.....and Menu->Desktop->Font Manager let me get the font names and values correct for the fonts. And it's all worked nicely.
Mike.
Dark blue on black (in Slacko); I believe that's like as not Mr. Amadio.....tallboy wrote:Probably the same guy who used yellow on white in Xenial...Flash wrote:What kind of sadistic psychopath made dark blue letters on a black background the default configuration?
Orrin, follow the link supplied by drunkjedi in his post above:
http://www.murga-linux.com/puppy/viewtopic.php?t=97337
And yellow on white (in Xenial).....I believe that's probably Mr. Broughton!
(Dearie me. Poor old Micko & Phil; they work themselves into a frazzle to bring you ungrateful heathens some of the most 'classic' Puppies you've ever seen......and all you lot can do is moan about the default terminal colors!! )
Only kidding.....
Actually, I'm glad I found this thread. I've finally been able to modify URXVT in Slacko 570 (been wondering how to do it for ages!); okay, the default's a reasonable white on black, but the font's a bit small.....and I do prefer yellow on dark blue, with a slightly larger italic font. (The old 'peepers' aren't improving with age; I'm getting this last few months so's I've bumped the DPI settings up one notch throughout the kennels. Don't see the point in squinting when I don't need to!) I did try Phil's URXVT settings .pet for it, but 570 uses the older urxvt, which doesn't respond to it (probably writes to a different location).
Menu->Graphic->GColorChooser2 gave me the hex values for the colours I wanted.....and Menu->Desktop->Font Manager let me get the font names and values correct for the fonts. And it's all worked nicely.
Mike.
Thank you, musher0!
musher0 wrote:
Dark blue over black is not the most convenient combo on your terminal when you have eyesight issues. It comes with age, so I just revived this old account to thank musher0, who fixed my little problem.If so, may I suggest that your have a look at your /root/.bashrc file, if it
has a "PROMPT" or "PS1" string in it (usually towards the bottom). Now,
within the "PROMPT" or "PS1" string, look for an expression "[33m". That
would be your annoying yellow color. You could change it to any other
thirty-something number except 36 or 37 to get proper contrast, as per
the ANSI color table above.