Registered Member
|
I have three sound cards.
cat /proc/asound/cards
Intel is set as default. I want some applications to use Intel, and some (Music) use Cube. As default for all except Music I have Intel analog-stereo (alsa_output.pci-0000_00_1b.0.analog-stereo) http://i.imgur.com/wZrbQXi.png and for Music Cube http://i.imgur.com/83LJCXS.png When I play video it uses Intel and when I play music it uses Cube, which is what I wanted. I use keyboard shortcut to change volume. The problem is that Master channel is assigned to default device Intel and when I use different sound source: Music I need to assign Master channel to different playback device to be able to control volume with keyboard shortcut. Is there any way to automatically assign Master to current playback device? I found a script http://pablo-blog.blueoakdb.com/2012/07 ... aster.html and tried to apply to my case but with no luck. When I add it to KDE start up scripts (before KDE starts option) I get info that KDE only accepts .sh scripts and it doesn't work but when I change extension it to .sh it hangs KDE at start up. Maybe I didn't adjusted it correctly. I would appreciate if someone could check. http://pastebin.com/08TdXju5 Or is there any way to switch playback devices with keyboard shortcut?
|
Administrator
|
I would suggest checking out my post here for some help on changing the master device from a script: viewtopic.php?f=19&t=119373&p=300937&hilit=org.kde.kmix+org.kde.KMix.MixSet.setPreferredMaster#p300937
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I read this topic but it is to difficult for me to figure out how to apply it to my settings. And I don't know what id's are and how to find this information. Some guidance would be appreciated.
Some more output
When I have in kmix Cube chosen terminal shows
When I set in kmix analog_stereo as Master terminal output is
I don't understand this part:
Can you tell me how to find id and how to apply it to "qdbus org.kde.kmix /Mixers org.kde.KMix.MixSet.setCurrentMaster" ? The next step will be how to setCurrentMaster from keyboard shortcut |
Administrator
|
Your command is nearly correct. Please try the following.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
This one doesn't report errors but in kmix, settings remain unchanged.
There are a few id's in "pacmd list-sinks" output. How would correct command with id look like? |
Registered users: Bing [Bot], Evergrowing, Google [Bot], ourcraft