News for hackers. Stuff that matters.
Re:Asus will release a 17“ foldable OLED laptop by asdfasgasdgasdg on Wednesday January 05, 2022 @06:29PM (#29816754)
I wasn't able to get it to work as recently as two years ago. Would you share a link to your recipe?
Re:Asus will release a 17“ foldable OLED laptop by LukeShu on Wednesday January 05, 2022 @06:44PM (#29816936)
I did a write-up of the low-levels of how it works on Xorg: https://reddit.com/r/archlinux/comments/c8hgt8/my_laptop_has...

Missing from that:

- Gnome actually does the scaling in the compositor, not in the X server itself.

- Most desktop environments should be doing all that for you. At the time I wrote that (over 2 years ago), in Gnome you had to go in to an advanced settings menu and enable "experimental fractional scaling"; I'm not sure if that's still true today.

- Some things pick up the DPI from the XSETTINGS protocol, not from the XRDB. Specifically, parts of Java's AWT/Swing do this. But other parts use the XRDB. And they conflict with eachother. When I last looked at Swing (April-ish 2020) it was impossible to get it to do the right thing on X11 (I was working on a patch, but then I had some life disruptions and never came back to it).

Re:Asus will release a 17“ foldable OLED laptop by Lio on Thursday January 06, 2022 @07:07AM (#29822550)
I don't have a recipe as such I just installed Fedora running Wayland and Gnome and it just works out of the box.

If you want something custom I guess I'd suggest looking at what Fedora uses out of the box.

I'm running on an all Intel XPS13 9370 if that helps.

Re:Asus will release a 17“ foldable OLED laptop by vetinari on Wednesday January 05, 2022 @06:38PM (#29816863)
Just use wayland, done.
Re:Asus will release a 17“ foldable OLED laptop by Too on Thursday January 06, 2022 @02:05AM (#29820332)
Would have loved to agree, but unfortunately using nvidia.