Comment 2 for bug 1387303

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

xdg-autostart .desktop file is used in sessions that are not upstart managed.

upstart user session jobs are used in upstart managed sessions, e.g. unity.

to disable a job, echo "manual" into an override file (just like with any other upstart jobs)

One can override upstart user session jobs, on per-user, per-session, or system-wide.

e.g.
echo manual > /etc/xdg/upstart/gnome-keyring.override
echo manual > /etc/xdg/xdg-ubuntu/upstart/gnome-keyring.override
echo manual > ~/.config/upstart/gnome-keyring.override

See man 5 init and the upstart cookbook.

The default agent for unity session is gnome-keyring, however that was not the case in 14.04 until an update was released to resolve bug https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1271591

If you wish to use any other agents, use manual override to disable gnome-keyring job and provide your own upstart jobs for other agents, similar to how the gnome-keyring job is defined.

$XDG_CONFIG_HOME, $XDG_CONFIG_DIRS