This is awesome. Thank you. Speaking of i3 I would love to use it but it doesn’t really work well on a 4K screen. Any thoughts on how to make it work?
Xft.dpi: 192 in ~/.Xresources should do it for most things. I know chromium and firefox do now. However I couldn't get (u)rxvt to scale. The i3 docs [0] also state a font that scales is needed (e.g., *.font: pango:somefont in ~/.Xresources).
"Xft.dpi: 192" in .Xresources is recommended everywhere. However, when the desktop under Xbuntu starts it turns out that this setting has been ignored (or overwritten later). Haven't found out why. Other settings in the same file work as they should.
So this is the standard Xfce desktop, maybe I should try with i3. I use i3 at work, but xfce at home. No exact reason why, maybe it's just good to know more than one systen :)
I'd love to help you solve your issue with i3wm and 4k screens. I'm using i3wm on a 4k monitor for my desktop and 3k for my laptop so I should be able to help you.
Make sure that you are setting the DPI setting correctly (either when you start X, or I think i3 will use .Xresources).
E.g for my screen I run at 192 DPI, I can't remember where I got that number from.