[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zutty fonts - zutty always uses the same font and fontsize



In days of yore (Wed, 01 May 2024), Greg Wooledge thus quoth: 
> On Wed, May 01, 2024 at 02:31:49PM +0200, Sirius wrote:
> > zutty is kind of only necessary when you want something *really*
> > lightweight and you do not need to worry about UTF-8. Just writing this
> > means a trip down memory lane and back to configuring CTWM on old Sun 5
> > workstations back in the 90's. If Debian still packages it, look for rxvt
> > instead, or use xterm. Both are well tried and well tested for when you
> > want something .. dated. ;)
> 
> The original rxvt is no longer packaged in Debian, as far as I can see.
> There's rxvt-unicode, which is what I use, which has most of the same
> look and feel as rxvt, but is substantially larger.

I pulled down rxvt-unicode and started looking at how to configure it up
so that it works more or less like kitty (which is what I normally use).

> Between xterm and rxvt-unicode you should have most of your "basic
> no-frills terminal" needs met by one or the other.

I was right about .Xresources that it is one of the files used for loading
settings into the X server, but urxvt looks at .Xdefaults instead. If one
puts something like the below into .Xdefaults in $HOME, it works with
Powerline and it does not look too terrible.

Rxvt.depth: 24
Rxvt.jumpScroll: on
Rxvt.fading: 20
Rxvt.background: #101010
Rxvt.foreground: #efefef
Rxvt.cursorColor: #dd8888
Rxvt.font: xft:Hack:pixelsize=16,xft:Powerline:pixelsize=16
Rxvt.boldFont: xft:Hack Bold:pixelsize=16,xft:Powerline:pixelsize=16
Rxvt.italicFont: xft:Hack Italic:pixelsize=16,xft:Powerline:pixelsize=16
Rxvt.boldItalicFont: xft:Hack BoldItalic:pixelsize=16,xft:Powerline:pixelsize=16
Rxvt.loginShell: on
Rxvt.visualBell: on
Rxvt.scrollBar_right: on
Rxvt.scrollBar_floating: on
Rxvt.saveLines: 5000
Rxvt.termName: xterm-256color
Rxvt.disablePasteBrackets: off

As per usual, getting the fonts right was the hardest part. As for memory
use..

USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
sirius     56392  0.1  0.1  48136 28160 ?        S    16:48   0:00 /usr/bin/urxvt
sirius     56393  0.0  0.0  21928   816 ?        S    16:48   0:00 /usr/bin/urxvt
sirius     56465  0.1  0.1  43192 23232 ?        S    16:52   0:00 /usr/bin/urxvt
sirius     56466  0.0  0.0  21928   820 ?        S    16:52   0:00 /usr/bin/urxvt
sirius     56532  2.5  1.0 745480 150828 ?       Sl   16:54   0:02 /usr/bin/kitty
sirius     56533  1.5  0.2  61388 35692 ?        Ss   16:54   0:01 /usr/bin/kitty
sirius     56595  0.0  0.0   9212  2096 pts/2    S+   16:55   0:00 grep kitty\|rxvt\|USER

Good old urxvt is quite lightweight compared to kitty.

-- 
Kind regards,

/S


Reply to: