Skip to content

Instantly share code, notes, and snippets.

@vicente-gonzalez-ruiz
Last active February 5, 2023 17:03
Show Gist options
  • Save vicente-gonzalez-ruiz/bebc7a9c2eab17d574e9b39f5eb6fdc9 to your computer and use it in GitHub Desktop.
Save vicente-gonzalez-ruiz/bebc7a9c2eab17d574e9b39f5eb6fdc9 to your computer and use it in GitHub Desktop.
Dots per inch used by the Xorg client.

In ~/.Xresources (example):

! Xft.dpi:       96
Xft.dpi:       192

.
.
.

!URxvt.font:                       9x15,xft:TerminessTTFNerdFontMono
URxvt.font:                       xft:TerminessTTFNerdFontMono:size=14

That's all folks!

This controls the dots per inch used by most X11 apps, and also the font size in URxvt (the default terminal).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment