| Author |
Message |
don922
Joined: 19 Jan 2008 Posts: 337 Location: The land of 14" monitors
|
Posted: Wed 10 Sep 2008, 09:49 Post subject:
How to increase rxvt font size? (Solved) |
|
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?
_________________ Don -- Thailand

Last edited by don922 on Thu 11 Sep 2008, 09:53; edited 1 time in total
|
|
Back to top
|
|
 |
Bruce B

Joined: 18 May 2005 Posts: 10818 Location: The Peoples Republic of California
|
Posted: Wed 10 Sep 2008, 09:56 Post subject:
|
|
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
|
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2949 Location: Southampton, UK
|
Posted: Wed 10 Sep 2008, 11:47 Post subject:
|
|
starting rxvt with something like | Code: | | 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: community website, screenshots, puplets, wiki, rss
|
|
Back to top
|
|
 |
Mstar
Joined: 16 Feb 2007 Posts: 74
|
Posted: Wed 10 Sep 2008, 12:53 Post subject:
|
|
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
|
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2949 Location: Southampton, UK
|
Posted: Wed 10 Sep 2008, 13:16 Post subject:
|
|
aha excellent I think we've got there by team work
try putting this in .Xdefaults | Code: | | Rxvt.font: "-*-Courier-bold-*-*-*-20-*-*-*-*-*-*-*" | xfontsel can help you construct valid viles for the fonts that you have available
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
|
Back to top
|
|
 |
don922
Joined: 19 Jan 2008 Posts: 337 Location: The land of 14" monitors
|
Posted: Thu 11 Sep 2008, 07:50 Post subject:
|
|
I am using Puppy 2.13.
I tried the suggestions but, nothing changed. Here is a copy of the /root/.Xdefaults file
| Code: |
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, 08:28; edited 1 time in total
|
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2949 Location: Southampton, UK
|
Posted: Thu 11 Sep 2008, 08:27 Post subject:
|
|
the bottom 3 lines of your config refer to URxvt it should just be Rxvt without the U at the begining.
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
|
Back to top
|
|
 |
don922
Joined: 19 Jan 2008 Posts: 337 Location: The land of 14" monitors
|
Posted: Thu 11 Sep 2008, 10:09 Post subject:
|
|
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.
_________________ Don -- Thailand

|
|
Back to top
|
|
 |
Mstar
Joined: 16 Feb 2007 Posts: 74
|
Posted: Thu 11 Sep 2008, 10:36 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2949 Location: Southampton, UK
|
Posted: Thu 11 Sep 2008, 11:44 Post subject:
|
|
| 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: community website, screenshots, puplets, wiki, rss
|
|
Back to top
|
|
 |
soundNICK
Joined: 13 Oct 2010 Posts: 118
|
Posted: Sun 27 Nov 2011, 22:47 Post subject:
|
|
my thanks to Hairy for his several suggestions here...
worked for me
|
|
Back to top
|
|
 |
|