Mute works - Unmute doesn't

Report Bugs, Issues and non- package Requests
Post Reply
Message
Author
CiaraRSeeley
Posts: 14
Joined: Sat Dec 01, 2018 12:05 pm

Mute works - Unmute doesn't

#1 Post by CiaraRSeeley »

Hi,

I have a mute button on my keyboard. When I press it, the sound is unmuted. However, when I press it again to unmute it, the sound stays silent.
The popup info, when I press the mute/unmute button shows an mute icon when I press it one time. And when I press it the second time, it shows me an correct unmute icon (ask you can see in the image). But in pulseaudio you can see, that the mute icon is still pressed and not changed. To unmute, I have to press the button under the G of AusgabeGeräte.

Perhaps the port is responsible, perhaps it only works at the default port? However, that's the headphone port of my computer, can't make it any more standard.

The screenshot depicts the moment when I unmute with the keyboard, but the mute icon is still active in Pulseaudio (it should disappear, when I unmute).

Image

User avatar
Eadwine Rose
Administrator
Posts: 11895
Joined: Wed Jul 12, 2006 2:10 am

Re: Mute works - Unmute doesn't

#2 Post by Eadwine Rose »

Now this works for the main sound (so I don't know about the headphones port and how that works exactly.. may want to wait for someone else to chime in before you try this)



First find out which sink corresponds to the audio output you'd like to control. To list available sinks:

Code: Select all

pactl list sinks short

Suppose sink 0 is to be used, to mute/unmute the pulseaudio volume, try in the terminal, then try it again to see if it indeed mutes unmutes:

Code: Select all

pactl set-sink-mute 0 toggle


Works? Good. Go into Keyboard (type keyboard in the menu up top) - application shortcuts.

click Add (bottom left)

Enter the command that works for you in the field, click ok. Click the key you want to bind it with, and that should do the trick.


I don't remember if you need to log out and in though.. it's been a while again that I used this.
MX-23.2_x64 July 31 2023 * 6.1.0-18-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

CiaraRSeeley
Posts: 14
Joined: Sat Dec 01, 2018 12:05 pm

Re: Mute works - Unmute doesn't

#3 Post by CiaraRSeeley »

OH GOSH IT WORKS!!! WOW!!! AWESOME!!!

I had to logout login to make it work. But now it's perfect. Wow!

Thank you very much for your help!

Btw. this is the output of "pactl list sinks short". There is just one sink listed:

Code: Select all

$ pactl list sinks short
0	alsa_output.pci-0000_00_1f.3.analog-stereo	module-alsa-card.c	s16le 2ch 44100Hz	RUNNING
Last edited by CiaraRSeeley on Thu Jan 17, 2019 9:32 am, edited 1 time in total.

User avatar
Eadwine Rose
Administrator
Posts: 11895
Joined: Wed Jul 12, 2006 2:10 am

Re: Mute works - Unmute doesn't

#4 Post by Eadwine Rose »

It does??

Oh way cool!!! Glad to help :happy:
MX-23.2_x64 July 31 2023 * 6.1.0-18-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “Bugs and Non-Package Requests Forum”