No Volume Control in GNOME

I normally run KDE, but installed GNOME as well on my netbook (running openSUSE 11.2) to try out. However, I noticed there is no longer any volume control applet. The GNOME panel control is labeled ‘deprecated’, and the volue Fn keys, which work fine in KDE, do not work at all. I tried launching the PulseAudio Volume Control app, but it gives me a “Connection Failed: Connection Refused error”. I still have sound, and I can adjust the volumes in alsamixer, but is rather inconvinient. What is the “right way” to adjust volumes in 11.2’s GNOME?

Yes…same problem here :frowning: eventhough we can adjust the volume by alsa mixer, it’s hard…somebody please solve this problem.

I’m a KDE user. I don’t use Gnome at all.

I note this thread (see post#1):
http://forums.opensuse.org/nkp-forums/tech-talk-linux-general/424828-who-responsible-gnome-stable-2-26-repository.html

  1. Gnome’s “volume control” panel applet is deprecated, but there is no replacement for it.

It seems that somewhere, somebody in the Gnome / PulseAudio UI area got the bright idea that a simple volume control on the panel was far too useful, and that it would be best to remove it. So in the Gnome 2.26 repo, if you install from it, the panel applet “Volume Control” is now “deprecated” and will remove itself from the panel.

In the PulseAudio UI, you’re now supposed to click on Computer / More Applications / Multimedia / PulseAudio Device Chooser. This gets you a notification area applet that you can right click on to pick “volume control” as an option to finally get to something that you can use to control the volume.

Since I am NOT a gnome user, I can not comment on the accuracy nor if there is a better method.

One should still be able to run “alsamixer” and “amixer” from a terminal, while using gnome, to control the volume.

You have kde and you just added gnome, then just use kmix for the volume control. Downside is when click it opens the mixer where you adjust the volume. Put it in the system tray. Good for me I control the volume from the keyboard.

I suppose I could just use KMix as conram suggested; but it seems like a big oversight to leave out basic volume control (via a GUI) for a desktop distribution. Can’t imagine that no one would miss it.

However, I still prefer KDE, so I’ll probably not play with it much more. Seems like a strange move to me.

Thanks.

I suppose I could just use KMix as conram suggested; but it seems like a big oversight to leave out basic volume control (via a GUI) for a desktop distribution. Can’t imagine that no one would miss it.

I agree completely. (Unless they assume everyone will use Pulse). Without knowing much about Gnome packages, does the gnome-media package still have the (deprecated) gnome-volume-control app available?

On Mon, 16 Nov 2009 00:36:01 +0000, deano ferrari wrote:

>> I suppose I could just use KMix as conram suggested; but it seems like
>> a big oversight to leave out basic volume control (via a GUI) for a
>> desktop distribution. Can’t imagine that no one would miss it.
>
> Without knowing much about Gnome packages, does the gnome-media package
> still have the (deprecated) gnome-volume-control app available?

If it’s there, and you try to use it, it removes itself and says that
it’s no longer supported.

David Gersic dgersic_@_niu.edu
Novell Knowledge Partner http://forums.novell.com

Please post questions in the newsgroups. No support provided via email.

On Sun, 15 Nov 2009 04:56:01 +0000, zak89 wrote:

> I normally run KDE, but installed GNOME as well on my netbook (running
> openSUSE 11.2) to try out. However, I noticed there is no longer any
> volume control applet.

Downgrade Gnome to 2.24 (you’re probably on 2.26). I had the same
problem, plus a bunch of others with 2.26. Going back to 2.24 helped with
almost all of them.

> The GNOME panel control is labeled ‘deprecated’

Yes, this seems to be a conflict between the Gnome project people and the
Pulseaudio project people. The Gnome project wants to hand over all audio
stuff to Pulse. So, as a step along the way, Gnome “deprecated” their
volume control. But Pulse only has the Pulse “device chooser” thing, from
which you can eventually hunt around and find a volume control
application. It’s a lot less convenient and useful than the Gnome one.

David Gersic dgersic_@_niu.edu
Novell Knowledge Partner http://forums.novell.com

Please post questions in the newsgroups. No support provided via email.

  1. Gnome’s “volume control” panel applet is deprecated, but there is no replacement for it.

It seems that somewhere, somebody in the Gnome / PulseAudio UI area got the bright idea that a simple volume control on the panel was far too useful, and that it would be best to remove it. So in the Gnome 2.26 repo, if you install from it, the panel applet “Volume Control” is now “deprecated” and will remove itself from the panel.

The bonobo server is still there in /usr/lib64/bonobo/servers/GNOME_MixerApplet.server.
You should be able to recreate the applet with the following script.
Set the position (pos) so that it doesn’t overlap another applet and set the panel name to match yours (I don’t think I use the original name and I don’t remember it). You can find out your panel name with gconf-editor under /apps/panel/general/toplevel_id_list. That would be one in the list.



#! /bin/bash

#_________ code executed by other users _______________________________________________________________________________________

    # ---------------------------------------------
	# set these values to match your needs 
	panel=top_panel
	pos=1
    # ---------------------------------------------

    # ---------------------------------------------
	# you should not need to change this part

	applet=mixer
	bonobo_iid= GNOME_MixerApplet.server
	pset="gconftool-2 --direct --config-source xml:readwrite:~/.gconf"
	$pset --type=string	--set /apps/panel/applets/$applet/action_type "lock"
	$pset --type=string	--set /apps/panel/applets/$applet/attached_toplevel_id "" 
	$pset --type=string	--set /apps/panel/applets/$applet/bonobo_iid "$bonobo_iid" 
	$pset --type=string	--set /apps/panel/applets/$applet/custom_icon "" 
	$pset --type=string	--set /apps/panel/applets/$applet/launcher_location "" 
	$pset --type=bool	--set /apps/panel/applets/$applet/locked true 
	$pset --type=string	--set /apps/panel/applets/$applet/menu_path "applications:/" 
	$pset --type=string	--set /apps/panel/applets/$applet/object_type "bonobo-applet" 
	$pset --type=bool	--set /apps/panel/applets/$applet/panel_right_stick true 
	$pset --type=int	--set /apps/panel/applets/$applet/position $pos 
	$pset --type=string	--set /apps/panel/applets/$applet/tooltip "" 
	$pset --type=string	--set /apps/panel/applets/$applet/toplevel_id "$panel" 
	$pset --type=bool	--set /apps/panel/applets/$applet/use_custom_icon false 
	$pset --type=bool	--set /apps/panel/applets/$applet/use_menu_path false 

    # ---------------------------------------------


Despite the warning that it is no longer available and will now be removed, it seems to be working so far. It also let you open the sound preferences with a right click. It works at least for root (I haven’t set up user accounts yet).

I originally wrote the script in csh and just converted the snip above in bash for you. Please reread before executing!

Please disregard the nonsense I wrote in my previous post. There is nothing wrong with the script (which you could still use to install other applets), but the mixer applet is not added to the panel as an applet any more. Using that script as a user will screw up your Gnome and reverse you desktop to the system default. :frowning:

The volume control is now autostarted and appears as an icon in the system tray, which can be be very confusing and made me think it was the volume control applet. The icons are similar. The one in the system tray is smaller. Otherwise the features are identical. You open the Sound preferences the same way.

Since it’s an icon in the system tray, you can not change its position on the panel like you would do with an applet. To enable/disable it use the Startup Applications Preferences. It is enabled by default.

Sorry again.

Hi. Sorry for my English.

Try to go to PulseAudioPreference in more applications - multimedia menu and check both options in the first tab. This will show the kmix icon and here set some key combination in the settings - shortcuts global column.

It worked for me with the windows key + up (down).