No volume control on screen lock - Volume goes to 100%

Bug #1458933 reported by Jeremy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lightdm-gtk-greeter (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Xubuntu 14.04.2, LightDM, Macbook 4,1, using ubuntu-stable

using $ dm-tool lock, the keyboard volume controls do not work until I have logged in. I expect it to at least maintain the volume level it was at, and respond to being muted, but it does none of these things. This is a problem because if I forget to turn off music, then take my laptop somewhere, I have to login before I can mute the massive blast of music coming out of my speakers. On the lock screen, even if the volume was previously muted, it gets put to 100%. Searching google and posting this problem on /r/linux4noobs, /r/linuxquestions, and /r/archlinux have yielded no answers.

affects: lightdm (Ubuntu) → lightdm-gtk-greeter (Ubuntu)
Revision history for this message
Simon Steinbeiß (ochosi) wrote :

Actually all music playback should stop when you lock your session, did you do anything to make this work? (E.g. adding your user to the "audio" group – while not advised – has that effect.)

There is no way you can control audio playback from the greeter and we're currently not planning to add volume controls to the greeter interface because music playback normally just stops when your seat/session becomes inactive.

Revision history for this message
Jeremy (jcdejournett) wrote : Re: [Bug 1458933] Re: No volume control on screen lock - Volume goes to 100%

I'm running a completely vanilla Xubuntu install. Haven't chmodded anything
unusual recently. The one thing I can think of is that I installed TLP, the
power management program. Would checking for, and removing, my user in the
audio group be a potential solution? How do I do this?

On Wed, May 27, 2015 at 2:16 AM, Simon Steinbeiß <email address hidden>
wrote:

> Actually all music playback should stop when you lock your session, did
> you do anything to make this work? (E.g. adding your user to the "audio"
> group – while not advised – has that effect.)
>
> There is no way you can control audio playback from the greeter and
> we're currently not planning to add volume controls to the greeter
> interface because music playback normally just stops when your
> seat/session becomes inactive.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1458933
>
> Title:
> No volume control on screen lock - Volume goes to 100%
>
> Status in lightdm-gtk-greeter package in Ubuntu:
> New
>
> Bug description:
> Xubuntu 14.04.2, LightDM, Macbook 4,1, using ubuntu-stable
>
> using $ dm-tool lock, the keyboard volume controls do not work until I
> have logged in. I expect it to at least maintain the volume level it
> was at, and respond to being muted, but it does none of these things.
> This is a problem because if I forget to turn off music, then take my
> laptop somewhere, I have to login before I can mute the massive blast
> of music coming out of my speakers. On the lock screen, even if the
> volume was previously muted, it gets put to 100%. Searching google and
> posting this problem on /r/linux4noobs, /r/linuxquestions, and
> /r/archlinux have yielded no answers.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1458933/+subscriptions
>

Revision history for this message
Simon Steinbeiß (ochosi) wrote :

