News for hackers. Stuff that matters.
Re:The X.Org Server Is Abandonware? by kriive on Sunday October 25, 2020 @08:20AM (#24885743)
I have been using sway on Fedora for a year. It's been really good so. It's a smaller niche than X.org's, but I get to do everything I need. HiDPI support is just right, just throw output eDP1-1 scale 2 in the config and you're set.

Clipboard works perfectly splendid, screen-sharing works (not as perfectly splendid as clipboard does), input works, chromium/electron is getting support for native wayland. Qt and GTK Wayland support's quite good.

I have had no problems whatsoever and I invite you to try it. I have no hard-proof evidence or numbers to support my opinion, just try it.

Re:The X.Org Server Is Abandonware? by formerly_proven on Sunday October 25, 2020 @09:51AM (#24886250)
> just throw output eDP1-1 scale 2 in the config and you're set

Why? What? Why? The system exactly knows the DPI of all attached displays, why does it still need explicit configuration in 2020 to support HiDPI?!

Re:The X.Org Server Is Abandonware? by Athas on Sunday October 25, 2020 @10:21AM (#24886484)
How would it know what scaling factor you want?
Re:The X.Org Server Is Abandonware? by snazz on Sunday October 25, 2020 @10:55AM (#24886723)
It should start with a reasonable default and then give the user the choice of different scaling factors like macOS does: https://media.discordapp.net/attachments/380570311227342859/...
Re:The X.Org Server Is Abandonware? by HeadsUpHigh on Sunday October 25, 2020 @11:33AM (#24887028)
This is sway, i3 on wayland, a tilling window manager. Not some commercial piece of software that has to target the lowest common denominator to survive in the market. It's meant so that you configure it and it's very configurable. So it doesn't any defaults bar what's needed to launch the manager. The rest is up to you.
Re:The X.Org Server Is Abandonware? by getfactsright on Sunday October 25, 2020 @03:51PM (#24889338)
Never mind this,

Sway already detects hidpi displays based on a heuristic from EDID info and chooses an appropriate scale factor.

https://github.com/swaywm/sway/issues/1800

8, now 9, comments in a subthread because no one could bother to validate assumptions or do a Google search.

Re:The X.Org Server Is Abandonware? by snazz on Sunday October 25, 2020 @04:08PM (#24889466)
Configurability is great, but that isn't an excuse for having poor defaults. A child comment to yours mentions that Sway now uses a heuristic to find a "reasonable" default scaling factor, so it appears that Sway currently does the right thing.
Re:The X.Org Server Is Abandonware? by formerly_proven on Sunday October 25, 2020 @12:27PM (#24887459)
The standard has been ~100 DPI, so a 200 DPI display should by default get 200 % scaling with no extra configuration needed.
Re:The X.Org Server Is Abandonware? by rleigh on Monday October 26, 2020 @06:12AM (#24894491)
The "standard" for anything today should be the physical display size divided by the pixel count to give the exact resolution for X and Y in DPI. Scaling should be relative to that physically correct resolution.

We've inherited a lot of baggage and odd conventions, some of which were wrong to begin with. I don't think we should be carrying on with it if we can do better. Having these scaling factors directly correspond to physical reality would be a start.

Re:The X.Org Server Is Abandonware? by Athas on Sunday October 25, 2020 @02:59PM (#24888895)
I'd rather just have the configuration file be simple and well documented and let me make the decision. My monitor running at maximum resolution is about 163 DPI, so an automated system could guess both ways. 200% scaling works well for me, and it's a single line of configuration, done once, and I don't have to worry about heuristics changing behind my back.
Re:The X.Org Server Is Abandonware? by hibbelig on Sunday October 25, 2020 @11:28AM (#24886990)
Maybe my monitor it’s close by and I have good eyes. Or it’s further away. The system can’t know.
Re:The X.Org Server Is Abandonware? by diffeomorphism on Sunday October 25, 2020 @03:00PM (#24888902)
Why do you think it needs any of that? For that matter why do you think windows, mac, android, chromeOS etc. all need "explicit configuration"? They all simply set a reasonable default scale and then give you an easy way to pick a different one if you want.
Re:The X.Org Server Is Abandonware? by arpa on Sunday October 25, 2020 @08:48AM (#24885903)
Just out of curiosity, how does screenshare work for you? I've been trying setting it up for work (slack/teams), but to this day it just doesn't work. Using debian sid, so pretty up-to date packages tbh.

I just start new xorg session for screenshare, which, frankly, sucks.

Re:The X.Org Server Is Abandonware? by kriive on Sunday October 25, 2020 @09:12AM (#24886024)
Well, it works on FF and certain builds of chromium (those built with ENABLE_PIPEWIRE flag on). I am using xdg-desktop-portal-wlr and it works quite good. I was able to present my desktop to others without significant hiccups. Once Electron enables Ozone (and builds with PIPEWIRE on) we will be able to use screen sharing also on teams and other electron-packaged apps. This obviously works for my workflow and I understand it won't work for everyone. I don't know about Zoom, but I heard (and thus not entirely sure) it works only on specific distros with some specific GNOME versions.

EDIT. I misread Slack for Zoom.

Re:The X.Org Server Is Abandonware? by horsawlarway on Sunday October 25, 2020 @06:43PM (#24890735)
Yup, this is sort of here with pipewire at this point, but it hasn't propagated through to the electron apps.

Slack is still a pain point for me as well, but mainly because Slack continues to demand that I install the desktop app for calls/screen sharing.

Zoom's desktop app also doesn't work, but I can use zoom-redirector and have the calls immediately open in my browser (you can get the same thing without the extension, but it requires you pretend that you can't install their desktop app and several button presses for every meeting).

My guess is that we're about 12 months away from having it work by default in most places.

Re:The X.Org Server Is Abandonware? by maxhille on Monday October 26, 2020 @10:06AM (#24896274)
The Electron apps are not there yet. I too have to use Slack ATM and my workaround is too have Pipewire working with Browser (Chromium and Firefox in my case) and use Slack in the Browser when I need to share my screen. If the target you want to share is a X window, you won't even need Pipewire since WebRTC will just work without it.