How to increase rxvt font size? (Solved)

Booting, installing, newbie
Post Reply
Message
Author
don922
Posts: 433
Joined: Sat 19 Jan 2008, 07:58
Location: Nong Yai Buah

How to increase rxvt font size? (Solved)

#1 Post by don922 »

I have been trying to figure out how to change the font and increase the size of the font used in the rxvt terminal. What is there is barely readable.

I am lost -- neither the man page or the help page for rxvt gives any help to me.

........................................................................
Is it my browser or is there something wrong with the "Author" column of the forum?
Last edited by don922 on Thu 11 Sep 2008, 13:53, edited 1 time in total.
[color=green][i]Don -- Thailand[/i][/color]
[url=http://www.puppylinux.com][img]http://tinypic.com/4e0tojl.jpg[/img][/url]

Bruce B

#2 Post by Bruce B »

You have to edit the desktop icon section for the argument to pass to the program.

-fn 10x20 will make you happy with the font

-fn 10x20 -rv will increase font and give black background and white foreground

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#3 Post by HairyWill »

starting rxvt with something like

Code: Select all

rxvt -fn "-*-Courier-bold-*-*-*-20-*-*-*-*-*-*-*"
should help.
There must be a way to set this as the default. One hack might be to edit the desktop icon to include the start command. If you want to tweak the font style then xfonsel on the desktop menu is helpful.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#4 Post by Mstar »

In most Puppy versions the rxvt display parameters are found in .Xdefaults in the root directory. You need to set the ROX options to show hidden files to see it.

Placing the lines shown here at the end (I generally start by editing the last one in the original and then adding the other two) produces a blue background/yellow foreground window that is about half again bigger than the standard window.

The "Rxvt.font:" parameter seems to be somewhat picky about what it will accept, but 10x20 works nicely for me.

Wish I could say I knew enough to figure this out by myself, but I can't. I found it in a series of posts here about a year ago. Might still show up on a search.


Rxvt.background: "navy"
Rxvt.foreground: "yellow"
Rxvt.font: 10x20

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#5 Post by HairyWill »

aha excellent I think we've got there by team work
try putting this in .Xdefaults

Code: Select all

Rxvt.font: "-*-Courier-bold-*-*-*-20-*-*-*-*-*-*-*"
xfontsel can help you construct valid viles for the fonts that you have available
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

don922
Posts: 433
Joined: Sat 19 Jan 2008, 07:58
Location: Nong Yai Buah

#6 Post by don922 »

I am using Puppy 2.13.
I tried the suggestions but, nothing changed. Here is a copy of the /root/.Xdefaults file

Code: Select all

Rxvt*keysym.0xFF50:\001
Rxvt*keysym.0xFF57:\005
!Rxvt*menu: /root/.rxvt.menu
Rxvt*saveLines: 1000

!warning, needs about 500 bytes per line for scrollback buffer...
URxvt.saveLines: 500
! idea here is 7x14 only iso8859-1, xft:mono fills in other characters...

URxvt.font: x:10x20,xft:mono

!URxvt.font: xft:mono:pixelsize=14

URxvt.boldFont: x:10x20,xft:mono
URxvt.italicFont: xft:mono:italic:autohint=true
URxvt.background: "white smoke"

!!!URxvt.boldFont: x:10x20,xft:mono
!!!URxvt.background: "navy"
!!!URxvt.foreground: "yellow"
Last edited by don922 on Thu 11 Sep 2008, 12:28, edited 1 time in total.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#7 Post by HairyWill »

the bottom 3 lines of your config refer to URxvt it should just be Rxvt without the U at the begining.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

don922
Posts: 433
Joined: Sat 19 Jan 2008, 07:58
Location: Nong Yai Buah

#8 Post by don922 »

I don't know what the URxvt is about but, thats the way it is on the ISO. I wonder should the rest of the "URxvt" be changed to Rxvt?

Courier-bold didn't look right on my computer so I used 10X20 which will work.

I will probably get used to the yellow on navy blue. Anyway, I'm giving it a try.

Thank you all for your help.
[color=green][i]Don -- Thailand[/i][/color]
[url=http://www.puppylinux.com][img]http://tinypic.com/4e0tojl.jpg[/img][/url]

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#9 Post by Mstar »

Don922,

You are not limited to Navy/Yellow, those are just my preferences.

Go to: http://mkaz.com/ref/xterm_colors.html to see a whole list of colors that "should" be available.

No guarantees, I have not tried them.

Just replace "navy" and "yellow" with whatever appeals to you and see what happens.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#10 Post by HairyWill »

don922 wrote:I don't know what the URxvt is about but, thats the way it is on the ISO. I wonder should the rest of the "URxvt" be changed to Rxvt?
I presume that at one stage puppy used urxvt for its terminal emulator, it must have been a while ago. The urxvt lines can be ignored they should have no effect unless urxvt is installed.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

soundNICK
Posts: 124
Joined: Wed 13 Oct 2010, 15:37

#11 Post by soundNICK »

my thanks to Hairy for his several suggestions here...
worked for me

Post Reply