Stop Gnome apps from starting automagically in KDE session

In my (crappy!) Kubuntu system, gnome-do was started each time I logged on in KDE 4.1. I could not figure out where it came from.

The parent of the process was « kdeinit4 ». After some search, I found that it was executed along some other programs in the log file « ~/.xsession-errors », but I could not find in my account any config file referencing this program.

At last, I found. There is a functionality called Desktop Application Autostart defined by FreeDesktop. It allows to define which programs will run at the session startup, in the environment implementing this standard (Gnome, or in my case KDE). It’s possible to exclude them from being started by some specific desktop environment by editing the files in « /etc/xdf/autostart », but that’s not what I wanted, because these files are in « /etc » and I’m a mere user (oh wait, I’m the only one on my machine 🙂 ). So the solution was to create an empty file in my user directory with the following command, so the global settings for « gnome-do » are overrided:

touch .config/autostart/gnome-do.desktop

Well, it should be possible to create a proper startup file, allowing to autostart gnome-do in the gnome environment, but I don’t care for the moment.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *