This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Autostart

Lots of users use the GNOME 2.x's gnome-session-properties to specify applications to be autostarted when they next log in. Things like xchat, empathy, etc seem to be the most common (not a real study here, just got these from some users' feedback). Since gnome-session-properties doesn't show up anymore in any UI in GNOME 3.x, maybe we need another way to provide this functionality to users.

With gnome-session-properties there was a big problem, which is that it shows not only user-specified applications, but also system services, like Bluetooth, at-spi, etc:

http://people.gnome.org/~rodrigo/Screenshot-Startup Applications Preferences.png

First of all, it makes the feature quite confusing, as it's hard to find the stuff normal users would want to disable/enable. Also, we really don't want users to be disabling system-wide stuff that might be needed for the desktop session to work correctly.

Solution 1: Implement user-only version in gnome-control-center

This would offer the same functionality than gnome-session-properties, but only using ~/.config/autostart, rather than all the system-wide services. Where to put this in gnome-control-center is another thing that needs discussion. First thought is to add it to System Info panel, where the default applications selection is:

http://people.gnome.org/~rodrigo/Screenshot-System Info.png

But, as it happens with default applications, I'm not sure System Info is indeed the best place to have selection of default and autostartable applications.

Solution 2: Add 'Run at login' for launchers

This would just add a 'Run at login' item to the right click menu for launchers in gnome-shell (and 'Don't run at login' counterpart for apps already autostarted) and just do the right thing behind the scenes (put the .desktop file in user's ~/.config/autostart).

Notes


2024-10-23 11:03