News for hackers. Stuff that matters.
Re:Time to Upgrade Your Monitor by nine_k on Wednesday June 17, 2020 @05:07PM (#23556761)
FWIW, switching between resolutions in my favorite desktop environment, Xfce, is two steps:

  # This affects every GTK app. 
  xfconf-query -c xsettings -p /Xft/DPI -s 144
The second step is going to about:config in Firefox, and setting layout.css.devPixelsPerPx to a higher value than 1.0. I really need to write an extension to do that in one click.

What is really tricky, though, it's having two monitors with different DPI. Win 10 does an acceptable job with it; no Linux tools I'm aware of can handle it reasonably well. Some xrandr incantations can offer partial solutions.

Re:Time to Upgrade Your Monitor by jandrese on Wednesday June 17, 2020 @05:46PM (#23557162)
Even Win10 struggles when you move windows between different DPI domains. Apps will slide in HUGE or tiny until you get past the midway point. And when the system goes to sleep everything can go to hell. You can come back to small message windows being blown up to huge sizes or windows crushed down to a tiny square. You can forget about laying out your icons perfectly on your desktop too, they'll get rearranged all the time. Even more fun when you remote into a high DPI display with a low DPI display. It actually works pretty well, but stuff will get shrunk or blown up randomly when you to back to the high DPI display.
Re:Time to Upgrade Your Monitor by Polylactic_acid on Wednesday June 17, 2020 @07:03PM (#23557870)
>Apps will slide in HUGE or tiny until you get past the midway point.

This is a non issue to me. I don't use apps half way across 2 screens. Its just a minor bit of weirdness while dragging them.

Re:Time to Upgrade Your Monitor by StillBored on Wednesday June 17, 2020 @06:07PM (#23557371)
Logically having your OS maintain a consistent UI size makes sense until you try it without.

I'm running a couple medium high density monitors alongside one of the highest density ones available. I don't scale the HIDPI monitor at all, which means when I drag windows to it they are tiny. Instead it works in two ways, as a status screen for activity monitors/etc and as a text/document editing screen. AKA putting adobe acrobat, firefox or sublime/emacs/etc on the high DPI screen and then zooming in gives all the font smoothing/etc advantages of high DPI without needing OS support.

So the TLDR is, turn off dpi scaling, and leave the hidpi screen as a dedicated text editor/etc with the font sizes bumped to a comfortable size. Bonus here is that the additional effort of clicking the menu/etc will encourage learning keyboard shortcuts.

Re:Time to Upgrade Your Monitor by seqizz on Thursday June 18, 2020 @12:56PM (#23565052)
Check out user.js, it's a built-in feature. You can declare which config values you want under Firefox profile folder.