![]() ![]()
|
I might be blind or something or have a really poor memory, but I seem to recall that there used to be a \"mute\" functionality, and that I was able to bind this to a key?
If not, take this as a feature request :cheer: |
![]() Registered Member ![]()
|
it is a dcop call, bind \"dcop amarok player mute\" to a key, that\'s it ~
|
![]() ![]()
|
|
![]() Registered Member ![]()
|
you can use khotkeys for this (can be found in kcontrol>regional settings>khotkeys)
|
![]() ![]()
|
I used what Alanceil said and made a dcop script. Mine mutes/unmutes the PCM (device index 4 for me), you can easily play with dcop to figure out which device for you. Here is the script. I then bound this script to my KDE menus for a Mute item I made. They key itself I\'ve xmodmap\'d to F24. Here is the script for a mute toggle via dcop:
#!/bin/bash KMIXRESULT=`dcop kmix Mixer0 mute 4` if [ ${KMIXRESULT}X = falseX ]; then /usr/bin/dcop kmix Mixer0 setMute 4 1 else /usr/bin/dcop kmix Mixer0 setMute 4 0; fi; unset KMIXRESULT |
Registered users: Bing [Bot], Google [Bot], rockscient