Thread: How to map action to key
i have usb headset, whenever want change external speakers have click sound preferences icon , change output. there way map process key combination or @ least command line equivalent.
there's command control pulseaudio allow change preferences 'sound preferences'. it's called pacmd
list of output devices run:
they organized index. should have @ least 2 devices (regular speakers , usb). check output see 1 usb headphones (it should clear on list of properties). let's assume 2.code:$ pacmd list-sinks
once have correct index, can change running:
that should it. can write script, , create shortcut if want.code:# pacmd set-default-sink 2
tell me if need that.
regards.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] How to map action to key
Ubuntu
Comments
Post a Comment