« Easy dual monitor setup with xrandr | Main | How to sniff usb port under Windows? »

Change current xterm font size

Did you ever needed a way to increase or decrease font size in xterm from script? I did... It took me quite some time to find out that xtermcontrol exists (which might be due to my use of rxvt instead of xterm for a long time).

Anyway, if you add following lines to your .bashrc:

alias f+='xtermcontrol --font=#+1'
alias f-='xtermcontrol --font=#-1'
...and you will be able to change font size in currently running xterm by f+ or f-.

TrackBack

TrackBack URL for this entry:
http://mjesec.ffzg.hr/~dpavlin/blog/mt/mt-tb.cgi/598

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on September 16, 2008 7:33 PM.

The previous post in this blog was Easy dual monitor setup with xrandr.

The next post in this blog is How to sniff usb port under Windows?.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 4.261