[Bug 364973] Re: Mute sound on resume

2013-08-04 Thread Hélion du Mas des Bourboux
This bug should be fixed and taken more seriously. It is a privacy
breach because someone can have some information about a user without
his knowledge. Some people put important things in recordings : their
thought, and other important stuf.

Please fix that.

** Tags added: privacy

** Summary changed:

- Mute sound on resume
+ [privacy breach] Mute sound on resume

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/364973

Title:
  [privacy breach] Mute sound on resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/364973/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 364973] Re: Mute sound on resume

2012-02-28 Thread Adam Porter
Ok, I finally solved it.  By naming the script "/etc/pm/sleep.d/00_mute-
alsa", I guess it runs earlier in the suspend process, and doesn't cause
a problem with PA and cause suspend to fail.  Surprisingly, using amixer
works, in spite of PA; I haven't tried using pactl, but since this
works, I'm stopping here.  :)  So this script should work (adjust
paramaters to amixer as needed):


$ cat /etc/pm/sleep.d/00_mute-alsa
#!/bin/sh

case "$1" in
suspend|hibernate)
amixer -c 1 set Master mute
esac

** Changed in: pm-utils (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/364973

Title:
  Mute sound on resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/364973/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 364973] Re: Mute sound on resume

2012-02-28 Thread Adam Porter
I have tried everything I can think of to make this work, but there's a
roadblock at the end of every path.

1.  Scripts in /etc/apm/{resume,suspend}.d do not appear to run at all in 
Oneiric.
2.  Scripts in /etc/pm/sleep.d do run, however...
a.  using alsactl doesn't do anything, perhaps because of a conflict with 
PulseAudio.  However, using alsactl manually, after the system has finished 
resuming, works fine.
b.  Using pactl at suspend time causes suspend to fail completely.  I have no 
idea why--all I know is that if I run "pactl set-sink-mute 0 1" at suspend 
time, suspending doesn't happen.  If I run it only at resume time, suspend 
works, but...
c.  Using pactl at resume time doesn't do anything.  But if I run "pactl 
set-sink-mute 0 1" after I've resumed and logged back in, it works fine.

I even tried removing the executable bit from /sbin/alsactl, just in
case the store/restore was conflicting with PA...but that made no
difference.

It seems like there is just no way to make the system mute itself when
suspending or resuming.  I guess there is some race condition somewhere,
maybe ALSA or PA are not ready yet when the scripts try to control them.
The obvious solution is to mute it when suspending, but as I said, that
causes suspend to completely fail for no apparent reason.

I'd really like to not have to worry about my system making noise when I
open it up in a library, etc because I forgot to mute it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/364973

Title:
  Mute sound on resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/364973/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 364973] Re: Mute sound on resume

2009-04-23 Thread Chris Crisafulli
** Package changed: ubuntu => pm-utils (Ubuntu)

-- 
Mute sound on resume
https://bugs.launchpad.net/bugs/364973
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 364973] Re: Mute sound on resume

2009-04-22 Thread Stuart Langridge
Being able to mute sound with the media keys from gdm (which is
apparently happening?) and the screensaver lock screen would be very
useful here.

-- 
Mute sound on resume
https://bugs.launchpad.net/bugs/364973
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs