News for hackers. Stuff that matters.
Re:Emacs Is My New Window Manager by kaba0 on Wednesday August 02, 2023 @03:24PM (#36975830)
> When we click login it silently fails and returns to the login screen

That’s just your distro of choice fucking up the packaging, or you having installed some special display manager that handles it bad. If anything, xserver is/was a huge pain in the ass to start properly, and sway will just properly startup from console N.

If you want a 100% works suckless experience, then linux is not for you, period.

Re:Emacs Is My New Window Manager by michaelmrose on Wednesday August 02, 2023 @04:53PM (#36977252)
Nope. In order to start sway while running the nvidia driver you must run

   sway --unsupported-gpu
If you try to run it without that option it silently fails at any login screen. If you run it at the console you will note it TELLS you to run it with that option. This means the developer has detected what needs to be done to start a session and is silently telling you to go fuck yourself. There is no argument that every distro ought to exec a wrapper script that tests if you are running nvidia and if found pass --yes-I-understand-fuck-me-sideways when the net effect would be to replace the body of the if statement that already exists in the devlopers code and more to the point I don't think anyone has. You may note here is the default desktop file as provided by the project.

https://github.com/swaywm/sway/blob/master/sway.desktop

This is what everyone is using and it is exactly as broken by default as I claimed.

Re:Emacs Is My New Window Manager by michaelmrose on Thursday August 03, 2023 @05:47PM (#36992449)
Of note Wayland fans always say everyone who has trouble are all holding it wrong. Tail wagging the dog they suggest you should have switched DE, applications, GPU, workflows, everything users actually care about in order to serve something no user has ever cared about...plumbing.

If your not holding it wrong then something else MUST be at fault. Your distro must have fucked up the packaging, your app doesn't support wayland, your GPU's wayland support isn't up to snuff. Again users don't usually hire a programmer to figure out which piece of software is to "blame" nor care.

If you have a little red switch and you toggle it to the left and everything works and you toggle it to the right and nothing does most people are going to toggle it right. People have more important shit to do than figure out why toggling it left makes their lives suck.

Look at this exact example with you positing a wholly fictional distro packaging or display manager problem to paper over the fact that sway is literally designed to crash at the login screen if you use the GPU with >80% of the discrete market share.

https://linux-hardware.org/?view=os_display_server

Almost 2/3 of people are still using X11 because as experienced by users Wayland is kind of shitty.