unset Xft.dpi how?

Thomas L├╝bking thomas.luebking at gmail.com
Sun Oct 11 00:38:35 PDT 2015


On Sonntag, 11. Oktober 2015 07:49:19 CEST, Felix Miata wrote:
> Can anyone tell me how to globally unset Xft.dpi, particularly on an
> installation that does not set Xft.dpi via /etc/X11/Xresources, e.g. on
> Linuxmint Cinnamon?

Override:
echo "Xft.dpi: 123" | xrdb -override

Remove (you need to reload the entire database)
xrdb -query | grep -v Xft.dpi | xrdb -load

This reads out the current database, strips every line containing "Xft.dpi" and loads the result as new database.
xrdb -remove wipes *everything*.

Whether and where Xft.dpi is set (KDE font config kcm enforcing a resolution?) by your distro, i don't know either - sorry.

Cheers,
Thomas


More information about the xorg mailing list