Dwm + Hidpi troubles
Hidpi is such a headache. Just installed dwm and set the xft.dpi in ~/.Xresources to 254 (Im using a 3200x1800 13.3in laptop). Programs like firefox/discord look huge though but terminal and main ui elements look fine.
The arch wiki even says: ! Setting Xft.dpi at the same time as toolkit scale (e.g. GDK_SCALE) may cause interface elements to be much larger than intended in some programs like firefox
How can i fix this. I did exactly what the arch wiki has told me so far (by executing .Xresources in .xinitrc). Asked the unofficial gentoo server, unixporn server, and discord linux and they were all no help. Struggling to find any documentation besides that one sentence in the arch hidpi wiki. I'm so close i know it. Reddit is my last ditch effort. plz its 3am im going insane.
X86, fresh-ish arch install, lenovo yoga 2 pro
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- jdbst7
2 comments
I personally set firefox in about:config, I have the key layout.css.devPixelsPerPx set to 2.
I only set xft.dpi in .Xresources, nothing else and everything is perfect - terminal, Firefox, other gtk apps. Never needed to set any GDK_* variables. Not sure if my 27" 4K monitor counts as hidpi though (163dpi).
Any chances there are some leftovers from previously installed DM (Gnome, etc)?