Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 20:01
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Urxvt - Colors
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Wed 08 Feb 2012, 22:13    Post subject:  Urxvt - Colors
Subject description: Resources to make urxvt prettier.
 

Just feel the need of post this.
Take a look to this colors and their names, as urxvt recognize all that i've tested:
http://www.htmlgoodies.com/tutorials/colors/article.php/3478921
Handy link for CLI-EyeCandy.
2012-02-08-231143_1024x768_scrot.jpg
 Description   
 Filesize   22.14 KB
 Viewed   3379 Time(s)

2012-02-08-231143_1024x768_scrot.jpg


_________________


Last edited by GustavoYz on Tue 09 Oct 2012, 12:08; edited 1 time in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4358
Location: Gatineau (Qc), Canada

PostPosted: Wed 08 Feb 2012, 22:45    Post subject:  

Thanks.
_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Thu 16 Feb 2012, 11:41    Post subject:  

Were reading about prompt colors, found this handy script:
Code:
#!/bin/bash
#
#   This file echoes a bunch of color codes to the
#   terminal to demonstrate what's available.  Each
#   line is the color code of one forground color,
#   out of 17 (default + 16 escapes), followed by a
#   test use of that color on all nine background
#   colors (default + 8 escapes).
#

T='gYw'   # The test text

echo -e "\n                 40m     41m     42m     43m\
     44m     45m     46m     47m";

