LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2011, 04:48 PM   #1
eTo
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Is there way to mute sound from single application?


Hi, i was lately wondering how to mute sound from certain application on linux(without changing sound setting within that programm)?

Last edited by eTo; 04-08-2011 at 11:19 AM.
 
Old 04-07-2011, 09:29 PM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
Assuming your distro uses PulseAudio, PulseAudio Volume Control (pavucontrol) will provide that functionality. You may have to install it.
 
1 members found this post helpful.
Old 04-08-2011, 11:20 AM   #3
eTo
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Rhx, that is what i was looking for
 
Old 09-25-2020, 12:13 PM   #4
byron.hawkins
LQ Newbie
 
Registered: Apr 2019
Posts: 26

Rep: Reputation: Disabled
Just a note that this feature is no longer available, at least not in pavucontrol 4.0. There is no way to modify the volume level per application.
 
Old 09-25-2020, 12:54 PM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by byron.hawkins View Post
Just a note that this feature is no longer available, at least not in pavucontrol 4.0. There is no way to modify the volume level per application.
It may still be there but, if memory serves, applications don't actually show up in pavucontrol unless they're actually running and playing audio. So... you're stuck reacting to the application's audio than having the ability to control it in the first place. Unless, as you mentioned, by going into each application and tweaking the sound level. For me, that'd be a royal PITA as I may have several browser windows opened on different activities and would have to look at each one to figure out which activity and browser tab is playing audio.

I've had some luck with this kind of problem using Jack (esp. jack_mixer). If the application is "Jack aware", I can configure it to run its audio to Jack and define a channel for it in jack_mixer and keep that slider turned way down unless I want to listen to it (or mute it entirely). If the application can only run its audio through PulseAudio (PA) I can still control that using a dedicated PA channel in jack_mixer. The downside is that all applications running their audio through PA are affected by my jack_mixer slider setting. It's been working out well for me as jack_mixer doesn't eat up too much screen real estate and I can configure it to be visible on all of my KDE activities for quick access.
 
Old 09-25-2020, 01:01 PM   #6
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
In both Firefox and Chrome, you can see tabs that are playing audio easily. At the top of each tab, beside the name, there will be a speaker icon if audio is playing. You can click it to mute the audio from that tab. It can still be a pain if you have multiple windows open, of course.
 
Old 09-25-2020, 01:14 PM   #7
byron.hawkins
LQ Newbie
 
Registered: Apr 2019
Posts: 26

Rep: Reputation: Disabled
Quote:
Originally Posted by rnturn View Post
I've had some luck with this kind of problem using Jack...
Cool, I will give that a try.

@sgosnell: The tab-by-tab solution in the doesn't work for me because the sound I want to mute is just the annoying "ding" when I get a Facebook message. Since it isn't an audio stream, the little audio icon disappears after nanoseconds, so I can't catch it. Fortunately the Fedora audio panel does hold the firefox slider for about 0.7 seconds, so I have been able to snag the mute button before it goes away, and it remembers to stay muted.
 
Old 09-25-2020, 01:20 PM   #8
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I don't do facebook, so I don't know for sure how it works, but it might be a system sound. Pulseaudio does make it easy to mute system sounds. It's on the Playback page of the volume control. Muting that might or might not work.
 
Old 09-25-2020, 01:27 PM   #9
byron.hawkins
LQ Newbie
 
Registered: Apr 2019
Posts: 26

Rep: Reputation: Disabled
Facebook is not a system sound, I muted all those and nothing changed. So far my only solution is to completely mute Firefox.
 
Old 09-26-2020, 03:03 PM   #10
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by byron.hawkins View Post
Cool, I will give that a try.
Jack does require some configuration. There's the Jack config itself plus the scripts that you can (and I do) use to start/stop sound related processes. If you go this route, let me know---I can post (or attach) some of what I've cobbled together to get Jack working for me.
 
  


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
Sound does not mute when headphones plugged in damiendusha Linux - Hardware 4 01-06-2007 06:21 AM
No sound out put, how do I un-mute the sound in FC3? MurX Fedora 10 02-15-2006 06:19 AM
sound starts up as mute... seaking Linux - Newbie 12 10-18-2005 07:54 AM
Es1869 Sound Card: Mute gani Slackware 15 09-26-2004 10:14 PM
Why is this sound card only 1/2 mute? ONEderer Linux - General 0 01-24-2004 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 AM.

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