• howrar@lemmy.ca
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    7 hours ago

    If you’re able to give precise instructions on what to do to resolve the issue, then couldn’t you also automate it and make it seamless from the user’s perspective?

    • xthexder@l.sw0.com
      link
      fedilink
      arrow-up
      4
      ·
      4 hours ago

      These steps require logging in again. I don’t think it’s secure to have it automatically try and fix the lock screen, since it just introduces more ways to potentially bypass it.

      • aim_at_me@lemmy.nz
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 hours ago

        A background process monitoring the login screen doesn’t have to “log in again”

        • xthexder@l.sw0.com
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 hours ago

          The user does have to log in again to access the second TTY. I don’t know exactly what Hyprland’s settings do, but “allow_session_lock_restore” doesn’t sound like something you want turning on randomly while an attacker is sitting trying to access your computer. It’s very possible the crash itself was caused intentionally by the attacker in that case.

          Edit: Nevermind “allow_session_lock_restore” is just for saving open windows and stuff, so not really an issue. Restarting the lock screen however is very much not something you want to do while trying to keep an attacker out of your computer.

  • rozodru@piefed.social
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    11 hours ago

    look like it or not (and trust me, I don’t) unfortunately Hyprland is the best (while buggy best) WM for Wayland. And trust me, I’ve tried them all. The majority of the things just work right out of the box with hyprland. your next best option is Sway but if you’re on Nvidia then you’re essentially on your own as far as official support goes. Everything else? nothing comes close. It’s not like x11 WMs where you have plenty of good and working options, it’s just not there for wayland. sooooo everyone uses Hyprland.

    The ease of use, the fact a good majority of things just work, and the vast amount of documentation/support for Hyprland puts it miles ahead of any competition. And considering the douchnozzle of a dev behind it, that sucks.

    River is fine, but there’s some things on river that just won’t work. for the life of me I can’t figure out how to get xfreerdp to work on River and their multimonitor implementation is bleh. Sway is fine but like I said if you have Nvidia then they don’t like you. Niri is frustrating. and the rest are just meh. IF Cagebreak decided to get off their high horse and actually implement wlroots/layer than THAT would be the go to WM but that’s not going to happen. So Unfortunately we’re left with hyprland for now until something like COSMIC matures OR implements as much customization as hyprland which I doubt will happen.

    The wayland landscape for WMs/Compositors absolutely sucks. Sorry but that’s just my personal honest opinion. And because of how my main laptop is setup I HAVE to use wayland so please if someone has a better tiling option than Hyprland that isn’t Sway then I’m all ears.

      • rozodru@piefed.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 hours ago

        it’s my dumb laptop in all honesty. it’s a hybrid amd/nvidia so on x11 I can’t game at all. which sucks cause I REALLY love Herbstluftwm. And due to my work I need tiling so for now I’ve settled on COSMIC. it’s beta, it’s buggy, the panel crashes randomly, can’t change the font to my liking but it’s pretty much my only working option on my current rig. I’ve tried KDE Plasma 6 with Krohnkite but that’s just a mess and also buggy for simply tiling.

        The thing is I could use Hyprland, I know it works, I know it works well but I just don’t agree with the lead dev on anything and I don’t want to use something that goes against what I believe in. Hell I even tried building my own wayland wm.

      • rozodru@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 hours ago

        actually been fighting with that all morning and I’m just about to give up. I don’t understand why my tiles will stack one on top of the other on one monitor but on the second monitor they dwindle.

      • Saizaku@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        7 hours ago

        +1 for dwl, it’s been much less of a hassle to setup and use than hyprland, especially for gaming where game windows behaved really weird under hyprland. Granted it’s been about a year and a half since I made the switch so hyprland might be better than it was now.

  • AllNewTypeFace@leminal.space
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    12 hours ago

    That message looks cutesy and whimsical, but would be hard to understand for users with a limited command of English. Though given that it’s Hyprland, concern for the untermenschen is probably not to be expected

    • turdas@suppo.fi
      link
      fedilink
      arrow-up
      10
      ·
      11 hours ago

      For comparison here’s the error message KDE displays in the same situation: https://www.reddit.com/r/kde/comments/15477a5/screen_locker_is_broken/

      I believe it has no localization support, but the language is clearer and the command it tells you to run is much simpler. A big problem with it is that Ctrl-Alt-F2 does not actually get you to a working TTY on many distros – e.g. on Fedora TTY1 is SDDM and TTY2 is the DE – and the error message is not adjusted based on which TTY is which.

      • ArcaneSlime@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        43 minutes ago

        Fucking thank you so much I’ve spent the last hour trying to find this out lmao, but I couldn’t find it by searching “what is fedora tty1” for some reason.

        I tried tty2 (as all online advice says to try): nothing. So I tried tty3, and it worked! But then I tried to switch “back” to my GUI using tty7, blinking cursor. Fuck. Went back to 3, tried 2 and breathed a sigh of relief as I saw my GUI lmao, then tried them all. But then began the quest to learn why tty1 and tty7 are different.

        So, tty1 is SDDM, can I ask what that is? I see:

        SDDM is a modern graphical display manager aiming to be fast, simple and beautiful. It uses modern technologies like QtQuick, which in turn gives the designer the ability to create smooth, animated user interfaces.

        But uuhhhh… what? I see no graphicals only the blinky cursor. And is tty7 that also?

  • i_am_not_a_robot@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    3
    ·
    12 hours ago

    It’s so user friendly. It tells you exactly what to do to solve the problem. Switch to a tty (if that even works on your system) and log in, type this long command from memory, making sure not to mistake those 0s for Os or the Unicode left single quote for back tick, restart your lockscreen, which of course you know how to do, and then come back. If that doesn’t work, start terminating some processes and praying.

    It says you can return using “ctrl+alt+F[N] where N is the tty number in the top left corner.” I can’t find my F0 key.

    • ArcaneSlime@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      5
      ·
      9 hours ago

      Tbf I’d take a pic of the command, or failing that, write it down, before switching.

      My issue is “am noob, how login? And how switch back?” Lol. This post made me realize I need to learn how to do that now before I’m faced with a situation where I have to, so that’s good!

        • ArcaneSlime@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 hour ago

          Got it now! For some reason, the internet seems to think my GUI is on tty7, but it’s on tty2, and on tty1 I only get a blinking cursor, but on the rest (besides the GUI) I get the “sysname login:” prompt. I’m sure this is a fedora thing but I can’t find out why it switched, or why tty1 shows up different.

          Explains why “switch to tty2” has never worked for me though, because I was already on it and I need to switch to 3!

  • Communist@lemmy.frozeninferno.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    12 hours ago

    Or do this and never deal with this again

     exec-once = while ! hyprlock -c ~/.config/hypr/hyprlock/hyprlock-startup.conf > /dev/null; do sleep 0.01 > /dev/null; done > /dev/null 
    
     exec-once = swayidle timeout 600 'pidof hyprlock || ( hyprlock -c ~/.config/hypr/hyprlock/hyprlock-screenshot.conf --grace 59 > /dev/null || while ! hyprlock -c ~/.config/hypr/hyprlock/hyprlock-startup.conf > /dev/null; do sleep 0.01 > /dev/null; done > /dev/null )'