「XDG 自動起動」の版間の差分
表示
削除された内容 追加された内容
Kusanaginoturugi (トーク | 投稿記録) 最新に差し替え |
|||
| (他の1人の利用者による、間の4版が非表示) | |||
| 4行目: | 4行目: | ||
[[hu:XDG Autostart]] |
[[hu:XDG Autostart]] |
||
[[pt:XDG Autostart]] |
[[pt:XDG Autostart]] |
||
[[ru:XDG Autostart]] |
|||
[[zh-hans:XDG Autostart]] |
[[zh-hans:XDG Autostart]] |
||
[https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html XDG Autostart Specifications] は[[デスクトップ環境]]の起動時や、リムーバブルメディアのマウント時に通常の[[デスクトップエントリ]]を特定の[[#ディレクトリ]]に配置して[[自動起動]]させる方法を定義しています。 |
|||
== |
== 前提条件 == |
||
対応した[[デスクトップ環境]]か、次のような専用の実装を使う必要があります。 |
|||
You need to use either a [[desktop environment]] that supports it, or a dedicated implementation, like: |
|||
* {{pkg|dex}} |
* {{pkg|dex}} |
||
| 17行目: | 18行目: | ||
* [https://systemd.io/DESKTOP_ENVIRONMENTS/#xdg-autostart-integration systemd-xdg-autostart-generator] |
* [https://systemd.io/DESKTOP_ENVIRONMENTS/#xdg-autostart-integration systemd-xdg-autostart-generator] |
||
== |
== ディレクトリ == |
||
Autostart ディレクトリは、優先順位が高い順に次のとおりです。 |
|||
The Autostart directories in order of preference are: |
|||
* |
* ユーザー固有: {{ic|$XDG_CONFIG_HOME/autostart}} (デフォルトは {{ic|~/.config/autostart}}) |
||
* |
* システム全体: {{ic|$XDG_CONFIG_DIRS/autostart}} (デフォルトは {{ic|/etc/xdg/autostart}})[https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html#referencing] |
||
システム全体の[[デスクトップエントリ]]は、同じファイル名のユーザー固有のエントリーに上書きすることができます。 |
|||
System-wide [[desktop entries]] can be overridden by user-specific entries with the same filename. |
|||
{{Tip|システム全体のエントリを無効にするには、{{ic|1=Hidden=true}} を含むオーバーライドエントリを作成します。}} |
|||
{{Tip|To disable a system-wide entry, create an overriding entry containing {{ic|1=Hidden=true}}.}} |
|||
詳しくは、[https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html 仕様書]をお読みください。 |
|||
{{TranslationStatus|XDG_Autostart|2022-12-10|726106}} |
|||
2022年12月10日 (土) 14:15時点における版
XDG Autostart Specifications はデスクトップ環境の起動時や、リムーバブルメディアのマウント時に通常のデスクトップエントリを特定の#ディレクトリに配置して自動起動させる方法を定義しています。
前提条件
対応したデスクトップ環境か、次のような専用の実装を使う必要があります。
- dex
- dapperAUR
- fbautostartAUR
- sandsmark-xdg-autostart-launcher-gitAUR
- systemd-xdg-autostart-generator
ディレクトリ
Autostart ディレクトリは、優先順位が高い順に次のとおりです。
- ユーザー固有:
$XDG_CONFIG_HOME/autostart(デフォルトは~/.config/autostart) - システム全体:
$XDG_CONFIG_DIRS/autostart(デフォルトは/etc/xdg/autostart)[1]
システム全体のデスクトップエントリは、同じファイル名のユーザー固有のエントリーに上書きすることができます。
ヒント システム全体のエントリを無効にするには、
Hidden=true を含むオーバーライドエントリを作成します。詳しくは、仕様書をお読みください。
翻訳ステータス: このページは en:XDG_Autostart の翻訳バージョンです。最後の翻訳日は 2022-12-10 です。もし英語版に 変更 があれば、翻訳の同期を手伝うことができます。