Very strange, in Xubuntu by default the audio-playback does not continue when the session is locked. What audio-player are you using?
(Audio playback doesn't continue with gmusicbrowser or Parole, which are installed by default)

Generally speaking: the greeter starts on a new instance of the X-server, so it uses all default values, incl. 100% audio volume I guess.

Revision history for this message
Jeremy (jcdejournett) wrote :

Pianobar is my audio player. Come to think of it, I haven't even checked if
other audio applications do the same thing.

On Wednesday, May 27, 2015, Simon Steinbeiß <email address hidden>
wrote:

> Very strange, in Xubuntu by default the audio-playback does not continue
> when the session is locked. What audio-player are you using?
> (Audio playback doesn't continue with gmusicbrowser or Parole, which are
> installed by default)
>
> Generally speaking: the greeter starts on a new instance of the
> X-server, so it uses all default values, incl. 100% audio volume I
> guess.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1458933
>
> Title:
> No volume control on screen lock - Volume goes to 100%
>
> Status in lightdm-gtk-greeter package in Ubuntu:
> New
>
> Bug description:
> Xubuntu 14.04.2, LightDM, Macbook 4,1, using ubuntu-stable
>
> using $ dm-tool lock, the keyboard volume controls do not work until I
> have logged in. I expect it to at least maintain the volume level it
> was at, and respond to being muted, but it does none of these things.
> This is a problem because if I forget to turn off music, then take my
> laptop somewhere, I have to login before I can mute the massive blast
> of music coming out of my speakers. On the lock screen, even if the
> volume was previously muted, it gets put to 100%. Searching google and
> posting this problem on /r/linux4noobs, /r/linuxquestions, and
> /r/archlinux have yielded no answers.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1458933/+subscriptions
>

Revision history for this message
Jeremy (jcdejournett) wrote :

Any clue how I can fix this? Other audio players (gmusicbrowser, Parole,
even just a YT video in Firefox) do the same thing.

On Wed, May 27, 2015 at 9:47 AM, Jeremy DeJournett <email address hidden>
wrote:

> Pianobar is my audio player. Come to think of it, I haven't even checked
> if other audio applications do the same thing.
>
>
> On Wednesday, May 27, 2015, Simon Steinbeiß <email address hidden>
> wrote:
>
>> Very strange, in Xubuntu by default the audio-playback does not continue
>> when the session is locked. What audio-player are you using?
>> (Audio playback doesn't continue with gmusicbrowser or Parole, which are
>> installed by default)
>>
>> Generally speaking: the greeter starts on a new instance of the
>> X-server, so it uses all default values, incl. 100% audio volume I
>> guess.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1458933
>>
>> Title:
>> No volume control on screen lock - Volume goes to 100%
>>
>> Status in lightdm-gtk-greeter package in Ubuntu:
>> New
>>
>> Bug description:
>> Xubuntu 14.04.2, LightDM, Macbook 4,1, using ubuntu-stable
>>
>> using $ dm-tool lock, the keyboard volume controls do not work until I
>> have logged in. I expect it to at least maintain the volume level it
>> was at, and respond to being muted, but it does none of these things.
>> This is a problem because if I forget to turn off music, then take my
>> laptop somewhere, I have to login before I can mute the massive blast
>> of music coming out of my speakers. On the lock screen, even if the
>> volume was previously muted, it gets put to 100%. Searching google and
>> posting this problem on /r/linux4noobs, /r/linuxquestions, and
>> /r/archlinux have yielded no answers.
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1458933/+subscriptions
>>
>

Revision history for this message
Andrew P. (kalgasnik) wrote :

1. Remove your account from audio group. Commands:
> group
Check for "audio" group. If you see it:
> sudo deluser your_user_name audio
Removes "your_user_name" user from "audio" group. You need to logout/reboot.

It is very rare to need to have your user in audio group.
https://wiki.ubuntu.com/Audio/TheAudioGroup

2. Alternative. You can install "indicator-sound" package to sound indicator at login screen.
Open /etc/lightdm/lightdm-gtk-greeter.conf and edit "indicators" or "show-indicators" option: add "sound" to it.
indicators=list;of;indicators;on;login;screen;sound
This indicator saves its state between sessions and reboots. But it <can> affect your session settings.

Revision history for this message
Jeremy (jcdejournett) wrote :

I wasn't in the audio group. I put ~sound at the end of the list and rebooted to no avail. I added the tilde because all the others has tildes. What else could I do?

Sent from my iPhone

> On May 30, 2015, at 3:56 PM, Andrew P. <email address hidden> wrote:
>
> 1. Remove your account from audio group. Commands:
>> group
> Check for "audio" group. If you see it:
>> sudo deluser your_user_name audio
> Removes "your_user_name" user from "audio" group. You need to logout/reboot.
>
> It is very rare to need to have your user in audio group.
> https://wiki.ubuntu.com/Audio/TheAudioGroup
>
> 2. Alternative. You can install "indicator-sound" package to sound indicator at login screen.
> Open /etc/lightdm/lightdm-gtk-greeter.conf and edit "indicators" or "show-indicators" option: add "sound" to it.
> indicators=list;of;indicators;on;login;screen;sound
> This indicator saves its state between sessions and reboots. But it <can> affect your session settings.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1458933
>
> Title:
> No volume control on screen lock - Volume goes to 100%
>
> Status in lightdm-gtk-greeter package in Ubuntu:
> New
>
> Bug description:
> Xubuntu 14.04.2, LightDM, Macbook 4,1, using ubuntu-stable
>
> using $ dm-tool lock, the keyboard volume controls do not work until I
> have logged in. I expect it to at least maintain the volume level it
> was at, and respond to being muted, but it does none of these things.
> This is a problem because if I forget to turn off music, then take my
> laptop somewhere, I have to login before I can mute the massive blast
> of music coming out of my speakers. On the lock screen, even if the
> volume was previously muted, it gets put to 100%. Searching google and
> posting this problem on /r/linux4noobs, /r/linuxquestions, and
> /r/archlinux have yielded no answers.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1458933/+subscriptions

Revision history for this message
Andrew P. (kalgasnik) wrote :

Remove "~".

Revision history for this message
Simon Steinbeiß (ochosi) wrote :

Right, silly me, I forgot about indicator-sound. Apologies.

Revision history for this message
Jeremy (jcdejournett) wrote :

edit /etc/lightdm/lightdm-gtk-greeter.conf and edit "indicators" or "show-indicators" option: add "sound" to it. Note that if you add it at the end of the line, it will appear to the right of the power button on the lock screen.

Changed in lightdm-gtk-greeter (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.