News for hackers. Stuff that matters.
Re:How X Window Managers Work, and How to Write One (2014) by jcelerier on Wednesday November 03, 2021 @04:30AM (#29092255)
Setting DPI in .Xresources had worked fine for me since 2014 except for Firefox and Chrome which took a year or so to adapt
Re:How X Window Managers Work, and How to Write One (2014) by DonHopkins on Wednesday November 03, 2021 @06:18AM (#29092788)
https://donhopkins.medium.com/the-x-windows-disaster-128d398...

>My super 3D graphics, then, runs only on /dev/crt1, and X windows runs only on /dev/crt0. Of course, this means I cannot move my mouse over to the 3d graphics display, but as the HP technical support person said “Why would you ever need to point to something that you’ve drawn in 3D?”

>Of course, HP claims X has a mode which allows you to run X in the overlay planes and “see through” to the graphics planes underneath. But of course, after 3 months of calls to HP technical support, we agreed that that doesn’t actually work with my particular hardware configuration. You see, I have the top-of-the-line Turbo SRX model (not one, but two on a single workstation!), and they’ve only tested it on the simpler, less advanced configurations. When you’ve got a hip, forward-thinking software innovator like Hewlett-Packard, they think running X windows release 2 is pretty advanced.

Re:How X Window Managers Work, and How to Write One (2014) by perth on Wednesday November 03, 2021 @04:42AM (#29092312)
Try to set two different DPIs in that.
Re:How X Window Managers Work, and How to Write One (2014) by AshamedCaptain on Wednesday November 03, 2021 @06:13AM (#29092757)
You certainly can, but the problem is that there is no agreed standard from the toolkits to do it. E.g. Qt has its own way.
Re:How X Window Managers Work, and How to Write One (2014) by hulitu on Thursday November 04, 2021 @03:33AM (#29104364)
Why does QT needs to be smarter ? Just asking.
Re:How X Window Managers Work, and How to Write One (2014) by jcelerier on Saturday November 06, 2021 @08:34AM (#29129688)
Qt runs on platforms where there is literally only a kernel + the Qt app running, through for instance EGL for rendering. So it has to have its own way.
Re:How X Window Managers Work, and How to Write One (2014) by Izkata on Wednesday November 03, 2021 @12:53PM (#29097243)
I don't have a second monitor right now to double check, but I have this in a script for our office monitors to get a different dpi for one display (named eDP-1):

  xrandr --dpi 100/eDP-1
Re:How X Window Managers Work, and How to Write One (2014) by kaba0 on Wednesday November 03, 2021 @07:21AM (#29093172)
That’s for a single monitor. Now try two monitors with different DPIs