Re:Linux touchpad like a MacBook: April 2020 update
by alias_neo on Friday May 01, 2020 @06:15AM
(#23040653)
I'm not sure what "Wayland does that out of the box" means; I ran 18.04 with Wayland since launch, it never gave me different scaling per monitor (not in the Gnome UI anyway).
Are you saying it would have worked had I used xrandr?
Re:Linux touchpad like a MacBook: April 2020 update
by vetinari on Friday May 01, 2020 @06:27AM
(#23040718)
xrandr is X11 only; it is X11 extension, after all.
Are you sure you were running Wayland? In Fedora under Wayland, you could pick a monitor and choose scaling for it in the setting applet.
Re:Linux touchpad like a MacBook: April 2020 update
by alias_neo on Friday May 01, 2020 @09:03AM
(#23041563)
I'm sure so far as when I login I select "Ubuntu on Wayland" and when I search through the output of top for "wayland" it's there. I'm not sure how else I prove I'm running Wayland. The machine I'm sending this from now is still running 18.04 on "Wayland" and I cannot set the DPI independently for each monitor, if I select my external monitor and set 200% and click "Done", I get 200% on all displays.
Re:Linux touchpad like a MacBook: April 2020 update
by vetinari on Friday May 01, 2020 @02:55PM
(#23045309)
You don't have to prove anything (but informatively, the way to detect wayland session is to check for XDG_SESSION_TYPE env variable). Also, just for curiosity, what GPU are you using?
It is quite possible that 18.04 has some bugs. I don't have 18.04 machine with hidpi monitor at hand, so I can't have a look myself, so I chalk it up that there is something weird happening.
On X11, scaling of entire framebuffer (i.e. scaling macOS style) is a standard xrandr functionality, but it was never exposed to UI. It has some drawbacks that macOS never had to solve (how it behaves over remote x11/vnc/etc, or memory requirements for framebuffer, for example), that make it unsuitable as a general solution. It is basically one of the hacks complained in this threads.