Manage the startup applications

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:

  • AT SPI D-Bus Bus
    AT SPI stands for Assistive Technology Service Provider Interface, a framework to integrate accessibility functions in applications. This command will create a new DBus for AT SPI specific functions.
    Command: /usr/lib/at-spi2-core/at-spi-bus-launcher –-launch-immediately
    Status: unwanted until you need the accessibility features.
    Reference: https://www.linuxfoundation.org/
  • AT SPI Registry
    The AT SPI Registry is used by applications to interact with assistive technologies and peripherals.
    Command: /usr/lib/at-spi/at-spi-registryd
    Status: unwanted until you need the accessibility features.
    Reference: http://www.linuxfromscratch.org/blfs/view/svn/gnome/at-spi.html
  • Bluetooth Manager
    A GNOME classic applet for the GNOME panel to provide access to bluetooth devices configuration.
    Command: bluetooth-applet
    Status: unwanted until you use GNOME fallback session and you make use of the Bluetooth technology. Unneeded for GNOME Shell users.
  • Certificate and Key Storage
    A GNOME Keyring agent which will provide access to your encryption certificates for applications.
    Command: /usr/bin/gnome-keyring-daemon –-start –-components=pkcs11
    Status: unwanted if you don’t use encryption certificates.
  • Disk Notifications
    The Disk Utility notification is used to report disk failures using the SMART predictive technology.
    Command: /usr/lib/gnome-disk-utility/gdu-notification-daemon
    Status: recommended if your disks support the SMART, to discover incoming damages.
  • Evolution Alarm Notify
    Alarm notifier for Evolution incoming events and appointments.
    Command: /usr/lib/evolution/3.0/evolution-alarm-notify
    Status: unwanted if you don’t use the Evolution calendar alarms.
  • Files
    The nautilus file manager for desktop icons.
    Command: nautilus -n
    Status: unwanted until you choose to enable the desktop with its icons.
  • GNOME Login Sound
    Play a sound from the sound theme after the login to welcome the user. This is broken since years, I’ve checked in Fedora, Ubuntu, Debian and Arch Linux, don’t know why but every default sound theme seems to miss the required file.
    Command: /usr/bin/canberra-gtk-play –-id=”desktop-login”
    Status: unwanted until you fix the default theme and wish to hear a welcome sound.
  • GNOME Settings Daemon
    A daemon which grants access to all the GNOME system preferences.
    Command: /usr/bin/gnome-settings-daemon
    Status: recommended for everyone.
  • GPG Password Agent
    A GNOME Keyring agent which will loads your GPG keys and allow you to insert the passphrases in a graphical window when a GPG key is required during signing.
    Command: gnome-keyring-daemon –-start –-components=gpg
    Status: unwanted if you don’t use GPG keys to sign or encrypt data.
  • GSettings Data Conversion
    A conversion tool from GConf to GSettings, used to convert legacy settings into the new settings format used by GNOME 3.
    Command: gsettings-data-convert
    Status: wanted to migrate old schema configuration, its execution is really fast and light so that there’s no reason to disable it.
  • Orca Screen Reader
    The Screen reader for people with reading and sight difficulties.
    Command: orca –-no-setup –-disable main-window –-disable splash-window –-disable magnifier –-enable speech –-enable braille
    Status: unwanted until you need accessibility features for speech or braille.
  • PolicyKit Authentication Agent
    An authentication agent which will require you user or administration password when applications need to check the user privileges. This doesn’t apply to sudo/su/gksu requests.
    Command: /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
    Status: recommended for everyone.
  • Power Manager
    A GNOME daemon that communicates with the hardware for proper power management, stand by, suspend and reduce power consumption by underclocking the CPU.
    Command: gnome-power-manager
    Status: recommended for everyone.
    Reference: http://projects.gnome.org/gnome-power-manager/
  • Print Queue Applet
    A print job manager for CUPS to allow the user to be notified of printing and about new plugged printers to install.
    Command: system-config-printer-applet
    Status: wanted if you use any printers.
  • PulseAudio Sound System
    The PulseAudio system offers a sound server for multiple sound sources and communicates with the underlying audio architecture (the most common in GNU/Linux are ALSA and OSS) to mix multiple audio with multiple audio cards and manage volume for each application.
    Command: start-pulseaudio-x11
    Status: recommended for everyone until you have not a sound card working.
  • PulseAudio Sound System KDE Routing
    The PulseAudio starter for KDE. GNOME users don’t require this at all.
    Command: start-pulseaudio-kde
    Status: unwanted for every GNOME users.
  • Remote Desktop
    The Vino server is a VNC server for incoming connections to the desktop, allowing others users to connect, view and operate in the desktop. This requires the Vino server was enabled in system preferences.
    Command: /usr/lib/vino/vino-server
    Status: unwanted until you’re absolutely sure what are doing.
  • Screensaver
    The screen saver relies on this component to start automatically after the desired time indicated in the system preferences. This also will lock the screen when the computer is left alone for some minutes.
    Command: gnome-screensaver
    Status: recommended for everyone until you use another screen saver application.
  • Secret Storage Service
    The GNOME Keyring components that contains the personal saved passwords for various applications (Evolution, WiFi) will be unlocked to grant the applications the right to read their saved passwords.
    Command: /usr/bin/gnome-keyring-daemon –-start –-components=secrets
    Status: generally wanted if you save passwords into applications.
  • SSH Key Agent
    A GNOME Keyring agent for SSH which will load your SSH keys from ~/.ssh in order to grant applications access to your SSH keys.
    Command: /usr/bin/gnome-keyring-daemon –-start –-components=ssh
    Status: unwanted if you don’t use SSH keys.
    Reference: https://live.gnome.org/GnomeKeyring/Ssh
  • Volume Control
    A GNOME classic applet for GNOME panel to let the user to arrange the volume of the audio.
    Command: gnome-sound-applet
    Status: unwanted until you use GNOME fallback session. Unneeded for GNOME Shell users.

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.

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 216,193评论 6 498
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 92,306评论 3 392
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 162,130评论 0 353
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 58,110评论 1 292
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 67,118评论 6 388
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,085评论 1 295
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,007评论 3 417
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,844评论 0 273
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,283评论 1 310
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,508评论 2 332
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,667评论 1 348
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,395评论 5 343
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,985评论 3 325
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,630评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,797评论 1 268
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 47,653评论 2 368
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,553评论 2 352

推荐阅读更多精彩内容