Hi there, I’m new to Nix - but i’m not sure if this is a Nix or a KDE specific issue or not. So basically I just opened my laptop this morning, and whilst typing in my password, the audio from the movie I was watching (via Jellyfin) started to play before I had actually logged in. I assume this is the system getting things ready and loaded for a better/faster user experience. But personally don’t want this to happen, or to at least have all sound muted when starting up the computer.

Does anyone know how to go around this “issue”? Or could explain to my why it happens?

Appreciate you 🌻

  • Lupec
    link
    fedilink
    110 months ago

    No worries!

    The check box for this settings was infact already checked. So maybe if I change what happens when I close the lid, from sleeping to hibernation or something else this could fix this maybe?

    Ah, I see. Guess you may as well give that a go. I’m guessing what might be going on here is KDE doesn’t count it as a media player for whatever reason. Are you using Jellyfin in a browser or with the dedicated Jellyfin Media Player app?

    • LunchOP
      link
      110 months ago

      Using the dedicated app yes 👍

      • Lupec
        link
        fedilink
        210 months ago

        Right. I’m a fellow Jellyfin + NixOS user so I’ll try and investigate if I manage to find some time over the next few days. I’ll report back if I find anything of note!

        • LunchOP
          link
          210 months ago

          Awesome! 🌻

          • Lupec
            link
            fedilink
            210 months ago

            I just came across this GitHub issue and sure enough, it seems to confirm my theory. Since it doesn’t show on KDE’s media center, it probably doesn’t know to pause it before going to sleep.

            I saw at least one person with your exact issue, and a few suggested workarounds but not sure how easy it’d be to apply them to an actual Nix derivation. I’ll keep looking into it. 🤔

            • LunchOP
              link
              210 months ago

              Neat find! I’ll read up too.

              I also believe I did pause the video before closing the lid, I could try recreate the issue later and report over at the GH issue.