To prevent various problems in Wine, I'd like to use OSS through PulseAudio, via padsp. I've tried preloading it with this line in /etc/profile:
But that causes stuff to fail when KDE starts. What can I put in /etc/profile or .bashrc to preload padsp only for Wine? If nothing can do that, how else can I make Wine always use padsp without having to run it from a console every time?
I'm using KDE on Pardus 2008.1, FWIW...