Manage the startup applications

2018-06-14  本文已影响0人  helphi

https://gnomeshell.wordpress.com/2011/08/28/manage-the-startup-applications/


After the login in GNOME 3 a lot of applications will be automatically started in order to execute many invisible tasks like to notify you of incoming alarms in the calendar or to unlock your keyring containing your saved and encrypted passwords.

There’s a tool in GNOME 3 which allows to add, modify and remove the autostart entries and you can run it by executing from a terminal or from the ALT+F2 dialog the command:

gnome-session-properties

The list will show many of the commands that will be automatically executed after a successfull login.

You can add further commands to execute at user login by simply clicking the Add button and compile the fields. Name is the first line in the preferences dialog, while Comment is the second line with an additional and longer description. The Command field will contain the command to execute automatically at the start up.

The Browse… button will allow to explore the disk content and search for an exact file. If the command requires some arguments they can be added after the name of the command.

While none of the listed command in the preferences dialog is strictly vital for the life of a GNOME session, a couple of them are really wanted while others are potentially unwanted.

Here are listed the most common entries with a brief description of their work to let you decide if it’s an application you want to maintain in your autostart process:

Someone could ask why some items have icons while others don’t. Every entry in the preferences dialog is a desktop shortcut you can edit by hand with a a text editor.

System-wide shortcuts can be found in /etc/xdg/autostart and in /usr/share/gnome/autostart but the preferences dialog will create local copies in your user profile when you edit a shortcut by disabling it or editing its name, command or description. You generally don’t need to edit the system-wide shortcuts but you can make modifications at your private copies.

User shortcuts can be found in $XDG_CONFIG_HOME/autostart. If the XDG_CONFIG_HOME variable is not set then it defaults to ~/.config.

The Startup Applications Preferences dialog allows only a minimal shortcut customization but many conditions can be applied to each shortcut file. Please take a look at the system wide shortcuts which contain a lot of extra information about localized names, descriptions, icons and startup and visibility conditions.

上一篇 下一篇

猜你喜欢

热点阅读