Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240432

Re: silence audio on locked screen?

From "Alexander V. Makartsev" <avbetev@gmail.com>
Newsgroups linux.debian.user
Subject Re: silence audio on locked screen?
Date 2021-09-27 08:30 +0200
Message-ID <D1Sjf-4U2-3@gated-at.bofh.it> (permalink)
References <D1OyZ-2sx-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 27.09.2021 07:20, Richard Hector wrote:
> Hi all,
>
> I'm using buster with xfce4, pulseaudio, and (I think) light-locker.
>
> When I lock my screen, audio continues to play (and system sounds are 
> still heard).
>
> This seems to me like a way to leak information, and is also annoying 
> to anyone nearby. It's then annoying for me when I discover somebody 
> has unplugged my headphones to make them shut up :-)
>
> Any suggestions for making it be quiet? Perhaps a wishlist bug for 
> light-locker? I don't know if it's even feasible, given the various 
> combinations of audio system and screen lockers.
>
> Cheers,
> Richard
>
You can assign a special key to mute\unmute sound in xfce 'Keyboard' 
settings and mute audio manually before you lock screen. Pressing the 
same key again will unmute audio.
Choose among one of the F* keys or a key combination.
Exact command will be:
     pactl set-sink-mute @DEFAULT_SINK@ toggle

Note: "@DEFAULT_SINK@" is a special variable for pulseaudio that points 
to default sink. (duh..)

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

silence audio on locked screen? Richard Hector <richard@walnut.gen.nz> - 2021-09-27 04:30 +0200
  Re: silence audio on locked screen? "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-09-27 08:30 +0200
  Re: silence audio on locked screen? Dan Ritter <dsr@randomstring.org> - 2021-09-27 12:50 +0200
    Re: silence audio on locked screen? Richard Hector <richard@walnut.gen.nz> - 2021-09-28 10:00 +0200
      Re: silence audio on locked screen? Dan Ritter <dsr@randomstring.org> - 2021-09-28 12:40 +0200
        Re: silence audio on locked screen? Richard Hector <richard@walnut.gen.nz> - 2021-09-29 05:50 +0200
          Re: silence audio on locked screen? Dan Ritter <dsr@randomstring.org> - 2021-09-29 12:50 +0200
          Re: silence audio on locked screen? David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 05:40 +0200
            Re: silence audio on locked screen? rhkramer@gmail.com - 2021-09-30 14:10 +0200
              Re: silence audio on locked screen? Kenneth Parker <sea7kenp@gmail.com> - 2021-09-30 16:40 +0200

csiph-web