You are not logged in.
Pages: 1
I really want to zoom in/out text in urxvt ? Are there any way to do this ?
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
I really want to zoom in/out text in urxvt ? Are there any way to do this ?
You can change the font size, if that's what you mean.
Offline
nXqd wrote:I really want to zoom in/out text in urxvt ? Are there any way to do this ?
You can change the font size, if that's what you mean.
I mean that I can change it dynamically like you do in Chrome/Firefox : Ctrl + , Ctrl - and Ctrl 0.
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
I mean that I can change it dynamically like you do in Chrome/Firefox : Ctrl + , Ctrl - and Ctrl 0.
I don't think so, but maybe you can create some keybindings to do that.
printf '\33]50;%s\007' xft:terminus:pixelsize=$1
should do the trick, but you need to pick the fontsize (and another font if you don't use Terminus).
Last edited by karol (2010-12-10 02:19:30)
Offline
\33]50;%s\007
How can I find a code like this ?
And where should I put that code in ?
Thanks.
When you live for a strong purpose, then hard work isn't an option. It's a necessity. - Steve Pavlina
dotFiles
Offline
See https://github.com/trapd00r/pickyfont
Then just add some aliases/bindings.
alias pf='pickyfont ter7'
alias f="pickyfont monte1 normal && pickyfont monte2 bold && pickyfont pro1 italic"
alias q='cd $HOME/devel/pickyfont'
alias 2='pickyfont -f speedy2'
alias 3='pickyfont -f progsole'
alias j='pickyfont -f terminus1'
alias jj='pickyfont -f terminus2'
alias hh='pickyfont -f fixed7'
alias k='pickyfont -f proggy1'
alias kk='pickyfont -f clea3'
alias ll='pickyfont -f profont2'
alias lll='pickyfont -f profont4'
Offline
\33]50;%s\007
How can I find a code like this ?
And where should I put that code in ?
Thanks.
These are escape sequences but I don't have any definite guide for them - I just found this one some time ago.
Just put it in your commandline / use aliases. I use the tabbed urxvt and this changes fontsize in all the tabs (of this urxvt instance). I don't know of any simple equivalent of Ctrl + / - / 0 for urxvt.
Offline
There is also an existing thread on this topic here: https://bbs.archlinux.org/viewtopic.php?id=44121
Offline
Pages: 1