Monday 30 March 2009

Hide KMix at start-up on KDE 4

Although I've rather got to like KDE4 there has been one thing that has been a constant (although minor) irritation to me - and that is that KMix doesn't minimise at start-up.

Well, it can be done. In ~/.kde4/Autostart create a file called kmix which contains the following script:

#!/bin/bash
kmix; qdbus org.kde.kmix /kmix/KMixWindow close


Make sure that the script is executable

chmod u+x kmix


Now when KDE starts kmix will launch and minimise straight to the dock.

1 comment:

Plecostomus said...

Thanks, this worked but what happens now is that the text file I put in the autostart also opens up in KWrite.

Any suggestions?

Thanks