Sometimes you are waiting for a livestream or music/video premiere to start, but something important happened and you had to go away, having only enough time to lock your screen/session. It would be inconvenient have sound being played while you're away, especially when you're not in your house. So I'm requesting to have an option to always mute the system when locking the screen/session, even better if it is possible to pause the video/sound.
This is already possible when suspending, and in fact it's on by default. See System Settings > Power Management > Advanced Power Management > [x] Pause media players when suspending. Am I understanding that you want the same thing to be possible when locking, but not suspending?
(In reply to Nate Graham from comment #1) > This is already possible when suspending, and in fact it's on by default. > See System Settings > Power Management > Advanced Power Management > [x] > Pause media players when suspending. > > Am I understanding that you want the same thing to be possible when locking, > but not suspending? That's correct.
This would be mostly beneficial to notebook users that assigned locking by closing the lid. Also, when the user sends a page from Firefox Mobile to PC, there's the possibility of that being a video/music.
(In reply to Nate Graham from comment #1) > This is already possible when suspending, and in fact it's on by default. > See System Settings > Power Management > Advanced Power Management > [x] > Pause media players when suspending. > > Am I understanding that you want the same thing to be possible when locking, > but not suspending? Does all types of video players on main browsers stops when that setting is enabled? Or it only affects dedicated media player apps?
In case it doesn't affect main browsers, perhaps it can be done by ordering FFmpeg (both the system and flatpak versions) to pause?
Everything that uses MPRIS would be affected, same as the existing feature. The request seems reasonable to me.
The option already exists when suspending and is shown on the Power Management KCM's Advanced page; we need to add it to the Screen Locking KCM too.