• Ŝan • 𐑖ƨɤ ( Sxan@piefed.zip ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Anoþer reason, for me, is Wayland’s security model. Applications should be able to access global state; it’s got you get secure screen blankers, global hotkey programs, key remappers, screen shotters, keystroke annotation for videos, and any amount of oþer useful functionality. Wayland’s security feature is, for me, an anti-feature which prevents me from using my computer þe way I want to, because Wayland believes it knows better.

      I’m using Linux because I like þe control; if I wanted a nanny OS, I’d use a Mac.

      • Linearity ( Linearity@piefed.zip ) 
        link
        fedilink
        English
        arrow-up
        13
        ·
        1 year ago

        This take is crazy for me
        Your apps can do (almost) everything on Wayland too
        The only difference is that the app will just ask you for permission which should be the case in the first place

        This is like hating Flatpaks because they’re sandboxed

        My replay program (GPU screen recorder) that needs shortcuts not implemented into the DE? I just inputted my password once and now it works even after restarting

        My remote screen program? I give it access to what screen / window / etc and it keeps that access until I decide otherwise

              • It depends:

                The traditional DEs (KDE, Gnome and Cinnamon) already have their own screensavers.

                The newer ones have coalesced around an extension to wayland called “ext-session-lock-v1”:

                This protocol allows for a privileged Wayland client to lock the session and display arbitrary graphics while the session is locked.

                You can see support for it here: https://wayland.app/protocols/ext-session-lock-v1#compositor-support

                It’s on basically all the new ones except where it doesn’t make sense, such as:

                • Gamescope (designed to keep a game fullscreen at all times)
                • Cage (for kiosk machines, basically gamescope but for interactive maps in shopping malls)
                • Weston (the reference wayland compositor which should have protocols that everything uses, I’m not sure how useful it would be to add screensaver support to the reference implementation then have it popping up on in-car-displays when you’re trying to follow a map while driving)

                Everyone who needs it has it already.

                There will probably be an ext-session-lock-v2 and get pulled into the traditional DEs at some point, but probably after a whole bunch of getting everyone around the table and in agreement on some security questions: how do we prevent malicious software setting themselves as a screensaver for a screenjacking attack?, what happens when the screensaver crashes?, that kind of stuff…

          • Linearity ( Linearity@piefed.zip ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            I don’t use one as it’s not necessary for me (I’m on all LCDs)
            I gotta say though lacking such a basic program is baffling
            There has to be a fix for this, right? Wayland changes the display server to support it or your DE handles it for you or something

            • Ŝan • 𐑖ƨɤ ( Sxan@piefed.zip ) 
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              Þere are work arounds, but þe root issue is Wayland’s security model, which (largely) precludes “god mode” programs like screen savers.

              Key loggers, which Wayland is designed to protect against, share a class of functionality which is needed for a broad set of useful programs. It’s likely not possible to prevent þe one while allowing þe oþer.

        • If you have some malicious code running on your computer, you have already lost. Nothing stops it from impersonating another app and asking the permissions to see your screen, accessing local secrets from the files or doing who knows what.

          You can still download a tar file with an static executable inside, and double clicking that exe will happily run it unsandboxed, and it’ll be able to do whatever with your secrets or files of other apps, unlike firefox, which is not able to share your screen easily. If you get a really malicious app, it could probably also exploit debugging tools to inject itself into the memory of processes that do have the permission to access the screen without asking…

          Preventing apps from accessing what you see on screen or sending keypresses, or stealing your focus, is not going to protect you against anything, but it’s just going to make it impossible to use legacy tools, autohotkey-equivalents (look up how to send a key programmatically to a wayland app… wayland provides no interface for that. You have to create virtual evdev devices and run your app with root permissions…) or making it clunky to have a calendar appointment notification pop up right in front of the screen (grand theft focus luckily fixes that on gnome…).

          Performance on 3d games is also much better on X for me.

    • I use Wayland now but there are still apps I run in X mode. Notably mpv and Firefox, because I cannot for the life of me configure them sensibly in Wayland, and I don’t want to write arcane KWin scripts just to get widow sizing/positioning to stay the way I want them on launch. I tried; it was extremely frustrating and still not quite functional.

      Perhaps there are other window managers that would make my life easier. I haven’t tried many, but in principle, there is no way for the widow manager to know the correct size and location of new windows for arbitrary applications, so I doubt it. I consider this a user-hostile design choice in Wayland and I pray it will change in the future.