Attachments
No attachments.
Duplicates
Comments
|
|
|
Then press the volume button on the laptop instead.
|

cheesehead
(Brainstorm admin)
wrote on the 1 Mar 08 at 14:35
|
|
|
Or buy a laptop with a volume knob.
Or boot it before the lecture.
Or simply use System -> Preferences -> Sound ahead of time.
Don't clutter my GDM login with a billion options I'll never use. I just want to log in.
|
|
|
Eldmannen:
This won't work because it needs to be handled by software. GNOME handles this but not GDM.
cheesehead:
1. Today most laptops have no analog volume control device, only up/down buttons.
2. I wrote "sometimes we boot our laptop during the lecture"
3. I wrote "Having login sound is nice"
Don't give me so stupid advices, just teach yourself to understand what you read.
GDM has an options menu (press F10). I don't think it's a problem to put something extra there.
|
|
|
It's impossible, since most ALSA uses per-user volume settings, if I remember good.
And other question - do you REALLY need to have clutter possible in GDM?
How do you imagine this in reality? Post some mockup...
|
|
|
I think Mateusza wants the same thing I want.
I want to be able to use the volume function keys on my laptop while I'm on the login screen.
|
|
mateusza
wrote on the 11 Mar 08 at 07:56
|
|
|
|
I want to have ability to mute the sound somehow, before I log in.
|
|
sf_007
wrote on the 16 Mar 08 at 02:01
|
|
|
|
that would be very useful...
|
|
K-Man
wrote on the 16 Mar 08 at 03:36
|
|
|
Simple workaround: Just plugin an earphone or headset 8-)
It's 99cents if u don't have one. Actually you can even use just the jack (cut it off) of a broken one.
|
|
|
Absolutely. The Dell E1505n has volume controls on the front of machine. They are accessible when the screen lid is closed.
I often listen to music with the notebook's lid closed. My screensaver activates when I close the lid, and so the volume controls no longer work.
|
|
|
Comments like this one are unnecessary and unhelpful, and don't engage properly with a very good idea. Some good points, maybe, but not put in a constructive way:
> Or buy a laptop with a volume knob.
Not being able to control the sound in GDM login is a minor thing that can be a big irritation. Suggesting a major hardware change to fix a minor bug is an irritating response.
> Or boot it before the lecture.
What if the sound was set high on last shutdown, and you forgot, or didn't know about it until you got into the lecture? Again, minor software issue forces me to change my behaviour with my machine - that's not good software.
> Or simply use System -> Preferences -> Sound ahead of time.
I already try to... but I can't be prepared for every situation we're I'm going to boot my laptop up. Again, am I designed for Ubuntu, or is Ubuntu designed for me?
> Don't clutter my GDM login with a billion options I'll never use. I just want to log in
How is a volume control clutter? There's already a settings tab - stick a volume control in there surely? You won't see it on your login screen.
Here's a suggestion to try and deal with some of the issues people have raised: how about a right click menu on the new gdm face browser (when it's finally standard), that allows you to set key login variables before you login?
That would solve this problem, and deal with some of the problems raised in the comments.
|
|
zoubidoo
wrote on the 13 May 08 at 20:58
|
|
|
I have this problem too and would like a better solution than some of the unhelpful suggestions above.
Some laptops don't have a volume control dial but the keyboard has volume-related symbols. On the Acer laptop in front of me they are:
FN + F8 mute
FN + cursor up louder
FN + cursor down quieter
Shouldn't these keys bindings be handled in the BIOS?
Is it possible that the kernel is overriding the normal BIOS volume control?
This topic is also discussed here:
http://answers.google.com/answers/threadview?id=318864
There they specifically mention the AC'97 integrated soundcard. Perhaps it's an AC'97-specific issue?
Can anyone confirm / refute that?
|
|
everweb
wrote on the 11 Jul 08 at 17:16
|
|
|
[Menu]System/Administation/Login Window
[Tab]Accessibility
[Section]Sounds
All of these should be turned off by default IMHO
[Menu]System/Preferences/Sound
[Tab]Sounds
These can be on by default
This shows how to turn it off but I think the point here is that it would be nice to be able to temporarily disable sounds for a particalar session from the login window before any sound is issued.
|
|
|
mateuseuza--
I agree with Eldmannen.
There are already several better ways to prevent this using GNOME preferences.
|
|
smorar
wrote on the 12 Jan 09 at 09:15
|
|
|
This problem can be worked around by using the accessibility framework within GDM in combination with a command line program that can adjust the volume (apt-get install aumix). I blogged about this here, where I used this method to control mpd from within gdm.
Edit the following lines in /etc/gdm/gdm.conf:
AddGtkModules=true
GtkModulesList=/usr/lib/gtk-2.0/modules/libkeymouselistener
Next, you need to add entries for each of your multimedia keys in /etc/gdm/modules/AccessKeyMouseEvents.
The entry format is as follows:
keycode num_keypresses keypress_duration timeout command command_args
Where, the command with it's arguments is executed when the key given by keycode is depressed as many times as specified by the number of keypresses for longer than the keypress duration. Note, the command will be run as root, so be sure that it can't do anything destructive!!
For example, my configuration which uses the mpc command to control the mpd daemon is as follows:
XF86AudioLowerVolume 1 0 1000 amixer sset PCM 2-
XF86AudioRaiseVolume 1 0 1000 amixer sset PCM 2+
XF86AudioMute 1 0 1000 amixer sset PCM toggle
Then restart gdm by executing /etc/init.d/gdm restart
Voila, your multimedia keys should work in GDM!!
|
|
gazilla
wrote on the 20 May 09 at 11:30
|
|
|
I thank smorar for the howto, and attempted to get it working. There were a few problems so I thought I'd document them here.
As at Jaunty (and perhaps before) gdm does not run as root, but as the 'gdm' user. To make this all work you must add gdm to the 'audio' group. The GUI user management tool is no help as it does not recognise the audio group. Edit /etc/group and add gdm manually. e.g.
audio:x:29:pulse,bob,carol,ted,alice,gdm
Next, the AccessKeyMouseEvents file expects the full path of the command, so change amixer to /usr/bin/amixer (or wherever it is on your system). Do 'which amixer' to find it.
Finally, changing the values for PCM did nothing for my sound. I found that I had to change 'Master'.
Now, you've read all this, and done the mods, and I'm here to tell you it won't help poor mateusza one bit. At Jaunty, the sound volume for each user is restored to the level from last log out, at the next log in. So listen to K-Man and next time you have a set of earphones die, cut off the plug and keep it in your laptop bag!
|
|
|
quote from my rationale of my duplicate submitted idea:
It is often the case that when a computer was hibernating, it may have been playing music or a video. Sometimes when waking, the music or video will resume playing while the memory image is slowly slowly being read. Sometimes it may take 3 minutes for the screenlocking app to display a password prompt.
This can be very embarrassing if you unsuspend in the middle of a class or meeting, and your computer does not have a hardware volume control. Sound will begin blasting out very loudly. (Even software volume controls are often locked, or the OS during the reboot process is so glitchy that software volume controls cannot be used. Occasionally there are even audio layer bugs which cause an extremely loud sound in a buffer to be played on loop over and over again, but that is unrelated to the core issue at hand.)
Thus the goal is to ensure that the computer does not make sound when rebooting. The only current alternative is to hard-reset the computer or remove the battery, losing one's unsaved work and desktop session.
|
|
|
|
Unfortunately my idea was incorrectly marked as a duplicate of this idea. My idea concerns Standby and Hibernation, whereas this concerns ignoring boot sounds when logging.
|
|
|
|
The sound indicator is now available in LightDM [Ubuntu 11.10].
|
Post your comment
|