for FGs in '    m' '   1m' '  30m' '1;30m' '  31m' '1;31m' '  32m' \
           '1;32m' '  33m' '1;33m' '  34m' '1;34m' '  35m' '1;35m' \
           '  36m' '1;36m' '  37m' '1;37m';
  do FG=${FGs// /}
  echo -en " $FGs \033[$FG  $T  "
  for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
    do echo -en "$EINS \033[$FG\033[$BG  $T  \033[0m";
  done
  echo;
done
echo
prompt_colors.jpg
 Description   
 Filesize   40.52 KB
 Viewed   3169 Time(s)

prompt_colors.jpg


_________________

Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Fri 28 Sep 2012, 16:31    Post subject: Img  

Also, is possible to combine a picture as tint pixmap on urxvt. I like to use texture pattern ones (check the cap below).
To do something likely, will need this extra argument:
Code:
 urxv -pixmap "/path/to/file.png;:style=tiled"

I use to add it at the end, not sure if is correct, but it works just fine:
Code:
urxvt -sr +st -tr -tint chocolate -sh 51 -cr green -bg black -fg moccasin -pixmap "/path/to/file.png;:style=tiled"


There are plenty of pages with patterns to try, I got some from here. Have fun!
2012-09-28-173010_1366x768_scrot.jpg
 Description   Screen cap of an urxvt terminal.
 Filesize   26.23 KB
 Viewed   2995 Time(s)

2012-09-28-173010_1366x768_scrot.jpg


_________________


Last edited by GustavoYz on Tue 27 Nov 2012, 12:55; edited 2 times in total
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Fri 05 Oct 2012, 12:44    Post subject: Script  

I've made a silly script to exec an instance of urxvt with "random" settings on foreground and background colors, font and tint (transparency - opacity) level.
Check the screeny below, to see what im meaning with this.
Ill post a script modified to work without arguments, random setting only.
Replace the "FUENTES" array with font names that are on ur system and would like those on the console (check for those on mtpaint or gfontsel).

The original version of the script (with some more goodies that I use often) is here.

Regards.
Cool
URXVT_RND.sh.tar.gz
Description 
gz

 Download 
Filename  URXVT_RND.sh.tar.gz 
Filesize  1.26 KB 
Downloaded  935 Time(s) 
urvt_color.jpg
 Description   
 Filesize   27.96 KB
 Viewed   3307 Time(s)

urvt_color.jpg


_________________


Last edited by GustavoYz on Tue 27 Nov 2012, 12:55; edited 1 time in total
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Sat 13 Oct 2012, 17:38    Post subject: Console fonts
Subject description: Some links
 

Check this links, (p)review of some good fonts (download links too).
http://www.codinghorror.com/blog/2007/10/revisiting-programming-fonts.html
http://hivelogic.com/articles/top-10-programming-fonts/
(Inconsolata, Audimat Pro, Ubuntu mono and Lucida Console are my favorites for urxvt, in that order as screeny shows).
urxvt_fuentes.jpg
 Description   
 Filesize   75.49 KB
 Viewed   3311 Time(s)

urxvt_fuentes.jpg


_________________

Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Wed 24 Oct 2012, 16:50    Post subject:  

On the spanish forum, somebody reported it may fail on Wary...
I dont use Wary, so if somebody does, please run this or me and post the output.
Code:
urxvt -h |& head -2 | tail -1 | sed 's/options\:\ //g' | perl -e 'print map { $_.="\n" } split(/,/, <>)' | column

Code:
#output on my case -->
perl                                    pixbuf
xft                                     XIM
styles                                  frills
combining                               selectionscrolling
blink                                   wheel
iso14755                                slipwheel
unicode3                                smart-resize
encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext  cursorBlink
fade                                    pointerBlank
transparent                             scrollbars=plain+rxvt+NeXT+xterm
tint

Thanks.

_________________

Back to top
View user's profile Send private message 
KusaNoKaito


Joined: 19 Feb 2010
Posts: 99
Location: Florida

PostPosted: Wed 31 Oct 2012, 14:18    Post subject:  

Very nice techniques, thanks for sharing. Will definitely play around with them this weekend.
_________________
Puppy Packages
My Website
Back to top
View user's profile Send private message Visit poster's website 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Wed 31 Oct 2012, 14:51    Post subject:  

KusaNoKaito wrote:
Very nice techniques, thanks for sharing. Will definitely play around with them this weekend.

Thanks.
Very Happy

_________________

Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Mon 19 Nov 2012, 13:52    Post subject:  

GustavoYz wrote:
On the spanish forum, somebody reported it may fail on Wary...
I dont use Wary, so if somebody does, please run this or me and post the output.
Code:
urxvt -h |& head -2 | tail -1 | sed 's/options\:\ //g' | perl -e 'print map { $_.="\n" } split(/,/, <>)' | column

Code:
#output on my case -->
perl                                    pixbuf
xft                                     XIM
styles                                  frills
combining                               selectionscrolling
blink                                   wheel
iso14755                                slipwheel
unicode3                                smart-resize
encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext  cursorBlink
fade                                    pointerBlank
transparent                             scrollbars=plain+rxvt+NeXT+xterm
tint

Thanks.


False alarm, is working just fine apparently.
Cool

_________________

Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Mon 19 Nov 2012, 15:18    Post subject:  

Feel the need of post this here...

Arrow Change the font on the fly (either way):
Code:
printf '\33]50;%s\007' 9x15,xft:FontName

Code:
printf '\33]50;%s\007' xft:"Font Name":pixelsize=10:size=9:hinting=true


Arrow I'll quote this one, from `man 7 urxvt`:
Quote:
I don't like the screen colours. How do I change them?

You can change the screen colours at run-time using ~/.Xdefaults resources (or as long-options).

[...]
And here is a more complete set of non-standard colours.
URxvt.cursorColor: #dc74d1
URxvt.pointerColor: #dc74d1
URxvt.background: #0e0e0e
URxvt.foreground: #4ad5e1
URxvt.color0: #000000
URxvt.color8: #8b8f93
URxvt.color1: #dc74d1
URxvt.color9: #dc74d1
URxvt.color2: #0eb8c7
URxvt.color10: #0eb8c7
URxvt.color3: #dfe37e
URxvt.color11: #dfe37e
URxvt.color5: #9e88f0
URxvt.color13: #9e88f0
URxvt.color6: #73f7ff
URxvt.color14: #73f7ff
URxvt.color7: #e1dddd
URxvt.color15: #e1dddd


I tested it and worked as a charm (overwrite the system colours, as other terminals does).

_________________

Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Mon 12 Aug 2013, 12:58    Post subject:  

Here are a couple of urxvt settings that I use and love:

Light brown and white:
Code:
urxvt -vb +st -tr -cr green -tint moccasin -pr green -pr2 antiquewhite -sh 54 -bg moccasin -fg antiquewhite -fn xft:Inconsolata:pixelsize=12:antialias=true:hinting=true


Orange and light yellow:
Code:
urxvt -sr +st -tr -tint chocolate -sh 51 -fn "xft:Inconsolata:size=10" -cr green -bg black -fg moccasin


Blue and white:
Code:
urxvt -vb +st -tr -cr green -tint steelblue -pr green -pr2 snow -sh 60 -bg steelblue -fg snow -fn xft:Inconsolata:pixelsize=12:antialias=true:hinting=true


Gold (yellow?) and white:
Code:
urxvt -vb +st -tr -cr green -tint gold -pr green -pr2 snow -sh 44 -bg gold -fg snow -fn xft:Inconsolata:pixelsize=12:antialias=true:hinting=true


Transparent 100% for dark wallpapers:
Code:
urxvt -vb +st -tr -cr green -tint white -pr green -pr2 green -sh 100 -bg white -fg green -fn xft:Inconsolata:pixelsize=12:antialias=true:hinting=true


The other options are just settings: remove, edit, change, explore at your will.
Razz

_________________


Last edited by GustavoYz on Tue 03 Sep 2013, 22:02; edited 2 times in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4358
Location: Gatineau (Qc), Canada

PostPosted: Mon 12 Aug 2013, 15:18    Post subject:  

Hello, Gustavo.

Thanks for these combinations. I like the one with "chocolate" transparency.

About the inconsolata font: I can't find it... (Or maybe you are inconsolable, for some reason ?!) Smile

As a note, the correct spelling is hinting, not "hingting". Also, what is the difference in effect for the font between "hinting=true" and "autohint=true" ? Thanks in advance.

Bye for now.

musher0

Last edited by musher0 on Mon 12 Aug 2013, 15:41; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Keef


Joined: 20 Dec 2007
Posts: 646
Location: Staffordshire

PostPosted: Mon 12 Aug 2013, 15:23    Post subject:  

maik.murks (whatever happened to him and his mysterious puplet?..) did a whole thread on fonts:
http://www.murga-linux.com/puppy/viewtopic.php?p=526060#526060
Inconsolata is there.
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Mon 12 Aug 2013, 15:26    Post subject:  

@musher: See here for Inconsolata's home page and here for a nice comparision of monospaced fonts.
_________________

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1044s ][ Queries: 13 (0.0077s) ][ GZIP on ]