You are not logged in.

#1 2023-07-15 16:29:12

stevecp
Member
Registered: 2023-07-05
Posts: 7

Problems in modifying URxvt default font size

Subject is pretty self-explanatory: I haven't yet found a way to modify the size of the default font in URxvt. I tried installing

 https://github.com/majutsushi/urxvt-font-size 

but I get the following error message

Warning: No font configured, trying a default.
Please set a font with the 'URxvt.font' resource.

whenever I try to use the Ctrl and + shortcut.

Do I need to insert the name of the default font with the 'URxvt.font' resource in the file .Xresources? And in that case, what woule be the default font name (lol)?

If I have to provide extra information, let me know!

Thanks in advance

Last edited by stevecp (2023-07-15 16:31:20)

Offline

#2 2023-07-15 16:57:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,129

Re: Problems in modifying URxvt default font size

https://wiki.archlinux.org/title/Rxvt-u … on_methods
The name of the default font is whatever you want to see there.
Gnerically, "xft:monospace:size=10" will get you 10pt of whatever the default monospace is, "fc-match monospace"
Be aware that https://wiki.archlinux.org/title/Rxvt-u … figuration doesn't necessarily happen automatically on login and will be lost when the X11 server terminates.

Offline

#3 2023-07-15 17:28:23

stevecp
Member
Registered: 2023-07-05
Posts: 7

Re: Problems in modifying URxvt default font size

 fc-match monospace 

gives me DejaVuSans (which is a font I installed previously but I don't like);

I didn't understand 'The name of the default font is whatever you want to see there'. Do I have to set in the .Xresources file something like

URxvt.font: 9x15

or am I missing something?

Thanks for your reply

Offline

#4 2023-07-15 17:32:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,129

Re: Problems in modifying URxvt default font size

You're missing clicking on the links i posted and it means "choose a font that you do like" - you might also want to configure that as global monospce.
DejaVu Sans is a variable width font and not suitable to be used in TEs

Offline

Board footer

Powered by FluxBB