Dan H. wrote: > Since I like to start my X sessions through $HOME/.xsession, I could put > a line or two in there that evaluates xdpyinfo and puts an appropriate > value into xrdb.
Done: xdpyinfo | sed -rn \ 's/^[[:space:]]+resolution:[[:space:]]+([0-9]+).*/Xft.dpi: \1/p' \ | xrdb -merge This evaluates only the X dpi value, but that won't matter. Interestingly, the gnome-session which is called right after this line overrides the 85dpi value with its erroneous 96dpi. Well, fuck that. --D.
signature.asc
Description: OpenPGP digital signature