コンテンツにスキップ

「XDG 自動起動」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
新規作成(英語版より転載)
 
最新に差し替え
2行目: 2行目:
[[en:XDG Autostart]]
[[en:XDG Autostart]]
[[es:XDG Autostart]]
[[es:XDG Autostart]]
[[hu:XDG Autostart]]
[[pt:XDG Autostart]]
[[pt:XDG Autostart]]
[[zh-hans:XDG Autostart]]
[[zh-hans:XDG Autostart]]
8行目: 9行目:
== Prerequisites ==
== Prerequisites ==


You need to use either a [[desktop environment]] that supports it, or a dedicated implementation, like {{pkg|dex}}, {{AUR|dapper}}, or {{AUR|fbautostart}}.
You need to use either a [[desktop environment]] that supports it, or a dedicated implementation, like:

* {{pkg|dex}}
* {{AUR|dapper}}
* {{AUR|fbautostart}}
* {{AUR|sandsmark-xdg-autostart-launcher-git}}
* [https://systemd.io/DESKTOP_ENVIRONMENTS/#xdg-autostart-integration systemd-xdg-autostart-generator]


== Directories ==
== Directories ==
19行目: 26行目:
System-wide [[desktop entries]] can be overridden by user-specific entries with the same filename.
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 {{ic|1=Hidden=true}}.
{{Tip|To disable a system-wide entry, create an overriding entry containing {{ic|1=Hidden=true}}.}}


For more details, read [https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html the specification].
For more details, read [https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html the specification].

2022年1月14日 (金) 21:37時点における版

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:

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.