Multimedia keys and sound applet without PulseAudio in GNOME2 in CentOS 6.7
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Multimedia keys and sound applet without PulseAudio in GNOME2 in CentOS 6.7
I asked this question on CentOS forums, but received no answer after several days, so 'tis here.
I would like to have multimedia keys working and a sound applet. CentOS by default (with GNOME2) installs PulseAudio, which has the mixer (pavucontrol), that also spawns in the notification area. Without PA I still have sound, but lack this functionality.
So, is there any possible workaround and what is it?
if its available for your OS, you might want to check out volumeicon-alsa, which will put a volume control in your system tray, as well as provide an interface for your media keys (configurable in the volumeicon preferences). antiX has been using it for years without pulseaudio.
Xfce4-mixer doesn't play with multimedia keys and applet, though it works, unlike GNOME's default mixer.
As for volumeicon-alsa, 'tis not available in CentOS 6 and couldn't even compile it, because my intltool is too old
these are the multi media keys on a MICROSOFT media keyboard ?
i take it there is a "My Documents" and "MS Messenger" button along with a MS Media player button
and a Volume control on the keyboard
what make / model / brand of keyboard is this
and as for " a sound applet " -- What one ?
there is a long standing bug that hits people
"alsamixer" is installed in the MUTE setting
Bind some keys to the appropriate "amixer" command.
Gnome's mixer changed over to using pulseaudio by default somewhere around Gnome 2.24 IIRC. You could still patch gnome-mixer and gnome-settings-daemon to use the old gstreamer-based mixer, but that's probably over the head of a lot of users.
these are the multi media keys on a MICROSOFT media keyboard ?
i take it there is a "My Documents" and "MS Messenger" button along with a MS Media player button
and a Volume control on the keyboard
what make / model / brand of keyboard is this
and as for " a sound applet " -- What one ?
there is a long standing bug that hits people
"alsamixer" is installed in the MUTE setting
open a terminal and type in "alsamixer" and check
There are Fn keys on most (if not all) laptop keyborards. Usually between left Ctrl and Alt.
Sound applet is a kind of drop-down volume level, usually master volume.
I have sound, and by the way, it wasn't mute by default here.
I installed GNOME ALSA Mixer, which is very handy.
Quote:
Originally Posted by seasons
Bind some keys to the appropriate "amixer" command.
Gnome's mixer changed over to using pulseaudio by default somewhere around Gnome 2.24 IIRC. You could still patch gnome-mixer and gnome-settings-daemon to use the old gstreamer-based mixer, but that's probably over the head of a lot of users.
I'll probably stick to binding keys, as I've done in Openbox. I've tried, simply to compare, Debian Squeeze, that has GNOME 2.30, and there were sound, an applet and working media keys, without PulseAudio and pavucontrol.
i was just going to suggest that you find out what keycodes the keys return (with "xev") and, based upon that, bind some amixer commands to that.
but it seems your last remark means that you did that already.
anyhoo, xfce also has the xfce4-volumed - not sure if centos 6.7 offers that, but it would be worth a try.
i was just going to suggest that you find out what keycodes the keys return (with "xev") and, based upon that, bind some amixer commands to that.
but it seems your last remark means that you did that already.
anyhoo, xfce also has the xfce4-volumed - not sure if centos 6.7 offers that, but it would be worth a try.
Bound keys with amixer work fine, though there is no sound applet and notification... That is not a big loss.
There is no xfce4-volumed in here, and I don't really want to pull Xfce libraries.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.