16 May 2012

Removing audio devices in KDE4

Whenever I lock my KDE4 desktop there's no telling which audio output device I'll get.
I set it to 'Analog Stereo Output' in System Settings/Multimedia/Phonon/Audio Hardware Setup but more often than not Phonon/KDE4 (no idea what is responsible)  changes its setting to 'Digital Stereo (HDMI) Output'. It's possible to change it through Kmix as well, but it's the same UI as far as I can see.
No /etc/phonon config file to be found, so it must be a KDE component... fucking brilliant.
Of course there's no way to clickety-click remove audio devices from within KDE, that'd be too straightforward, right?
Anyways, I set out to find a config file and delete those #$(%#$ HDMI audio output entries.

~/.kde/share/config/phonondevicesrc

Entries are like this:

[AudioDevice_HDA Intel, HDMI 0\nHDMI Audio Output_playback]
cardName=HDA Intel, HDMI 0 (HDMI Audio Output)
deleted=false
deviceNumber=-1
hotpluggable=false
iconName=audio-card
index=-6
initialPreference=30
isAdvanced=false

So I just changed the deleted=false like to true for all HDMI devices.
Problem solved.

Thanks, KDE, once again... KDE 4.7 and still not on 3.5's level of functionality.

No comments:

Post a Comment