LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-10-2013, 07:53 AM   #1
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Debian
Posts: 51

Rep: Reputation: 14
Controlling Pulse from XFCE tray app?


I've just upgraded to Debian Wheezy and was impressed to find Pulse now works for everything, even Flash. That makes my life a lot easier, especially as I use a 5.1 surround setup.

What I'm looking for is a working tray app to control the volume in XFCE. I want to be able to click (or hover over) an icon and get a single slider to increase/decrease the volume.


So far I've tried:
  • Pavucontrol in a launcher - works, but it's ugly, doesn't instantly load and takes a lot of screen space.
  • Volti - gives the desired "master volume" slider, but only works on the four left & right channels. Centre & LFE are ignored, messing up the balance.
  • Veromix - doesn't seem to work as a tray app without KDE, so it's the same problem as Pavucontrol.
I suspect the Volti issue is actually a problem with ALSA, since SWMBO has had the same problem with the Gnome volume control for some time. I couldn't find anything similar on Google, so it might be specific to my onboard sound.

Any suggestions gratefully received.
 
Old 06-11-2013, 05:33 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,517
Blog Entries: 2

Rep: Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018
Not in the Debian repositories, as it seems, but I use PNMixer and it behaves exactly as you describe: https://github.com/nicklan/pnmixer/wiki
Should be simple to compile on Debian.
 
Old 06-12-2013, 05:02 AM   #3
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 511

Rep: Reputation: 102Reputation: 102
Umm. Why install other apps?
Just put the standard xfce mixer volume control applet on the taskbar and:
1. If its the older version that has the volume represented by blue bars/arches on the icon, right click on it and specify the mixer to run: pavucontrol instead of xfce4-mixer, and select the controlled volume item (pulseaudio/mqster instead of alsa/master)
2. If its the newer one that on click shows a scroller, right click, select Playback:Built-in Audio... (or whatever you want if you have multiple sound cards), channel will be automatically master.

The below case may or may not apply since some disrtos seemingly changed the hardcoded mixer to the simplified pulse control:

Now comes the ugly part: since this applet has hardcoded xfce4-mixer as the "run mixer" shortcut, you may want to rename xfce4-mixer to, say xfce4-mixer-alsa, and link pavucontrol to xfce4-mixer:

Code:
sudo mv /usr/bin/xfce4-mixer /usr/bin/xfce4-mixer-alsa
sudo ln -s /usr/bin/pavucontrol /usr/bin/xfce4-mixer
 
Old 06-12-2013, 05:48 PM   #4
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Debian
Posts: 51

Original Poster
Rep: Reputation: 14
Thanks for the replies. I've grabbed a copy of PNMixer from the Arch repositories, since they were kind enough to build a .deb of it, and it's just what I was looking for. There are a couple of minor bugs but there's a patch for the worst one, so I'll compile a (hopefully better) version when I get a few minutes spare.

Xfce mixer works, but it's really just a launcher for a full-fledged sound mixer (at least that's all I get from the Wheezy version), so not really what I was looking for - I agree though, that it would be the obvious choice if I wasn't so fussy!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Does anyone here install Pulse Audio in Xfce? joutlancpa Slackware 2 04-28-2009 01:37 PM
how can i get pulse audio to work i xfce deathalele Linux - Software 0 08-30-2008 07:02 PM
Controlling Xfce with a IR remote Stefan J Linux - Newbie 2 05-04-2008 10:54 AM
App not showing in tray The_paladin Linux - Newbie 7 08-28-2006 12:10 PM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration