LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-25-2016, 11:55 AM   #1
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Rep: Reputation: 116Reputation: 116
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?

Thanks.
 
Old 02-26-2016, 06:40 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Yes, you need to install a mixer that supports Alsa. In CentOS 6 xfce4-mixer might do the job.
 
Old 02-26-2016, 09:38 AM   #3
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
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.
 
Old 02-26-2016, 01:37 PM   #4
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Original Poster
Rep: Reputation: 116Reputation: 116
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
 
Old 02-26-2016, 03:50 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 02-27-2016, 03:39 AM   #6
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 264

Rep: Reputation: 58
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.
 
Old 02-27-2016, 09:21 AM   #7
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Original Poster
Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by John VV View Post
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 View Post
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.
 
Old 02-27-2016, 09:48 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 02-27-2016, 10:44 AM   #9
Mitt Green
Member
 
Registered: May 2014
Location: Europe
Posts: 199

Original Poster
Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by ondoho View Post
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.
 
Old 02-27-2016, 01:24 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
There are Fn keys on most (if not all) laptop keyborards.
so this is a laptop

expect the normal "laptop" issues with RHEL/CentOS/SL

Sound issues
Mouse pad issues
multimedia issues
some power control / battery issues

rhel was never designed for laptops
most will mostly work using rhel
but only mostly
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome keys applet hopbyhop Linux - Software 2 02-22-2011 01:58 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
Multimedia Keys r1d3r Linux - Laptop and Netbook 3 12-19-2008 10:12 PM
Multimedia keys in linux shame Linux - Hardware 3 11-27-2006 03:21 AM
Multimedia keys killerbob Slackware 2 05-20-2005 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration