「XDG Base Directory」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(同期)
 
(10人の利用者による、間の59版が非表示)
1行目: 1行目:
  +
{{Translateme|ソフトウェア一覧の内容は古くなっている場合があります}}
[[Category:ドットファイル]]
 
  +
[[Category:Freedesktop.org]]
  +
[[Category:設定ファイル]]
 
[[en:XDG Base Directory support]]
 
[[en:XDG Base Directory support]]
  +
[[pt:XDG Base Directory]]
 
{{Related articles start}}
 
{{Related articles start}}
 
{{Related|ドットファイル}}
 
{{Related|ドットファイル}}
{{Related|Xdg ユーザーディレクトリ}}
+
{{Related|XDG ユーザーディレクトリ}}
 
{{Related articles end}}
 
{{Related articles end}}
この記事では2003年に導入された [http://standards.freedesktop.org/basedir-spec/latest/ XDG Base Directory Specification] を使用しているソフトウェアを整理しています。ここでは一般的に使われているドットファイルと対応状態を並べて仕様がどれだけ使われているか示します。Base Directory Specification に対応していないソフトウェアについては、擬似的に対応させる方法を説明します。
 
   
  +
この記事は、[https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG Base Directory specification] の仕様を [[#仕様]] に、ソフトウェアのサポートを [[#サポート]] にまとめています。
ただし[[環境変数]]やコンパイルオプションに保存されているコードを実行したり、ソースにパッチを適用したりする方法は除外します。設定はあくまでシステム間で相互運用できるべきでありコンパイルオプションを使ってしまうと使用が制限されるためです。
 
   
  +
==仕様==
==XDG Base Directory Specification==
 
   
[http://standards.freedesktop.org/basedir-spec/latest/ フルスペック] を読んでください。このセクションでは概要だけを抽出しています。
+
[https://standards.freedesktop.org/basedir-spec/latest/ フルスペック] を読んでください。このセクションでは概要だけを抽出しています。
   
デフォルトでは [http://www.freedesktop.org/software/systemd/man/pam_systemd.html pam_systemd] によって {{ic|XDG_RUNTIME_DIR}} だけが設定されます。既存のディレクトリの絶対パスを使って明示的に他の変数を[[環境変数#変数の定義|定義]]するかどうかはユーザー次第です。
+
デフォルトでは [https://www.freedesktop.org/software/systemd/man/pam_systemd.html pam_systemd] によって {{ic|XDG_RUNTIME_DIR}} だけが設定されます。既存のディレクトリの絶対パスを使って明示的に他の変数を[[環境変数#変数の定義|定義]]するかどうかはユーザー次第です。
  +
  +
変数の定義に関する情報は [[環境変数#グローバル]] を参照してください。
   
 
===ユーザーディレクトリ===
 
===ユーザーディレクトリ===
28行目: 32行目:
 
** ユーザー個別のデータファイルが書き込まれるディレクトリ ({{ic|/usr/share}} と類似)。
 
** ユーザー個別のデータファイルが書き込まれるディレクトリ ({{ic|/usr/share}} と類似)。
 
** デフォルトは {{ic|$HOME/.local/share}} です。
 
** デフォルトは {{ic|$HOME/.local/share}} です。
  +
  +
* {{ic|XDG_STATE_HOME}}
  +
** ユーザー個別の状態ファイルをが書き込まれるディレクトリ ({{ic|/var/lib}} と類似).
  +
** デフォルトは {{ic|$HOME/.local/state}}.
   
 
* {{ic|XDG_RUNTIME_DIR}}
 
* {{ic|XDG_RUNTIME_DIR}}
37行目: 45行目:
 
** 定期的にファイルが消去される可能性があります。
 
** 定期的にファイルが消去される可能性があります。
 
** 永続的に保持したい場合は6時間毎に変更を加えるかスティッキービットを設定します。
 
** 永続的に保持したい場合は6時間毎に変更を加えるかスティッキービットを設定します。
** ユーザーがログインしている値だけ存在します。
+
** ユーザーがログインしている間のみ存在します。
 
** tmpfs でマウントされることもあるので巨大なファイルは保存できません。
 
** tmpfs でマウントされることもあるので巨大なファイルは保存できません。
  +
** pam_systemd はこれを {{ic|/run/user/$UID}} に設定します。
   
 
===システムディレクトリ===
 
===システムディレクトリ===
50行目: 59行目:
 
** デフォルトは {{ic|/etc/xdg}} です。
 
** デフォルトは {{ic|/etc/xdg}} です。
   
==貢献==
+
== サポート ==
   
  +
このセクションでは、2003 年に導入された [https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG Base Directory 仕様]を使用するソフトウェアが増加しているため、そのカタログを作成します。これは、一般的に見られるドットファイルとそのサポート状況をリストアップすることで、この仕様の有効性を示します。現在、Base Directory 仕様をサポートしていないソフトウェアについては、代わりにエミュレートするための回避策を示します。
ソフトウェアを追加するときは適切なセクションを使ってください。
 
   
  +
回避策は、ソースへのパッチ適用、[[環境変数]]に格納されているコードの実行、またはコンパイル時オプションを含まないものに限定されます。その理由は、設定はシステム間でポータブルであるべきであり、コンパイル時のオプションがそれを妨げるからです。
コードの評価 ([[vim]] や {{ic|VIMINIT}} など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。また、[https://www.haskell.org/cabal/ Haskell の cabal] や eclipse など難しい方法もハードコードとして扱います。
 
   
  +
願わくば、これが、ある種のドットファイルが何であり、どこから来たのかについての正確な情報源となることを願っています。
* 1番目のカラムはプロジェクト名です。できればコマンド名にしてください。ソフトウェアのウェブサイトか適切な wiki の記事にリンクさせます。
 
   
  +
===貢献===
* 2番目のカラムはプロジェクトが使用するレガシーなファイルやディレクトリです。もはや読み込まれない場合でも確認できるように記述してください。
 
   
  +
貢献するときは適切なセクションを使ってください。
* 3番目のカラムは XDG Base Directory に切り替わったプロジェクトのコミットあるいはバージョンです。4番目のカラムにはその議論がある場合にリンクを載せてください。
 
   
  +
コードの評価 ([[vim]] や {{ic|VIMINIT}} など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。
* 最後のカラムにはサポートしていないプロジェクトのための適切な対処方法を記載します。簡潔に書いてください。曖昧な部分がある場合は自由に追記してください。
 
  +
また、エラーが発生しやすかったり難しい方法であれば、それもハードコードとして扱ってください。
   
  +
* 1番目のカラムは [[Template:Pkg]] や [[Template:AUR]] といった内部記事へのリンクにしてください。
==サポートしているソフトウェア==
 
  +
  +
* 2番目のカラムはプロジェクトが使用するレガシーなファイルやディレクトリ用(1行にひとつ)で、もはや読み込まれない場合でも利用者が見つけることができるようにするためのものです。
  +
  +
* 3番目では、XDG Base Directory に切り替わったプロジェクトのコミットあるいはバージョンや公開討論を見つけて次の2つのカラムに含めるようにしてください(1行にふたつ)。
  +
  +
* 最後のカラムには適切な回避策または解決策を含めてください。どうかあなたの解決策が正しく機能することを確認してください。
  +
  +
===サポートしているソフトウェア===
   
 
{| class="wikitable sortable" style="width: 100%"
 
{| class="wikitable sortable" style="width: 100%"
73行目: 91行目:
 
! ノート
 
! ノート
 
|-
 
|-
  +
| {{AUR|aerc-git}}
| [https://github.com/Antimicro/antimicro/ antimicro]
 
  +
|
| {{ic|~/.antimicro}}
 
  +
|
  +
|
  +
|
  +
|-
  +
| [[ALSA]]
  +
| {{ic|~/.asoundrc}}
  +
| [https://github.com/alsa-project/alsa-lib/commit/577df365f66ee09579864fc771136e690927b3bf 577df36]
  +
[https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.3 1.2.3]
  +
| [https://github.com/alsa-project/alsa-lib/issues/49]
  +
| {{ic|XDG_CONFIG_HOME/alsa/asoundrc}}
  +
|-
  +
| [https://developer.android.com/studio/index.html Android Studio]
  +
| {{ic|~/.AndroidStudioX.X}}
  +
| [https://developer.android.com/studio/intro/studio-config#file_location Android Studio 4.1]
  +
|
  +
|
  +
XDG_CONFIG_HOME/Google/AndroidStudioX.X
  +
XDG_DATA_HOME/Google/AndroidStudioX.X
  +
XDG_CACHE_HOME/Google/AndroidStudioX.X
  +
[https://developer.android.com/studio/intro/studio-config#file_location Location overview by Google] doesn't mention XDG - paths could be hardcoded instead of using the proper variable, though that is unlikely as Intellij IDEA, which Android Studio is based on, implements it properly as well
  +
|-
  +
| {{AUR|antimicrox}}
  +
| {{ic|~/.antimicro}},{{ic|~/.antimicrox}}
 
| [https://github.com/Antimicro/antimicro/commit/edba864 edba864]
 
| [https://github.com/Antimicro/antimicro/commit/edba864 edba864]
 
| [https://github.com/Antimicro/antimicro/issues/5]
 
| [https://github.com/Antimicro/antimicro/issues/5]
  +
| Package moved to {{AUR|antimicrox}} - this entry needs to be migrated
|
 
 
|-
 
|-
 
| [[aria2]]
 
| [[aria2]]
84行目: 125行目:
 
| [https://github.com/tatsuhiro-t/aria2/issues/27]
 
| [https://github.com/tatsuhiro-t/aria2/issues/27]
 
|
 
|
  +
XDG_CONFIG_HOME/aria2/
  +
XDG_CACHE_HOME/aria2/
 
|-
 
|-
  +
| {{Pkg|asunder}}
| [[blender]]
 
  +
| {{ic|~/.asunder}} {{ic|~/.asunder_album_artist}} {{ic|~/.asunder_album_genre}} {{ic|~/.asunder_album_title}}
  +
| [https://littlesvr.ca/bugs/show_bug.cgi?id=31 2.9.0]{{Dead link|2021|05|17|status=SSL error}}
  +
| [https://littlesvr.ca/bugs/show_bug.cgi?id=52]{{Dead link|2021|05|17|status=SSL error}}
  +
| {{ic|~/.asunder}} として{{ic|XDG_CONFIG_HOME/asunder/asunder}} を、他の3つのファイルとして {{ic|XDG_CACHE_HOME/asunder/asunder_album_...}} を使います。移行後も古いパスは削除されないため、手動で削除する必要があります。
  +
  +
|-
  +
| {{Pkg|binwalk}}
  +
| {{ic|~/.binwalk}}
  +
| [https://github.com/ReFirmLabs/binwalk/commit/2051757 2051757]
  +
| [https://github.com/ReFirmLabs/binwalk/issues/216]
  +
| {{ic|XDG_CONFIG_HOME/binwalk}}
  +
|-
  +
| [[Blender]]
 
| {{ic|~/.blender}}
 
| {{ic|~/.blender}}
| [http://git.blender.org/gitweb/gitweb.cgi/blender.git/commit/4293f473 4293f473]
+
| [https://git.blender.org/gitweb/gitweb.cgi/blender.git/commit/4293f47 4293f47]
 
| [https://developer.blender.org/T28943]
 
| [https://developer.blender.org/T28943]
 
|
 
|
  +
|-
  +
| {{Pkg|byobu}}
  +
| {{ic|~/.byobu}}
  +
| [https://launchpad.net/byobu/+milestone/4.17 4.17]
  +
| [https://bugs.launchpad.net/byobu/+bug/553105]
  +
|
  +
{{ic|XDG_CONFIG_HOME/byobu}}
  +
  +
Legacy path takes precedence if present, or if {{ic|XDG_CONFIG_HOME}} is ''not'' set.
 
|-
 
|-
  +
| {{Pkg|calcurse}}
| [https://github.com/falconindy/burp burp]
 
  +
| {{ic|~/.calcurse}}
  +
| [https://github.com/lfos/calcurse/commit/04162d 04162d]
  +
| [https://github.com/lfos/calcurse/pull/254] [https://github.com/lfos/calcurse/issues/252]
  +
|
  +
XDG_CONFIG_HOME/calcurse
  +
XDG_DATA_HOME/calcurse
  +
  +
レガシーパス {{ic|~/.calcurse}} が存在する場合は、それが優先されます。
  +
|-
  +
| {{Pkg|calibre}}
  +
|
 
|
 
|
| [https://github.com/falconindy/burp/commit/f2388e9 f2388e9]
 
 
|
 
|
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|ccache}}
| [[chromium]]
 
| {{ic|~/.chromium}}
+
| {{ic|~/.ccache}}
  +
| [https://ccache.dev/releasenotes.html#_ccache_4_0 4.0]
| [https://src.chromium.org/viewvc/chrome?revision=23057&view=revision 23057]
 
  +
| [https://github.com/ccache/ccache/issues/191]
| [https://groups.google.com/forum/#!topic/chromium-dev/QekVQxF3nho] [https://code.google.com/p/chromium/issues/detail?id=16976]
 
 
|
 
|
  +
XDG_CACHE_HOME/ccache
  +
XDG_CONFIG_HOME/ccache/ccache.conf
 
|-
 
|-
| [http://citra-emu.org/ citra]
+
| {{AUR|citra-git}}
 
| {{ic|~/.citra-emu}}
 
| {{ic|~/.citra-emu}}
| [https://github.com/citra-emu/citra/commit/f7c3193fec f7c3193fec]
+
| [https://github.com/citra-emu/citra/commit/f7c3193 f7c3193]
 
| [https://github.com/citra-emu/citra/pull/575]
 
| [https://github.com/citra-emu/citra/pull/575]
 
|
 
|
 
|-
 
|-
  +
| [https://clangd.llvm.org/config.html clangd]
| [[AUR ヘルパー#ビルドと検索|cower]]
 
  +
| {{ic|~/.clangd}}
|
 
| [https://github.com/falconindy/cower/commit/8b70805 8b70805]
+
| [https://github.com/JohnHolmesII/llvm-project/commit/fdf7dcc fdf7dcc]
  +
| [https://github.com/clangd/clangd/issues/341]
|
 
  +
| {{ic|XDG_CONFIG_HOME/clangd/config.yml}}
  +
  +
{{ic|XDG_CACHE_HOME/clangd}}
  +
  +
Project specific configuration can be specified in {{ic|proj/.clangd}}.
  +
Configuration is combined when this is sensible. In case of conflicts, user config has the highest precedence, then inner project, then outer project.
  +
|-
  +
| [[Composer]]
  +
| {{ic|~/.composer}}
  +
| [https://github.com/composer/composer/releases/tag/1.0.0-beta1 1.0.0-beta1]
  +
| [https://github.com/composer/composer/pull/1407]
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|d-feet}}
| [https://wiki.gnome.org/Apps/DFeet d-feet]
 
 
| {{ic|~/.d-feet}}
 
| {{ic|~/.d-feet}}
| [https://git.gnome.org/browse/d-feet/commit/?id==7f6104b 7f6104b]
+
| [https://gitlab.gnome.org/GNOME/d-feet/commit/7f6104b 7f6104b]
 
|
 
|
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|dconf}}
| [https://wiki.gnome.org/dconf dconf]
 
 
|
 
|
 
|
 
|
127行目: 215行目:
 
|
 
|
 
|-
 
|-
| [[Dolphin エミュレータ|dolphin-emu]]
+
| [[Dolphin エミュレータ]]
 
| {{ic|~/.dolphin-emu}}
 
| {{ic|~/.dolphin-emu}}
 
| [https://github.com/dolphin-emu/dolphin/commit/a498c68 a498c68]
 
| [https://github.com/dolphin-emu/dolphin/commit/a498c68 a498c68]
133行目: 221行目:
 
|
 
|
 
|-
 
|-
  +
| {{AUR|dr14_tmeter}}
| [http://dr14tmeter.sourceforge.net dr14-meter]
 
|
+
|
| [https://github.com/simon-r/dr14_t.meter/commit/7e777ca645298ec898b3c76e3ec472ed6ed43e8a 7e777ca64]
+
| [https://github.com/simon-r/dr14_t.meter/commit/7e777ca 7e777ca]
 
| [https://github.com/simon-r/dr14_t.meter/pull/30]
 
| [https://github.com/simon-r/dr14_t.meter/pull/30]
  +
| {{ic|XDG_CONFIG_HOME/dr14tmeter/}}
| ハードコード: {{ic|$HOME/.config/dr14meter}}。
 
 
|-
 
|-
| [[dunst]]
+
| {{Pkg|dunst}}
 
|
 
|
| [https://github.com/knopwob/dunst/commit/78b6e2b1 78b6e2b1]
+
| [https://github.com/dunst-project/dunst/commit/78b6e2b 78b6e2b]
| [https://github.com/knopwob/dunst/issues/22]
+
| [https://github.com/dunst-project/dunst/issues/22]
 
|
 
|
 
|-
 
|-
150行目: 238行目:
 
|
 
|
 
|
 
|
  +
 
|-
 
|-
 
| [[fish]]
 
| [[fish]]
159行目: 248行目:
 
| [[fontconfig]]
 
| [[fontconfig]]
 
| {{ic|~/.fontconfig}} {{ic|~/.fonts}}
 
| {{ic|~/.fontconfig}} {{ic|~/.fonts}}
| [http://cgit.freedesktop.org/fontconfig/commit/?id=8c255fb1 8c255fb1]
+
| [https://cgit.freedesktop.org/fontconfig/commit/?id=8c255fb 8c255fb], [https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/437f03299bd1adc9673cd576072f1657be8fd4e0]
 
|
 
|
| フォントの保存には {{ic|"$XDG_DATA_HOME"/fonts}} を使ってください。
+
| フォントの保存には {{ic|XDG_DATA_HOME/fonts}} を使ってください。
 
|-
 
|-
| [http://fontforge.github.io/ fontforge]
+
| {{Pkg|fontforge}}
 
| {{ic|~/.FontForge}} {{ic|~/.PfaEdit}}
 
| {{ic|~/.FontForge}} {{ic|~/.PfaEdit}}
| [https://github.com/fontforge/fontforge/commit/e4c2cc7432 e4c2cc7432]
+
| [https://github.com/fontforge/fontforge/commit/e4c2cc7 e4c2cc7]
  +
|
| [https://github.com/fontforge/fontforge/issues/847] [https://github.com/fontforge/fontforge/issues/991]
 
  +
[https://github.com/fontforge/fontforge/issues/847]
  +
[https://github.com/fontforge/fontforge/issues/991]
 
|
 
|
 
|-
 
|-
| [http://www.freerdp.com/ freerdp]
+
| {{Pkg|freerdp}}
 
| {{ic|~/.freerdp}}
 
| {{ic|~/.freerdp}}
| [https://github.com/FreeRDP/FreeRDP/commit/edf6e7258d edf6e7258d]
+
| [https://github.com/FreeRDP/FreeRDP/commit/edf6e72 edf6e72]
 
|
 
|
 
|
 
|
 
|-
 
|-
  +
| [[Emacs]]
| [https://projects.gnome.org/gconf gconf]
 
  +
| {{ic|~/.emacs}} {{ic|~/.emacs.d/init.el}}
  +
| [https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4118297ae2fab4886b20d193ba511a229637aea3]
  +
[https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html#Releases 27.1]
  +
|
  +
| {{ic|XDG_CONFIG_HOME/emacs/init.el}}
  +
レガシーパスは XDG パスよりも優先されます。 Emacsは {{ic|XDG_CONFIG_HOME/emacs/}} を作成しません。
  +
26.3 またはそれ以前での回避策: {{ic|HOME}}を設定することは可能ですが、予期せぬ副作用があります。
  +
|-
  +
| [[Gajim]]
  +
| {{ic|~/.gajim}}
  +
| [https://dev.gajim.org/gajim/gajim/commit/3e777ea 3e777ea]
  +
| [https://dev.gajim.org/gajim/gajim/issues/2149]
  +
|
  +
|-
  +
| {{AUR|gconf}}
 
| {{ic|~/.gconf}}
 
| {{ic|~/.gconf}}
| [https://git.gnome.org/browse/gconf/commit/?id=fc28caa7 fc28caa7]
+
| [https://gitlab.gnome.org/Archive/gconf/commit/fc28caa fc28caa]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=674803]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=674803]
 
|
 
|
 
|-
 
|-
| [[git]]
+
| [[GIMP]]
| {{ic|~/.gitconfig}}
+
| {{ic|~/.gimp-x.y}} {{ic|~/.thumbnails}}
| [https://github.com/git/git/commit/0d94427e 0d94427e]
 
 
|
 
|
  +
[https://gitlab.gnome.org/GNOME/gimp/commit/60e0cfe 60e0cfe]
  +
[https://gitlab.gnome.org/GNOME/gimp/commit/483505f 483505f]
  +
|
  +
[https://bugzilla.gnome.org/show_bug.cgi?id=166643]
  +
[https://bugzilla.gnome.org/show_bug.cgi?id=646644]
 
|
 
|
 
|-
 
|-
| [[GStreamer|gstreamer-1.0]]
+
| [[Git]]
  +
| {{ic|~/.gitconfig}}
  +
| [https://github.com/git/git/commit/0d94427 0d94427]
 
|
 
|
  +
| {{ic|XDG_CONFIG_HOME/git/config}}
| [http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=4e36f93924cf 4e36f93924cf]
 
  +
|-
  +
| [https://github.com/google/gops gops]
  +
|
  +
| [https://github.com/google/gops/commit/71c4255 71c4255]
  +
|
  +
|
  +
|-
  +
| [[GStreamer]]
  +
| {{ic|~/.gstreamer-0.10}}
  +
| [https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=4e36f93 4e36f93]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=518597]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=518597]
 
|
 
|
 
|-
 
|-
| [[GTK+|gtk3]]
+
| [[Godot Engine]]
  +
| {{ic|~/.godot}}
  +
| [https://github.com/godotengine/godot/pull/12988/commits/73049d115e190b8c356f0689a9079c3c73cc5765 73049d1]
  +
[https://github.com/godotengine/godot/releases/tag/3.0-stable 3.0-stable]
  +
| [https://github.com/godotengine/godot/issues/3513]
  +
|
  +
|-
  +
| [[GTK]] 3
 
|
 
|
 
|
 
|
199行目: 328行目:
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|helm}}
| [[アプリケーション一覧/ユーティリティ#システム監視|htop]]
 
  +
| {{ic|~/.helm}}
  +
| [https://github.com/helm/helm/releases/tag/v3.0.0 3.0.0]
  +
|
  +
|
  +
|-
  +
| {{Pkg|htop}}
 
| {{ic|~/.htoprc}}
 
| {{ic|~/.htoprc}}
| [https://github.com/hishamhm/htop/commit/93233a67 93233a67]
+
| [https://github.com/hishamhm/htop/commit/93233a6 93233a6]
 
|
 
|
  +
|
  +
|-
  +
| {{Pkg|httpie}}
  +
| {{ic|~/.httpie}}
  +
| [https://github.com/httpie/httpie/commit/5af0874ed302e9ef79cec97836529ccf353e53f7 5af0874]
  +
| [https://github.com/httpie/httpie/issues/145]
 
|
 
|
 
|-
 
|-
 
| [[i3]]
 
| [[i3]]
 
| {{ic|~/.i3}}
 
| {{ic|~/.i3}}
| [http://code.stapelberg.de/git/i3/commit/?id=7c130fb54 7c130fb54]
+
| [http://code.stapelberg.de/git/i3/commit/?id=7c130fb 7c130fb]
 
|
 
|
 
|
 
|
 
|-
 
|-
| [[i3|i3status]]
+
| {{Pkg|i3status}}
 
| {{ic|~/.i3status.conf}}
 
| {{ic|~/.i3status.conf}}
| [http://code.stapelberg.de/git/i3status/commit/?id=c3f7fc4994 c3f7fc4994]
+
| [http://code.stapelberg.de/git/i3status/commit/?id=c3f7fc4 c3f7fc4]
 
|
 
|
 
|
 
|
 
|-
 
|-
| [http://www.imagemagick.org/script/index.php imagemagick]
+
| {{Pkg|imagemagick}}
 
|
 
|
 
|
 
|
223行目: 364行目:
 
|
 
|
 
|-
 
|-
| [[inkscape]]
+
| [[Inkscape]]
 
| {{ic|~/.inkscape}}
 
| {{ic|~/.inkscape}}
| [http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Preferences 0.47]
+
| [https://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Preferences 0.47]
 
| [https://bugs.launchpad.net/inkscape/+bug/199720]
 
| [https://bugs.launchpad.net/inkscape/+bug/199720]
 
|
 
|
 
|-
 
|-
| [https://www.ctan.org/pkg/latexmk?lang=en latexmk]
+
| [https://iwd.wiki.kernel.org/ iwd] / iwctl
  +
| {{ic|~/.iwctl_history}}
  +
| [https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=d3e00d7f d3e00d7f]
  +
|
  +
|
  +
|-
  +
| {{Pkg|intellij-idea-community-edition}} / {{AUR|intellij-idea-ultimate-edition}}
  +
| {{ic|~/.IntelliJIdeaXXXX.X}}
  +
| [https://confluence.jetbrains.com/display/IDEADEV/IntelliJ%2BIDEA%2B2020.1%2B%28201.6668.121%2Bbuild%29%2BRelease%2BNotes 2020.1]
  +
| [https://youtrack.jetbrains.com/issue/IDEA-22407]
  +
|
  +
XDG_CONFIG_HOME/JetBrains/IntelliJIdeaXXXX.X
  +
XDG_DATA_HOME/JetBrains/IntelliJIdeaXXXX.X
  +
XDG_CACHE_HOME/JetBrains/IntelliJIdeaXXXX.X
  +
|-
  +
| {{Pkg|josm}}
  +
| {{ic|~/.josm}}
  +
| [https://josm.openstreetmap.de/changeset/11162/josm 11162]
  +
| [https://josm.openstreetmap.de/ticket/6664]
  +
|
  +
|-
  +
| [[Kakoune]]
  +
|
  +
|
  +
|
  +
|
  +
|-
  +
| [[Core utilities|less]]
  +
| {{ic|~/.lesshst}}, {{ic|~/.lesskey}}
  +
| [https://www.greenwoodsoftware.com/less/news.590.html 590]
  +
| [https://github.com/gwsw/less/issues/153]
  +
| 環境変数 {{ic|XDG_CONFIG_HOME}} と {{ic|XDG_DATA_HOME}} の設定は '''必須''' です。
  +
|-
  +
| latexmk (in {{Pkg|texlive-core}})
 
| {{ic|~/.latexmkrc}}
 
| {{ic|~/.latexmkrc}}
 
|
 
|
 
|
 
|
 
|
 
|
  +
{{ic|XDG_CONFIG_HOME/latexmk/latexmkrc}}
 
|-
 
|-
  +
| {{Pkg|lftp}}
| [[アプリケーション一覧/インターネット#FTP クライアント|lftp]]
 
 
| {{ic|~/.lftp}}
 
| {{ic|~/.lftp}}
 
| [https://github.com/lavv17/lftp/commit/21dc400 21dc400]
 
| [https://github.com/lavv17/lftp/commit/21dc400 21dc400]
241行目: 416行目:
 
|
 
|
 
|-
 
|-
| [https://github.com/Sude-/lgogdownloader/ lgogdownloader]
+
| {{AUR|lgogdownloader}}
 
| {{ic|~/.gogdownloader}}
 
| {{ic|~/.gogdownloader}}
| [https://github.com/Sude-/lgogdownloader/commit/d430af63d000 d430af63d000]
+
| [https://github.com/Sude-/lgogdownloader/commit/d430af6 d430af6]
 
| [https://github.com/Sude-/lgogdownloader/issues/4]
 
| [https://github.com/Sude-/lgogdownloader/issues/4]
 
|
 
|
 
|-
 
|-
 
| [[LibreOffice]]
 
| [[LibreOffice]]
|
+
|
  +
|
| [https://cgit.freedesktop.org/libreoffice/ure/commit/?id=a6f56f70a4930d3f71bd9c9b90fdd0ba20e4da5f a6f56f70] [https://cgit.freedesktop.org/libreoffice/bootstrap/commit/?id=25bd2eec77ed774a37d1cddd0d72312e23d5e9fd 25bd2eec]
 
  +
[https://cgit.freedesktop.org/libreoffice/ure/commit/?id=a6f56f7 a6f56f7]
  +
[https://cgit.freedesktop.org/libreoffice/bootstrap/commit/?id=25bd2ee 25bd2ee]
 
| [https://bugs.documentfoundation.org/show_bug.cgi?id=32263]
 
| [https://bugs.documentfoundation.org/show_bug.cgi?id=32263]
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|luarocks}}
| [[livestreamer]]
 
  +
| {{ic|~/.luarocks}}
  +
| [https://github.com/luarocks/luarocks/pull/1298/commits/cd16cdd5f889024f28cc384e3d721a4f4a3261d3 cd16cdd]
  +
| [https://github.com/luarocks/luarocks/pull/1298]
  +
|
  +
XDG_CONFIG_HOME/luarocks
  +
XDG_CACHE_HOME/luarocks
  +
  +
レガシーパス {{ic|~/.luarocks}} が存在する場合は、それが優先されます。
  +
|-
  +
| [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS NSS]
  +
| {{ic|~/.pki}}
  +
| [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.42_release_notes 3.42]
  +
| [https://bugzilla.mozilla.org/show_bug.cgi?id=818686]
  +
|
  +
|-
  +
| [[Streamlink]]
 
| {{ic|~/.livestreamerrc}}
 
| {{ic|~/.livestreamerrc}}
| [https://github.com/chrippa/livestreamer/commit/ea805917 ea805917]
+
| [https://github.com/chrippa/livestreamer/commit/ea80591 ea80591]
 
| [https://github.com/chrippa/livestreamer/pull/106]
 
| [https://github.com/chrippa/livestreamer/pull/106]
 
|
 
|
261行目: 454行目:
 
| [[llpp]]
 
| [[llpp]]
 
|
 
|
| [http://repo.or.cz/w/llpp.git/commit/3ab86f0cb 3ab86f0cb]
+
| [https://repo.or.cz/w/llpp.git/commit/3ab86f0 3ab86f0]
 
|
 
|
| 現在 llpp はディレクトリを作成せず {{ic|XDG_CONFIG_HOME}} の直下に設定を保存します。
+
| 現在 ''llpp'' はディレクトリを作成する代わりに {{ic|XDG_CONFIG_HOME}} の直下に設定を保存します。
 
|-
 
|-
 
| [[mc]]
 
| [[mc]]
 
| {{ic|~/.mc}}
 
| {{ic|~/.mc}}
  +
|
| [https://www.midnight-commander.org/changeset/1b9957058 1b9957058] [https://www.midnight-commander.org/changeset/0b7115647 0b7115647] [https://www.midnight-commander.org/changeset/ce401d797 ce401d797]
 
  +
[https://github.com/MidnightCommander/mc/commit/1b99570 1b99570]
  +
[https://github.com/MidnightCommander/mc/commit/0b71156 0b71156]
  +
[https://github.com/MidnightCommander/mc/commit/ce401d7 ce401d7]
 
| [https://www.midnight-commander.org/ticket/1851]
 
| [https://www.midnight-commander.org/ticket/1851]
 
|
 
|
 
|-
 
|-
  +
| [[Mercurial]]
| [http://milkytracker.org/ milkytracker]
 
  +
| {{ic|~/.hgrc}}
  +
|
  +
[https://www.mercurial-scm.org/repo/hg/rev/3540200 3540200]
  +
[https://www.mercurial-scm.org/wiki/Release4.2 4.2]
  +
|
  +
| {{ic|XDG_CONFIG_HOME/hg/hgrc}}.
  +
|-
  +
| [[msmtp]]
  +
| {{ic|~/.msmtprc}}
  +
|
  +
[https://github.com/marlam/msmtp-mirror/commit/af2f409 af2f409]
  +
v1.6.7+
  +
|
  +
| {{ic| XDG_CONFIG_HOME/msmtp/config}}.
  +
|-
  +
| {{Pkg|mesa}}
  +
|
  +
| [https://cgit.freedesktop.org/mesa/mesa/commit/?id=87ab26b 87ab26b]
  +
|
  +
| {{ic|XDG_CACHE_HOME/mesa}}
  +
|-
  +
| {{Pkg|milkytracker}}
 
| {{ic|~/.milkytracker_config}}
 
| {{ic|~/.milkytracker_config}}
| [https://github.com/Deltafire/MilkyTracker/commit/eb487c55 eb487c55]
+
| [https://github.com/Deltafire/MilkyTracker/commit/eb487c5 eb487c5]
 
| [https://github.com/Deltafire/MilkyTracker/issues/12]
 
| [https://github.com/Deltafire/MilkyTracker/issues/12]
 
|
 
|
 
|-
 
|-
  +
| [[mozc]]
| [https://github.com/mintty/mintty mintty]
 
| {{ic|~/.minttyrc}}
+
| {{ic|~/.mozc}}
| [https://github.com/mintty/mintty/commit/cff1bd8f cff1bd8f] v2.3.7
+
| [https://github.com/google/mozc/commit/91cc1e19ef34aeb12888b697fefa52907f1a834d 91cc1e1]
| [https://github.com/mintty/mintty/issues/525]
+
| [https://github.com/google/mozc/issues/474]
  +
|
 
|-
 
|-
 
| [[mpd]]
 
| [[mpd]]
 
| {{ic|~/.mpdconf}}
 
| {{ic|~/.mpdconf}}
| [http://git.musicpd.org/cgit/master/mpd.git/commit/?id=87b73284 87b73284]
+
| [https://github.com/MusicPlayerDaemon/MPD/commit/87b7328 87b7328]
 
|
 
|
 
|
 
|
290行目: 509行目:
 
| [[mpv]]
 
| [[mpv]]
 
| {{ic|~/.mpv}}
 
| {{ic|~/.mpv}}
| [https://github.com/mpv-player/mpv/commit/cb250d490 cb250d490]
+
| [https://github.com/mpv-player/mpv/commit/cb250d4 cb250d4]
 
| [https://github.com/mpv-player/mpv/pull/864]
 
| [https://github.com/mpv-player/mpv/pull/864]
 
|
 
|
296行目: 515行目:
 
| [[mutt]]
 
| [[mutt]]
 
| {{ic|~/.mutt}}
 
| {{ic|~/.mutt}}
| [https://dev.mutt.org/trac/changeset/42fee7585f 42fee7585f]
+
| [https://gitlab.com/muttmua/mutt/commit/b17cd67 b17cd67]
  +
| [https://gitlab.com/muttmua/trac-tickets/raw/master/tickets/closed/3207-Conform_to_XDG_Base_Directory_Specification.txt]
| [http://dev.mutt.org/trac/ticket/3207]
 
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|mypaint}}
| [[アプリケーション一覧/マルチメディア#ラスタ画像|mypaint]]
 
 
| {{ic|~/.mypaint}}
 
| {{ic|~/.mypaint}}
| [https://github.com/mypaint/mypaint/commit/cf723b74cd cf723b74cd]
+
| [https://github.com/mypaint/mypaint/commit/cf723b7 cf723b7]
 
|
 
|
  +
|
  +
|-
  +
| [[nano]]
  +
| {{ic|~/.nano/}} {{ic|~/.nanorc}}
  +
| [https://git.savannah.gnu.org/cgit/nano.git/commit/?id=c16e79b c16e79b]
  +
| [https://savannah.gnu.org/patch/?8523]
 
|
 
|
 
|-
 
|-
 
| [[ncmpcpp]]
 
| [[ncmpcpp]]
 
| {{ic|~/.ncmpcpp}}
 
| {{ic|~/.ncmpcpp}}
  +
|
| [https://github.com/arybczak/ncmpcpp/commit/38d9f811de888e512b0115f551a9679eab4607f9 38d9f811] [https://github.com/arybczak/ncmpcpp/commit/27cd86e0638bba3a7a78e44ac40dc98a58d1d90d 27cd86e0]
 
| [https://github.com/arybczak/ncmpcpp/issues/79] [https://github.com/arybczak/ncmpcpp/issues/110]
+
[https://github.com/arybczak/ncmpcpp/commit/38d9f81 38d9f81]
  +
[https://github.com/arybczak/ncmpcpp/commit/27cd86e 27cd86e]
  +
|
  +
[https://github.com/arybczak/ncmpcpp/issues/79]
  +
[https://github.com/arybczak/ncmpcpp/issues/110]
 
| {{ic|ncmpcpp_directory}} を設定しないと {{ic|error.log}} ファイルが {{ic|~/.ncmpcpp}} に保存されます。
 
| {{ic|ncmpcpp_directory}} を設定しないと {{ic|error.log}} ファイルが {{ic|~/.ncmpcpp}} に保存されます。
 
|-
 
|-
| [[neovim]]
+
| [[Neovim]]
 
| {{ic|~/.nvim}} {{ic|~/.nvimlog}} {{ic|~/.nviminfo}}
 
| {{ic|~/.nvim}} {{ic|~/.nvimlog}} {{ic|~/.nviminfo}}
| [https://github.com/neovim/neovim/commit/1ca5646bb 1ca5646bb]
+
| [https://github.com/neovim/neovim/commit/1ca5646 1ca5646]
  +
|
| [https://github.com/neovim/neovim/issues/78] [https://github.com/neovim/neovim/pull/3198]
 
  +
[https://github.com/neovim/neovim/issues/78]
  +
[https://github.com/neovim/neovim/pull/3198]
  +
|
  +
|-
  +
| [http://0ldsk00l.ca/nestopia/ Nestopia UE]
  +
| {{ic|~/.nestopia/}}
  +
| [https://github.com/0ldsk00l/nestopia/commit/d78381198a26a10333128e9bf28bc530a610c008 610c008] [https://github.com/0ldsk00l/nestopia/releases/tag/1.51.0 1.51.0]
  +
| [https://github.com/0ldsk00l/nestopia/issues/343]
 
|
 
|
 
|-
 
|-
 
| [[newsbeuter]]
 
| [[newsbeuter]]
 
| {{ic|~/.newsbeuter}}
 
| {{ic|~/.newsbeuter}}
| [https://github.com/akrennmair/newsbeuter/commit/3c57824c5 3c57824c5]
+
| [https://github.com/akrennmair/newsbeuter/commit/3c57824 3c57824]
 
| [https://github.com/akrennmair/newsbeuter/pull/39]
 
| [https://github.com/akrennmair/newsbeuter/pull/39]
| {{ic|"$XDG_DATA_HOME"/newsbeuter}} と {{ic|"$XDG_CONFIG_HOME"/newsbeuter}} を作成する必要があります [http://newsbeuter.org/doc/newsbeuter.html#_xdg_base_directory_support]
+
| 両方のディレクトリを作成する必要があります [http://newsbeuter.org/doc/newsbeuter.html#_xdg_base_directory_support]:
  +
  +
{{ic|1=mkdir -p "$XDG_DATA_HOME"/newsbeuter "$XDG_CONFIG_HOME"/newsbeuter}}
  +
|-
  +
| [https://github.com/nodejs/node-gyp node-gyp]
  +
| {{ic|~/.node-gyp}}
  +
| [https://github.com/nodejs/node-gyp/commit/2b5ce52a 2b5ce52a]
  +
| [https://github.com/nodejs/node-gyp/pull/1570]
  +
| Only available on master as of 2018-12-04.
  +
|-
  +
| {{AUR|np2kai-git}}
  +
| {{ic|~/.config/np2kai}} {{ic|~/.config/xnp2kai}}
  +
| [https://github.com/AZO234/NP2kai/commit/56a1cc2 56a1cc2]
  +
| [https://github.com/AZO234/NP2kai/pull/50]
  +
|
  +
|-
  +
| {{AUR|nteract-bin}}
  +
|
  +
| [https://github.com/nteract/nteract/commit/4593e72 4593e72]
  +
| [https://github.com/nteract/nteract/issues/180] [https://github.com/nteract/nteract/pull/3870]
  +
| [https://github.com/nteract/nteract/issues/4517 does not recognize workarounds for ipython/jupyter]
 
|-
 
|-
 
| [[OfflineIMAP]]
 
| [[OfflineIMAP]]
330行目: 587行目:
 
|
 
|
 
|-
 
|-
  +
| {{AUR|opentyrian}}
| [https://bitbucket.org/opentyrian/opentyrian/wiki/Home opentyrian]
 
 
| {{ic|~/.opentyrian}}
 
| {{ic|~/.opentyrian}}
| [https://bitbucket.org/opentyrian/opentyrian/commits/8d45ff2 8d45ff2]
+
| [https://github.com/opentyrian/opentyrian/commit/39559c3 39559c3]
 
| [https://web.archive.org/web/20140815181350/http://code.google.com/p/opentyrian/issues/detail?id=125]
 
| [https://web.archive.org/web/20140815181350/http://code.google.com/p/opentyrian/issues/detail?id=125]
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|pandoc}}
| [http://pcsx2.net/ pcsx2]
 
  +
| {{ic|~/.pandoc/}}
  +
| [https://github.com/jgm/pandoc/commit/0bed0ab5a308f5e72a01fa9bee76488556288862 0bed0ab]
  +
| [https://github.com/jgm/pandoc/issues/3582]
  +
|
  +
|-
  +
| [[PCManFM]]
  +
| {{ic|~/.thumbnails}}
  +
| [https://github.com/lxde/libfm/issues/57 1.3.2]
  +
|
  +
|
  +
|-
  +
| {{Pkg|pcsx2}}
 
| {{ic|~/.pcsx2}}
 
| {{ic|~/.pcsx2}}
  +
|
| [https://github.com/PCSX2/pcsx2/commit/87f1e8f77 87f1e8f77] [https://github.com/PCSX2/pcsx2/commit/a9020c606 a9020c606] [https://github.com/PCSX2/pcsx2/commit/3b22f0fb0 3b22f0fb0] [https://github.com/PCSX2/pcsx2/commit/0a012aec2 0a012aec2]
 
  +
[https://github.com/PCSX2/pcsx2/commit/87f1e8f 87f1e8f]
  +
[https://github.com/PCSX2/pcsx2/commit/a9020c6 a9020c6]
  +
[https://github.com/PCSX2/pcsx2/commit/3b22f0f 3b22f0f]
  +
[https://github.com/PCSX2/pcsx2/commit/0a012ae 0a012ae]
 
| [https://github.com/PCSX2/pcsx2/issues/352] [https://github.com/PCSX2/pcsx2/issues/381]
 
| [https://github.com/PCSX2/pcsx2/issues/352] [https://github.com/PCSX2/pcsx2/issues/381]
 
|
 
|
 
|-
 
|-
| [http://www.ppsspp.org/ ppsspp]
+
| [https://pry.github.io/ Pry]
| {{ic|~/.ppsspp}}
+
| {{ic|~/.pryrc}} {{ic|~/.pry_history}}
  +
|
| [https://github.com/hrydgard/ppsspp/commit/132fe47c7d 132fe47c7d]
 
| [https://github.com/hrydgard/ppsspp/issues/4623]
+
[https://github.com/pry/pry/commit/a0be0cc7b2070edff61c0c7f10fa37fce9b730bd a0be0cc7]
  +
[https://github.com/pry/pry/commit/15e1fc929ed84c161abc5afc9be73488a41df397 15e1fc92]
  +
[https://github.com/pry/pry/commit/e9d1be0e17b294318dbb2f70f74a50486cfa044c e9d1be0e]
  +
| [https://github.com/pry/pry/issues/1316]
 
|
 
|
 
|-
 
|-
| {{pkg|procps-ng}}
+
| {{Pkg|python-pip}}
| {{ic|~/.toprc}}
+
| {{ic|~/.pip}}
  +
| [https://github.com/pypa/pip/blob/548a9136525815dff41acd845c558a0b36eb1c5f/NEWS.rst#60-2014-12-22 6.0]
| [https://gitlab.com/procps-ng/procps/commit/af53e170b9 af53e170b9]
 
  +
| [https://github.com/pypa/pip/issues/1733]
| [https://gitlab.com/procps-ng/procps/merge_requests/38] [https://bugzilla.redhat.com/show_bug.cgi?id=1155265]
 
 
|
 
|
 
|-
 
|-
  +
| {{AUR|powershell}}
| [https://github.com/Cloudef/orbment/ orbment]
 
 
|
 
|
  +
| [https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-core-60#filesystem 6.0]
 
|
 
|
 
|
 
|
  +
|-
  +
| {{Pkg|ppsspp}}
  +
| {{ic|~/.ppsspp}}
  +
| [https://github.com/hrydgard/ppsspp/commit/132fe47 132fe47]
  +
| [https://github.com/hrydgard/ppsspp/issues/4623]
  +
|
  +
|-
  +
| {{Pkg|procps-ng}}
  +
| {{ic|~/.toprc}}
  +
| [https://gitlab.com/procps-ng/procps/commit/af53e17 af53e17]
  +
|
  +
[https://gitlab.com/procps-ng/procps/merge_requests/38]
  +
[https://bugzilla.redhat.com/show_bug.cgi?id=1155265]
 
|
 
|
 
|-
 
|-
 
| [[pacman]]
 
| [[pacman]]
 
| {{ic|~/.makepkg.conf}}
 
| {{ic|~/.makepkg.conf}}
| [https://projects.archlinux.org/pacman.git/commit/?id=80eca94c8 80eca94c8]
+
| [https://gitlab.archlinux.org/pacman/pacman/commit/80eca94 80eca94]
 
| [https://mailman.archlinux.org/pipermail/pacman-dev/2014-July/019178.html]
 
| [https://mailman.archlinux.org/pipermail/pacman-dev/2014-July/019178.html]
  +
|
  +
|-
  +
| {{AUR|panda3d}}
  +
| {{ic|~/.panda3d}}
  +
| [https://github.com/panda3d/panda3d/commit/2b537d2 2b537d2]
  +
|
  +
|
  +
|-
  +
| {{AUR|poezio}}
  +
|
  +
|
  +
|
 
|
 
|
 
|-
 
|-
 
| [[PulseAudio]]
 
| [[PulseAudio]]
 
| {{ic|~/.pulse}} {{ic|~/.pulse-cookie}}
 
| {{ic|~/.pulse}} {{ic|~/.pulse-cookie}}
  +
|
| [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=59a8618dcd9 59a8618dcd9] [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=87ae8307057 87ae8307057] [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=9ab510a6921 9ab510a6921] [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=4c195bcc9d5 4c195bcc9d5]
 
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=59a8618 59a8618]
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=87ae830 87ae830]
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=9ab510a 9ab510a]
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=4c195bc 4c195bc]
 
| [https://bugzilla.redhat.com/show_bug.cgi?id=845607]
 
| [https://bugzilla.redhat.com/show_bug.cgi?id=845607]
 
|
 
|
 
|-
 
|-
| [http://pyroom.org/index.html pyroom]
+
| {{AUR|pyroom}}
 
|
 
|
 
|
 
|
 
|
 
|
  +
|
  +
|-
  +
| {{Pkg|quodlibet}}
  +
| {{ic|~/.quodlibet}}
  +
| 3.10.0
  +
| [https://github.com/quodlibet/quodlibet/issues/138]
 
|
 
|
 
|-
 
|-
386行目: 698行目:
 
| [[qtile]]
 
| [[qtile]]
 
|
 
|
  +
|
| [https://github.com/qtile/qtile/commit/fd8686e5b4e4fa20bb82039ed8a83768434585ec fd8686e] [https://github.com/qtile/qtile/commit/66d704bce83f631b3326f10a1bc9fc22f8e6a6fd 66d704b] [https://github.com/qtile/qtile/commit/51cff019917b87bda696b381493f969ceb6cc350 51cff01]
 
  +
[https://github.com/qtile/qtile/commit/fd8686e fd8686e]
  +
[https://github.com/qtile/qtile/commit/66d704b 66d704b]
  +
[https://github.com/qtile/qtile/commit/51cff01 51cff01]
 
| [https://github.com/qtile/qtile/pull/835]
 
| [https://github.com/qtile/qtile/pull/835]
| 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
+
| 非準拠のパスにファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
 
|-
 
|-
  +
| {{Pkg|rclone}}
| [[RetroArch|retroarch]]
 
  +
| {{ic|~/.rclone.conf}}
  +
| [https://github.com/ncw/rclone/commit/9d36258 9d36258]
  +
| [https://github.com/ncw/rclone/issues/868]
  +
|
  +
|-
  +
| {{Pkg|retroarch}}
 
|
 
|
 
|
 
|
396行目: 717行目:
 
|
 
|
 
|-
 
|-
  +
| {{AUR|rr}}
| [http://rr-project.org/ rr]
 
 
| {{ic|~/.rr}}
 
| {{ic|~/.rr}}
| [https://github.com/mozilla/rr/commit/02e7d41e 02e7d41e]
+
| [https://github.com/mozilla/rr/commit/02e7d41 02e7d41]
 
| [https://github.com/mozilla/rr/issues/1455]
 
| [https://github.com/mozilla/rr/issues/1455]
  +
|
  +
|-
  +
| [https://rspec.info RSpec]
  +
| {{ic|~/.rspec}}
  +
| [https://github.com/rspec/rspec-core/commit/5e395e2016f1da19475e6db2817eb26dae828c4c 5e395e2]
  +
| [https://github.com/rspec/rspec-core/issues/1773]
  +
|
  +
|-
  +
| [[rTorrent]]
  +
| {{ic|~/.rtorrent.rc}}
  +
| [https://github.com/rakshasa/rtorrent/commit/6a8d332 6a8d332]
  +
|
  +
|
  +
|-
  +
| [https://www.rubocop.org RuboCop]
  +
| {{ic|~/.rubocop.yml}}
  +
| [https://github.com/rubocop-hq/rubocop/commit/6fe5956c177ca369cfaa70bdf748b70020a56bf4 6fe5956]
  +
| [https://github.com/rubocop-hq/rubocop/issues/6662]
  +
|
  +
|-
  +
| {{Pkg|scummvm}}
  +
| {{ic|~/.scummvmrc}} {{ic|~/.scummvm/}}
  +
| [https://github.com/scummvm/scummvm/commit/7d014be0a2b796175a7ce40a9315603f711b2a30 7d014be]
  +
| [https://github.com/scummvm/scummvm/pull/656]
  +
| It is required to migrate data by hand.
  +
{{ic|mkdir "$XDG_CONFIG_HOME"/scummvm/ "$XDG_DATA_HOME"/scummvm}}
  +
{{ic|mv ~/.scummvmrc "$XDG_CONFIG_HOME"/scummvm/scummvm.ini}}
  +
{{ic|mv ~/.scummvm "$XDG_DATA_HOME"/scummvm/saves}}
  +
|-
  +
| {{Pkg|sdcv}}
  +
| {{ic|~/.stardict/}} {{ic|~/.sdcv_history}}
  +
| [https://github.com/Dushistov/sdcv/commit/958ec35 958ec35]
  +
| [https://github.com/Dushistov/sdcv/issues/51]
  +
|
  +
|-
  +
| {{AUR|skypeforlinux-stable-bin}}
  +
| {{ic|~/.Skype}}
  +
| 8.0
  +
|
  +
|
  +
|-
  +
| {{Pkg|snes9x}}
  +
| {{ic|~/.snes9x}}
  +
| [https://github.com/snes9xgit/snes9x/commit/93b5f11 93b5f11]
  +
| [https://github.com/snes9xgit/snes9x/issues/194]
  +
| デフォルトでは、設定ファイルはユーザーが自分で(GUIや手動で)入力することを意図して空になっています。
  +
|-
  +
| [[spectrwm]]
  +
| {{ic|~/.spectrwm}}
  +
| [https://github.com/conformal/spectrwm/commit/a30bbb a30bbb]
  +
| [https://github.com/conformal/spectrwm/pull/153]
 
|
 
|
 
|-
 
|-
406行目: 778行目:
 
|
 
|
 
|
 
|
| キャッシュは {{ic|$XDG_CACHE_HOME/sublime-text-3}} ではなく {{ic|$XDG_CONFIG_HOME/sublime-text-3/Cache}} に保存されます。
+
| キャッシュは {{ic|XDG_CACHE_HOME/sublime-text-3}} ではなく {{ic|XDG_CONFIG_HOME/sublime-text-3/Cache}} に保存されます。
 
|-
 
|-
 
| [[surfraw]]
 
| [[surfraw]]
 
| {{ic|~/.surfraw.conf}} {{ic|~/.surfraw.bookmarks}}
 
| {{ic|~/.surfraw.conf}} {{ic|~/.surfraw.bookmarks}}
  +
|
| [http://anonscm.debian.org/cgit/surfraw/surfraw.git/commit/?id=3e4591d8 3e4591d8] [http://anonscm.debian.org/cgit/surfraw/surfraw.git/commit/?id=bd8c427d bd8c427d] [http://anonscm.debian.org/cgit/surfraw/surfraw.git/commit/?id=f57fc718 f57fc718]
 
  +
[https://gitlab.com/surfraw/Surfraw/commit/3e4591d 3e4591d]
  +
[https://gitlab.com/surfraw/Surfraw/commit/bd8c427 bd8c427]
  +
[https://gitlab.com/surfraw/Surfraw/commit/f57fc71 f57fc71]
 
|
 
|
 
|
 
|
416行目: 791行目:
 
| [[sway]]
 
| [[sway]]
 
| {{ic|~/.sway/config}}
 
| {{ic|~/.sway/config}}
| [https://github.com/SirCmpwn/sway/commit/614393c09 614393c09]
+
| [https://github.com/SirCmpwn/sway/commit/614393c 614393c]
| [https://github.com/SirCmpwn/sway/issues/5]
+
| [https://github.com/SirCmpwn/sway/issues/5]
 
|
 
|
 
|-
 
|-
423行目: 798行目:
 
|
 
|
 
|
 
|
  +
|
  +
|
  +
|-
  +
| {{Pkg|teeworlds}}
  +
| {{ic|~/.teeworlds}}
  +
| [https://github.com/teeworlds/teeworlds/commit/d2e39d2f50684151490da446156622e69dd84a48]
 
|
 
|
 
|
 
|
432行目: 813行目:
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|tig}}
| [[transmission]]
 
  +
| {{ic|~/.tigrc}}, {{ic|~/.tig_history}}
  +
| [https://github.com/jonas/tig/blob/master/NEWS.adoc#tig-22 2.2]
  +
| [https://github.com/jonas/tig/issues/513]
  +
| {{ic|~/.local/share/tig}}ディレクトリが存在しなければならず、そうでなければ{{ic|~/.tig_history}}に書き込まれます。
  +
|-
  +
| [[tmux]]
  +
| {{ic|~/.tmux.conf}}
  +
| [https://raw.githubusercontent.com/tmux/tmux/3.1/CHANGES 3.1]
  +
| [https://github.com/tmux/tmux/issues/142]
  +
| 3.1 で {{ic|~/.config/tmux/tmux.conf}} が導入され、[https://github.com/tmux/tmux/blob/a5f99e14c6f264e568b860692b89d11f5298a3f2/CHANGES#L145 3.2] では {{ic|XDG_CONFIG_HOME/tmux/tmux.conf}} が追加されました。
  +
|-
  +
|-
  +
| [[tmuxp]]
  +
| {{ic|~/.tmuxp}}
  +
| [https://tmuxp.git-pull.com/history.html#tmuxp-1-5-0-2018-10-02 1.5.0]
  +
| [https://github.com/tmux-python/tmuxp/pull/404]
  +
| Fixed in [https://tmuxp.git-pull.com/history.html#tmuxp-1-5-2-2019-06-02 1.5.2]
  +
|-
  +
| {{AUR|tmuxinator}}
  +
| {{ic|~/.tmuxinator}}
  +
| [https://github.com/tmuxinator/tmuxinator/pull/511/commits/2636923 2636923]
  +
| [https://github.com/tmuxinator/tmuxinator/pull/511]
  +
|
  +
|-
  +
| [[Transmission]]
 
| {{ic|~/.transmission}}
 
| {{ic|~/.transmission}}
| [https://trac.transmissionbt.com/changeset/5517 5517]
+
| [https://github.com/transmission/transmission/commit/b71a298 b71a298]
  +
|
| [https://trac.transmissionbt.com/ticket/684]
 
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|util-linux}}
| [https://www.kernel.org/pub/linux/utils/util-linux/ util-linux]
 
 
|
 
|
| [http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=570b32100 570b32100]
+
| [https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=570b321 570b321]
 
|
 
|
 
|
 
|
 
|-
 
|-
| [[uzbl]]
+
| [[Uzbl]]
 
|
 
|
 
| [https://github.com/uzbl/uzbl/commit/c6fd63a c6fd63a]
 
| [https://github.com/uzbl/uzbl/commit/c6fd63a c6fd63a]
450行目: 856行目:
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|vimb}}
| [http://fanglingsu.github.io/vimb/ vimb]
 
 
|
 
|
 
|
 
|
462行目: 868行目:
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|vis}}
| [[VLC media player]]
 
  +
| {{ic|~/.vis}}
  +
|
  +
[https://github.com/martanne/vis/commit/68a25c7 68a25c7]
  +
[https://github.com/martanne/vis/commit/d138908 d138908]
  +
| [https://github.com/martanne/vis/pull/303]
  +
|
  +
|-
  +
| [[VLC]]
 
| {{ic|~/.vlcrc}}
 
| {{ic|~/.vlcrc}}
| [http://git.videolan.org/?p=vlc.git;a=commit;h=16f32e1500887c0dcd33cb06ad71759a81a52878 16f32e15]
+
| [https://git.videolan.org/?p=vlc.git;a=commit;h=16f32e1 16f32e1]
 
| [https://trac.videolan.org/vlc/ticket/1267]
 
| [https://trac.videolan.org/vlc/ticket/1267]
 
|
 
|
 
|-
 
|-
| [https://www.warsow.gg/ warsow]
+
| {{Pkg|warsow}}
 
| {{ic|~/.warsow-2.x}}
 
| {{ic|~/.warsow-2.x}}
 
| [https://github.com/Qfusion/qfusion/commit/98ece3f 98ece3f]
 
| [https://github.com/Qfusion/qfusion/commit/98ece3f 98ece3f]
474行目: 888行目:
 
|
 
|
 
|-
 
|-
| [[wireshark]]
+
| [[WeeChat]]
  +
| {{ic|~/.weechat}}
  +
| [https://github.com/weechat/weechat/commit/70cdf21681d75090c3df9858c9e7ce5a85433856]
  +
[https://github.com/weechat/weechat/releases/tag/v3.2 3.2]
  +
| [https://github.com/weechat/weechat/issues/1285] [https://specs.weechat.org/specs/001285-follow-xdg-base-dir-spec.html]
  +
|
  +
XDG_CONFIG_HOME/weechat
  +
XDG_CACHE_HOME/weechat
  +
XDG_DATA_HOME/weechat
  +
|-
  +
| [[Wireshark]]
 
| {{ic|~/.wireshark}}
 
| {{ic|~/.wireshark}}
| [https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b0b53fa5937aa7ba258427ca0f3581dba725230d b0b53fa5]
+
| [https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b0b53fa b0b53fa]
 
|
 
|
 
|
 
|
 
|-
 
|-
  +
| [[Xsettingsd]]
| [https://github.com/derat/xsettingsd xsettingsd]
 
 
| {{ic|~/.xsettingsd}}
 
| {{ic|~/.xsettingsd}}
| [https://github.com/derat/xsettingsd/commit/b4999f5e9e99224caf97d09f25ee731774ecd7be 4ecd7be]
+
| [https://github.com/derat/xsettingsd/commit/b4999f5 b4999f5]
 
|
 
|
 
|
 
|
  +
|-
  +
| [[xmobar]]
  +
| {{ic|~/.xmobarrc}}
  +
| [https://github.com/jaor/xmobar/commit/7b0d6bf 7b0d6bf]
  +
[https://github.com/jaor/xmobar/commit/9fc6b37 9fc6b37]
  +
[https://github.com/jaor/xmobar/commit/eaccf70 eaccf70]
  +
| [https://github.com/jaor/xmobar/pull/99]
  +
[https://github.com/jaor/xmobar/pull/131]
  +
| {{ic|XDG_CONFIG_HOME/xmobar/xmobarrc}}
 
|-
 
|-
 
| [[xmonad]]
 
| [[xmonad]]
| {{ic|~/.xmonad}}
+
| {{ic|~/.xmonad/}}
| [https://github.com/xmonad/xmonad/commit/40fc10b6a5682ce1d6ba7f0679962926ef6cfade 40fc10b6]
+
| [https://github.com/xmonad/xmonad/commit/40fc10b 40fc10b]
  +
|
| [https://github.com/xmonad/xmonad/issues/61] [https://code.google.com/p/xmonad/issues/detail?id=484]
 
  +
[https://github.com/xmonad/xmonad/issues/61]
| {{ic|XMONAD_CONFIG_HOME}}, {{ic|XMONAD_DATA_HOME}}, {{ic|XMONAD_CACHE_HOME}} 環境変数が使えます。
 
  +
[https://code.google.com/p/xmonad/issues/detail?id=484]
  +
| これらはすべて存在する必要があり、存在しない場合はあきらめて {{ic|~/.xmonad/}} にそれぞれフォールバックします。
  +
XDG_CACHE_HOME/xmonad
  +
XDG_CONFIG_HOME/xmonad
  +
XDG_DATA_HOME/xmonad
  +
代わりに、{{ic|XMONAD_CACHE_DIR}}, {{ic|XMONAD_CONFIG_DIR}} と {{ic|XMONAD_DATA_DIR}} も常に有効です。
  +
|-
  +
| {{Pkg|xournalpp}}
  +
| {{ic|~/.xournalpp}}
  +
|
  +
[https://github.com/xournalpp/xournalpp/commit/20db937f 20db937f]
  +
[https://github.com/xournalpp/xournalpp/releases/tag/1.1.0 1.1.0]
  +
|
  +
[https://github.com/xournalpp/xournalpp/issues/1101]
  +
[https://github.com/xournalpp/xournalpp/pull/1384]
  +
|-
  +
| {{Pkg|xsel}}
  +
| {{ic|~/.xsel.log}}
  +
| [https://github.com/kfish/xsel/commit/ee7b481 ee7b481]
  +
| [https://github.com/kfish/xsel/issues/10]
  +
|
  +
|-
  +
| {{Pkg|zoxide}}
  +
| {{ic|~/.zo}}
  +
| [https://github.com/ajeetdsouza/zoxide/releases/tag/v0.3.0 0.3.0]
  +
| [https://github.com/ajeetdsouza/zoxide/pull/47]
  +
|
 
|}
 
|}
   
==部分的にサポートしているソフトウェア==
+
===部分的にサポートしているソフトウェア===
 
{| class="wikitable sortable" style="width: 100%"
 
{| class="wikitable sortable" style="width: 100%"
 
! アプリケーション
 
! アプリケーション
501行目: 961行目:
 
! ノート
 
! ノート
 
|-
 
|-
| [[Mutt#Abook|abook]]
+
| {{AUR|abook}}
 
| {{ic|~/.abook}}
 
| {{ic|~/.abook}}
 
|
 
|
 
|
 
|
| {{ic|$ abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_CACHE_HOME"/abook/addressbook}}
+
| {{ic|1=abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook}}
  +
|-
  +
| {{Aur|anaconda}}
  +
| {{ic|~/.conda/.condarc}}, {{ic|~/.conda/condarc}}, {{ic|~/.conda/condarc.d/}}, {{ic|~/.condarc}}
  +
|
  +
| [https://conda.io/projects/conda/en/latest/user-guide/configuration/use-condarc.html#searching-for-condarc]
  +
| {{ic|1=export CONDARC="$XDG_CONFIG_HOME/conda/condarc"}}
  +
|-
  +
| {{Pkg|ack}}
  +
| {{ic|~/.ackrc}}
  +
|
  +
| [https://github.com/beyondgrep/ack2/issues/516]
  +
| {{ic|1=export ACKRC="$XDG_CONFIG_HOME/ack/ackrc"}}
 
|-
 
|-
 
| [[Anki]]
 
| [[Anki]]
| {{ic|~/Anki}} {{ic|~/Documents/Anki}}
+
| {{ic|~/Anki}}, {{ic|~/Documents/Anki}}
 
|
 
|
 
| [https://github.com/dae/anki/pull/49] [https://github.com/dae/anki/pull/58]
 
| [https://github.com/dae/anki/pull/49] [https://github.com/dae/anki/pull/58]
| {{ic|1=$ anki -b "$XDG_DATA_HOME"/Anki}}
+
| {{ic|1=anki -b "$XDG_DATA_HOME"/Anki}}
 
|-
 
|-
 
| [[aspell]]
 
| [[aspell]]
 
| {{ic|~/.aspell.conf}}
 
| {{ic|~/.aspell.conf}}
 
|
 
|
  +
| [https://github.com/GNUAspell/aspell/issues/560]
|
 
  +
| {{ic|1=export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"}}
|
 
 
|-
 
|-
 
| [[Atom]]
 
| [[Atom]]
 
| {{ic|~/.atom}}
 
| {{ic|~/.atom}}
 
|
 
|
  +
| [https://github.com/atom/atom/issues/8281]
  +
| {{ic|1=export ATOM_HOME="$XDG_DATA_HOME"/atom}}
  +
|-
  +
| {{Pkg|aws-cli}}
  +
| {{ic|~/.aws}}
  +
| [https://github.com/aws/aws-cli/commit/fc5961ea2cc0b5976ac9f777e20e4236fd7540f5 1.7.45]
  +
| [https://github.com/aws/aws-cli/issues/2433]
  +
| {{ic|1=export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME"/aws/credentials}}, {{ic|1=export AWS_CONFIG_FILE="$XDG_CONFIG_HOME"/aws/config}}
  +
|-
  +
| {{Pkg|bash-completion}}
  +
| {{ic|~/.bash_completion}}
 
|
 
|
  +
|
| {{ic|1=$ export ATOM_HOME="$XDG_DATA_HOME"/atom}}
 
  +
| {{ic|1=export BASH_COMPLETION_USER_FILE="$XDG_CONFIG_HOME"/bash-completion/bash_completion}}
 
|-
 
|-
| [[Rust#Cargo|cargo]]
+
| [[bazaar]]
| {{ic|~/.cargo}}
+
| {{ic|~/.bazaar}}, {{ic|~/.bzr.log}}
  +
| [https://bugs.launchpad.net/bzr/+bug/195397/comments/15 2.3.0]
  +
| [https://bugs.launchpad.net/bzr/+bug/195397]
  +
| 上流のバグレポートでは bazaar が {{ic|~/.config/bazaar}} を使うようにする議論があります。ただしログファイルは {{ic|~/.bzr.log}} に書き込まれます。
  +
|-
  +
| {{Aur|btpd-git}}
  +
| {{ic|~/.btpd/}}
 
|
 
|
| [https://github.com/rust-lang/cargo/pull/148] [https://github.com/rust-lang/cargo/issues/1734]
+
| [https://github.com/btpd/btpd/issues/55]
| {{ic|1=$ export CARGO_HOME="$XDG_DATA_HOME"/cargo}}
+
| {{ic|1=btpd -d "$XDG_DATA_HOME"/.btpd}}
  +
{{ic|1=HOME="$XDG_DATA_HOME" btcli}}
 
|-
 
|-
  +
| {{Aur|buchhaltung-git}}
| [[ccache]]
 
| {{ic|~/.ccache}}
+
| {{ic|~/.buchhaltung}}
 
|
 
|
  +
| [https://github.com/johannesgerer/buchhaltung/issues/44]
  +
| {{ic|1=export BUCHHALTUNG="$XDG_CONFIG_HOME"/buchhaltung}}
  +
|-
  +
| [[Ruby#Bundler]]
  +
| {{ic|~/.bundle}}
  +
| 2.1.0
  +
| [https://github.com/bundler/bundler/pull/6024] [https://github.com/bundler/bundler/issues/4333] [https://github.com/rubygems/rubygems/issues/1599]
  +
|
  +
export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle
  +
export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
  +
export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
  +
  +
Is considered as fixed by the environment variables.
  +
|-
  +
| [https://www.haskell.org/cabal cabal]
  +
| {{ic|~/.cabal/}}
  +
|
  +
| [https://github.com/haskell/cabal/issues/680]
  +
|
  +
export CABAL_CONFIG="$XDG_CONFIG_HOME"/cabal/config
  +
export CABAL_DIR="$XDG_CACHE_HOME"/cabal
  +
  +
See documentation on [https://cabal.readthedocs.io/en/3.4/installing-packages.html#environment-variables environment variables].
  +
  +
CABAL_DIR may be put into DATA if you consider downloaded files as such.
  +
|-
  +
| [[Rust#Cargo]]
  +
| {{ic|~/.cargo}}
 
|
 
|
  +
| [https://github.com/rust-lang/cargo/issues/1734] [https://github.com/rust-lang/rfcs/pull/1615] [https://github.com/rust-lang/cargo/pull/5183] [https://github.com/rust-lang/cargo/pull/148]
| {{ic|1=$ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache}}
 
  +
| {{ic|1=export CARGO_HOME="$XDG_DATA_HOME"/cargo}}
 
|-
 
|-
  +
| {{AUR|chez-scheme}}
| [https://github.com/cisco/ChezScheme ChezScheme]
 
 
| {{ic|~/.chezscheme_history}}
 
| {{ic|~/.chezscheme_history}}
 
|
 
|
 
|
 
|
| {{ic|1=$ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history}}
+
| {{ic|1=petite --eehistory "$XDG_DATA_HOME"/chezscheme/history}}
 
|-
 
|-
| [[PHP#Composer|composer]]
+
| [[Chromium]]
| {{ic|~/.composer}}
+
| {{ic|~/.chromium}}, {{ic|~/.pki}}
  +
| [https://src.chromium.org/viewvc/chrome?revision=23057&view=revision 23057]
 
|
 
|
  +
[https://groups.google.com/forum/#!topic/chromium-dev/QekVQxF3nho]
  +
[https://code.google.com/p/chromium/issues/detail?id=16976]
  +
[https://bugs.chromium.org/p/chromium/issues/detail?id=1038587]
 
|
 
|
  +
|-
| {{ic|1=$ export COMPOSER_HOME="$XDG_CONFIG_HOME"/composer
 
  +
| [https://www.cinelerra-gg.org/ cinelerra]
$ export COMPOSER_CACHE_DIR="$XDG_CACHE_HOME"/composer}}
 
  +
| {{ic|~/.bcast5}}
  +
|
  +
| [https://cinelerra-gg.org/download/CinelerraGG_Manual/Environment_Variables_Custo.html]
  +
| {{ic|1=export CIN_CONFIG="$XDG_CONFIG_HOME"/bcast5}}
 
|-
 
|-
 
| [[conky]]
 
| [[conky]]
554行目: 1,082行目:
 
| [https://github.com/brndnmtthws/conky/commit/00481ee9a97025e8e2acd7303d080af1948f7980 00481ee]
 
| [https://github.com/brndnmtthws/conky/commit/00481ee9a97025e8e2acd7303d080af1948f7980 00481ee]
 
| [https://github.com/brndnmtthws/conky/issues/144]
 
| [https://github.com/brndnmtthws/conky/issues/144]
| {{ic|1=$ conky --config="$XDG_CONFIG_HOME"/conky/conkyrc}}
+
| {{ic|1=conky --config="$XDG_CONFIG_HOME"/conky/conkyrc}}
  +
|-
  +
| {{Pkg|claws-mail}}
  +
| {{ic|~/.claws-mail}}
  +
|
  +
| [https://lists.claws-mail.org/pipermail/users/2013-April/006087.html]
  +
| {{ic|1=claws-mail --alternate-config-dir "$XDG_DATA_HOME"/claws-mail}}
 
|-
 
|-
 
| [[coreutils]]
 
| [[coreutils]]
560行目: 1,094行目:
 
|
 
|
 
|
 
|
| {{ic|$ source "$(dircolors "$XDG_CONFIG_HOME"/dircolors)"}}
+
| {{ic|1=eval $(dircolors "$XDG_CONFIG_HOME"/dircolors)}}
 
|-
 
|-
 
| [http://www.dungeoncrawl.org/ crawl]
 
| [http://www.dungeoncrawl.org/ crawl]
566行目: 1,100行目:
 
|
 
|
 
|
 
|
| 末尾の '/' は必須です: {{ic|1=$ export CRAWL_DIR="$XDG_DATA_HOME"/crawl/}}。
+
| 末尾のスラッシュは必須です:
  +
  +
{{ic|1=export CRAWL_DIR="$XDG_DATA_HOME"/crawl/}}
  +
|-
  +
| {{Pkg|clusterssh}}
  +
| {{ic|~/.clusterssh/}}
  +
|
  +
|
  +
| {{ic|1=alias cssh="cssh --config-file '$XDG_CONFIG_HOME/clusterssh/config'" }}
  +
{{hc|$XDG_CONFIG_HOME/clusterssh/config|2=
  +
extra_cluster_file=$HOME/.config/clusterssh/clusters
  +
extra_tag_file=$HOME/.config/clusterssh/tags
  +
}}
  +
Despite this, clusterssh will still create {{ic|~/.clusterssh/}}.
  +
|-
  +
| [[CUDA]]
  +
| {{ic|~/.nv}}
  +
|
  +
|
  +
| {{ic|1=export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv}}
 
|-
 
|-
 
| [[dict]]
 
| [[dict]]
572行目: 1,125行目:
 
|
 
|
 
|
 
|
| {{ic|$ dict -c "$XDG_CONFIG_HOME"/dict/dictrc}}
+
| {{ic|1=dict -c "$XDG_CONFIG_HOME"/dict/dictrc}}
  +
|-
  +
| [[Docker]]
  +
| {{ic|~/.docker}}
  +
|
  +
|
  +
| {{ic|1=export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker}}
  +
|-
  +
| {{Pkg|docker-machine}}
  +
| {{ic|~/.docker/machine}}
  +
|
  +
|
  +
| {{ic|1=export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine}}
  +
|-
  +
| [[DOSBox]]
  +
| {{ic|~/.dosbox/dosbox-0.74-2.conf}}
  +
|
  +
| [https://www.vogons.org/viewtopic.php?t=29599]
  +
| {{ic|1=dosbox -conf "$XDG_CONFIG_HOME"/dosbox/dosbox.conf}}
  +
|-
  +
| [https://electrum.org Electrum Bitcoin Wallet]
  +
| {{ic|~/.electrum}}
  +
| [https://github.com/spesmilo/electrum/commit/c121230 c121230]
  +
|
  +
| {{ic|1=export ELECTRUMDIR="$XDG_DATA_HOME/electrum"}}
 
|-
 
|-
 
| [[ELinks]]
 
| [[ELinks]]
578行目: 1,155行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks}}
+
| {{ic|1=export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks}}
 
|-
 
|-
  +
| {{Pkg|elixir}}
| [http://kripken.github.io/emscripten-site/ emscripten]
 
  +
| {{ic|~/.mix}}
| {{ic|~/.emscripten}} {{ic|~/.emscripten_sanity}} {{ic|~/.emscripten_ports}} {{ic|~/.emscripten_cache__last_clear}}
 
  +
| [https://github.com/elixir-lang/elixir/commit/afaf889 afaf889]
  +
| [https://github.com/elixir-lang/elixir/issues/8818] [https://github.com/elixir-lang/elixir/pull/9937]
  +
| ElixirはXDGの仕様に完全には準拠しておらず、環境変数が存在する場合にのみXDGを使用し、そうでない場合はデフォルトでレガシーパスを使用します。
  +
|-
  +
| [https://elm-lang.org/ Elm]
  +
| {{ic|~/.elm}}
  +
|
  +
|
  +
| {{ic|1=export ELM_HOME="$XDG_CONFIG_HOME"/elm}}
  +
|-
  +
| [[FFmpeg]]
  +
| {{ic|~/.ffmpeg}}
  +
|
 
|
 
|
  +
| {{ic|1=export FFMPEG_DATADIR="$XDG_CONFIG_HOME"/ffmpeg}}
| [https://github.com/kripken/emscripten/issues/3624 3624]
 
| {{ic|1=$ export EM_CONFIG="$XDG_CONFIG_HOME"/emscripten/config}}
 
{{ic|1=$ export EM_CACHE="$XDG_CACHE_HOME"/emscripten/cache}}
 
{{ic|1=$ export EM_PORTS="$XDG_DATA_HOME"/emscripten/cache}}
 
{{ic|$ emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config --em-cache "$XDG_CACHE_HOME"/emscripten/cache}}
 
 
|-
 
|-
  +
| {{AUR|flutter}}
| [http://www.gnu.org/software/gdb/ gdb]
 
  +
| {{ic|~/.flutter}}, {{ic|~/.flutter_settings}}, {{ic|~/.flutter_tool_state}}
| {{ic|~/.gdbinit}}
 
 
|
 
|
  +
| [https://github.com/flutter/flutter/issues/59430]
 
|
 
|
| {{ic|1=$ gdb -nh -x "$XDG_CONFIG_HOME"/gdb/init}}
 
 
|-
 
|-
  +
| {{Pkg|emscripten}}
| [https://github.com/get-iplayer/get_iplayer get_iplayer]
 
  +
| {{ic|~/.emscripten}}, {{ic|~/.emscripten_sanity}}, {{ic|~/.emscripten_ports}}, {{ic|~/.emscripten_cache__last_clear}}
  +
|
  +
| [https://github.com/kripken/emscripten/issues/3624]
  +
| {{ic|1=export EM_CONFIG="$XDG_CONFIG_HOME"/emscripten/config}}, {{ic|1=export EM_CACHE="$XDG_CACHE_HOME"/emscripten/cache}}, {{ic|1=export EM_PORTS="$XDG_DATA_HOME"/emscripten/cache}}, {{ic|emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config --em-cache "$XDG_CACHE_HOME"/emscripten/cache}}
  +
|-
  +
| {{Pkg|freecad}}
  +
| {{ic|~/.FreeCAD}}
  +
|
  +
| [https://tracker.freecadweb.org/view.php?id=2956]
  +
| {{ic|1=freecad -u "$XDG_CONFIG_HOME"/FreeCAD/user.cfg -s "$XDG_CONFIG_HOME"/FreeCAD/system.cfg}}
  +
  +
Despite these options, {{Pkg|freecad}} will still create the file {{ic|.FreeCAD/cookie}} as the web module has it [https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Web/Gui/CookieJar.cpp#L55 hard coded]
  +
|-
  +
| [[GDB]]
  +
| {{ic|~/.gdbinit}}, {{ic|~/.gdb_history}}
  +
|
  +
|
  +
| {{ic|1=export GDBHISTFILE="$XDG_DATA_HOME"/gdb/history}}, {{ic|gdb -nh -x "$XDG_CONFIG_HOME"/gdb/init}}
  +
|-
  +
| {{AUR|get_iplayer}}
 
| {{ic|~/.get_iplayer}}
 
| {{ic|~/.get_iplayer}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer}}
+
| {{ic|1=export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer}}
 
|-
 
|-
| [[GIMP]]
+
| [[getmail]]
| {{ic|~/.gimp-2.8}} {{ic|~/.thumbnails}}
+
| {{ic|~/.getmail/getmailrc}}
  +
|
| [https://git.gnome.org/browse/gimp/commit/?id=60e0cfe 60e0cfe]
 
  +
|
| [https://bugzilla.gnome.org/show_bug.cgi?id=166643] [https://mail.gnome.org/archives/gimp-developer-list/2012-October/msg00028.html]
 
| {{ic|1=$ export GIMP2_DIRECTORY="$XDG_CONFIG_HOME"/gimp}}
+
| {{ic|1=getmail --rcfile="$XDG_CONFIG_HOME/getmail/getmailrc" --getmaildir="$XDG_DATA_HOME/getmail"}}
 
|-
 
|-
  +
| {{AUR|gliv}}
| [http://guichaz.free.fr/gliv/ gliv]
 
 
| {{ic|~/.glivrc}}
 
| {{ic|~/.glivrc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ gliv --glivrc="$XDG_CONFIG_HOME"/gliv/glivrc}}
+
| {{ic|1=gliv --glivrc="$XDG_CONFIG_HOME"/gliv/glivrc}}
 
|-
 
|-
  +
| {{Pkg|gnuradio}}
| [[GPG|gpg]]
 
  +
| {{ic|~/.gnuradio}}
  +
|
  +
| [https://github.com/gnuradio/gnuradio/issues/3631]
  +
|
  +
|-
  +
| [[GnuPG]]
 
| {{ic|~/.gnupg}}
 
| {{ic|~/.gnupg}}
 
|
 
|
 
| [https://bugs.gnupg.org/gnupg/issue1456] [https://bugs.gnupg.org/gnupg/issue1018]
 
| [https://bugs.gnupg.org/gnupg/issue1456] [https://bugs.gnupg.org/gnupg/issue1018]
| {{ic|1=$ export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg}}
+
| {{ic|1=export GNUPGHOME="$XDG_DATA_HOME"/gnupg}}, {{ic|gpg2 --homedir "$XDG_DATA_HOME"/gnupg}}
  +
Note that this currently does not work out-of-the-box using systemd user units and socket-based activation, since the socket directory changes based on the hash of {{ic|$GNUPGHOME}}. You can get the new socket directory using {{ic|gpgconf --dry-run --create-socketdir}} and have to modify the systemd user units to listen on the correct sockets accordingly.
{{ic|$ gpg2 --homedir "$XDG_CONFIG_HOME"/gnupg}}
 
  +
|-
  +
| [[Go]]
  +
| {{ic|~/go}}
  +
| [https://github.com/golang/go/commit/ca8a055f5cc7c1dfa0eb542c60071c7a24350f76]
  +
|
  +
| {{ic|1=export GOPATH="$XDG_DATA_HOME"/go}}
 
|-
 
|-
 
| [[Google Earth]]
 
| [[Google Earth]]
624行目: 1,242行目:
 
|
 
|
 
|
 
|
  +
| Some paths can be changed with the {{ic|KMLPath}} and {{ic|CachePath}} options in {{ic|~/.config/Google/GoogleEarthPlus.conf}}
| {{ic|~/.config/Google/GoogleEarthPlus.conf}} の {{ic|KMLPath}} や {{ic|CachePath}} オプションで一部のパスは変更できます。
 
  +
|-
  +
| {{Pkg|gopass}}
  +
| {{ic|~/.password-store}}
  +
|
  +
|
  +
| Override settings in {{ic|~/.config/gopass/config.yml}}:
  +
{{hc|~/.config/gopass/config.yml|
  +
root:
  +
path: gpgcli-gitcli-fs+file:///home/<userid>/.config/password-store
  +
}}
  +
|-
  +
| {{Pkg|gpodder}}
  +
| {{ic|~/gPodder}}
  +
|
  +
|
  +
| {{ic|1=GPODDER_DOWNLOAD_DIR}} sets the download folder. {{ic|1=GPODDER_HOME}} - where config and database files are stored, downloads also if {{ic|1=GPODDER_DOWNLOAD_DIR}} is not set.
 
|-
 
|-
| [https://sourceforge.net/projects/gqclient GQ LDAP クライアント]
+
| [https://sourceforge.net/projects/gqclient GQ LDAP client]
| {{ic|~/.gq}}
+
| {{ic|~/.gq}}, {{ic|~/.gq-state}}
{{ic|~/.gq-state}}
 
 
| [https://sourceforge.net/p/gqclient/mailman/message/2053978 1.51]
 
| [https://sourceforge.net/p/gqclient/mailman/message/2053978 1.51]
 
|
 
|
| {{ic|1=$ export GQRC="$XDG_CONFIG_HOME"/gqrc}}
+
| {{ic|1=export GQRC="$XDG_CONFIG_HOME"/gqrc}}, {{ic|1=export GQSTATE="$XDG_DATA_HOME"/gq/gq-state}}, {{ic|mkdir -p "$(dirname "$GQSTATE")"}}
 
{{ic|1=$ export GQSTATE="$XDG_DATA_HOME"/gq/gq-state}}
 
 
{{ic|1=$ mkdir -p "$(dirname "$GQSTATE")"}}
 
 
|-
 
|-
  +
| [[Gradle]]
| [https://gradle.org/ gradle]
 
 
| {{ic|~/.gradle}}
 
| {{ic|~/.gradle}}
 
|
 
|
 
| [https://discuss.gradle.org/t/be-a-nice-freedesktop-citizen-move-the-gradle-to-the-appropriate-location-in-linux/2199]
 
| [https://discuss.gradle.org/t/be-a-nice-freedesktop-citizen-move-the-gradle-to-the-appropriate-location-in-linux/2199]
| {{ic|1=$ export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle}}
+
| {{ic|1=export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle}}
 
|-
 
|-
| [[GTK+|gtk]]
+
| [[GTK]] 1
 
| {{ic|~/.gtkrc}}
 
| {{ic|~/.gtkrc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc}}
+
| {{ic|1=export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc}}
 
|-
 
|-
| [[GTK+|gtk2]]
+
| [[GTK]] 2
 
| {{ic|~/.gtkrc-2.0}}
 
| {{ic|~/.gtkrc-2.0}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc}}
+
| {{ic|1=export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc}}
 
|-
 
|-
  +
| {{Pkg|hledger}}
| [http://httpie.org httpie]
 
| {{ic|~/.httpie}}
+
| {{ic|~/.hledger.journal}}
 
|
 
|
| [https://github.com/jakubroztocil/httpie/issues/145]
+
| [https://github.com/simonmichael/hledger/issues/1081]
| {{ic|1=$ export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie}}
+
| {{ic|1=export LEDGER_FILE="$XDG_DATA_HOME"/hledger.journal}}
  +
|-
  +
| {{AUR|imapfilter}}
  +
| {{ic|~/.imapfilter}}
  +
|
  +
|
  +
| {{ic|1=export IMAPFILTER_HOME="$XDG_CONFIG_HOME/imapfilter"}}
  +
|-
  +
| [[IPFS]]
  +
| {{ic|~/.ipfs}}
  +
|
  +
|
  +
| {{ic|1=export IPFS_PATH="$XDG_DATA_HOME"/ipfs}}
 
|-
 
|-
 
| [http://ipython.org ipython]/[[jupyter]]
 
| [http://ipython.org ipython]/[[jupyter]]
 
| {{ic|~/.ipython}}
 
| {{ic|~/.ipython}}
  +
|
  +
| [https://github.com/ipython/ipython/pull/4457 won't fix],[https://github.com/ipython/ipython/issues/12431 won't fix]
  +
| {{ic|1=export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter}}, {{ic|1=export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter}}
  +
|-
  +
| [https://ruby-doc.org/stdlib/libdoc/irb/rdoc/IRB.html irb]
  +
| {{ic|~/.irbrc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter}}
+
| {{hc|1=~/.profile|2=$ export IRBRC="$XDG_CONFIG_HOME"/irb/irbrc}}
{{ic|1=$ export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter}}
+
{{hc|1="$XDG_CONFIG_HOME"/irb/irbrc|2=IRB.conf[:SAVE_HISTORY] {{!}}{{!}}= 1000
  +
IRB.conf[:HISTORY_FILE] {{!}}{{!}}= File.join(ENV["XDG_DATA_HOME"], "irb", "history")}}
 
|-
 
|-
 
| [[irssi]]
 
| [[irssi]]
677行目: 1,325行目:
 
| {{ic|~/.mbsyncrc}}
 
| {{ic|~/.mbsyncrc}}
 
|
 
|
  +
| [https://sourceforge.net/p/isync/feature-requests/14/]
  +
| {{ic|1=mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc}}
  +
|-
  +
| [[Java#OpenJDK]]
  +
| {{ic|~/.java/.userPrefs}}
 
|
 
|
  +
| [https://bugzilla.redhat.com/show_bug.cgi?id=1154277]
| {{ic|$ mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc}}
 
  +
| {{ic|1=export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java}}
 
|-
 
|-
  +
| {{Pkg|k9s}}
| [[less]]
 
| {{ic|~/.lesshst}}
+
| {{ic|~/.k9s}}
  +
| [https://github.com/derailed/k9s/releases/tag/v0.20.4 0.20.4]
  +
| [https://github.com/derailed/k9s/issues/743]
  +
| {{ic|1=export K9SCONFIG="$XDG_CONFIG_HOME"/k9s}}
  +
|-
  +
| [[KDE]]
  +
| {{ic|~/.kde}}, {{ic|~/.kde4}}
 
|
 
|
  +
| [https://userbase.kde.org/KDE_System_Administration/KDE_Filesystem_Hierarchy#KDEHOME]
  +
| {{ic|1=export KDEHOME="$XDG_CONFIG_HOME"/kde}}
  +
|-
  +
| {{Pkg|keychain}}
  +
| {{ic|~/.keychain}}
  +
| [https://github.com/funtoo/keychain/commit/d43099bcff315d24a2ca31ae83da85e115d22ef6]
  +
| [https://github.com/funtoo/keychain/issues/8]
  +
| {{ic|1=keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain}}
  +
|-
  +
| {{AUR|kscript}}
  +
| {{ic|~/.kscript}}
 
|
 
|
  +
| [https://github.com/holgerbrandl/kscript/issues/323]
| {{ic|1=$ export LESSHISTFILE="$XDG_CACHE_HOME"/less/history}} ({{ic|"$XDG_CACHE_HOME"/less}} ディレクトリを手動で作成する必要があります)。
 
  +
| {{ic|1=export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript}}
 
  +
|-
{{ic|1=$ export LESSHISTFILE=-}} を使うことで機能を無効化できます。
 
  +
| [[ledger]]
  +
| {{ic|~/.ledgerrc}}, {{ic|~/.pricedb}}
  +
|
  +
| [https://github.com/ledger/ledger/issues/1820]
  +
| {{ic|1=ledger --init-file "$XDG_CONFIG_HOME"/ledgerrc}}
  +
|-
  +
| [[Leiningen]]
  +
| {{ic|~/.lein}}, {{ic|~/.m2}}
  +
|
  +
|
  +
| {{ic|1=export LEIN_HOME="$XDG_DATA_HOME"/lein}}
   
  +
to change the m2 repo location used by leiningen look here: [[Leiningen#m2_repo_location]]
{{ic|1=$ export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey}}
 
 
|-
 
|-
  +
| {{Pkg|libdvdcss}}
| [http://www.videolan.org/developers/libdvdcss.html libdvdcss]
 
 
| {{ic|~/.dvdcss}}
 
| {{ic|~/.dvdcss}}
 
|
 
|
 
| [https://mailman.videolan.org/pipermail/libdvdcss-devel/2014-August/001022.html]
 
| [https://mailman.videolan.org/pipermail/libdvdcss-devel/2014-August/001022.html]
| {{ic|1=$ export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss}}
+
| {{ic|1=export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss}}
 
|-
 
|-
  +
| {{Pkg|libice}}
| [ftp://www.x.org/pub/xorg/current/doc/libICE/ice.html libice]
 
 
| {{ic|~/.ICEauthority}}
 
| {{ic|~/.ICEauthority}}
 
|
 
|
| [https://bugs.freedesktop.org/show_bug.cgi?id=49173]
+
| [https://gitlab.freedesktop.org/xorg/lib/libice/issues/2]
| {{ic|1=$ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/X11/iceauthority}}
+
| {{ic|1=export ICEAUTHORITY="$XDG_CACHE_HOME"/ICEauthority}}
  +
[[Xorg]]の実行ユーザが事前に {{ic|XDG_CACHE_HOME}} に書き込みアクセス権を持っていることを確認してください。
  +
  +
ログイン'''後'''に利用可能になるため{{ic|XDG_RUNTIME_DIR}}は使わ'''ない'''でください。さもなければ、[[Xorg]]を起動するディスプレイマネージャー([[GDM]]のような)は何度も失敗します。
 
|-
 
|-
 
| [[Xorg|libx11]]
 
| [[Xorg|libx11]]
| {{ic|~/.XCompose}}
+
| {{ic|~/.XCompose}}, {{ic|~/.compose-cache}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose}}
+
| {{ic|1=export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose}}, {{ic|1=export XCOMPOSECACHE="$XDG_CACHE_HOME"/X11/xcompose}}
 
|-
 
|-
| [http://ltrace.org/ ltrace]
+
| {{Pkg|ltrace}}
 
| {{ic|~/.ltrace.conf}}
 
| {{ic|~/.ltrace.conf}}
 
|
 
|
 
|
 
|
| {{ic|$ ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf}}
+
| {{ic|1=ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf}}
  +
|-
  +
| {{AUR|maptool-bin}}
  +
| {{ic|~/.maptool-rptools}}
  +
|
  +
| [https://github.com/RPTools/maptool/issues/2786]
  +
| {{hc|1=/opt/maptool/lib/app/MapTool.cfg|2=[JavaOptions]
  +
-DMAPTOOL_DATADIR=.local/share/maptool-rptools}}
  +
However, no way to change the location of this configuration file.
  +
|-
  +
| {{Pkg|maven}}
  +
| {{ic|~/.m2}}
  +
|
  +
| [https://issues.apache.org/jira/browse/MNG-6603]
  +
| {{ic|1=mvn -gs "$XDG_CONFIG_HOME"/maven/settings.xml}} and set {{ic|<localRepository>}} as appropriate in [https://maven.apache.org/settings.html#Simple_Values settings.xml]
 
|-
 
|-
 
| [[Mathematica]]
 
| [[Mathematica]]
718行目: 1,417行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export MATHEMATICA_USERBASE="$XDG_CONFIG_HOME"/mathematica}}
+
| {{ic|1=export MATHEMATICA_USERBASE="$XDG_CONFIG_HOME"/mathematica}}
 
|-
 
|-
  +
| {{Pkg|maxima}}
| [http://mednafen.sourceforge.net/ mednafen]
 
  +
| {{ic|~/.maxima}}
  +
|
  +
|
  +
| {{ic|1=export MAXIMA_USERDIR="$XDG_CONFIG_HOME"/maxima}}
  +
|-
  +
| {{Pkg|mednafen}}
 
| {{ic|~/.mednafen}}
 
| {{ic|~/.mednafen}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export MEDNAFEN_HOME="$XDG_CONFIG_HOME"/mednafen}}
+
| {{ic|1=export MEDNAFEN_HOME="$XDG_CONFIG_HOME"/mednafen}}
  +
|-
  +
| {{Pkg|minikube}}
  +
| {{ic|~/.minikube}}
  +
|
  +
| [https://github.com/kubernetes/minikube/issues/4109]
  +
| {{ic|1=export MINIKUBE_HOME="$XDG_DATA_HOME"/minikube}}
  +
  +
Creates a further {{ic|.minikube}} directory in {{ic|MINIKUBE_HOME}} for whatever reason.
  +
|-
  +
| {{Pkg|mitmproxy}}
  +
| {{ic|~/.mitmproxy}}
  +
|
  +
|
  +
| {{ic|1=alias mitmproxy="mitmproxy --set confdir=$XDG_CONFIG_HOME/mitmproxy"}}, {{ic|1=alias mitmweb="mitmweb --set confdir=$XDG_CONFIG_HOME/mitmproxy"}}
 
|-
 
|-
| [[moc]]
+
| [[MOC]]
 
| {{ic|~/.moc}}
 
| {{ic|~/.moc}}
 
|
 
|
 
|
 
|
| {{ic|$ mocp -M "$XDG_CONFIG_HOME"/moc}}
+
| {{ic|1=mocp -M "$XDG_CONFIG_HOME"/moc}}, {{ic|1=mocp -O MOCDir="$XDG_CONFIG_HOME"/moc}}
  +
|-
{{ic|1=$ mocp -O MOCDir="$XDG_CONFIG_HOME"/moc}}
 
  +
| {{Pkg|monero}}
  +
| {{ic|~/.bitmonero}}
  +
|
  +
|
  +
| {{ic|1=monerod --data-dir "$XDG_DATA_HOME"/bitmonero}}
  +
|-
  +
| {{Pkg|most}}
  +
| {{ic|~/.mostrc}}
  +
|
  +
|
  +
| {{ic|1=export MOST_INITFILE="$XDG_CONFIG_HOME"/mostrc}}
 
|-
 
|-
 
| [[MPlayer]]
 
| [[MPlayer]]
737行目: 1,467行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}}
+
| {{ic|1=export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}}
 
|-
 
|-
  +
| [[MySQL]]
| {{pkg|ncurses}}
 
  +
| {{ic|~/.mysql_history}}, {{ic|~/.my.cnf }}, {{ic|~/.mylogin.cnf}}
  +
|
  +
|
  +
| {{ic|1=export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history}}
  +
  +
{{ic|~/.my.cnf}} only supported for mysql-server, not mysql-client [https://dev.mysql.com/doc/refman/8.0/en/option-files.html]
  +
  +
{{ic|~/.mylogin.cnf}} unsupported
  +
|-
  +
| {{Pkg|ncurses}}
 
| {{ic|~/.terminfo}}
 
| {{ic|~/.terminfo}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export TERMINFO="$XDG_DATA_HOME"/terminfo # Precludes system path searching.}}
+
| Precludes system path searching:
  +
{{ic|1=$ export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo}}
 
  +
{{ic|1=export TERMINFO="$XDG_DATA_HOME"/terminfo}}, {{ic|1=export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo}}
  +
|-
  +
| {{Pkg|ncmpc}}
  +
| {{ic|~/.ncmpc}}
  +
|
  +
|
  +
| {{ic|ncmpc -f "$XDG_CONFIG_HOME"/ncmpc/config}}
  +
|-
  +
| [[Netbeans]]
  +
| {{ic|~/.netbeans}}
  +
|
  +
| [https://netbeans.org/bugzilla/show_bug.cgi?id=215961]
  +
| {{ic|1=netbeans --userdir "${XDG_CONFIG_HOME}"/netbeans}}
  +
|-
  +
| [[Node.js]]
  +
| {{ic|~/.node_repl_history}}
  +
|
  +
|
  +
| {{ic|1=export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history}} [https://nodejs.org/api/repl.html#repl_environment_variable_options]
 
|-
 
|-
 
| [[notmuch]]
 
| [[notmuch]]
 
| {{ic|~/.notmuch-config}}
 
| {{ic|~/.notmuch-config}}
 
|
 
|
| [http://notmuchmail.org/pipermail/notmuch/2011/007007.html]
+
| [https://notmuchmail.org/pipermail/notmuch/2011/007007.html]
| {{ic|1=$ export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc}}
+
| {{ic|1=export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc}}, {{ic|1=export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug}}
{{ic|1=$ export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug}}
 
 
|-
 
|-
  +
| {{Pkg|npm}}
| [[Node.js#Node_Packaged_Module|npm]]
 
| {{ic|~/.npm}} {{ic|~/.npmrc}}
+
| {{ic|~/.npm}}, {{ic|~/.npmrc}}
 
|
 
|
| [https://github.com/npm/npm/issues/6675]
+
| [https://github.com/npm/cli/issues/654]
| {{ic|1=$ export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc}}
+
| {{ic|1=export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc}}
{{hc|npmrc|<nowiki>cache=$XDG_CACHE_HOME/npm
+
{{hc|npmrc|<nowiki>
prefix=$XDG_DATA_HOME/npm</nowiki>}}
+
prefix=${XDG_DATA_HOME}/npm
  +
cache=${XDG_CACHE_HOME}/npm
  +
tmp=${XDG_RUNTIME_DIR}/npm
  +
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
  +
</nowiki>}}
  +
Node.js を {{AUR|nvm}} でインストールした場合 {{ic|prefix}} は必要ありません (サポートされません)。
  +
  +
If you want to configure this system-wide, the file to edit is {{ic|/usr/etc/npmrc}}, not {{ic|/etc/npmrc}}. You can confirm that the config is loaded by running {{ic|npm config list}}
 
|-
 
|-
  +
| {{Pkg|opam}}
| [[NVIDIA]], [[CUDA]]
 
  +
| {{ic|~/.opam}}
  +
|
  +
| [https://github.com/ocaml/opam/issues/3766]
  +
| {{ic|1=export OPAMROOT="$XDG_DATA_HOME/opam"}}
  +
Both configuration and state data are stored in {{ic|OPAMROOT}}, so this solution is not fully compliant.
  +
|-PKG_CONFIG_PATH
  +
| {{Aur|pnpm}}
  +
| {{ic|~/.pnpm-store}}
  +
|
  +
|
  +
| Add the line {{ic|1=store-dir=${XDG_DATA_HOME}/pnpm-store}} to your {{ic|npmrc}}.
  +
|-
  +
| [[PuTTY]]
  +
| {{ic|~/.putty/}}
  +
| [https://git.tartarus.org/?p=simon/putty.git;a=commit;h=9952b2d5bd5c8fbac4f5731a805bce10fe4ce47c 9952b2d]
  +
|
  +
| Will use {{ic|$XDG_CONFIG_HOME/putty}} if it already exists. Creates {{ic|~/.putty}} if not. Prioritises {{ic|$XDG_CONFIG_HOME/putty}} if both exist. Tested in 0.74
  +
|-
  +
| {{Pkg|nuget}}
  +
| {{ic|~/.nuget/packages}}
  +
|
  +
| [https://docs.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders]
  +
| {{ic|1=export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages}}
  +
|-
  +
| [[NVIDIA]]
 
| {{ic|~/.nv}}
 
| {{ic|~/.nv}}
 
|
 
|
 
|
 
|
  +
| 設定されている場合は{{ic|XDG_CACHE_HOME}}を使用し、設定されていない場合は{{ic|~/.cache}}の代わりに{{{ic|~/.nv}}}に不適切にフォールバックします。
| {{ic|1=$ export __GL_SHADER_DISK_CACHE_PATH="$XDG_CACHE_HOME"/nv}}
 
{{ic|1=$ export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv}}
 
 
|-
 
|-
| [https://github.com/NVIDIA/nvidia-settings nvidia-settings]
+
| {{Pkg|nvidia-settings}}
 
| {{ic|~/.nvidia-settings-rc}}
 
| {{ic|~/.nvidia-settings-rc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings}}
+
| {{ic|1=nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings}}
  +
|-
  +
| {{AUR|nvm}}
  +
| {{ic|~/.nvm}}
  +
|
  +
|
  +
| {{ic|1=export NVM_DIR="$XDG_DATA_HOME"/nvm}}
  +
|-
  +
| [[Octave]]
  +
| {{ic|~/octave}}, {{ic|~/.octave_packages}}, {{ic|~/.octave_hist}}
  +
|
  +
|
  +
| {{ic|1=export OCTAVE_HISTFILE="$XDG_CACHE_HOME/octave-hsts"}}, {{ic|1=export OCTAVE_SITE_INITFILE="$XDG_CONFIG_HOME/octave/octaverc"}}
  +
  +
{{hc|$XDG_CONFIG_HOME/octave/octaverc|<nowiki>
  +
source /usr/share/octave/site/m/startup/octaverc;
  +
pkg prefix ~/.local/share/octave/packages ~/.local/share/octave/packages;
  +
pkg local_list /home/<your username>/.local/share/octave/octave_packages;
  +
</nowiki>}}
  +
{{ic|local_list}} オプションは絶対パスで指定する必要があります。
 
|-
 
|-
| [http://www.openscad.org/ openscad]
+
| {{Pkg|openscad}}
 
| {{ic|~/.OpenSCAD}}
 
| {{ic|~/.OpenSCAD}}
 
| [https://github.com/openscad/openscad/commit/7c3077b0f 7c3077b0f]
 
| [https://github.com/openscad/openscad/commit/7c3077b0f 7c3077b0f]
786行目: 1,594行目:
 
|
 
|
 
|
 
|
| .rnd ファイルの場所は RANDFILE 環境変数で設定できます。[https://www.openssl.org/docs/faq.html FAQ] を参照。
+
| シードファイル {{ic|.rnd}} の場所は {{ic|RANDFILE}} 環境変数で設定できます。[https://www.openssl.org/docs/faq.html FAQ] を参照。
  +
|-
  +
| {{Pkg|parallel}}
  +
| {{ic|~/.parallel}}
  +
| [https://git.savannah.gnu.org/cgit/parallel.git/commit/?id=685018f532f4e2d24b84eb28d5de3d759f0d1af1 20170422]
  +
|
  +
| {{ic|1=export PARALLEL_HOME="$XDG_CONFIG_HOME"/parallel}}
 
|-
 
|-
 
| [[pass]]
 
| [[pass]]
792行目: 1,606行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass}}
+
| {{ic|1=export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass}}
 
|-
 
|-
| [[pidgin]]
+
| [[Pidgin]]
 
| {{ic|~/.purple}}
 
| {{ic|~/.purple}}
 
|
 
|
  +
| [https://developer.pidgin.im/ticket/4911]
|
 
| {{ic|1=$ pidgin --config="$XDG_DATA_HOME"/purple}}
+
| {{ic|1=pidgin --config="$XDG_DATA_HOME"/purple}}
  +
|-
  +
| [[PostgreSQL]]
  +
| {{ic|~/.psqlrc}}, {{ic|~/.psql_history}}, {{ic|~/.pgpass}}, {{ic|~/.pg_service.conf}}
  +
| 9.2
  +
| [https://www.postgresql.org/docs/current/static/app-psql.html] [https://www.postgresql.org/docs/current/static/libpq-envars.html]
  +
| {{ic|1=export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"}}, {{ic|1=export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history"}}, {{ic|1=export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"}}, {{ic|1=export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"}}
  +
  +
両方のディレクトリを作成する必要があります: {{ic|1=$ mkdir "$XDG_CONFIG_HOME/pg" && mkdir "$XDG_CACHE_HOME/pg"}}。
 
|-
 
|-
 
| [[PulseAudio]]
 
| [[PulseAudio]]
806行目: 1,628行目:
 
| {{ic|module-esound-protocol-unix.so}} モジュールによって生成されます。別の場所を使用するように設定することもできますが {{ic|/etc/pulse/default.pa}} や {{ic|"$XDG_CONFIG_HOME"/pulse/default.pa}} でモジュールをコメントアウトしてしまう方が簡単です。
 
| {{ic|module-esound-protocol-unix.so}} モジュールによって生成されます。別の場所を使用するように設定することもできますが {{ic|/etc/pulse/default.pa}} や {{ic|"$XDG_CONFIG_HOME"/pulse/default.pa}} でモジュールをコメントアウトしてしまう方が簡単です。
 
|-
 
|-
  +
| {{aur|python-azure-cli}}
| [https://pypi.python.org/pypi/setuptools python-setuptools]
 
  +
| {{ic|~/.azure}}
  +
|
  +
|
  +
| {{ic|1=export AZURE_CONFIG_DIR=$XDG_DATA_HOME/azure}}
  +
|-
  +
| {{AUR|python-grip}}
  +
| {{ic|~/.grip}}
  +
|
  +
|
  +
| {{ic|1=export GRIPHOME="$XDG_CONFIG_HOME/grip"}}
  +
|-
  +
| {{Pkg|python-setuptools}}
 
| {{ic|~/.python-eggs}}
 
| {{ic|~/.python-eggs}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs}}
+
| {{ic|1=export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs}}
 
|-
 
|-
| {{Pkg|rclone}}
+
| {{Pkg|python-pylint}}
| {{ic|~/.rclone.conf}}
+
| {{ic|~/.pylint.d}}
 
|
 
|
  +
| [https://github.com/PyCQA/pylint/issues/1364 won't fix]
  +
| {{ic|1=export PYLINTHOME="$XDG_CACHE_HOME"/pylint}}
  +
|-
  +
| {{Pkg|racket}}
  +
| {{ic|~/.racketrc}}, {{ic|~/.racket}}
 
|
 
|
  +
| [https://github.com/racket/racket/issues/2740]
| {{ic|1=$ rclone --config="$XDG_CONFIG_HOME"/rclone/rclone.conf}}
 
  +
| {{ic|1=export PLTUSERHOME="$XDG_DATA_HOME"/racket}}
 
|-
 
|-
 
| [[readline]]
 
| [[readline]]
822行目: 1,662行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc}}
+
| {{ic|1=export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc}}
 
|-
 
|-
  +
| {{Pkg|recoll}}
| [http://utopia.knoware.nl/~hlub/uck/rlwrap/ rlwrap]
 
  +
| {{ic|~/.recoll}}
  +
|
  +
|
  +
| {{ic|1=export RECOLL_CONFDIR="$XDG_CONFIG_HOME/recoll"}}
  +
|-
  +
| [[redis]]
  +
| {{ic|~/.rediscli_history}}, {{ic|~/.redisclirc}}
  +
|
  +
|
  +
|{{ic|1=export REDISCLI_HISTFILE="$XDG_DATA_HOME"/redis/rediscli_history}}, {{ic|1=export REDISCLI_RCFILE="$XDG_CONFIG_HOME"/redis/redisclirc}}
  +
|-
  +
| {{Pkg|rlwrap}}
 
| {{ic|~/.*_history}}
 
| {{ic|~/.*_history}}
 
|
 
|
 
| [https://github.com/hanslub42/rlwrap/issues/25]
 
| [https://github.com/hanslub42/rlwrap/issues/25]
| {{ic|1=$ export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap}}
+
| {{ic|1=export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap}}
  +
|-
  +
| [[Ruby#RubyGems]]
  +
| {{ic|~/.gem}}
  +
|
  +
|
  +
| {{ic|1=export GEM_HOME="$XDG_DATA_HOME"/gem}}, {{ic|1=export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem}}
  +
  +
Make sure to remove {{ic|gem: --user-install}} from {{ic|/etc/gemrc}}
  +
|-
  +
| [[Rust#Rustup]]
  +
| {{ic|~/.rustup}}
  +
|
  +
| [https://github.com/rust-lang-nursery/rustup.rs/issues/247]
  +
| {{ic|1=export RUSTUP_HOME="$XDG_DATA_HOME"/rustup}}
 
|-
 
|-
  +
| {{Pkg|sbt}}
| [http://www.scala-sbt.org/ sbt]
 
 
| {{ic|~/.sbt}}
 
| {{ic|~/.sbt}}
 
{{ic|~/.ivy2}}
 
{{ic|~/.ivy2}}
 
|
 
|
  +
| [https://github.com/sbt/sbt/issues/3681]
  +
| {{ic|1=sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt}} (beware [https://github.com/sbt/sbt/issues/3598])
  +
|-
  +
| [[SageMath]]
  +
| {{ic|~/.sage}}
 
|
 
|
  +
|
| {{ic|1=$ sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt}}
 
  +
| {{ic|1=export DOT_SAGE="$XDG_CONFIG_HOME"/sage}}
 
|-
 
|-
| [[screen]]
+
| [[GNU Screen]]
 
| {{ic|~/.screenrc}}
 
| {{ic|~/.screenrc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}}
+
| {{ic|1=export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}}
  +
|-
  +
| {{Pkg|simplescreenrecorder}}
  +
| {{ic|~/.ssr/}}
  +
| [https://github.com/MaartenBaert/ssr/releases/tag/0.4.3 0.4.3]
  +
| [https://github.com/MaartenBaert/ssr/issues/407]
  +
[https://github.com/MaartenBaert/ssr/issues/813]
  +
| 既に作成されている場合に限り{{ic|$XDG_CONFIG_HOME/simplescreenrecorder/}}を使用します。それ以外はデフォルトの{{ic|~/.ssr}}。
  +
  +
{{ic|1=mv ~/.ssr "$XDG_CONFIG_HOME"/simplescreenrecorder}}
  +
|-
  +
| [https://www.spacemacs.org/ spacemacs]
  +
| {{ic|~/.spacemacs}}, {{ic|~/.spacemacs.d}}
  +
| [https://github.com/syl20bnr/spacemacs/commit/e1eed07c30ea395fb9cfebc8ec3376dcffbace11]
  +
| [https://github.com/syl20bnr/spacemacs/issues/3589]
  +
| Move the {{ic|~/.spacemacs}} file.
  +
  +
{{ic|1=export SPACEMACSDIR="$XDG_CONFIG_HOME"/spacemacs}}, {{ic|mv ~/.spacemacs "$SPACEMACSDIR"/init.el}}
  +
  +
Other files need to be configured like Emacs.
 
|-
 
|-
  +
| [[Haskell#Stack]]
| [https://www.stackage.org/ stack]
 
 
| {{ic|~/.stack}}
 
| {{ic|~/.stack}}
 
|
 
|
 
| [https://github.com/commercialhaskell/stack/issues/342]
 
| [https://github.com/commercialhaskell/stack/issues/342]
| {{ic|1=$ export STACK_ROOT="$XDG_DATA_HOME"/stack}}
+
| {{ic|1=export STACK_ROOT="$XDG_DATA_HOME"/stack}}
 
|-
 
|-
 
| [[subversion]]
 
| [[subversion]]
 
| {{ic|~/.subversion}}
 
| {{ic|~/.subversion}}
 
|
 
|
| [https://issues.apache.org/jira/browse/SVN-4599][https://mail-archives.apache.org/mod_mbox/subversion-users/201204.mbox/%3c4F8FBCC6.4080205@ritsuka.org%3e][http://mail-archives.apache.org/mod_mbox/subversion-dev/201509.mbox/%3c20150917222954.GA20331@teapot%3e]
+
| [https://issues.apache.org/jira/browse/SVN-4599] [https://mail-archives.apache.org/mod_mbox/subversion-users/201204.mbox/%3c4F8FBCC6.4080205@ritsuka.org%3e][https://mail-archives.apache.org/mod_mbox/subversion-dev/201509.mbox/%3C20150917222954.GA20331@teapot%3E]
| {{ic|$ svn --config-dir "$XDG_CONFIG_HOME"/subversion}}
+
| {{ic|1=svn --config-dir "$XDG_CONFIG_HOME"/subversion}}
 
|-
 
|-
| {{pkg|task}}
+
| {{Pkg|sudo}}
| {{ic|~/.task}} {{ic|~/.taskrc}}
+
| {{ic|~/.sudo_as_admin_successful}}
  +
| [https://www.sudo.ws/stable.html#1.9.6 1.9.6]
  +
| [https://github.com/sudo-project/sudo/issues/56] [https://www.sudo.ws/repos/sudo/rev/d77c3876fa95]
  +
| Only present when activated at compile-time (default none). An admin_flag parameter can be used in /etc/sudoers since 1.9.6.
  +
|-
  +
| {{Pkg|task}}
  +
| {{ic|~/.task}}, {{ic|~/.taskrc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export TASKDATA="$XDG_DATA_HOME"/task}} {{ic|1=$ export TASKRC="$XDG_CONFIG_HOME"/task/taskrc}}
+
| {{ic|1=export TASKDATA="$XDG_DATA_HOME"/task}}, {{ic|1=export TASKRC="$XDG_CONFIG_HOME"/task/taskrc}}}}, {{ic|[https://github.com/GothenburgBitFactory/taskwarrior/pull/2316 Fully supported in version 2.6]
 
|-
 
|-
  +
| Local [[TeX Live]] TeXmf tree, TeXmf caches and config
| [http://jonas.nitro.dk/tig/ tig]
 
  +
| {{ic|~/texmf}}, {{ic|~/.texlive/texmf-var}}, {{ic|~/.texlive/texmf-config}}
| {{ic|~/.tigrc}}
 
 
|
 
|
 
|
 
|
| {{ic|1=$ export TIGRC_USER="$XDG_CONFIG_HOME"/tig/tigrc}}
+
| {{ic|1=export TEXMFHOME=$XDG_DATA_HOME/texmf}}, {{ic|1=export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var}}, {{ic|1=export TEXMFCONFIG=$XDG_CONFIG_HOME/texlive/texmf-config}}
 
|-
 
|-
  +
| {{AUR|tiptop}}
| [[tmux]]
 
| {{ic|~/.tmux.conf}}
+
| {{ic|~/.tiptoprc}}
  +
|
 
|
 
|
  +
| {{ic|.tiptoprc}} ファイルを必要とします。
| [http://comments.gmane.org/gmane.comp.terminal-emulators.tmux.user/6013] [http://sourceforge.net/p/tmux/mailman/message/30619546/]
 
| {{ic|$ tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf}}
+
{{ic|tiptop -W "$XDG_CONFIG_HOME"/tiptop}}
{{ic|1=$ export TMUX_TMPDIR="$XDG_RUNTIME_DIR"}}
 
 
|-
 
|-
| [https://github.com/bengardner/uncrustify uncrustify]
+
| {{Pkg|uncrustify}}
 
| {{ic|~/.uncrustify.cfg}}
 
| {{ic|~/.uncrustify.cfg}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export UNCRUSTIFY_CONFIG="$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg}}
+
| {{ic|1=export UNCRUSTIFY_CONFIG="$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg}}
 
|-
 
|-
 
| [[Unison]]
 
| [[Unison]]
884行目: 1,781行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export UNISON="$XDG_DATA_HOME"/unison}}
+
| {{ic|1=export UNISON="$XDG_DATA_HOME"/unison}}
 
|-
 
|-
  +
| {{Pkg|units}}
| [[Rxvt-unicode/Tips_and_tricks#デーモンクライアント|urxvtd]]
 
  +
| {{ic|~/.units_history}}
  +
|
  +
|
  +
| {{ic|1=units --history "$XDG_CACHE_HOME"/units_history}}
  +
|-
  +
| [[Rxvt-unicode/ヒントとテクニック#デーモンクライアント|urxvtd]]
 
| {{ic|~/.urxvt/urxvtd-hostname}}
 
| {{ic|~/.urxvt/urxvtd-hostname}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd}}
+
| {{ic|1=export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd}}
 
|-
 
|-
| [[WeeChat]]
+
| [[Vagrant]]
| {{ic|~/.weechat}}
+
| {{ic|~/.vagrant.d}}, {{ic|~/.vagrant.d/aliases}}
 
|
 
|
  +
| [https://www.vagrantup.com/docs/other/environmental-variables.html]
| [http://savannah.nongnu.org/task/?10934]
 
  +
| {{ic|1=export VAGRANT_HOME="$XDG_DATA_HOME"/vagrant}}, {{ic|1=export VAGRANT_ALIAS_FILE="$XDG_DATA_HOME"/vagrant/aliases}}
| {{ic|1=$ export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat}}
 
  +
|-
{{ic|$ weechat -d "$XDG_CONFIG_HOME"/weechat}}
 
  +
| [[virtualenv]]
  +
| {{ic|~/.virtualenvs}}
  +
|
  +
|
  +
| {{ic|1=export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"}}
  +
|-
  +
| [[Visual Studio Code]]
  +
| {{ic|~/.vscode-oss/}}
  +
|
  +
| [https://github.com/Microsoft/vscode/issues/3884]
  +
| You can use {{ic|1=export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode}}, which is not documented and might break unexpectedly.
  +
Setting this makes the editor look for the contents of {{ic|1=.config/Code - OSS}} in {{ic|1=$VSCODE_PORTABLE/user-data}}.
  +
|-
  +
| [[AUR|WakaTime]]
  +
| {{ic|~/.wakatime.cfg}}, {{ic|~/.wakatime.data}}, {{ic|~/.wakatime.db}}, {{ic|~/.wakatime.log}}
  +
|
  +
|
  +
| {{ic|1=export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"}}
  +
  +
以下のディレクトリは手動で作成する必要があります
  +
  +
{{ic|1=mkdir "$XDG_CONFIG_HOME/wakatime"}}
  +
 
|-
 
|-
 
| [[wget]]
 
| [[wget]]
| {{ic|~/.wgetrc}}
+
| {{ic|~/.wgetrc}}, {{ic|~/.wget-hsts}}
 
|
 
|
 
|
 
|
  +
| {{ic|1=export WGETRC="$XDG_CONFIG_HOME/wgetrc"}} and add the following as an alias for wget: {{ic|1=wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"}}, or set the {{ic|1=hsts-file}} variable with an absolute path as wgetrc does not support environment variables: {{ic|1=echo hsts-file \= "$XDG_CACHE_HOME"/wget-hsts >> "$XDG_CONFIG_HOME/wgetrc"}}
| {{ic|1=$ export WGETRC="$XDG_CONFIG_HOME/wgetrc"}}
 
 
|-
 
|-
 
| [[wine]]
 
| [[wine]]
909行目: 1,835行目:
 
|
 
|
 
| [https://bugs.winehq.org/show_bug.cgi?id=20888]
 
| [https://bugs.winehq.org/show_bug.cgi?id=20888]
| [[Wine#Winetricks|Winetricks]] は [[Wine#WINEPREFIX|WINEPREFIX]] の管理に XDG のような場所を使用します:
+
| [[Wine#Winetricks|Winetricks]] は [[Wine#WINEPREFIX|WINEPREFIX]] の管理に以下の XDG のような場所を使用します:
{{ic|1=$ mkdir -p "$XDG_DATA_HOME"/wineprefixes}}
+
{{ic|1=mkdir -p "$XDG_DATA_HOME"/wineprefixes}}, {{ic|1=export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default}}
 
{{ic|1=$ export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default}}
 
 
|-
 
|-
  +
| [[xbindkeys]]
| {{pkg|xorg-xauth}}
 
  +
| {{ic|~/.xbindkeysrc}}
  +
|
  +
|
  +
| {{ic|1=xbindkeys -f "$XDG_CONFIG_HOME"/xbindkeys/config}}
  +
|-
  +
| {{Pkg|xorg-xauth}}
 
| {{ic|~/.Xauthority}}
 
| {{ic|~/.Xauthority}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority}}
+
| {{ic|1=export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority}}
  +
  +
Note that [[LightDM]] does not allow you to change this variable. If you change it nonetheless, you will not be able to login. Use [[startx]] instead or [https://askubuntu.com/a/961459 configure LightDM]. According to [https://unix.stackexchange.com/a/175331] [[SLiM]] has {{ic|~/.Xauthority}} hardcoded.
  +
|-
  +
| [[xinit]]
  +
| {{ic|~/.xinitrc}}, {{ic|~/.xserverrc}}
  +
|
  +
| [https://gitlab.freedesktop.org/xorg/app/xinit/issues/14]
  +
| {{ic|1=export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc}}, {{ic|1=export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc}}
  +
  +
上記の変数は ''xinit'' には反映されますが、''startx'' には反映されません。代わりに引数としてファイル名を指定してください:
  +
  +
{{ic|1=startx "$XDG_CONFIG_HOME/X11/xinitrc" -- "$XDG_CONFIG_HOME/X11/xserverrc" vt1}}
 
|-
 
|-
| {{pkg|xorg-xinit}}
+
| {{Pkg|xorg-xrdb}}
| {{ic|~/.xinitrc}} {{ic|~/.xserverrc}}
+
| {{ic|~/.Xresources}}, {{ic|~/.Xdefaults}}
 
|
 
|
 
|
 
|
  +
| 最終的には {{ic|Xresources}} を使う [https://superuser.com/questions/243914/xresources-or-xdefaults 必要]があり、これらのリソースは {{ic|xrdb}} を介してロードされるため {{ic|1=xrdb -load ~/.config/X11/xresources}} のようなパスを指定することができます。
| {{ic|1=$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc}} {{ic|1=$ export X="$XDG_CONFIG_HOME"/X11/xserverrc}}
 
 
|-
 
|-
  +
| [[Xorg]]
| {{pkg|xorg-xrdb}}
 
| {{ic|~/.Xresources}} {{ic|~/.Xdefaults}}
+
| {{ic|~/.xsession}}, {{ic|~/.xsessionrc}}, {{ic|~/.Xsession}}, {{ic|~/.xsession-errors}}
 
|
 
|
 
|
 
|
  +
| These can be added as part of your Xorg init script ({{ic|~/.xinitrc}}) or Xsession start script (which will often be based on {{ic|/etc/X11/Xsession}}).
| {{ic|xrdb -load ~/.config/X11/xresources}} のようにパスを指定して {{ic|xrdb}} でリソースがロードされるように {{ic|Xresources}} を [http://superuser.com/questions/243914/xresources-or-xdefaults 使用] することができます。
 
  +
Depending on where you have configured your {{ic|$XDG_CACHE_HOME}}, you made need to expand the paths yourself.
  +
{{hc|# xsession start script|<nowiki>
  +
USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
  +
USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc"
  +
ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession"
  +
ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors"
  +
</nowiki>}}
  +
Unlike most other examples in this table, actual X11 init scripts will vary a lot between installations.
 
|-
 
|-
  +
| {{Pkg|z}}
| [http://www.vergenet.net/~conrad/software/xsel/ xsel]
 
| {{ic|~/.xsel.log}}
+
| {{ic|~/.z}}
 
|
 
|
| [https://github.com/kfish/xsel/issues/10]
+
| [https://github.com/rupa/z/issues/267]
| {{ic|1=$ xsel --logfile "$XDG_CACHE_HOME"/xsel/xsel.log}}
+
| {{ic|1=export _Z_DATA="$XDG_DATA_HOME/z"}}
  +
|-
  +
| {{Pkg|yarn}}
  +
| {{ic|~/.yarnrc}}, {{ic|~/.yarn/}}, {{ic|~/.yarncache/}}, {{ic|~/.yarn-config/}}
  +
| [https://github.com/yarnpkg/yarn/commit/2d454b5 2d454b5]
  +
| [https://github.com/yarnpkg/yarn/pull/5336] [https://github.com/yarnpkg/yarn/issues/2334]
  +
| {{ic|1=alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'}}
  +
|-
 
|}
 
|}
   
==ハードコードされているソフトウェア==
+
===ハードコードされているソフトウェア===
   
 
{| class="wikitable sortable" style="width: 100%"
 
{| class="wikitable sortable" style="width: 100%"
 
! アプリケーション
 
! アプリケーション
! パス
+
! レガシーパス
 
! 議論
 
! 議論
 
! ノート
 
! ノート
  +
|-
  +
| [[adb]] & [https://developer.android.com/studio/index.html Android Studio]
  +
| {{ic|~/.android/}}
  +
|
  +
| Despite [https://android.googlesource.com/platform/system/core/+/d5fcafaf41f8ec90986c813f75ec78402096af2d%5E%21/ appearances otherwise], adb will ''always'' generate {{ic|~/.android/adbkeys}}, though it will try keys in {{ic|ADB_VENDOR_KEYS}} as well.
  +
|-
  +
| {{Pkg|aegisub}}
  +
| {{ic|~/.aegisub/}}
  +
| [https://github.com/Aegisub/Aegisub/issues/226]
  +
|
  +
|-
  +
| [[alpine]]
  +
| {{ic|~/.pinerc}}, {{ic|~/.addressbook}}, {{ic|~/.pine-debug[1-4]}}, {{ic|~/.newsrc}}, {{ic|~/.mailcap}}, {{ic|~/.mime.types}}, {{ic|~/.pine-interrupted-mail}}
  +
|
  +
| {{ic|1=alias alpine="alpine -p $XDG_CONFIG_HOME/alpine/pinerc"}}
  +
In the above config file, some locations can be customized using options like {{ic|1=newsrc-path=}} and {{ic|1=address-book=}}.
  +
|-
  +
| [[Ansible]]
  +
| {{ic|~/.ansible}}
  +
| [https://github.com/ansible/ansible/issues/52354] [https://github.com/ansible/ansible/issues/68587]
  +
|
 
|-
 
|-
 
| [[AMule]]
 
| [[AMule]]
 
| {{ic|~/.aMule}}
 
| {{ic|~/.aMule}}
  +
| [https://bugs.amule.org/view.php?id=1308] [http://forum.amule.org/index.php?topic=18056]
|
 
 
|
 
|
 
|-
 
|-
962行目: 1,940行目:
 
|
 
|
 
|-
 
|-
  +
| [https://christian.amsuess.com/tools/arandr/ ARandR]
| [[bash]]
 
  +
| {{ic|~/.screenlayout}}
| {{ic|~/.bashrc}} {{ic|~/.bash_history}} {{ic|~/.bash_profile}} {{ic|~/.bash_login}} {{ic|~/.bash_logout}}
 
  +
| [https://gitlab.com/arandr/arandr/-/issues/45]
| [http://savannah.gnu.org/support/?108134]
 
 
|
 
|
* 指定された {{ic|bashrc}} は {{ic|/etc/bashrc}} から読み込まれます。
 
* {{ic|1=export HISTFILE="$XDG_DATA_HOME"/bash/history}}
 
 
|-
 
|-
| [[Haskell|cabal]]
+
| [[Arduino]]
| {{ic|~/.cabal}}
+
| {{ic|~/.arduino15}}, {{ic|~/.jssc}}
| [https://github.com/haskell/cabal/issues/680]
+
| [https://github.com/arduino/Arduino/issues/3915 won't fix]
  +
|
| 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。
 
  +
  +
|-
  +
| {{Pkg|arduino-cli}}
  +
| {{ic|~.arduino15/}}
  +
| [https://github.com/arduino/arduino-cli/pull/140]
  +
| {{ic|1=mv ~/.arduino15 $XDG_CONFIG_HOME/arduino15}}
  +
Specify the new directories used by Arduino CLI in arduino-cli.yaml as mentioned in the documentation [https://arduino.github.io/arduino-cli/latest/configuration/ here].
  +
{{ic|1=alias arduino-cli='arduino-cli --config-file $XDG_CONFIG_HOME/arduino15/arduino-cli.yaml'}}
  +
  +
  +
|-
  +
| [https://www.audacityteam.org/ Audacity]
  +
| {{ic|~/.audacity-data/}}
  +
| [https://bugzilla.audacityteam.org/show_bug.cgi?id=2201]
  +
|
  +
  +
|-
  +
| [http://fixounet.free.fr/avidemux/ Avidemux]
  +
| {{ic|~/.avidemux6}}
  +
| [https://avidemux.org/smif/index.php/topic,19596.0.html]
  +
|
  +
  +
|-
  +
| [[Bash]]
  +
| {{ic|~/.bashrc}}, {{ic|~/.bash_history}}, {{ic|~/.bash_profile}}, {{ic|~/.bash_login}}, {{ic|~/.bash_logout}}
  +
| [https://savannah.gnu.org/support/?108134 won't fix]
  +
| {{ic|1=mkdir -p "$XDG_STATE_HOME"/bash}}
  +
{{ic|1=export HISTFILE="$XDG_STATE_HOME"/bash/history}}
  +
  +
{{ic|bashrc}} は {{ic|/etc/bash.bashrc}}の中で別の場所からsourceすることができます。
  +
インタラクティブシェルでは {{ic|~/.bashrc}} の代わりに {{ic|--init-file <file>}} で指定。
  +
|-
  +
| [[Chef|Berkshelf]]
  +
| {{ic|~/.berkshelf/}}
  +
|
  +
|
  +
|-
  +
| {{AUR|chatty}}
  +
| {{ic|~/.chatty/}}
  +
| [https://github.com/chatty/chatty/issues/273]
  +
|
  +
|-
  +
| {{Pkg|cmake}}
  +
| {{ic|~/.cmake/}}
  +
|
  +
| Used for the user package registry {{ic|~/.cmake/packages/<package>}}, detailed in {{man|7|cmake-packages|User Package Registry}} and [https://gitlab.kitware.com/cmake/community/wikis/doc/tutorials/Package-Registry the Package registry wiki page]. Looks like it's hardcoded, for example in [https://gitlab.kitware.com/cmake/cmake/blob/v3.12.1/Source/cmFindPackageCommand.cxx#L1221 cmFindPackageCommand.cxx].
  +
|-
  +
| [[Cinnamon]]
  +
| {{ic|~/.cinnamon/}}
  +
| [https://github.com/linuxmint/Cinnamon/issues/7807]
  +
|
  +
|-
  +
| {{AUR|conan}}
  +
| {{ic|~/.conan/}}
  +
| [https://github.com/conan-io/conan/issues/2526]
  +
| {{ic|1=export CONAN_USER_HOME="$XDG_CONFIG_HOME"}} will set the directory in which {{ic|.conan/}} is created. It was [https://docs.conan.io/en/latest/reference/env_vars.html#conan-user-home designed to simplify CI], but can be used here too.
  +
|-
  +
| {{AUR|cryptomator}}
  +
| {{ic|~/.Cryptomator}}
  +
| [https://github.com/cryptomator/cryptomator/issues/710]
  +
|
 
|-
 
|-
 
| [[CUPS]]
 
| [[CUPS]]
| {{ic|~/.cups}}
+
| {{ic|~/.cups/}}
| [http://www.cups.org/str.php?L4243]
+
| [https://github.com/apple/cups/issues/4243 won't fix]
 
|
 
|
 
|-
 
|-
| [[D-Bus|dbus]]
+
| [[darcs]]
| {{ic|~/.dbus}}
+
| {{ic|~/.darcs/}}
| [https://bugs.freedesktop.org/show_bug.cgi?id=35887]
+
| [http://bugs.darcs.net/issue2453]
  +
|
| [[kdbus]] を使うことで回避できます。
 
  +
|-
  +
| {{Pkg|dart}}
  +
| {{ic|~/.dart}}, {{ic|~/.dartServer}}
  +
| [https://github.com/dart-lang/sdk/issues/41560]
  +
|
  +
|-
  +
| [[dbus]]
  +
| {{ic|~/.dbus/}}
  +
| [https://gitlab.freedesktop.org/dbus/dbus/issues/46]
  +
| Consider using {{pkg|dbus-broker}}, as it does not create or use this directory.
  +
|-
  +
| {{Pkg|devede}}
  +
| {{ic|~/.devedeng}}
  +
|
  +
| Hardcoded [https://gitlab.com/rastersoft/devedeng/blob/f0893b3ff7b14723bd148db35bdfe2d284156d19/src/devedeng/configuration_data.py#L111 here]
  +
|-
  +
| [https://wiki.gnome.org/Apps/Dia Dia]
  +
| {{ic|~/.dia/}}
  +
|
  +
|
  +
|-
  +
| {{Pkg|dotnet-sdk}}
  +
| {{ic|~/.dotnet/}}
  +
| [https://github.com/dotnet/cli/issues/7569]
  +
|
  +
|-
  +
| [[dropbox]]
  +
| {{ic|~/.dropbox/}}
  +
|
  +
|
 
|-
 
|-
| [[eclipse]]
+
| [[Eclipse]]
| {{ic|~/.eclipse}}
+
| {{ic|~/.eclipse/}}
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=200809]
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=200809]
 
| {{ic|1=-Dosgi.configuration.area=@user.home/.config/..}} オプションで上書きできますがコマンドラインで指定するのではなく {{ic|"$ECLIPSE_HOME"/eclipse.ini"}} に追加する必要があり {{ic|$ECLIPSE_HOME}} の書き込み権限が要ります (Arch Linux では {{ic|$ECLIPSE_HOME}} が {{ic|/usr/bin/eclipse}} に決め打ちされています)。
 
| {{ic|1=-Dosgi.configuration.area=@user.home/.config/..}} オプションで上書きできますがコマンドラインで指定するのではなく {{ic|"$ECLIPSE_HOME"/eclipse.ini"}} に追加する必要があり {{ic|$ECLIPSE_HOME}} の書き込み権限が要ります (Arch Linux では {{ic|$ECLIPSE_HOME}} が {{ic|/usr/bin/eclipse}} に決め打ちされています)。
 
|-
 
|-
  +
| [https://www.fetchmail.info/ Fetchmail]
| [[emacs]]
 
| {{ic|~/.emacs}} {{ic|~/.emacs.d}}
 
| [http://debbugs.gnu.org/cgi/bugreport.cgi?bug=583]
 
| {{ic|HOME}} を設定することができますが、予期せぬ副作用を生みます。他の Emacs 環境変数を修正してロードパスを変更して手動で init ファイルをロードする site ファイルを作成するのが確実ですが、ロードプロセスが大幅に変わってしまいます。
 
|-
 
| [http://www.fetchmail.info/ Fetchmail]
 
 
| {{ic|~/.fetchmailrc}}
 
| {{ic|~/.fetchmailrc}}
 
|
 
|
 
|
 
|
 
|-
 
|-
| [[firefox]]
+
| [[Firefox]]
| {{ic|~/.mozilla}}
+
| {{ic|~/.mozilla/}}
| [https://bugzil.la/259356]
+
| [https://bugzil.la/259356] [https://phabricator.services.mozilla.com/D6995]
 
|
 
|
 
|-
 
|-
  +
| [[Flatpak]]
| [http://www.gnu.org/software/parallel/ GNU parallel]
 
| {{ic|~/.parallel}}
+
| {{ic|~/.var/}}
  +
| [https://github.com/flatpak/flatpak/issues/46] [https://github.com/flatpak/flatpak.github.io/issues/191] [https://github.com/flatpak/flatpak/issues/1651 won't fix]
 
|
 
|
  +
|-
  +
| {{Pkg|fltk}}
  +
| {{ic|~/.fltk/}}
  +
| [https://www.fltk.org/str.php?L3370+P0+S0+C0+I0+E0+V%25+Qxdg]
 
|
 
|
 
|-
 
|-
  +
| [https://github.com/rwestlund/freesweep freesweep]
| [http://www.idris-lang.org/ idris]
 
  +
| {{ic|~/.sweeprc}}
  +
| [https://github.com/rwestlund/freesweep/issues/9]
  +
|
  +
|-
  +
| {{Pkg|gftp}}
  +
| {{ic|~/.gftp/}}
  +
| [https://github.com/masneyb/gftp/issues/99#issuecomment-735030824]
  +
| Following the XDG spec is planned for gftp.
  +
|-
  +
| [https://www.haskell.org/ghc/ GHC]
  +
| {{ic|~/.ghc}}
  +
| [https://ghc.haskell.org/trac/ghc/ticket/6077]
  +
|
  +
|-
  +
| {{Pkg|ghidra}}
  +
|
  +
| [https://github.com/NationalSecurityAgency/ghidra/issues/908]
  +
|
  +
|-
  +
| [[GoldenDict]]
  +
| {{ic|~/.goldendict/}}
  +
| [https://github.com/goldendict/goldendict/issues/151]
  +
|
  +
|-
  +
| {{Pkg|gramps}}
  +
| {{ic|~/.gramps/}}
  +
| [https://gramps-project.org/bugs/view.php?id=8025]
  +
|
  +
|-
  +
| {{Pkg|groovy}}
  +
| {{ic|~/.groovy/}}
  +
|
  +
|
  +
|-
  +
| {{Pkg|grsync}}
  +
| {{ic|~/.grsync/}}
  +
| [https://sourceforge.net/p/grsync/feature-requests/15/]
  +
|
  +
|-
  +
| {{AUR|google-cloud-sdk}}
  +
| {{ic|~/.gsutil/}}
  +
| [https://github.com/GoogleCloudPlatform/gsutil/issues/991]
  +
|
  +
|-
  +
| [http://recordmydesktop.sourceforge.net/about.php gtk-recordMyDesktop]
  +
| {{ic|~/.gtk-recordmydesktop}}
  +
|
  +
|
  +
|-
  +
| {{Pkg|hplip}}
  +
| {{ic|~/.hplip/}}
  +
| [https://bugs.launchpad.net/hplip/+bug/307152]
  +
|
  +
|-
  +
| [https://www.idris-lang.org/ idris]
 
| {{ic|~/.idris}}
 
| {{ic|~/.idris}}
 
| [https://github.com/idris-lang/Idris-dev/pull/3456]
 
| [https://github.com/idris-lang/Idris-dev/pull/3456]
 
|
 
|
 
|-
 
|-
  +
| [[Java]] OpenJDK
| [http://julialang.org/ julia]
 
| {{ic|~/.juliarc.jl}} {{ic|~/.julia_history}}
+
| {{ic|~/.java/fonts}}
  +
| [https://bugzilla.redhat.com/show_bug.cgi?id=1154277]
  +
| {{ic|1=export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java}}
  +
|-
  +
| [[Java]] OpenJFX
  +
| {{ic|~/.java/webview}}
  +
|
  +
|
  +
|-
  +
| {{Pkg|jgmenu}}
  +
| {{ic|~/.jgmenu-lockfile}}
  +
| [https://github.com/johanmalm/jgmenu/blob/3e48121dc28d06efb23c7901b7e138c2de167a84/src/lockfile.c#L11] [https://github.com/johanmalm/jgmenu/blob/4e45d04502fc5f77392bef0ff33b7bada0cf07d1/src/jgmenu_run#L7]
  +
|
  +
|-
  +
| [https://julialang.org/ julia]
  +
| {{ic|~/.juliarc.jl}}, {{ic|~/.julia_history}}, {{ic|~/.julia}}
 
| [https://github.com/JuliaLang/julia/issues/4630] [https://github.com/JuliaLang/julia/issues/10016]
 
| [https://github.com/JuliaLang/julia/issues/4630] [https://github.com/JuliaLang/julia/issues/10016]
  +
| The trailing {{ic|:$JULIA_DEPOT_PATH}} is necessary. See [https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_DEPOT_PATH]
  +
{{ic|1=export JULIA_DEPOT_PATH="$XDG_DATA_HOME/julia:$JULIA_DEPOT_PATH"}}
  +
|-
  +
| {{AUR|kite}}
  +
| {{ic|~/.kite/}}
  +
| [https://github.com/kiteco/issue-tracker/issues/242]
  +
|
  +
|-
  +
| {{Pkg|kotlin}}
  +
| {{ic|~/.kotlinc_history}}
  +
|
  +
| Related Konan issue: [https://youtrack.jetbrains.com/issue/KT-40763]
  +
|-
  +
| [[Kubernetes]]
  +
| {{ic|~/.kube/}}
  +
| [https://github.com/kubernetes/kubectl/issues/942][https://github.com/kubernetes/kubernetes/issues/56402]
  +
|
  +
|-
  +
| {{AUR|librewolf}}
  +
| {{ic|~/.mozilla}}
  +
{{ic|~/.librewolf}}
  +
| [https://gitlab.com/librewolf-community/browser/linux/-/issues/129]
 
|
 
|
 
|-
 
|-
| [[PAM|Linux PAM]]
+
| [http://www.linux-pam.org/ Linux PAM]
 
| {{ic|~/.pam_environment}}
 
| {{ic|~/.pam_environment}}
  +
| [https://github.com/linux-pam/linux-pam/issues/7]
  +
| [https://github.com/linux-pam/linux-pam/blob/master/modules/pam_env/pam_env.c modules/pam_env/pam_env.c]にハードコードされています
  +
|-
  +
| [https://lldb.llvm.org/ lldb]
  +
| {{ic|~/.lldb}}, {{ic|~/.lldbinit}}
  +
|
 
|
 
|
| ハードコード: [https://github.com/linux-pam/linux-pam/blob/master/modules/pam_env/pam_env.c modules/pam_env/pam_env.c]。
 
 
|-
 
|-
  +
| [[LMMS]]
| [http://lldb.llvm.org/ lldb]
 
| {{ic|~/.lldb}} {{ic|~/.lldbinit}}
+
| {{ic|~/.lmmsrc.xml}}
  +
| [https://avidemux.org/smif/index.php/topic,19596.0.html]
|
 
 
|
 
|
 
|-
 
|-
 
| [http://www.mathomatic.org/ mathomatic]
 
| [http://www.mathomatic.org/ mathomatic]
| {{ic|~/.mathomaticrc}} {{ic|~/.matho_history}}
+
| {{ic|~/.mathomaticrc}}, {{ic|~/.matho_history}}
 
|
 
|
| {{ic|rlwrap mathomatic -r}} を使って {{ic|RLWRAP_HOME}} 変数を適切に設定することで履歴を移動できます。
+
| {{ic|rlwrap mathomatic -r}} を使って {{ic|RLWRAP_HOME}} 環境変数を適切に設定することで履歴を移動できます。
 
|-
 
|-
| [[Mercurial]]
+
| [[Minecraft]]
| {{ic|~/.hgrc}}
+
| {{ic|~/.minecraft/}}
  +
| [https://bugs.mojang.com/browse/MCL-2563 won't fix]
 
|
 
|
| 設定ファイルの検索パスを追加することはできませんが上書きすることはできます。デフォルトフォルダを追加するときは注意してください: {{ic|1=$ export HGRCPATH=/usr/lib/python2.7/site-packages/mercurial/default.d/:\
 
/etc/mercurial/hgrc:"${XDG_CONFIG_HOME}"/mercurial/hgrc}}。
 
 
デフォルトの設定パスを確認するには: {{ic|1=$ env -u HGRCPATH hg debugconfig --debug {{!}} grep "read config"}}。
 
 
|-
 
|-
  +
| [[Minetest]]
| [http://www.milkytracker.org/ milkytracker]
 
| {{ic|~/.milkytracker_config}}
+
| {{ic|~/.minetest/}}
| [https://github.com/Deltafire/MilkyTracker/issues/12]
+
| [https://github.com/minetest/minetest/issues/864 won't fix] [https://github.com/minetest/minetest/issues/8151]
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|minicom}}
| [[MongoDB|mongodb]]
 
| {{ic|~/.mongorc.js}} {{ic|~/.dbshell}}
+
| {{ic|~/.minirc.dfl}}
  +
|
| [https://jira.mongodb.org/browse/DOCS-5652?jql=text%20~%20%22.mongorc.js%22]
 
  +
| アップストリームでは、{{ic|~/.config/minicom}}以下の設定ファイルをサポートするためのTODOエントリがあります。[https://salsa.debian.org/minicom-team/minicom/-/blob/fe9ff103/TODO#L27]
| [http://stackoverflow.com/a/22349050/4200039 Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使うことを提案しています。
 
 
|-
 
|-
  +
|-
| [[Music Player Daemon#コンソール|ncmpc]]
 
  +
| [[Mono]]
| {{ic|~/.ncmpc}}
 
  +
| {{ic|~/.mono/}}
 
|
 
|
 
|
 
|
  +
|-
  +
| [https://www.mongodb.org/ mongodb]
  +
| {{ic|~/.mongorc.js}}, {{ic|~/.dbshell}}
  +
| [https://jira.mongodb.org/browse/DOCS-5652?jql=text%20~%20%22.mongorc.js%22]
  +
| [https://stackoverflow.com/questions/22348604/the-mongorc-js-is-not-found-but-there-is-one/22349050#22349050 この Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使う部分的な回避策を提案しています。
 
|-
 
|-
 
|
 
|
 
| {{ic|~/.netrc}}
 
| {{ic|~/.netrc}}
 
|
 
|
| {{ic|~/.ssh}} などの多数のプログラムが使っています。curl ({{ic|CURLOPT_NETRC_FILE}}), ftp ({{ic|NETRC}}), s-nail ({{ic|NETRC}}) な使用しています。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。
+
| {{ic|~/.ssh}} のように、多数のプログラムがこのファイルはここにあることを想定しています。curl ({{ic|CURLOPT_NETRC_FILE}}), [[ftp]] ({{ic|NETRC}}), [[s-nail]] ({{ic|NETRC}}) のようプロジェクト含まれます。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。
 
|-
 
|-
  +
| [[NetworkManager|nmcli]]
| [[Network Security Services|NSS]]
 
| {{ic|~/.pki}}
+
| {{ic|~/.nmcli-history}}
| [https://bugzilla.mozilla.org/show_bug.cgi?id=818686]
+
| [https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/64]
  +
| Hardcoded to {{ic|g_get_home_dir()}}[https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-home-dir] [https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/nmcli/connections.c#L6598]
  +
|-
  +
| [[Networkmanager-openvpn]]
  +
| {{ic|~/.cert/nm-openvpn}}
  +
| [https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/issues/35]
 
|
 
|
 
|-
 
|-
 
| [[OpenSSH]]
 
| [[OpenSSH]]
 
| {{ic|~/.ssh}}
 
| {{ic|~/.ssh}}
| [https://bugzilla.mindrot.org/show_bug.cgi?id=2050]
+
| [https://bugzilla.mindrot.org/show_bug.cgi?id=2050 won't fix]
| DropBear や OpenSSH など多数の ssh デーモンやクライアントが使用します。
+
| DropBear や OpenSSH など多数の ssh デーモンやクライアントがここにあると想定ています。
 
|-
 
|-
 
| [https://www.palemoon.org/ palemoon]
 
| [https://www.palemoon.org/ palemoon]
1,076行目: 2,248行目:
 
| [https://forum.palemoon.org/viewtopic.php?f=5&t=9639]
 
| [https://forum.palemoon.org/viewtopic.php?f=5&t=9639]
 
|
 
|
  +
|-
  +
| {{AUR|parsec-bin}}
  +
| {{ic|~/.parsec}}
  +
|
  +
|
  +
|-
  +
| {{AUR|pcsxr}}
  +
| {{ic|~/.pcsxr}}
  +
|
  +
| A {{ic|-cfg}} flag exists, but can only be set relative to {{ic|~/.pcsxr}}.
 
|-
 
|-
 
| [https://perf.wiki.kernel.org/index.php/Main_Page perf]
 
| [https://perf.wiki.kernel.org/index.php/Main_Page perf]
 
| {{ic|~/.debug}}
 
| {{ic|~/.debug}}
 
|
 
|
| [https://github.com/torvalds/linux/blob/master/tools/perf/util/config.c#L18 tools/perf/util/config.c:18] でハードコードされています。
+
| [https://github.com/torvalds/linux/blob/7d42e98182586f57f376406d033f05fe135edb75/tools/perf/util/config.c#L35 tools/perf/util/config.c] でハードコードされています。 Commit: [https://github.com/torvalds/linux/commit/45de34bbe3e1b8f4c8bc8ecaf6c915b4b4c545f8]
 
|-
 
|-
  +
| [[perl]]
  +
| {{ic|~/.cpan}}, {{ic|~/perl5}}
 
|
 
|
  +
| Perl5の [https://github.com/andk/cpanpm CPAN] は {{ic|~/.cpan}} を期待しています。議論: [https://github.com/andk/cpanpm/issues/149]
  +
|-
  +
| {{AUR|portfolio-performance-bin}}
  +
| {{ic|~/.PortfolioPerformance/}}
  +
| [https://github.com/buchen/portfolio/issues/1922]
  +
|
  +
|-
  +
| 様々な[[シェル]]や[[ディスプレイマネージャ]]
 
| {{ic|~/.profile}}
 
| {{ic|~/.profile}}
 
|
 
|
  +
|
| 様々な[[シェル]]や[[ディスプレイマネージャ]]が使用しています。
 
 
|-
 
|-
 
| [[python]]
 
| [[python]]
 
| {{ic|~/.python_history}}
 
| {{ic|~/.python_history}}
  +
| [https://bugs.python.org/issue29779] [https://bugs.python.org/issue20886]
  +
| [https://bugs.python.org/issue5845 バージョン 3.4] からインタラクティブセッションの履歴は全てデフォルトで {{ic|~/.python_history}} に保存されます。古いバージョンと同じ方法でカスタマイズできます ([https://docs.python.org/3/library/readline.html?highlight=readline#example この例] を参照)。これには [https://bugs.python.org/msg318437 カスタムパスの使用] や [https://bugs.python.org/msg265568 履歴保存の無効化] も含みます。
  +
|-
  +
| {{Pkg|python-poetry}}
  +
| {{ic|~/.poetry}}
  +
| [https://github.com/python-poetry/poetry/issues/2148]
  +
| {{ic|POETRY_HOME}} を使用できますがデータと設定が分離されていません。
  +
|-
  +
| {{Pkg|python-tensorflow}}
  +
| {{ic|~/.keras}}
  +
| [https://github.com/tensorflow/tensorflow/issues/38831]
  +
| The issues is for {{ic|tf.keras}} module
  +
|-
  +
| {{Pkg|qmmp}}
  +
| {{ic|~/.qmmp}}
  +
| [https://sourceforge.net/p/qmmp-dev/tickets/776]
 
|
 
|
| [https://bugs.python.org/issue5845 バージョン 3.4] からインタラクティブセッションの履歴は全てデフォルトで {{ic|~/.python_history}} に保存されますが、古いバージョンと同じ方法でカスタムパスを設定できます ([https://docs.python.org/3/library/readline.html?highlight=readline#example] を参照)。
 
 
|-
 
|-
  +
| [https://doc.qt.io/qt-5/qtdesigner-manual.html Qt Designer]
| [http://racket-lang.org/ racket]
 
| {{ic|~/.racketrc}}
+
| {{ic|~/.designer}}
  +
| [https://bugreports.qt.io/browse/QTCREATORBUG-26093]
  +
|
  +
|-
  +
| [http://rednotebook.sourceforge.net/ RedNotebook]
  +
| {{ic|~/.rednotebook}}
 
|
 
|
 
|
 
|
 
|-
 
|-
  +
| [https://remarkableapp.github.io/linux.html Remarkable]
| [http://www.seamonkey-project.org/ SeaMonkey]
 
| {{ic|~/.mozilla}}
+
| {{ic|~/.remarkable}}
  +
|
  +
|
  +
|-
  +
| {{AUR|renderdoc}}
  +
| {{ic|~/.renderdoc}}
  +
| [https://github.com/baldurk/renderdoc/pull/1741 won't fix]
  +
|
  +
|-
  +
| [https://www.renpy.org/ Ren'Py]
  +
| {{ic|~/.renpy}}
  +
| [https://github.com/renpy/renpy/issues/1377#issuecomment-370118555 won't fix]
  +
|
  +
|-
  +
| [https://gerrit.googlesource.com/git-repo/ repo]
  +
| {{ic|~/.repoconfig}}
  +
| [https://bugs.chromium.org/p/gerrit/issues/detail?id=13997]
  +
|
  +
|-
  +
| [[SANE]]
  +
| {{ic|~/.sane/}}
  +
|
  +
| {{ic|scanimage}} はここに {{ic|.cal}} ファイルを作成します。
  +
|-
  +
| {{Pkg|sbcl}}
  +
| {{ic|~/.sbclrc}}
  +
|
  +
| {{hc|/etc/sbclrc|
  +
(require :asdf)
  +
(setf sb-ext:*userinit-pathname-function*
  +
(lambda () (uiop:xdg-config-home #P"sbcl/sbclrc")))
  +
}}
  +
  +
これにはroot権限が必要であり、すべてのユーザに対して{{{ic|~/.sbclrc}}}の場所が変更されることに注意してください。これは、{{{ic|lambda}}フォーム内に既存の{{{ic|~/.sbclrc}}}があるかどうかをチェックすることで緩和できます。
  +
|-
  +
| {{Pkg|scribus}}
  +
| {{ic|~/.scribus}}
  +
|
  +
|
  +
|-
  +
| [https://www.seamonkey-project.org/ SeaMonkey]
  +
| {{ic|~/.mozilla/seamonkey}}
 
| [https://bugzil.la/726939]
 
| [https://bugzil.la/726939]
 
|
 
|
 
|-
 
|-
| [[Skype]] < 5.0
+
| [[Snap]]
| {{ic|~/.Skype}}
+
| {{ic|~/snap/}}
  +
| [https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053]
| [https://community.skype.com/t5/Linux-archive/Skype-violates-XDG-basedir-spec-on-linux/td-p/4175884]
 
 
|
 
|
 
|-
 
|-
 
| [https://www.gnu.org/software/solfege/solfege.html Solfege]
 
| [https://www.gnu.org/software/solfege/solfege.html Solfege]
| {{ic|~/.solfege}} {{ic|~/.solfegerc}} {{ic|~/lessonfiles}}
+
| {{ic|~/.solfege}}, {{ic|~/.solfegerc}}, {{ic|~/lessonfiles}}
 
| [https://savannah.gnu.org/bugs/index.php?50251]
 
| [https://savannah.gnu.org/bugs/index.php?50251]
 
|
 
|
 
|-
 
|-
| [[Postfix#SpamAssassin|SpamAssassin]]
+
| [https://spamassassin.apache.org/ SpamAssassin]
 
| {{ic|~/.spamassassin}}
 
| {{ic|~/.spamassassin}}
 
|
 
|
 
|
 
|
 
|-
 
|-
| [[spectrwm]]
+
| [[SQLite]]
| {{ic|~/.spectrwm}}
+
| {{ic|~/.sqlite_history}}, {{ic|~/.sqliterc}}
  +
| [https://www.sqlite.org/src/info/696e82f7c82d1720]
  +
| {{ic|1=export SQLITE_HISTORY=$XDG_DATA_HOME/sqlite_history}}, {{ic|sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc}}
  +
|-
  +
| [[Steam]]
  +
| {{ic|~/.steam}}, {{ic|~/.steampath}}, {{ic|~/.steampid}}
  +
| [https://github.com/ValveSoftware/steam-for-linux/issues/1890]
  +
| 大抵のゲームエンジン (Unity 3D, Unreal) は仕様に準拠していますが、一部のゲームパブリッシャはパスを [https://www.ctrl.blog/entry/flatpak-steamcloud-xdg Steam Auto-Cloud] にハードコードしているため、ゲームのセーブデータが間違ったディレクトリで同期されることがあります。
  +
|-
  +
| [[TeamSpeak]]
  +
| {{ic|~/.ts3client}}
 
|
 
|
  +
| {{ic|1=export TS3_CONFIG_DIR="$XDG_CONFIG_HOME/ts3client"}}
  +
|-
  +
| {{Pkg|terraform}}
  +
| {{ic|~/.terraform.d/}}
  +
| [https://github.com/hashicorp/terraform/issues/15389]
 
|
 
|
 
|-
 
|-
  +
| {{pkg|texinfo}}
| [[SQLite]]
 
| {{ic|~/.sqlite_history}} {{ic|~/.sqliterc}}
+
| {{ic|~/.infokey}}
  +
|
| [http://unix.stackexchange.com/questions/306890/change-location-of-sqlite-history-file][http://sqlite.1065341.n5.nabble.com/Customizing-the-location-of-the-sqlite-history-td87055.html]
 
| {{ic|$ sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc}}
+
| {{ic|info --init-file "$XDG_CONFIG_HOME/infokey"}}
  +
|-
  +
| [http://www.texmacs.org/ TeXmacs]
  +
| {{ic|~/.TeXmacs}}
  +
|
  +
|
 
|-
 
|-
 
| [[Thunderbird]]
 
| [[Thunderbird]]
| {{ic|~/.thunderbird}}
+
| {{ic|~/.thunderbird/}}
 
| [https://bugzil.la/735285]
 
| [https://bugzil.la/735285]
 
|
 
|
 
|-
 
|-
| [[vim]]
+
| [[TigerVNC]]
| {{ic|~/.vim}} {{ic|~/.vimrc}} {{ic|~/.viminfo}}
+
| {{ic|~/.vnc}}
  +
| [https://github.com/TigerVNC/tigervnc/issues/1195]
 
|
 
|
  +
|-
  +
| [https://gitlab.archlinux.org/remy/texlive-localmanager tllocalmgr]
  +
| {{ic|~/.texlive}}
  +
|
  +
|
  +
|-
  +
| {{AUR|vale}}
  +
| {{ic|~/.vale.ini}}
  +
| [https://github.com/errata-ai/vale/issues/152 won't fix]
  +
| {{ic|vale --config "$XDG_CONFIG_HOME/vale/config.ini"}}
  +
|-
  +
| [[vim]]
  +
| {{ic|~/.vim}}, {{ic|~/.vimrc}}, {{ic|~/.viminfo}}
  +
| [https://github.com/vim/vim/issues/2034]
 
| [https://github.com/vim/vim/commit/6a459902592e2a4ba68 7.3.1178] から vim は {{ic|~/.vimrc}} が存在しない場合に {{ic|~/.vim/vimrc}} を検索します。
 
| [https://github.com/vim/vim/commit/6a459902592e2a4ba68 7.3.1178] から vim は {{ic|~/.vimrc}} が存在しない場合に {{ic|~/.vim/vimrc}} を検索します。
   
{{hc|"$XDG_CONFIG_HOME"/vim/vimrc|
+
{{hc|"$XDG_CONFIG_HOME"/vim/vimrc|<nowiki>
set undodir&#61;$XDG_CACHE_HOME/vim/undo
+
set runtimepath^=$XDG_CONFIG_HOME/vim
set directory&#61;$XDG_CACHE_HOME/vim/swap
+
set runtimepath+=$XDG_DATA_HOME/vim
set backupdir&#61;$XDG_CACHE_HOME/vim/backup
+
set runtimepath+=$XDG_CONFIG_HOME/vim/after
set viminfo+&#61;'1000,n$XDG_CACHE_HOME/vim/viminfo
 
set runtimepath&#61;$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after,$VIMRUNTIME
 
}}
 
   
  +
set packpath^=$XDG_DATA_HOME/vim,$XDG_CONFIG_HOME/vim
{{hc|~/.profile|
 
export VIMINIT&#61;":source $XDG_CONFIG_HOME"/vim/vimrc
+
set packpath+=$XDG_CONFIG_HOME/vim/after,$XDG_DATA_HOME/vim/after
  +
  +
let g:netrw_home = $XDG_DATA_HOME."/vim"
  +
call mkdir($XDG_DATA_HOME."/vim/spell", 'p')
  +
set viewdir=$XDG_DATA_HOME/vim/view | call mkdir(&viewdir, 'p')
  +
  +
set backupdir=$XDG_CACHE_HOME/vim/backup | call mkdir(&backupdir, 'p')
  +
set directory=$XDG_CACHE_HOME/vim/swap | call mkdir(&directory, 'p')
  +
set undodir=$XDG_CACHE_HOME/vim/undo | call mkdir(&undodir, 'p')
  +
  +
if !has('nvim') | set viminfofile=$XDG_CACHE_HOME/vim/viminfo | endif
  +
</nowiki>}}
  +
  +
{{hc|~/.profile|2=
  +
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" {{!}} source $MYVIMRC'
 
}}
 
}}
   
  +
{{ic|VIMINIT}} environment variable will also affect Neovim. If separate configs for Vim and Neovim are desired then the following will be a better choice:
https://tlvince.com/vim-respect-xdg も参照。
 
  +
export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.vim" | so $MYVIMRC'
  +
  +
* https://blog.joren.ga/vim-xdg
  +
* https://tlvince.com/vim-respect-xdg
 
|-
 
|-
 
| [http://www.vimperator.org/ vimperator]
 
| [http://www.vimperator.org/ vimperator]
 
| {{ic|~/.vimperatorrc}}
 
| {{ic|~/.vimperatorrc}}
| [http://www.mozdev.org/pipermail/vimperator/2009-October/004848.html]
+
| [https://web.archive.org/web/20200514081339/http://www.mozdev.org/pipermail/vimperator/2009-October/004848.html]
| {{ic|1=$ export VIMPERATOR_INIT=":source $XDG_CONFIG_HOME/vimperator/vimperatorrc"}}
+
| {{ic|1=export VIMPERATOR_INIT=":source $XDG_CONFIG_HOME/vimperator/vimperatorrc"}}
  +
{{ic|1=$ export VIMPERATOR_RUNTIME="$XDG_CONFIG_HOME"/vimperator}}
 
  +
{{ic|1=export VIMPERATOR_RUNTIME="$XDG_CONFIG_HOME"/vimperator}}
  +
|-
  +
| {{AUR|visidata}}
  +
| {{ic|~/.visidata}}
  +
| [https://github.com/saulpw/visidata/issues/487]
  +
|
  +
|-
  +
| {{Pkg|w3m}}
  +
| {{ic|~/.w3m}}
  +
| [https://sourceforge.net/p/w3m/feature-requests/31/] [https://github.com/tats/w3m/issues/130]
  +
|
 
|-
 
|-
  +
| [https://w1.fi/ wpa_cli]
| [[WPA supplicant#wpa_cli で接続する|wpa_cli]]
 
 
| {{ic|~/.wpa_cli_history}}
 
| {{ic|~/.wpa_cli_history}}
 
|
 
|
 
|
 
|
 
|-
 
|-
| {{pkg|xdg-utils}}
+
| {{Pkg|x2goclient}}
  +
| {{ic|~/.x2goclient}}
  +
|
  +
| {{ic|1=alias x2goclient="x2goclient --home=$HOME/.config"}}
  +
|-
  +
| {{Pkg|xdg-utils}}
 
| {{ic|~/.gnome}}
 
| {{ic|~/.gnome}}
  +
| [https://bugs.freedesktop.org/show_bug.cgi?id=90775] [https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/81] [https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/22]
  +
| 何らかの理由で {{ic|xdg-desktop-menu}} スクリプトは {{ic|gnome_user_dir&#61;"$HOME/.gnome/apps"}} をハードコードしており、[[chromium]] などによって使われています。バグの議論は gitlab に移動され修正するPRが存在しますが、まだマージされていません。
  +
|-
  +
| {{Pkg|xpdf}}
  +
| {{ic|~/.xpdfrc}}
 
|
 
|
  +
|
| 何らかの理由で {{ic|xdg-desktop-menu}} スクリプトは {{ic|gnome_user_dir&#61;"$HOME/.gnome/apps"}} をハードコードしており、[[chromium]] などによって使われています。
 
  +
|-
  +
| [https://yardoc.org YARD]
  +
| {{ic|~/.yard}}
  +
| [https://github.com/lsegal/yard/issues/1230]
  +
| 誰か実装したい人がいれば、プルリクエストを受け付けます。
 
|-
 
|-
| [https://opensource.conformal.com/wiki/xombrero xombrero]
+
| [https://nmap.org/zenmap/ zenmap] {{Pkg|nmap}}
| {{ic|~/.xombrero}}
+
| {{ic|~/.zenmap}}
| [https://github.com/conformal/xombrero/issues/74]
+
| [https://seclists.org/nmap-dev/2012/q2/163] [https://github.com/nmap/nmap/issues/590]
  +
|
  +
|-
  +
| {{AUR|zoom}}
  +
| {{ic|~/.zoom}}
  +
|
  +
| {{ic|1=export SSB_HOME="$XDG_DATA_HOME"/zoom}}
  +
|-
  +
| {{AUR|zotero}}
  +
| {{ic|~/.zotero}} {{ic|~/Zotero}}
  +
| [https://github.com/zotero/zotero/issues/1203]
 
|
 
|
 
|-
 
|-
 
| [[zsh]]
 
| [[zsh]]
| {{ic|~/.zshrc}} {{ic|~/.zprofile}} {{ic|~/.zshenv}} {{ic|~/.zlogin}} {{ic|~/.zlogout}} {{ic|~/.histfile}}
+
| {{ic|~/.zshrc}}, {{ic|~/.zprofile}}, {{ic|~/.zshenv}}, {{ic|~/.zlogin}}, {{ic|~/.zlogout}}, {{ic|~/.histfile}}, {{ic|~/.zcompdump}}, {{ic|~/.zcompcache}}
| [http://www.zsh.org/mla/workers/2013/msg00692.html]
+
| [https://www.zsh.org/mla/workers/2013/msg00692.html]
| {{ic|~/.zshenv}} で {{ic|1=ZDOTDIR=$HOME/.config/zsh}} を export してください (ブートストラップ問題のためにハードコードされています)。{{ic|/etc/zsh/zshenv}} にも追加することで {{ic|HOME}} にドットファイルが必要なくなります。ただし root 権限が必要で設定はシステム全体に適用されます。
+
| {{ic|~/.zshenv}} で {{ic|1=ZDOTDIR=$HOME/.config/zsh}} を export することを検討してください (ブートストラップ問題のためにハードコードされています)。{{ic|/etc/zsh/zshenv}} にも追加することで {{ic|HOME}} にドットファイルが必要なくなります。ただし root 権限が必要で設定はシステム全体に適用されます。
  +
{{ic|1=$ export HISTFILE="$XDG_DATA_HOME"/zsh/history}}
 
  +
{{ic|1=export HISTFILE="$XDG_STATE_HOME"/zsh/history}}
  +
  +
{{ic|compinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION}} [https://unix.stackexchange.com/questions/391641/separate-path-for-zcompdump-files] /!\ フォルダが存在する必要があります。
  +
  +
{{ic|zstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache}}
  +
 
|}
 
|}
   
==ライブラリと言語のサポート==
+
==ライブラリ==
   
 
; C
 
; C
  +
: [https://github.com/Jorengarenar/libXDGdirs libXDGdirs]
 
: [https://github.com/Cloudef/chck/tree/master/chck/xdg C99: Cloudef のシンプルな実装]。
 
: [https://github.com/Cloudef/chck/tree/master/chck/xdg C99: Cloudef のシンプルな実装]。
  +
  +
; C++
  +
: [https://github.com/azubieta/xdg-utils-cxx xdg-utils-cxx]
  +
: [https://sr.ht/~danyspin97/xdgpp xdgpp]
  +
  +
; Go
  +
: [https://github.com/ProtonMail/go-appdir go-appdir]
   
 
; Haskell
 
; Haskell
 
: 1.2.3.0 から [https://hackage.haskell.org/package/directory directory] で公式に対応 [https://github.com/haskell/directory/commit/ab9d0810ce ab9d0810ce]。
 
: 1.2.3.0 から [https://hackage.haskell.org/package/directory directory] で公式に対応 [https://github.com/haskell/directory/commit/ab9d0810ce ab9d0810ce]。
 
: [https://hackage.haskell.org/package/xdg-basedir xdg-basedir]
 
: [https://hackage.haskell.org/package/xdg-basedir xdg-basedir]
  +
  +
; JVM: Java, Kotlin, Clojure, Scala, ...
  +
: [https://github.com/soc/directories-jvm directories-jvm]
   
 
; Perl
 
; Perl
: [http://search.cpan.org/dist/File-BaseDir/lib/File/BaseDir.pm File-BaseDir]
+
: [https://search.cpan.org/dist/File-BaseDir/lib/File/BaseDir.pm File-BaseDir]
: [https://github.com/Aerdan/perl-file-xdg perl-file-xdg]
 
   
 
; Python
 
; Python
: [http://freedesktop.org/wiki/Software/pyxdg/ pyxdg]
+
: [https://freedesktop.org/wiki/Software/pyxdg/ pyxdg]
  +
  +
; Ruby
  +
: [https://github.com/rubyworks/xdg rubyworks/xdg]
  +
  +
; Rust
  +
: [https://github.com/soc/directories-rs directories-rs]
  +
: [https://github.com/whitequark/rust-xdg rust-xdg]
   
 
; Vala
 
; Vala
: [http://valadoc.org/#!api=glib-2.0/GLib.Environment GLib.Environment] によるサポート。
+
: [https://valadoc.org/#!api=glib-2.0/GLib.Environment GLib.Environment] によるサポート。
 
: {{ic|get_user_cache_dir}}, {{ic|get_user_data_dir}}, {{ic|get_user_config_dir}} などを参照。
 
: {{ic|get_user_cache_dir}}, {{ic|get_user_data_dir}}, {{ic|get_user_config_dir}} などを参照。
   
1,202行目: 2,564行目:
   
 
* [https://wiki.gnome.org/Initiatives/GnomeGoals/XDGConfigFolders GNOME Goal: XDG Base Directory Specification Usage]
 
* [https://wiki.gnome.org/Initiatives/GnomeGoals/XDGConfigFolders GNOME Goal: XDG Base Directory Specification Usage]
* [https://plus.google.com/+RobPikeTheHuman/posts/R58WgWwN9jp Rob Pike: "Dotfiles" being hidden is a UNIXv2 mistake].
+
* [https://plus.google.com/+RobPikeTheHuman/posts/R58WgWwN9jp Rob Pike: "Dotfiles" being hidden is a UNIXv2 mistake]
  +
* {{man|1|systemd-path}}
* [http://www.freedesktop.org/software/systemd/man/systemd-path.html systemd-path(1)]
 
* [http://www.freedesktop.org/software/systemd/man/file-hierarchy.html file-hierarchy(7)]
+
* {{man|7|file-hierarchy}}
* [https://github.com/grawity/dotfiles/blob/master/.dotfiles.notes Grawity's notes on dotfiles].
+
* [https://github.com/grawity/dotfiles/blob/master/.dotfiles.notes Grawity's notes on dotfiles]
* [https://github.com/grawity/dotfiles/blob/master/.environ.notes Grawity's notes on environment variables].
+
* [https://github.com/grawity/dotfiles/blob/master/.environ.notes Grawity's notes on environment variables]
* [https://ploum.net/207-modify-your-application-to-use-xdg-folders/ ploum.net: Modify Your Application to use XDG Folders].
+
* [https://ploum.net/207-modify-your-application-to-use-xdg-folders/ ploum.net: Modify Your Application to use XDG Folders]
  +
* The [https://pcgamingwiki.com/wiki/Home PCGamingWiki] attempts to document whether or not Linux PC games follow the XDG Base Directory Specification.

2023年1月24日 (火) 09:55時点における最新版

この記事あるいはセクションは翻訳の途中です。
ノート: ソフトウェア一覧の内容は古くなっている場合があります (議論: トーク:XDG Base Directory#)

関連記事

この記事は、XDG Base Directory specification の仕様を #仕様 に、ソフトウェアのサポートを #サポート にまとめています。

仕様

フルスペック を読んでください。このセクションでは概要だけを抽出しています。

デフォルトでは pam_systemd によって XDG_RUNTIME_DIR だけが設定されます。既存のディレクトリの絶対パスを使って明示的に他の変数を定義するかどうかはユーザー次第です。

変数の定義に関する情報は 環境変数#グローバル を参照してください。

ユーザーディレクトリ

  • XDG_CONFIG_HOME
    • ユーザー個別の設定が書き込まれるディレクトリ (/etc と類似)。
    • デフォルトは $HOME/.config です。
  • XDG_CACHE_HOME
    • ユーザー個別の重要でない (キャッシュ) データが書き込まれるディレクトリ (/var/cache と類似)。
    • デフォルトは $HOME/.cache です。
  • XDG_DATA_HOME
    • ユーザー個別のデータファイルが書き込まれるディレクトリ (/usr/share と類似)。
    • デフォルトは $HOME/.local/share です。
  • XDG_STATE_HOME
    • ユーザー個別の状態ファイルをが書き込まれるディレクトリ (/var/lib と類似).
    • デフォルトは $HOME/.local/state.
  • XDG_RUNTIME_DIR
    • ソケットや名前付きパイプなどのような必須でないユーザー個別のデータファイルに使われます。
    • デフォルト値は必ずしも設定する必要はありません。設定されていない場合は警告が表示されます。
    • ディレクトリの所有者がユーザーでアクセスモードが 0700 である必要があります。
    • OS の標準機能だけで動作するファイルシステムを使用します。
    • ローカルファイルシステム上に存在する必要があります。
    • 定期的にファイルが消去される可能性があります。
    • 永続的に保持したい場合は6時間毎に変更を加えるかスティッキービットを設定します。
    • ユーザーがログインしている間のみ存在します。
    • tmpfs でマウントされることもあるので巨大なファイルは保存できません。
    • pam_systemd はこれを /run/user/$UID に設定します。

システムディレクトリ

  • XDG_DATA_DIRS
    • : でディレクトリを区切ります (PATH と類似)。
    • デフォルトは /usr/local/share:/usr/share です。
  • XDG_CONFIG_DIRS
    • : でディレクトリを区切ります (PATH と類似)。
    • デフォルトは /etc/xdg です。

サポート

このセクションでは、2003 年に導入された XDG Base Directory 仕様を使用するソフトウェアが増加しているため、そのカタログを作成します。これは、一般的に見られるドットファイルとそのサポート状況をリストアップすることで、この仕様の有効性を示します。現在、Base Directory 仕様をサポートしていないソフトウェアについては、代わりにエミュレートするための回避策を示します。

回避策は、ソースへのパッチ適用、環境変数に格納されているコードの実行、またはコンパイル時オプションを含まないものに限定されます。その理由は、設定はシステム間でポータブルであるべきであり、コンパイル時のオプションがそれを妨げるからです。

願わくば、これが、ある種のドットファイルが何であり、どこから来たのかについての正確な情報源となることを願っています。

貢献

貢献するときは適切なセクションを使ってください。

コードの評価 (vimVIMINIT など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。 また、エラーが発生しやすかったり難しい方法であれば、それもハードコードとして扱ってください。

  • 2番目のカラムはプロジェクトが使用するレガシーなファイルやディレクトリ用(1行にひとつ)で、もはや読み込まれない場合でも利用者が見つけることができるようにするためのものです。
  • 3番目では、XDG Base Directory に切り替わったプロジェクトのコミットあるいはバージョンや公開討論を見つけて次の2つのカラムに含めるようにしてください(1行にふたつ)。
  • 最後のカラムには適切な回避策または解決策を含めてください。どうかあなたの解決策が正しく機能することを確認してください。

サポートしているソフトウェア

アプリケーション 旧パス 対応開始 議論 ノート
aerc-gitAUR
ALSA ~/.asoundrc 577df36

1.2.3

[1] XDG_CONFIG_HOME/alsa/asoundrc
Android Studio ~/.AndroidStudioX.X Android Studio 4.1
XDG_CONFIG_HOME/Google/AndroidStudioX.X
XDG_DATA_HOME/Google/AndroidStudioX.X
XDG_CACHE_HOME/Google/AndroidStudioX.X

Location overview by Google doesn't mention XDG - paths could be hardcoded instead of using the proper variable, though that is unlikely as Intellij IDEA, which Android Studio is based on, implements it properly as well

antimicroxAUR ~/.antimicro,~/.antimicrox edba864 [2] Package moved to antimicroxAUR - this entry needs to be migrated
aria2 ~/.aria2 8bc1d37 [3]
XDG_CONFIG_HOME/aria2/
XDG_CACHE_HOME/aria2/
asunder ~/.asunder ~/.asunder_album_artist ~/.asunder_album_genre ~/.asunder_album_title 2.9.0[リンク切れ 2021-05-17] [4][リンク切れ 2021-05-17] ~/.asunder としてXDG_CONFIG_HOME/asunder/asunder を、他の3つのファイルとして XDG_CACHE_HOME/asunder/asunder_album_... を使います。移行後も古いパスは削除されないため、手動で削除する必要があります。
binwalk ~/.binwalk 2051757 [5] XDG_CONFIG_HOME/binwalk
Blender ~/.blender 4293f47 [6]
byobu ~/.byobu 4.17 [7]

XDG_CONFIG_HOME/byobu

Legacy path takes precedence if present, or if XDG_CONFIG_HOME is not set.

calcurse ~/.calcurse 04162d [8] [9]
XDG_CONFIG_HOME/calcurse
XDG_DATA_HOME/calcurse

レガシーパス ~/.calcurse が存在する場合は、それが優先されます。

calibre
ccache ~/.ccache 4.0 [10]
XDG_CACHE_HOME/ccache
XDG_CONFIG_HOME/ccache/ccache.conf
citra-gitAUR ~/.citra-emu f7c3193 [11]
clangd ~/.clangd fdf7dcc [12] XDG_CONFIG_HOME/clangd/config.yml

XDG_CACHE_HOME/clangd

Project specific configuration can be specified in proj/.clangd. Configuration is combined when this is sensible. In case of conflicts, user config has the highest precedence, then inner project, then outer project.

Composer ~/.composer 1.0.0-beta1 [13]
d-feet ~/.d-feet 7f6104b
dconf
Dolphin エミュレータ ~/.dolphin-emu a498c68 [14]
dr14_tmeterAUR 7e777ca [15] XDG_CONFIG_HOME/dr14tmeter/
dunst 78b6e2b [16]
dwb
fish
fontconfig ~/.fontconfig ~/.fonts 8c255fb, [17] フォントの保存には XDG_DATA_HOME/fonts を使ってください。
fontforge ~/.FontForge ~/.PfaEdit e4c2cc7

[18] [19]

freerdp ~/.freerdp edf6e72
Emacs ~/.emacs ~/.emacs.d/init.el [20]

27.1

XDG_CONFIG_HOME/emacs/init.el

レガシーパスは XDG パスよりも優先されます。 Emacsは XDG_CONFIG_HOME/emacs/ を作成しません。 26.3 またはそれ以前での回避策: HOMEを設定することは可能ですが、予期せぬ副作用があります。

Gajim ~/.gajim 3e777ea [21]
gconfAUR ~/.gconf fc28caa [22]
GIMP ~/.gimp-x.y ~/.thumbnails

60e0cfe 483505f

[23] [24]

Git ~/.gitconfig 0d94427 XDG_CONFIG_HOME/git/config
gops 71c4255
GStreamer ~/.gstreamer-0.10 4e36f93 [25]
Godot Engine ~/.godot 73049d1

3.0-stable

[26]
GTK 3
helm ~/.helm 3.0.0
htop ~/.htoprc 93233a6
httpie ~/.httpie 5af0874 [27]
i3 ~/.i3 7c130fb
i3status ~/.i3status.conf c3f7fc4
imagemagick
Inkscape ~/.inkscape 0.47 [28]
iwd / iwctl ~/.iwctl_history d3e00d7f
intellij-idea-community-edition / intellij-idea-ultimate-editionAUR ~/.IntelliJIdeaXXXX.X 2020.1 [29]
XDG_CONFIG_HOME/JetBrains/IntelliJIdeaXXXX.X
XDG_DATA_HOME/JetBrains/IntelliJIdeaXXXX.X
XDG_CACHE_HOME/JetBrains/IntelliJIdeaXXXX.X
josm ~/.josm 11162 [30]
Kakoune
less ~/.lesshst, ~/.lesskey 590 [31] 環境変数 XDG_CONFIG_HOMEXDG_DATA_HOME の設定は 必須 です。
latexmk (in texlive-core) ~/.latexmkrc

XDG_CONFIG_HOME/latexmk/latexmkrc

lftp ~/.lftp 21dc400 [32]
lgogdownloaderAUR ~/.gogdownloader d430af6 [33]
LibreOffice

a6f56f7 25bd2ee

[34]
luarocks ~/.luarocks cd16cdd [35]
XDG_CONFIG_HOME/luarocks
XDG_CACHE_HOME/luarocks

レガシーパス ~/.luarocks が存在する場合は、それが優先されます。

NSS ~/.pki 3.42 [36]
Streamlink ~/.livestreamerrc ea80591 [37]
llpp 3ab86f0 現在 llpp はディレクトリを作成する代わりに XDG_CONFIG_HOME の直下に設定を保存します。
mc ~/.mc

1b99570 0b71156 ce401d7

[38]
Mercurial ~/.hgrc

3540200 4.2

XDG_CONFIG_HOME/hg/hgrc.
msmtp ~/.msmtprc

af2f409 v1.6.7+

XDG_CONFIG_HOME/msmtp/config.
mesa 87ab26b XDG_CACHE_HOME/mesa
milkytracker ~/.milkytracker_config eb487c5 [39]
mozc ~/.mozc 91cc1e1 [40]
mpd ~/.mpdconf 87b7328
mpv ~/.mpv cb250d4 [41]
mutt ~/.mutt b17cd67 [42]
mypaint ~/.mypaint cf723b7
nano ~/.nano/ ~/.nanorc c16e79b [43]
ncmpcpp ~/.ncmpcpp

38d9f81 27cd86e

[44] [45]

ncmpcpp_directory を設定しないと error.log ファイルが ~/.ncmpcpp に保存されます。
Neovim ~/.nvim ~/.nvimlog ~/.nviminfo 1ca5646

[46] [47]

Nestopia UE ~/.nestopia/ 610c008 1.51.0 [48]
newsbeuter ~/.newsbeuter 3c57824 [49] 両方のディレクトリを作成する必要があります [50]:

mkdir -p "$XDG_DATA_HOME"/newsbeuter "$XDG_CONFIG_HOME"/newsbeuter

node-gyp ~/.node-gyp 2b5ce52a [51] Only available on master as of 2018-12-04.
np2kai-gitAUR ~/.config/np2kai ~/.config/xnp2kai 56a1cc2 [52]
nteract-binAUR 4593e72 [53] [54] does not recognize workarounds for ipython/jupyter
OfflineIMAP ~/.offlineimaprc 5150de5 [55]
opentyrianAUR ~/.opentyrian 39559c3 [56]
pandoc ~/.pandoc/ 0bed0ab [57]
PCManFM ~/.thumbnails 1.3.2
pcsx2 ~/.pcsx2

87f1e8f a9020c6 3b22f0f 0a012ae

[58] [59]
Pry ~/.pryrc ~/.pry_history

a0be0cc7 15e1fc92 e9d1be0e

[60]
python-pip ~/.pip 6.0 [61]
powershellAUR 6.0
ppsspp ~/.ppsspp 132fe47 [62]
procps-ng ~/.toprc af53e17

[63] [64]

pacman ~/.makepkg.conf 80eca94 [65]
panda3dAUR ~/.panda3d 2b537d2
poezioAUR
PulseAudio ~/.pulse ~/.pulse-cookie

59a8618 87ae830 9ab510a 4c195bc

[66]
pyroomAUR
quodlibet ~/.quodlibet 3.10.0 [67]
qutebrowser
qtile

fd8686e 66d704b 51cff01

[68] 非準拠のパスにファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
rclone ~/.rclone.conf 9d36258 [69]
retroarch
rrAUR ~/.rr 02e7d41 [70]
RSpec ~/.rspec 5e395e2 [71]
rTorrent ~/.rtorrent.rc 6a8d332
RuboCop ~/.rubocop.yml 6fe5956 [72]
scummvm ~/.scummvmrc ~/.scummvm/ 7d014be [73] It is required to migrate data by hand.

mkdir "$XDG_CONFIG_HOME"/scummvm/ "$XDG_DATA_HOME"/scummvm mv ~/.scummvmrc "$XDG_CONFIG_HOME"/scummvm/scummvm.ini mv ~/.scummvm "$XDG_DATA_HOME"/scummvm/saves

sdcv ~/.stardict/ ~/.sdcv_history 958ec35 [74]
skypeforlinux-stable-binAUR ~/.Skype 8.0
snes9x ~/.snes9x 93b5f11 [75] デフォルトでは、設定ファイルはユーザーが自分で(GUIや手動で)入力することを意図して空になっています。
spectrwm ~/.spectrwm a30bbb [76]
sublime-text-devAUR キャッシュは XDG_CACHE_HOME/sublime-text-3 ではなく XDG_CONFIG_HOME/sublime-text-3/Cache に保存されます。
surfraw ~/.surfraw.conf ~/.surfraw.bookmarks

3e4591d bd8c427 f57fc71

sway ~/.sway/config 614393c [77]
systemd
teeworlds ~/.teeworlds [78]
termite
tig ~/.tigrc, ~/.tig_history 2.2 [79] ~/.local/share/tigディレクトリが存在しなければならず、そうでなければ~/.tig_historyに書き込まれます。
tmux ~/.tmux.conf 3.1 [80] 3.1 で ~/.config/tmux/tmux.conf が導入され、3.2 では XDG_CONFIG_HOME/tmux/tmux.conf が追加されました。
tmuxp ~/.tmuxp 1.5.0 [81] Fixed in 1.5.2
tmuxinatorAUR ~/.tmuxinator 2636923 [82]
Transmission ~/.transmission b71a298
util-linux 570b321
Uzbl c6fd63a [83]
vimb
VirtualBox ~/.VirtualBox 4.3 [84]
vis ~/.vis

68a25c7 d138908

[85]
VLC ~/.vlcrc 16f32e1 [86]
warsow ~/.warsow-2.x 98ece3f [87]
WeeChat ~/.weechat [88]

3.2

[89] [90]
XDG_CONFIG_HOME/weechat
XDG_CACHE_HOME/weechat
XDG_DATA_HOME/weechat
Wireshark ~/.wireshark b0b53fa
Xsettingsd ~/.xsettingsd b4999f5
xmobar ~/.xmobarrc 7b0d6bf

9fc6b37 eaccf70

[91]

[92]

XDG_CONFIG_HOME/xmobar/xmobarrc
xmonad ~/.xmonad/ 40fc10b

[93] [94]

これらはすべて存在する必要があり、存在しない場合はあきらめて ~/.xmonad/ にそれぞれフォールバックします。
XDG_CACHE_HOME/xmonad
XDG_CONFIG_HOME/xmonad
XDG_DATA_HOME/xmonad

代わりに、XMONAD_CACHE_DIR, XMONAD_CONFIG_DIRXMONAD_DATA_DIR も常に有効です。

xournalpp ~/.xournalpp

20db937f 1.1.0

[95] [96]

xsel ~/.xsel.log ee7b481 [97]
zoxide ~/.zo 0.3.0 [98]

部分的にサポートしているソフトウェア

アプリケーション 旧パス 対応開始 議論 ノート
abookAUR ~/.abook abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook
anacondaAUR ~/.conda/.condarc, ~/.conda/condarc, ~/.conda/condarc.d/, ~/.condarc [99] export CONDARC="$XDG_CONFIG_HOME/conda/condarc"
ack ~/.ackrc [100] export ACKRC="$XDG_CONFIG_HOME/ack/ackrc"
Anki ~/Anki, ~/Documents/Anki [101] [102] anki -b "$XDG_DATA_HOME"/Anki
aspell ~/.aspell.conf [103] export ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
Atom ~/.atom [104] export ATOM_HOME="$XDG_DATA_HOME"/atom
aws-cli ~/.aws 1.7.45 [105] export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME"/aws/credentials, export AWS_CONFIG_FILE="$XDG_CONFIG_HOME"/aws/config
bash-completion ~/.bash_completion export BASH_COMPLETION_USER_FILE="$XDG_CONFIG_HOME"/bash-completion/bash_completion
bazaar ~/.bazaar, ~/.bzr.log 2.3.0 [106] 上流のバグレポートでは bazaar が ~/.config/bazaar を使うようにする議論があります。ただしログファイルは ~/.bzr.log に書き込まれます。
btpd-gitAUR ~/.btpd/ [107] btpd -d "$XDG_DATA_HOME"/.btpd

HOME="$XDG_DATA_HOME" btcli

buchhaltung-gitAUR ~/.buchhaltung [108] export BUCHHALTUNG="$XDG_CONFIG_HOME"/buchhaltung
Ruby#Bundler ~/.bundle 2.1.0 [109] [110] [111]
 export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle
 export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
 export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle

Is considered as fixed by the environment variables.

cabal ~/.cabal/ [112]
export CABAL_CONFIG="$XDG_CONFIG_HOME"/cabal/config
export CABAL_DIR="$XDG_CACHE_HOME"/cabal

See documentation on environment variables.

CABAL_DIR may be put into DATA if you consider downloaded files as such.

Rust#Cargo ~/.cargo [113] [114] [115] [116] export CARGO_HOME="$XDG_DATA_HOME"/cargo
chez-schemeAUR ~/.chezscheme_history petite --eehistory "$XDG_DATA_HOME"/chezscheme/history
Chromium ~/.chromium, ~/.pki 23057

[117] [118] [119]

cinelerra ~/.bcast5 [120] export CIN_CONFIG="$XDG_CONFIG_HOME"/bcast5
conky ~/.conkyrc 00481ee [121] conky --config="$XDG_CONFIG_HOME"/conky/conkyrc
claws-mail ~/.claws-mail [122] claws-mail --alternate-config-dir "$XDG_DATA_HOME"/claws-mail
coreutils ~/.dircolors eval $(dircolors "$XDG_CONFIG_HOME"/dircolors)
crawl ~/.crawl 末尾のスラッシュは必須です:

export CRAWL_DIR="$XDG_DATA_HOME"/crawl/

clusterssh ~/.clusterssh/ alias cssh="cssh --config-file '$XDG_CONFIG_HOME/clusterssh/config'"
$XDG_CONFIG_HOME/clusterssh/config
extra_cluster_file=$HOME/.config/clusterssh/clusters
extra_tag_file=$HOME/.config/clusterssh/tags

Despite this, clusterssh will still create ~/.clusterssh/.

CUDA ~/.nv export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
dict ~/.dictrc dict -c "$XDG_CONFIG_HOME"/dict/dictrc
Docker ~/.docker export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker
docker-machine ~/.docker/machine export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine
DOSBox ~/.dosbox/dosbox-0.74-2.conf [123] dosbox -conf "$XDG_CONFIG_HOME"/dosbox/dosbox.conf
Electrum Bitcoin Wallet ~/.electrum c121230 export ELECTRUMDIR="$XDG_DATA_HOME/electrum"
ELinks ~/.elinks export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks
elixir ~/.mix afaf889 [124] [125] ElixirはXDGの仕様に完全には準拠しておらず、環境変数が存在する場合にのみXDGを使用し、そうでない場合はデフォルトでレガシーパスを使用します。
Elm ~/.elm export ELM_HOME="$XDG_CONFIG_HOME"/elm
FFmpeg ~/.ffmpeg export FFMPEG_DATADIR="$XDG_CONFIG_HOME"/ffmpeg
flutterAUR ~/.flutter, ~/.flutter_settings, ~/.flutter_tool_state [126]
emscripten ~/.emscripten, ~/.emscripten_sanity, ~/.emscripten_ports, ~/.emscripten_cache__last_clear [127] export EM_CONFIG="$XDG_CONFIG_HOME"/emscripten/config, export EM_CACHE="$XDG_CACHE_HOME"/emscripten/cache, export EM_PORTS="$XDG_DATA_HOME"/emscripten/cache, emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config --em-cache "$XDG_CACHE_HOME"/emscripten/cache
freecad ~/.FreeCAD [128] freecad -u "$XDG_CONFIG_HOME"/FreeCAD/user.cfg -s "$XDG_CONFIG_HOME"/FreeCAD/system.cfg

Despite these options, freecad will still create the file .FreeCAD/cookie as the web module has it hard coded

GDB ~/.gdbinit, ~/.gdb_history export GDBHISTFILE="$XDG_DATA_HOME"/gdb/history, gdb -nh -x "$XDG_CONFIG_HOME"/gdb/init
get_iplayerAUR ~/.get_iplayer export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer
getmail ~/.getmail/getmailrc getmail --rcfile="$XDG_CONFIG_HOME/getmail/getmailrc" --getmaildir="$XDG_DATA_HOME/getmail"
glivAUR ~/.glivrc gliv --glivrc="$XDG_CONFIG_HOME"/gliv/glivrc
gnuradio ~/.gnuradio [129]
GnuPG ~/.gnupg [130] [131] export GNUPGHOME="$XDG_DATA_HOME"/gnupg, gpg2 --homedir "$XDG_DATA_HOME"/gnupg

Note that this currently does not work out-of-the-box using systemd user units and socket-based activation, since the socket directory changes based on the hash of $GNUPGHOME. You can get the new socket directory using gpgconf --dry-run --create-socketdir and have to modify the systemd user units to listen on the correct sockets accordingly.

Go ~/go [132] export GOPATH="$XDG_DATA_HOME"/go
Google Earth ~/.googleearth Some paths can be changed with the KMLPath and CachePath options in ~/.config/Google/GoogleEarthPlus.conf
gopass ~/.password-store Override settings in ~/.config/gopass/config.yml:
~/.config/gopass/config.yml
root:
path: gpgcli-gitcli-fs+file:///home/<userid>/.config/password-store
gpodder ~/gPodder GPODDER_DOWNLOAD_DIR sets the download folder. GPODDER_HOME - where config and database files are stored, downloads also if GPODDER_DOWNLOAD_DIR is not set.
GQ LDAP client ~/.gq, ~/.gq-state 1.51 export GQRC="$XDG_CONFIG_HOME"/gqrc, export GQSTATE="$XDG_DATA_HOME"/gq/gq-state, mkdir -p "$(dirname "$GQSTATE")"
Gradle ~/.gradle [133] export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
GTK 1 ~/.gtkrc export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc
GTK 2 ~/.gtkrc-2.0 export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
hledger ~/.hledger.journal [134] export LEDGER_FILE="$XDG_DATA_HOME"/hledger.journal
imapfilterAUR ~/.imapfilter export IMAPFILTER_HOME="$XDG_CONFIG_HOME/imapfilter"
IPFS ~/.ipfs export IPFS_PATH="$XDG_DATA_HOME"/ipfs
ipython/jupyter ~/.ipython won't fix,won't fix export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter, export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter
irb ~/.irbrc
~/.profile
$ export IRBRC="$XDG_CONFIG_HOME"/irb/irbrc
"$XDG_CONFIG_HOME"/irb/irbrc
IRB.conf[:SAVE_HISTORY] ||= 1000
IRB.conf[:HISTORY_FILE] ||= File.join(ENV["XDG_DATA_HOME"], "irb", "history")
irssi ~/.irssi [135] irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi
isync ~/.mbsyncrc [136] mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc
Java#OpenJDK ~/.java/.userPrefs [137] export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
k9s ~/.k9s 0.20.4 [138] export K9SCONFIG="$XDG_CONFIG_HOME"/k9s
KDE ~/.kde, ~/.kde4 [139] export KDEHOME="$XDG_CONFIG_HOME"/kde
keychain ~/.keychain [140] [141] keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain
kscriptAUR ~/.kscript [142] export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript
ledger ~/.ledgerrc, ~/.pricedb [143] ledger --init-file "$XDG_CONFIG_HOME"/ledgerrc
Leiningen ~/.lein, ~/.m2 export LEIN_HOME="$XDG_DATA_HOME"/lein

to change the m2 repo location used by leiningen look here: Leiningen#m2_repo_location

libdvdcss ~/.dvdcss [144] export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
libice ~/.ICEauthority [145] export ICEAUTHORITY="$XDG_CACHE_HOME"/ICEauthority

Xorgの実行ユーザが事前に XDG_CACHE_HOME に書き込みアクセス権を持っていることを確認してください。

ログインに利用可能になるためXDG_RUNTIME_DIRは使わないでください。さもなければ、Xorgを起動するディスプレイマネージャー(GDMのような)は何度も失敗します。

libx11 ~/.XCompose, ~/.compose-cache export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose, export XCOMPOSECACHE="$XDG_CACHE_HOME"/X11/xcompose
ltrace ~/.ltrace.conf ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf
maptool-binAUR ~/.maptool-rptools [146]
/opt/maptool/lib/app/MapTool.cfg
[JavaOptions]
-DMAPTOOL_DATADIR=.local/share/maptool-rptools

However, no way to change the location of this configuration file.

maven ~/.m2 [147] mvn -gs "$XDG_CONFIG_HOME"/maven/settings.xml and set <localRepository> as appropriate in settings.xml
Mathematica ~/.Mathematica export MATHEMATICA_USERBASE="$XDG_CONFIG_HOME"/mathematica
maxima ~/.maxima export MAXIMA_USERDIR="$XDG_CONFIG_HOME"/maxima
mednafen ~/.mednafen export MEDNAFEN_HOME="$XDG_CONFIG_HOME"/mednafen
minikube ~/.minikube [148] export MINIKUBE_HOME="$XDG_DATA_HOME"/minikube

Creates a further .minikube directory in MINIKUBE_HOME for whatever reason.

mitmproxy ~/.mitmproxy alias mitmproxy="mitmproxy --set confdir=$XDG_CONFIG_HOME/mitmproxy", alias mitmweb="mitmweb --set confdir=$XDG_CONFIG_HOME/mitmproxy"
MOC ~/.moc mocp -M "$XDG_CONFIG_HOME"/moc, mocp -O MOCDir="$XDG_CONFIG_HOME"/moc
monero ~/.bitmonero monerod --data-dir "$XDG_DATA_HOME"/bitmonero
most ~/.mostrc export MOST_INITFILE="$XDG_CONFIG_HOME"/mostrc
MPlayer ~/.mplayer export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer
MySQL ~/.mysql_history, ~/.my.cnf , ~/.mylogin.cnf export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history

~/.my.cnf only supported for mysql-server, not mysql-client [149]

~/.mylogin.cnf unsupported

ncurses ~/.terminfo Precludes system path searching:

export TERMINFO="$XDG_DATA_HOME"/terminfo, export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo

ncmpc ~/.ncmpc ncmpc -f "$XDG_CONFIG_HOME"/ncmpc/config
Netbeans ~/.netbeans [150] netbeans --userdir "${XDG_CONFIG_HOME}"/netbeans
Node.js ~/.node_repl_history export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history [151]
notmuch ~/.notmuch-config [152] export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc, export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
npm ~/.npm, ~/.npmrc [153] export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
npmrc
prefix=${XDG_DATA_HOME}/npm
cache=${XDG_CACHE_HOME}/npm
tmp=${XDG_RUNTIME_DIR}/npm
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js

Node.js を nvmAUR でインストールした場合 prefix は必要ありません (サポートされません)。

If you want to configure this system-wide, the file to edit is /usr/etc/npmrc, not /etc/npmrc. You can confirm that the config is loaded by running npm config list

opam ~/.opam [154] export OPAMROOT="$XDG_DATA_HOME/opam"

Both configuration and state data are stored in OPAMROOT, so this solution is not fully compliant.

pnpmAUR ~/.pnpm-store Add the line store-dir=${XDG_DATA_HOME}/pnpm-store to your npmrc.
PuTTY ~/.putty/ 9952b2d Will use $XDG_CONFIG_HOME/putty if it already exists. Creates ~/.putty if not. Prioritises $XDG_CONFIG_HOME/putty if both exist. Tested in 0.74
nuget ~/.nuget/packages [155] export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
NVIDIA ~/.nv 設定されている場合はXDG_CACHE_HOMEを使用し、設定されていない場合は~/.cacheの代わりに~/.nvに不適切にフォールバックします。
nvidia-settings ~/.nvidia-settings-rc nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings
nvmAUR ~/.nvm export NVM_DIR="$XDG_DATA_HOME"/nvm
Octave ~/octave, ~/.octave_packages, ~/.octave_hist export OCTAVE_HISTFILE="$XDG_CACHE_HOME/octave-hsts", export OCTAVE_SITE_INITFILE="$XDG_CONFIG_HOME/octave/octaverc"
$XDG_CONFIG_HOME/octave/octaverc
source /usr/share/octave/site/m/startup/octaverc;
pkg prefix ~/.local/share/octave/packages ~/.local/share/octave/packages;
pkg local_list /home/<your username>/.local/share/octave/octave_packages;

local_list オプションは絶対パスで指定する必要があります。

openscad ~/.OpenSCAD 7c3077b0f [156] XDG Base Directory Specification に完全には準拠していません。[157] を参照。

現在 ~/.local/shareハードコード されています。

OpenSSL ~/.rnd シードファイル .rnd の場所は RANDFILE 環境変数で設定できます。FAQ を参照。
parallel ~/.parallel 20170422 export PARALLEL_HOME="$XDG_CONFIG_HOME"/parallel
pass ~/.password-store export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
Pidgin ~/.purple [158] pidgin --config="$XDG_DATA_HOME"/purple
PostgreSQL ~/.psqlrc, ~/.psql_history, ~/.pgpass, ~/.pg_service.conf 9.2 [159] [160] export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc", export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history", export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass", export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"

両方のディレクトリを作成する必要があります: $ mkdir "$XDG_CONFIG_HOME/pg" && mkdir "$XDG_CACHE_HOME/pg"

PulseAudio ~/.esd_auth module-esound-protocol-unix.so モジュールによって生成されます。別の場所を使用するように設定することもできますが /etc/pulse/default.pa"$XDG_CONFIG_HOME"/pulse/default.pa でモジュールをコメントアウトしてしまう方が簡単です。
python-azure-cliAUR ~/.azure export AZURE_CONFIG_DIR=$XDG_DATA_HOME/azure
python-gripAUR ~/.grip export GRIPHOME="$XDG_CONFIG_HOME/grip"
python-setuptools ~/.python-eggs export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs
python-pylint ~/.pylint.d won't fix export PYLINTHOME="$XDG_CACHE_HOME"/pylint
racket ~/.racketrc, ~/.racket [161] export PLTUSERHOME="$XDG_DATA_HOME"/racket
readline ~/.inputrc export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
recoll ~/.recoll export RECOLL_CONFDIR="$XDG_CONFIG_HOME/recoll"
redis ~/.rediscli_history, ~/.redisclirc export REDISCLI_HISTFILE="$XDG_DATA_HOME"/redis/rediscli_history, export REDISCLI_RCFILE="$XDG_CONFIG_HOME"/redis/redisclirc
rlwrap ~/.*_history [162] export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
Ruby#RubyGems ~/.gem export GEM_HOME="$XDG_DATA_HOME"/gem, export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem

Make sure to remove gem: --user-install from /etc/gemrc

Rust#Rustup ~/.rustup [163] export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
sbt ~/.sbt

~/.ivy2

[164] sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt (beware [165])
SageMath ~/.sage export DOT_SAGE="$XDG_CONFIG_HOME"/sage
GNU Screen ~/.screenrc export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
simplescreenrecorder ~/.ssr/ 0.4.3 [166]

[167]

既に作成されている場合に限り$XDG_CONFIG_HOME/simplescreenrecorder/を使用します。それ以外はデフォルトの~/.ssr

mv ~/.ssr "$XDG_CONFIG_HOME"/simplescreenrecorder

spacemacs ~/.spacemacs, ~/.spacemacs.d [168] [169] Move the ~/.spacemacs file.

export SPACEMACSDIR="$XDG_CONFIG_HOME"/spacemacs, mv ~/.spacemacs "$SPACEMACSDIR"/init.el

Other files need to be configured like Emacs.

Haskell#Stack ~/.stack [170] export STACK_ROOT="$XDG_DATA_HOME"/stack
subversion ~/.subversion [171] [172][173] svn --config-dir "$XDG_CONFIG_HOME"/subversion
sudo ~/.sudo_as_admin_successful 1.9.6 [174] [175] Only present when activated at compile-time (default none). An admin_flag parameter can be used in /etc/sudoers since 1.9.6.
task ~/.task, ~/.taskrc Fully supported in version 2.6
Local TeX Live TeXmf tree, TeXmf caches and config ~/texmf, ~/.texlive/texmf-var, ~/.texlive/texmf-config export TEXMFHOME=$XDG_DATA_HOME/texmf, export TEXMFVAR=$XDG_CACHE_HOME/texlive/texmf-var, export TEXMFCONFIG=$XDG_CONFIG_HOME/texlive/texmf-config
tiptopAUR ~/.tiptoprc .tiptoprc ファイルを必要とします。

tiptop -W "$XDG_CONFIG_HOME"/tiptop

uncrustify ~/.uncrustify.cfg export UNCRUSTIFY_CONFIG="$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg
Unison ~/.unison export UNISON="$XDG_DATA_HOME"/unison
units ~/.units_history units --history "$XDG_CACHE_HOME"/units_history
urxvtd ~/.urxvt/urxvtd-hostname export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd
Vagrant ~/.vagrant.d, ~/.vagrant.d/aliases [176] export VAGRANT_HOME="$XDG_DATA_HOME"/vagrant, export VAGRANT_ALIAS_FILE="$XDG_DATA_HOME"/vagrant/aliases
virtualenv ~/.virtualenvs export WORKON_HOME="$XDG_DATA_HOME/virtualenvs"
Visual Studio Code ~/.vscode-oss/ [177] You can use export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode, which is not documented and might break unexpectedly.

Setting this makes the editor look for the contents of .config/Code - OSS in $VSCODE_PORTABLE/user-data.

WakaTime ~/.wakatime.cfg, ~/.wakatime.data, ~/.wakatime.db, ~/.wakatime.log export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"

以下のディレクトリは手動で作成する必要があります

mkdir "$XDG_CONFIG_HOME/wakatime"

wget ~/.wgetrc, ~/.wget-hsts export WGETRC="$XDG_CONFIG_HOME/wgetrc" and add the following as an alias for wget: wget --hsts-file="$XDG_CACHE_HOME/wget-hsts", or set the hsts-file variable with an absolute path as wgetrc does not support environment variables: echo hsts-file \= "$XDG_CACHE_HOME"/wget-hsts >> "$XDG_CONFIG_HOME/wgetrc"
wine ~/.wine [178] WinetricksWINEPREFIX の管理に以下の XDG のような場所を使用します:

mkdir -p "$XDG_DATA_HOME"/wineprefixes, export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default

xbindkeys ~/.xbindkeysrc xbindkeys -f "$XDG_CONFIG_HOME"/xbindkeys/config
xorg-xauth ~/.Xauthority export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority

Note that LightDM does not allow you to change this variable. If you change it nonetheless, you will not be able to login. Use startx instead or configure LightDM. According to [179] SLiM has ~/.Xauthority hardcoded.

xinit ~/.xinitrc, ~/.xserverrc [180] export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc, export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc

上記の変数は xinit には反映されますが、startx には反映されません。代わりに引数としてファイル名を指定してください:

startx "$XDG_CONFIG_HOME/X11/xinitrc" -- "$XDG_CONFIG_HOME/X11/xserverrc" vt1

xorg-xrdb ~/.Xresources, ~/.Xdefaults 最終的には Xresources を使う 必要があり、これらのリソースは xrdb を介してロードされるため xrdb -load ~/.config/X11/xresources のようなパスを指定することができます。
Xorg ~/.xsession, ~/.xsessionrc, ~/.Xsession, ~/.xsession-errors These can be added as part of your Xorg init script (~/.xinitrc) or Xsession start script (which will often be based on /etc/X11/Xsession).

Depending on where you have configured your $XDG_CACHE_HOME, you made need to expand the paths yourself.

# xsession start script
USERXSESSION="$XDG_CACHE_HOME/X11/xsession"
USERXSESSIONRC="$XDG_CACHE_HOME/X11/xsessionrc"
ALTUSERXSESSION="$XDG_CACHE_HOME/X11/Xsession"
ERRFILE="$XDG_CACHE_HOME/X11/xsession-errors"

Unlike most other examples in this table, actual X11 init scripts will vary a lot between installations.

z ~/.z [181] export _Z_DATA="$XDG_DATA_HOME/z"
yarn ~/.yarnrc, ~/.yarn/, ~/.yarncache/, ~/.yarn-config/ 2d454b5 [182] [183] alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'

ハードコードされているソフトウェア

アプリケーション レガシーパス 議論 ノート
adb & Android Studio ~/.android/ Despite appearances otherwise, adb will always generate ~/.android/adbkeys, though it will try keys in ADB_VENDOR_KEYS as well.
aegisub ~/.aegisub/ [184]
alpine ~/.pinerc, ~/.addressbook, ~/.pine-debug[1-4], ~/.newsrc, ~/.mailcap, ~/.mime.types, ~/.pine-interrupted-mail alias alpine="alpine -p $XDG_CONFIG_HOME/alpine/pinerc"

In the above config file, some locations can be customized using options like newsrc-path= and address-book=.

Ansible ~/.ansible [185] [186]
AMule ~/.aMule [187] [188]
anthy ~/.anthy [189]
Apache Directory Studio ~/.ApacheDirectoryStudio
ARandR ~/.screenlayout [190]
Arduino ~/.arduino15, ~/.jssc won't fix
arduino-cli ~.arduino15/ [191] mv ~/.arduino15 $XDG_CONFIG_HOME/arduino15

Specify the new directories used by Arduino CLI in arduino-cli.yaml as mentioned in the documentation here. alias arduino-cli='arduino-cli --config-file $XDG_CONFIG_HOME/arduino15/arduino-cli.yaml'


Audacity ~/.audacity-data/ [192]
Avidemux ~/.avidemux6 [193]
Bash ~/.bashrc, ~/.bash_history, ~/.bash_profile, ~/.bash_login, ~/.bash_logout won't fix mkdir -p "$XDG_STATE_HOME"/bash

export HISTFILE="$XDG_STATE_HOME"/bash/history

bashrc/etc/bash.bashrcの中で別の場所からsourceすることができます。 インタラクティブシェルでは ~/.bashrc の代わりに --init-file <file> で指定。

Berkshelf ~/.berkshelf/
chattyAUR ~/.chatty/ [194]
cmake ~/.cmake/ Used for the user package registry ~/.cmake/packages/<package>, detailed in cmake-packages(7) § User Package Registry and the Package registry wiki page. Looks like it's hardcoded, for example in cmFindPackageCommand.cxx.
Cinnamon ~/.cinnamon/ [195]
conanAUR ~/.conan/ [196] export CONAN_USER_HOME="$XDG_CONFIG_HOME" will set the directory in which .conan/ is created. It was designed to simplify CI, but can be used here too.
cryptomatorAUR ~/.Cryptomator [197]
CUPS ~/.cups/ won't fix
darcs ~/.darcs/ [198]
dart ~/.dart, ~/.dartServer [199]
dbus ~/.dbus/ [200] Consider using dbus-broker, as it does not create or use this directory.
devede ~/.devedeng Hardcoded here
Dia ~/.dia/
dotnet-sdk ~/.dotnet/ [201]
dropbox ~/.dropbox/
Eclipse ~/.eclipse/ [202] -Dosgi.configuration.area=@user.home/.config/.. オプションで上書きできますがコマンドラインで指定するのではなく "$ECLIPSE_HOME"/eclipse.ini" に追加する必要があり $ECLIPSE_HOME の書き込み権限が要ります (Arch Linux では $ECLIPSE_HOME/usr/bin/eclipse に決め打ちされています)。
Fetchmail ~/.fetchmailrc
Firefox ~/.mozilla/ [203] [204]
Flatpak ~/.var/ [205] [206] won't fix
fltk ~/.fltk/ [207]
freesweep ~/.sweeprc [208]
gftp ~/.gftp/ [209] Following the XDG spec is planned for gftp.
GHC ~/.ghc [210]
ghidra [211]
GoldenDict ~/.goldendict/ [212]
gramps ~/.gramps/ [213]
groovy ~/.groovy/
grsync ~/.grsync/ [214]
google-cloud-sdkAUR ~/.gsutil/ [215]
gtk-recordMyDesktop ~/.gtk-recordmydesktop
hplip ~/.hplip/ [216]
idris ~/.idris [217]
Java OpenJDK ~/.java/fonts [218] export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
Java OpenJFX ~/.java/webview
jgmenu ~/.jgmenu-lockfile [219] [220]
julia ~/.juliarc.jl, ~/.julia_history, ~/.julia [221] [222] The trailing :$JULIA_DEPOT_PATH is necessary. See [223]

export JULIA_DEPOT_PATH="$XDG_DATA_HOME/julia:$JULIA_DEPOT_PATH"

kiteAUR ~/.kite/ [224]
kotlin ~/.kotlinc_history Related Konan issue: [225]
Kubernetes ~/.kube/ [226][227]
librewolfAUR ~/.mozilla

~/.librewolf

[228]
Linux PAM ~/.pam_environment [229] modules/pam_env/pam_env.cにハードコードされています
lldb ~/.lldb, ~/.lldbinit
LMMS ~/.lmmsrc.xml [230]
mathomatic ~/.mathomaticrc, ~/.matho_history rlwrap mathomatic -r を使って RLWRAP_HOME 環境変数を適切に設定することで履歴を移動できます。
Minecraft ~/.minecraft/ won't fix
Minetest ~/.minetest/ won't fix [231]
minicom ~/.minirc.dfl アップストリームでは、~/.config/minicom以下の設定ファイルをサポートするためのTODOエントリがあります。[232]
Mono ~/.mono/
mongodb ~/.mongorc.js, ~/.dbshell [233] この Stack Overflow のスレッド ではコマンドラインスイッチの --norc を使う部分的な回避策を提案しています。
~/.netrc ~/.ssh のように、多数のプログラムがこのファイルはここにあることを想定しています。curl (CURLOPT_NETRC_FILE), ftp (NETRC), s-nail (NETRC) のようなプロジェクトも含まれます。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。
nmcli ~/.nmcli-history [234] Hardcoded to g_get_home_dir()[235] [236]
Networkmanager-openvpn ~/.cert/nm-openvpn [237]
OpenSSH ~/.ssh won't fix DropBear や OpenSSH など多数の ssh デーモンやクライアントがここにあると想定しています。
palemoon ~/.moonchild productions [238]
parsec-binAUR ~/.parsec
pcsxrAUR ~/.pcsxr A -cfg flag exists, but can only be set relative to ~/.pcsxr.
perf ~/.debug tools/perf/util/config.c でハードコードされています。 Commit: [239]
perl ~/.cpan, ~/perl5 Perl5の CPAN~/.cpan を期待しています。議論: [240]
portfolio-performance-binAUR ~/.PortfolioPerformance/ [241]
様々なシェルディスプレイマネージャ ~/.profile
python ~/.python_history [242] [243] バージョン 3.4 からインタラクティブセッションの履歴は全てデフォルトで ~/.python_history に保存されます。古いバージョンと同じ方法でカスタマイズできます (この例 を参照)。これには カスタムパスの使用履歴保存の無効化 も含みます。
python-poetry ~/.poetry [244] POETRY_HOME を使用できますがデータと設定が分離されていません。
python-tensorflow ~/.keras [245] The issues is for tf.keras module
qmmp ~/.qmmp [246]
Qt Designer ~/.designer [247]
RedNotebook ~/.rednotebook
Remarkable ~/.remarkable
renderdocAUR ~/.renderdoc won't fix
Ren'Py ~/.renpy won't fix
repo ~/.repoconfig [248]
SANE ~/.sane/ scanimage はここに .cal ファイルを作成します。
sbcl ~/.sbclrc
/etc/sbclrc
(require :asdf)
(setf sb-ext:*userinit-pathname-function*
      (lambda () (uiop:xdg-config-home #P"sbcl/sbclrc")))

これにはroot権限が必要であり、すべてのユーザに対して~/.sbclrcの場所が変更されることに注意してください。これは、{lambdaフォーム内に既存の~/.sbclrcがあるかどうかをチェックすることで緩和できます。

scribus ~/.scribus
SeaMonkey ~/.mozilla/seamonkey [249]
Snap ~/snap/ [250]
Solfege ~/.solfege, ~/.solfegerc, ~/lessonfiles [251]
SpamAssassin ~/.spamassassin
SQLite ~/.sqlite_history, ~/.sqliterc [252] export SQLITE_HISTORY=$XDG_DATA_HOME/sqlite_history, sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc
Steam ~/.steam, ~/.steampath, ~/.steampid [253] 大抵のゲームエンジン (Unity 3D, Unreal) は仕様に準拠していますが、一部のゲームパブリッシャはパスを Steam Auto-Cloud にハードコードしているため、ゲームのセーブデータが間違ったディレクトリで同期されることがあります。
TeamSpeak ~/.ts3client export TS3_CONFIG_DIR="$XDG_CONFIG_HOME/ts3client"
terraform ~/.terraform.d/ [254]
texinfo ~/.infokey info --init-file "$XDG_CONFIG_HOME/infokey"
TeXmacs ~/.TeXmacs
Thunderbird ~/.thunderbird/ [255]
TigerVNC ~/.vnc [256]
tllocalmgr ~/.texlive
valeAUR ~/.vale.ini won't fix vale --config "$XDG_CONFIG_HOME/vale/config.ini"
vim ~/.vim, ~/.vimrc, ~/.viminfo [257] 7.3.1178 から vim は ~/.vimrc が存在しない場合に ~/.vim/vimrc を検索します。
"$XDG_CONFIG_HOME"/vim/vimrc
set runtimepath^=$XDG_CONFIG_HOME/vim
set runtimepath+=$XDG_DATA_HOME/vim
set runtimepath+=$XDG_CONFIG_HOME/vim/after

set packpath^=$XDG_DATA_HOME/vim,$XDG_CONFIG_HOME/vim
set packpath+=$XDG_CONFIG_HOME/vim/after,$XDG_DATA_HOME/vim/after

let g:netrw_home = $XDG_DATA_HOME."/vim"
call mkdir($XDG_DATA_HOME."/vim/spell", 'p')
set viewdir=$XDG_DATA_HOME/vim/view | call mkdir(&viewdir, 'p')

set backupdir=$XDG_CACHE_HOME/vim/backup | call mkdir(&backupdir, 'p')
set directory=$XDG_CACHE_HOME/vim/swap   | call mkdir(&directory, 'p')
set undodir=$XDG_CACHE_HOME/vim/undo     | call mkdir(&undodir,   'p')

if !has('nvim') | set viminfofile=$XDG_CACHE_HOME/vim/viminfo | endif
~/.profile
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'

VIMINIT environment variable will also affect Neovim. If separate configs for Vim and Neovim are desired then the following will be a better choice:

export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.vim" | so $MYVIMRC'
vimperator ~/.vimperatorrc [258] export VIMPERATOR_INIT=":source $XDG_CONFIG_HOME/vimperator/vimperatorrc"

export VIMPERATOR_RUNTIME="$XDG_CONFIG_HOME"/vimperator

visidataAUR ~/.visidata [259]
w3m ~/.w3m [260] [261]
wpa_cli ~/.wpa_cli_history
x2goclient ~/.x2goclient alias x2goclient="x2goclient --home=$HOME/.config"
xdg-utils ~/.gnome [262] [263] [264] 何らかの理由で xdg-desktop-menu スクリプトは gnome_user_dir="$HOME/.gnome/apps" をハードコードしており、chromium などによって使われています。バグの議論は gitlab に移動され修正するPRが存在しますが、まだマージされていません。
xpdf ~/.xpdfrc
YARD ~/.yard [265] 誰か実装したい人がいれば、プルリクエストを受け付けます。
zenmap nmap ~/.zenmap [266] [267]
zoomAUR ~/.zoom export SSB_HOME="$XDG_DATA_HOME"/zoom
zoteroAUR ~/.zotero ~/Zotero [268]
zsh ~/.zshrc, ~/.zprofile, ~/.zshenv, ~/.zlogin, ~/.zlogout, ~/.histfile, ~/.zcompdump, ~/.zcompcache [269] ~/.zshenvZDOTDIR=$HOME/.config/zsh を export することを検討してください (ブートストラップ問題のためにハードコードされています)。/etc/zsh/zshenv にも追加することで HOME にドットファイルが必要なくなります。ただし root 権限が必要で設定はシステム全体に適用されます。

export HISTFILE="$XDG_STATE_HOME"/zsh/history

compinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION [270] /!\ フォルダが存在する必要があります。

zstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache

ライブラリ

C
libXDGdirs
C99: Cloudef のシンプルな実装
C++
xdg-utils-cxx
xdgpp
Go
go-appdir
Haskell
1.2.3.0 から directory で公式に対応 ab9d0810ce
xdg-basedir
JVM
Java, Kotlin, Clojure, Scala, ...
directories-jvm
Perl
File-BaseDir
Python
pyxdg
Ruby
rubyworks/xdg
Rust
directories-rs
rust-xdg
Vala
GLib.Environment によるサポート。
get_user_cache_dir, get_user_data_dir, get_user_config_dir などを参照。

参照