cat /dev/brain |

Configure font

published on Sunday, November 26, 2017

How to attend to everyone's special needs…

X11

Installing is easy:

sudo pacman -S adobe-source-code-pro-fonts      # monospace
sudo pacman -S ttf-dejavu                       # and regular

but here is where it gets annoying…:

GTK2

~/.gtkrc-2.0

gtk-font-name = "DejaVu Sans 8"

And what about gtkrc-reload?

GTK3

(firefox, thunderbird, ??)

~/.config/gtk-3.0/settings.ini

[Settings]
gtk-font-name = DejaVu Sans 8

Qt4

(vlc)

qtconfig-qt4

xterm

~/.Xresources

XTerm*faceName: Source Code Pro
XTerm*faceSize: 10

urxvt

~/.Xresources

URxvt.font: xft:Source Code Pro:size=10

termite

~/.config/termite/config

[options]
font = Source Code Pro 10

terminator

[profiles]
  [[default]]
    background_image = None
    cursor_color = "#ffffff"
    font = Inconsolata Bold 10

console

There is only one reasonable font here:

yaourt -S terminus-font-ll2-td1
sudo setfont ter-216n

For different sizes, try 212, 214, 216, 218, …

Make it permanent:

/etc/vconsole.conf

FONT=ter-216n
FONT_MAP=8859-2_to_uni

and rebuild:

sudo mkinitcpio -p linux

more?

I'm sure there is plenty more. Please let me know about those that I didn't find yet!

This entry was tagged config, fonts and linux

blog comments powered by Disqus