XDG 自動起動

提供: ArchWiki
2020年9月7日 (月) 15:15時点におけるKusanaginoturugi (トーク | 投稿記録)による版 (新規作成(英語版より転載))
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

The XDG Autostart specification defines a method for autostarting ordinary desktop entries on desktop environment startup and removable medium mounting, by placing them in specific #Directories.

Prerequisites

You need to use either a desktop environment that supports it, or a dedicated implementation, like dex, dapperAUR, or fbautostartAUR.

Directories

The Autostart directories in order of preference are:

  • user-specific: $XDG_CONFIG_HOME/autostart (~/.config/autostart by default)
  • system-wide: $XDG_CONFIG_DIRS/autostart (/etc/xdg/autostart by default)[1]

System-wide desktop entries can be overridden by user-specific entries with the same filename.

To disable a system-wide entry, create an overriding entry containing Hidden=true.

For more details, read the specification.