「XDG Base Directory」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(文字列「http://git.kernel.org/」を「https://git.kernel.org/」に置換)
(6人の利用者による、間の11版が非表示)
1行目: 1行目:
[[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年に導入された [https://standards.freedesktop.org/basedir-spec/latest/ XDG Base Directory Specification] を使用しているソフトウェアを整理しています。ここでは一般的に使われているドットファイルと対応状態を並べて仕様がどれだけ使われているか示します。Base Directory Specification に対応していないソフトウェアについては、擬似的に対応させる方法を説明します。
+
この記事では2003年に導入された [https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG Base Directory Specification] を使用しているソフトウェアを整理しています。ここでは一般的に使われているドットファイルと対応状態を並べて仕様がどれだけ使われているか示します。Base Directory Specification に対応していないソフトウェアについては、擬似的に対応させる方法を説明します。
   
 
ただし[[環境変数]]やコンパイルオプションに保存されているコードを実行したり、ソースにパッチを適用したりする方法は除外します。設定はあくまでシステム間で相互運用できるべきでありコンパイルオプションを使ってしまうと使用が制限されるためです。
 
ただし[[環境変数]]やコンパイルオプションに保存されているコードを実行したり、ソースにパッチを適用したりする方法は除外します。設定はあくまでシステム間で相互運用できるべきでありコンパイルオプションを使ってしまうと使用が制限されるためです。
54行目: 56行目:
 
ソフトウェアを追加するときは適切なセクションを使ってください。
 
ソフトウェアを追加するときは適切なセクションを使ってください。
   
コードの評価 ([[vim]] や {{ic|VIMINIT}} など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。また、[https://www.haskell.org/cabal/ Haskell の cabal] や eclipse など難しい方法もハードコードとして扱います。
+
コードの評価 ([[vim]] や {{ic|VIMINIT}} など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。また、[https://www.haskell.org/cabal/ Haskell の cabal] や [[Eclipse]] など難しい方法もハードコードとして扱います。
   
 
* 1番目のカラムはプロジェクト名です。できればコマンド名にしてください。ソフトウェアのウェブサイトか適切な wiki の記事にリンクさせます。
 
* 1番目のカラムはプロジェクト名です。できればコマンド名にしてください。ソフトウェアのウェブサイトか適切な wiki の記事にリンクさせます。
91行目: 93行目:
 
|
 
|
 
|-
 
|-
  +
| [http://littlesvr.ca/asunder/ Asunder]
| [[blender]]
 
  +
|
  +
{{ic|~/.asunder<br>
  +
~/.asunder_album_artist<br>
  +
~/.asunder_album_genre<br>
  +
~/.asunder_album_title}}
  +
| [https://littlesvr.ca/bugs/show_bug.cgi?id=31 2.9.0]
  +
| [https://littlesvr.ca/bugs/show_bug.cgi?id=52]
  +
| {{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}}
  +
|-
  +
| {{pkg|bash-completion}}
  +
| {{ic|~/.bash_completion}}
  +
| [https://github.com/scop/bash-completion/commit/1d25d72ca8633c19cb089dff447d08c531379c59 2.11版]
  +
|
  +
| 以前の方法: {{ic|1=$ export BASH_COMPLETION_USER_FILE="$XDG_CONFIG_HOME"/bash-completion/bash_completion}}
  +
|-
  +
| [[Blender]]
 
| {{ic|~/.blender}}
 
| {{ic|~/.blender}}
 
| [http://git.blender.org/gitweb/gitweb.cgi/blender.git/commit/4293f473 4293f473]
 
| [http://git.blender.org/gitweb/gitweb.cgi/blender.git/commit/4293f473 4293f473]
103行目: 127行目:
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|calcurse}}
| [[chromium]]
 
| {{ic|~/.chromium}}
+
| {{ic|~/.calcurse}}
  +
| [https://github.com/lfos/calcurse/commit/04162d 04162d]
| [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://github.com/lfos/calcurse/pull/254] [https://github.com/lfos/calcurse/issues/252]
  +
| {{ic|XDG_CONFIG_HOME/calcurse}}
  +
  +
{{ic|XDG_DATA_HOME/calcurse}}
  +
  +
レガシーパス ~/.calcurse が存在する場合は、それが優先されます。
  +
|-
  +
| {{Pkg|calibre}}
  +
| {{ic|~/Calibre Library}}
  +
|
 
|
 
|
 
|-
 
|-
129行目: 162行目:
 
| [https://wiki.gnome.org/Apps/DFeet 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]
 
|
 
|
 
|
 
|
149行目: 182行目:
 
| [https://github.com/simon-r/dr14_t.meter/commit/7e777ca645298ec898b3c76e3ec472ed6ed43e8a 7e777ca64]
 
| [https://github.com/simon-r/dr14_t.meter/commit/7e777ca645298ec898b3c76e3ec472ed6ed43e8a 7e777ca64]
 
| [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]]
 
| [[dunst]]
170行目: 203行目:
 
|-
 
|-
 
| [[fontconfig]]
 
| [[fontconfig]]
  +
|
| {{ic|~/.fontconfig}} {{ic|~/.fonts}}
 
  +
{{ic|~/.fontconfig<br>
| [https://cgit.freedesktop.org/fontconfig/commit/?id=8c255fb1 8c255fb1]
 
  +
~/.fonts}}
  +
| [https://cgit.freedesktop.org/fontconfig/commit/?id=8c255fb1 8c255fb1], [https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/437f03299bd1adc9673cd576072f1657be8fd4e0]
  +
 
|
 
|
 
| フォントの保存には {{ic|"$XDG_DATA_HOME"/fonts}} を使ってください。
 
| フォントの保存には {{ic|"$XDG_DATA_HOME"/fonts}} を使ってください。
 
|-
 
|-
 
| [http://fontforge.github.io/ fontforge]
 
| [http://fontforge.github.io/ fontforge]
  +
|
| {{ic|~/.FontForge}} {{ic|~/.PfaEdit}}
 
  +
{{ic|~/.FontForge<br>
  +
~/.PfaEdit}}
 
| [https://github.com/fontforge/fontforge/commit/e4c2cc7432 e4c2cc7432]
 
| [https://github.com/fontforge/fontforge/commit/e4c2cc7432 e4c2cc7432]
  +
|
| [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]
 
|
 
|
 
|-
 
|-
185行目: 225行目:
 
| [https://github.com/FreeRDP/FreeRDP/commit/edf6e7258d edf6e7258d]
 
| [https://github.com/FreeRDP/FreeRDP/commit/edf6e7258d edf6e7258d]
 
|
 
|
  +
|
  +
|-
  +
| [[Emacs]]
  +
| {{ic|~/.emacs<br>~/.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}}を設定することは可能ですが、予期せぬ副作用があります。 他の Emacs 環境変数を修正してロードパスを変更して手動で init ファイルをロードする site ファイルを作成するのが確実ですが、ロードプロセスが大幅に変わってしまいます。
  +
|-
  +
| [[Gajim]]
  +
| {{ic|~/.gajim}}
  +
| [https://dev.gajim.org/gajim/gajim/commit/3e777ea8f120dc58d4e65ce501ab3ab3785a5d40 3e777ea]
  +
| [https://dev.gajim.org/gajim/gajim/issues/2149]
 
|
 
|
 
|-
 
|-
194行目: 249行目:
 
|-
 
|-
 
| [[GIMP]]
 
| [[GIMP]]
  +
|
| {{ic|~/.gimp-x.y}}
 
{{ic|~/.thumbnails}}
+
{{ic|~/.gimp-x.y<br>
  +
~/.thumbnails}}
| [https://git.gnome.org/browse/gimp/commit/?id=60e0cfe 60e0cfe] [https://git.gnome.org/browse/gimp/commit/?id=483505f 483505f]
 
  +
|
| [https://bugzilla.gnome.org/show_bug.cgi?id=166643] [https://bugzilla.gnome.org/show_bug.cgi?id=646644]
 
  +
[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]
 
|
 
|
 
|-
 
|-
203行目: 263行目:
 
| {{ic|~/.gitconfig}}
 
| {{ic|~/.gitconfig}}
 
| [https://github.com/git/git/commit/0d94427e 0d94427e]
 
| [https://github.com/git/git/commit/0d94427e 0d94427e]
  +
|
  +
|
  +
|-
  +
| [https://github.com/google/gops gops]
  +
|
  +
| [https://github.com/google/gops/commit/71c4255 71c4255]
 
|
 
|
 
|
 
|
246行目: 312行目:
 
| [http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#Preferences 0.47]
 
| [http://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://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}}
  +
| {{ic|~/.IntelliJIdea*}}
  +
| [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]
  +
|
  +
|-
  +
| {{Pkg|josm}}
  +
| {{ic|~/.josm}}
  +
| [https://josm.openstreetmap.de/changeset/11162/josm 11162]
  +
| [https://josm.openstreetmap.de/ticket/6664]
  +
|
  +
|-
  +
| [[Kakoune]]
  +
|
  +
|
  +
|
 
|
 
|
 
|-
 
|-
268行目: 358行目:
 
| [[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=a6f56f70a4930d3f71bd9c9b90fdd0ba20e4da5f a6f56f70]
  +
[https://cgit.freedesktop.org/libreoffice/bootstrap/commit/?id=25bd2eec77ed774a37d1cddd0d72312e23d5e9fd 25bd2eec]
 
| [https://bugs.documentfoundation.org/show_bug.cgi?id=32263]
 
| [https://bugs.documentfoundation.org/show_bug.cgi?id=32263]
  +
|
  +
|-
  +
| [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]
 
|
 
|
 
|-
 
|-
292行目: 390行目:
 
| [[Mercurial]]
 
| [[Mercurial]]
 
| {{ic|~/.hgrc}}
 
| {{ic|~/.hgrc}}
  +
|
| [https://www.mercurial-scm.org/repo/hg/rev/354020079723 354020079723] [https://www.mercurial-scm.org/wiki/Release4.2 4.2]
 
  +
[https://www.mercurial-scm.org/repo/hg/rev/354020079723 354020079723]
  +
[https://www.mercurial-scm.org/wiki/Release4.2 4.2]
 
|
 
|
 
| {{ic|XDG_CONFIG_HOME/hg/hgrc}}
 
| {{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}}.
 
|-
 
|-
 
| [https://www.mesa3d.org/ mesa]
 
| [https://www.mesa3d.org/ mesa]
338行目: 446行目:
 
|-
 
|-
 
| [[nano]]
 
| [[nano]]
  +
|
| {{ic|~/.nano/}} {{ic|~/.nanorc}}
 
  +
{{ic|~/.nano/<br>
  +
~/.nanorc}}
 
| [http://git.savannah.gnu.org/cgit/nano.git/commit/?id=c16e79b612eb8e061a4bd0b5f187c37a036fc403 036fc403]
 
| [http://git.savannah.gnu.org/cgit/nano.git/commit/?id=c16e79b612eb8e061a4bd0b5f187c37a036fc403 036fc403]
 
| [https://savannah.gnu.org/patch/?8523]
 
| [https://savannah.gnu.org/patch/?8523]
345行目: 455行目:
 
| [[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/38d9f811de888e512b0115f551a9679eab4607f9 38d9f811]
  +
[https://github.com/arybczak/ncmpcpp/commit/27cd86e0638bba3a7a78e44ac40dc98a58d1d90d 27cd86e0]
  +
|
  +
[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<br>
  +
~/.nvimlog<br>
  +
~/.nviminfo}}
 
| [https://github.com/neovim/neovim/commit/1ca5646bb 1ca5646bb]
 
| [https://github.com/neovim/neovim/commit/1ca5646bb 1ca5646bb]
  +
|
| [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]
 
|
 
|
 
|-
 
|-
360行目: 479行目:
 
| [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]。
 
| {{ic|"$XDG_DATA_HOME"/newsbeuter}} と {{ic|"$XDG_CONFIG_HOME"/newsbeuter}} を作成する必要があります [http://newsbeuter.org/doc/newsbeuter.html#_xdg_base_directory_support]。
  +
|-
  +
| [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]
  +
|-
  +
| {{AUR|np2kai-git}}
  +
|
  +
{{ic|~/.config/np2kai<br>
  +
~/.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]]
371行目: 509行目:
 
| [https://bitbucket.org/opentyrian/opentyrian/commits/8d45ff2 8d45ff2]
 
| [https://bitbucket.org/opentyrian/opentyrian/commits/8d45ff2 8d45ff2]
 
| [https://web.archive.org/web/20140815181350/https://code.google.com/p/opentyrian/issues/detail?id=125]
 
| [https://web.archive.org/web/20140815181350/https://code.google.com/p/opentyrian/issues/detail?id=125]
  +
|
  +
|-
  +
| {{Pkg|pandoc}}
  +
| {{ic|~/.pandoc/}}
  +
| [https://github.com/jgm/pandoc/commit/0bed0ab5a308f5e72a01fa9bee76488556288862 0bed0ab]
  +
| [https://github.com/jgm/pandoc/issues/3582]
 
|
 
|
 
|-
 
|-
 
| [http://pcsx2.net/ pcsx2]
 
| [http://pcsx2.net/ 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/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/issues/352] [https://github.com/PCSX2/pcsx2/issues/381]
 
| [https://github.com/PCSX2/pcsx2/issues/352] [https://github.com/PCSX2/pcsx2/issues/381]
  +
|
  +
|-
  +
| [http://pryrepl.org/ Pry]
  +
| {{ic|~/.pryrc<br>~/.pry_history}}
  +
|
  +
[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]
 
|
 
|
 
|-
 
|-
383行目: 540行目:
 
| [https://github.com/pypa/pip/blob/548a9136525815dff41acd845c558a0b36eb1c5f/NEWS.rst#60-2014-12-22 6.0]
 
| [https://github.com/pypa/pip/blob/548a9136525815dff41acd845c558a0b36eb1c5f/NEWS.rst#60-2014-12-22 6.0]
 
| [https://github.com/pypa/pip/issues/1733]
 
| [https://github.com/pypa/pip/issues/1733]
  +
|
  +
|-
  +
| {{AUR|powershell}}
  +
|
  +
| [https://docs.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-core-60#filesystem 6.0]
  +
|
 
|
 
|
 
|-
 
|-
394行目: 557行目:
 
| {{ic|~/.toprc}}
 
| {{ic|~/.toprc}}
 
| [https://gitlab.com/procps-ng/procps/commit/af53e170b9 af53e170b9]
 
| [https://gitlab.com/procps-ng/procps/commit/af53e170b9 af53e170b9]
  +
|
| [https://gitlab.com/procps-ng/procps/merge_requests/38] [https://bugzilla.redhat.com/show_bug.cgi?id=1155265]
 
  +
[https://gitlab.com/procps-ng/procps/merge_requests/38]
  +
[https://bugzilla.redhat.com/show_bug.cgi?id=1155265]
 
|
 
|
 
|-
 
|-
412行目: 577行目:
 
| {{ic|~/.panda3d}}
 
| {{ic|~/.panda3d}}
 
| [https://github.com/panda3d/panda3d/commit/2b537d2 2b537d2]
 
| [https://github.com/panda3d/panda3d/commit/2b537d2 2b537d2]
  +
|
  +
|
  +
|-
  +
| {{AUR|poezio}}
  +
|
  +
|
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| [[PulseAudio]]
 
| [[PulseAudio]]
  +
|
| {{ic|~/.pulse}} {{ic|~/.pulse-cookie}}
 
  +
{{ic|~/.pulse<br>
| [https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=59a8618dcd9 59a8618dcd9] [https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=87ae8307057 87ae8307057] [https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=9ab510a6921 9ab510a6921] [https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=4c195bcc9d5 4c195bcc9d5]
 
  +
~/.pulse-cookie}}
  +
|
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=59a8618dcd9 59a8618dcd9]
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=87ae8307057 87ae8307057]
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=9ab510a6921 9ab510a6921]
  +
[https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=4c195bcc9d5 4c195bcc9d5]
 
| [https://bugzilla.redhat.com/show_bug.cgi?id=845607]
 
| [https://bugzilla.redhat.com/show_bug.cgi?id=845607]
 
|
 
|
425行目: 602行目:
 
|
 
|
 
|
 
|
  +
|
  +
|-
  +
| {{Pkg|quodlibet}}
  +
| {{ic|~/.quodlibet}}
  +
| 3.10.0
  +
| [https://github.com/quodlibet/quodlibet/issues/138]
 
|
 
|
 
|-
 
|-
435行目: 618行目:
 
| [[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/fd8686e5b4e4fa20bb82039ed8a83768434585ec fd8686e]
  +
[https://github.com/qtile/qtile/commit/66d704bce83f631b3326f10a1bc9fc22f8e6a6fd 66d704b]
  +
[https://github.com/qtile/qtile/commit/51cff019917b87bda696b381493f969ceb6cc350 51cff01]
 
| [https://github.com/qtile/qtile/pull/835]
 
| [https://github.com/qtile/qtile/pull/835]
 
| 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
 
| 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
455行目: 641行目:
 
| [https://github.com/mozilla/rr/commit/02e7d41e 02e7d41e]
 
| [https://github.com/mozilla/rr/commit/02e7d41e 02e7d41e]
 
| [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/6a8d332b 6a8d332b]
  +
|
  +
|
  +
|-
  +
| [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|sdcv}}
  +
|
  +
{{ic|~/.stardict/<br>
  +
~/.sdcv_history}}
  +
| [https://github.com/Dushistov/sdcv/commit/958ec35 958ec35]
  +
| [https://github.com/Dushistov/sdcv/issues/51]
  +
|
  +
|-
  +
| [[Skype]]
  +
| {{ic|~/.Skype}}
  +
| 8.0
  +
|
 
|
 
|
 
|-
 
|-
462行目: 680行目:
 
| [https://github.com/snes9xgit/snes9x/issues/194]
 
| [https://github.com/snes9xgit/snes9x/issues/194]
 
| デフォルトの設定は空です。ROM を起動する前にユーザーが GUI や手動で設定するようになっています。
 
| デフォルトの設定は空です。ROM を起動する前にユーザーが GUI や手動で設定するようになっています。
  +
|-
  +
| [[spectrwm]]
  +
| {{ic|~/.spectrwm}}
  +
| [https://github.com/conformal/spectrwm/commit/a30bbb a30bbb]
  +
| [https://github.com/conformal/spectrwm/pull/153]
  +
|
 
|-
 
|-
 
| {{AUR|sublime-text-dev}}
 
| {{AUR|sublime-text-dev}}
470行目: 694行目:
 
|-
 
|-
 
| [[surfraw]]
 
| [[surfraw]]
  +
|
| {{ic|~/.surfraw.conf}} {{ic|~/.surfraw.bookmarks}}
 
  +
{{ic|~/.surfraw.conf<br>
| [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]
 
  +
~/.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]
 
|
 
|
 
|
 
|
484行目: 713行目:
 
|
 
|
 
|
 
|
  +
|
  +
|
  +
|-
  +
| {{Pkg|teeworlds}}
  +
| {{ic|~/.teeworlds}}
  +
| [https://github.com/teeworlds/teeworlds/commit/d2e39d2f50684151490da446156622e69dd84a48]
 
|
 
|
 
|
 
|
492行目: 727行目:
 
|
 
|
 
|
 
|
  +
|-
  +
| {{Pkg|tig}}
  +
| {{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]
  +
| ~/.local/share/tigディレクトリが存在しなければならず、そうでなければ ~/.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 で ~/.config/tmux/tmux.conf を導入し、[https://github.com/tmux/tmux/blob/a5f99e14c6f264e568b860692b89d11f5298a3f2/CHANGES#L145 3.2] では $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]
 
|-
 
|-
 
| [https://github.com/tmuxinator/tmuxinator tmuxinator]
 
| [https://github.com/tmuxinator/tmuxinator tmuxinator]
531行目: 785行目:
 
| [http://martanne.github.io/vis/ vis]
 
| [http://martanne.github.io/vis/ vis]
 
| {{ic|~/.vis}}
 
| {{ic|~/.vis}}
  +
|
| [https://github.com/martanne/vis/pull/303]
 
| [https://github.com/martanne/vis/commit/68a25c751c0219ef5df589a19513e46a08965d5a 68a25c75]
+
[https://github.com/martanne/vis/commit/68a25c751c0219ef5df589a19513e46a08965d5a 68a25c75]
 
[https://github.com/martanne/vis/commit/d138908cf8149eb10120957271cd6979272b4730 d138908c]
 
[https://github.com/martanne/vis/commit/d138908cf8149eb10120957271cd6979272b4730 d138908c]
  +
| [https://github.com/martanne/vis/pull/303]
 
|
 
|
 
|-
 
|-
563行目: 818行目:
 
| {{ic|~/.xmonad}}
 
| {{ic|~/.xmonad}}
 
| [https://github.com/xmonad/xmonad/commit/40fc10b6a5682ce1d6ba7f0679962926ef6cfade 40fc10b6]
 
| [https://github.com/xmonad/xmonad/commit/40fc10b6a5682ce1d6ba7f0679962926ef6cfade 40fc10b6]
  +
|
| [https://github.com/xmonad/xmonad/issues/61] [https://code.google.com/p/xmonad/issues/detail?id=484]
 
  +
[https://github.com/xmonad/xmonad/issues/61]
  +
[https://code.google.com/p/xmonad/issues/detail?id=484]
 
| {{ic|XMONAD_CONFIG_HOME}}, {{ic|XMONAD_DATA_HOME}}, {{ic|XMONAD_CACHE_HOME}} 環境変数が使えます。
 
| {{ic|XMONAD_CONFIG_HOME}}, {{ic|XMONAD_DATA_HOME}}, {{ic|XMONAD_CACHE_HOME}} 環境変数が使えます。
 
|-
 
|-
570行目: 827行目:
 
| [https://github.com/kfish/xsel/commit/ee7b48111be2e2117b201962e9d1c0e1f9804ed4 ee7b4811]
 
| [https://github.com/kfish/xsel/commit/ee7b48111be2e2117b201962e9d1c0e1f9804ed4 ee7b4811]
 
| [https://github.com/kfish/xsel/issues/10]
 
| [https://github.com/kfish/xsel/issues/10]
  +
|
  +
|-
  +
| {{Pkg|yarn}}
  +
|
  +
{{ic|~/.yarnrc<br>
  +
~/.yarn/<br>
  +
~/.yarncache/<br>
  +
~/.yarn-config/}}
  +
| [https://github.com/yarnpkg/yarn/commit/2d454b5 2d454b5]
  +
|
  +
[https://github.com/yarnpkg/yarn/issues/2334]
  +
[https://github.com/yarnpkg/yarn/pull/5336]
 
|
 
|
 
|}
 
|}
586行目: 855行目:
 
|
 
|
 
| {{ic|$ abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_CACHE_HOME"/abook/addressbook}}
 
| {{ic|$ abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_CACHE_HOME"/abook/addressbook}}
  +
|-
  +
| {{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<br>
  +
~/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]
597行目: 874行目:
 
|
 
|
 
|
 
|
  +
| {{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]]
604行目: 881行目:
 
| [https://github.com/atom/atom/issues/8281]
 
| [https://github.com/atom/atom/issues/8281]
 
| {{ic|1=$ export ATOM_HOME="$XDG_DATA_HOME"/atom}}
 
| {{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<br>
  +
$ export AWS_CONFIG_FILE="$XDG_CONFIG_HOME"/aws/config}}
  +
|-
  +
| [[bazaar]]
  +
|
  +
{{ic|~/.bazaar<br>
  +
~/.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|buchhaltung-git}}
  +
|
  +
{{ic|~/.buchhaltung}}
  +
|
  +
| [https://github.com/johannesgerer/buchhaltung/issues/44]
  +
| {{ic|1=$ export BUCHHALTUNG="$XDG_CONFIG_HOME"/buchhaltung}}
  +
|-
  +
| [[Ruby#Bundler|Bundler]]
  +
| {{ic|~/.bundle}}
  +
|
  +
| [https://github.com/bundler/bundler/pull/6024] [https://github.com/bundler/bundler/issues/4333]
  +
| {{ic|1=$ export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle}}
 
|-
 
|-
 
| [[Rust#Cargo|cargo]]
 
| [[Rust#Cargo|cargo]]
 
| {{ic|~/.cargo}}
 
| {{ic|~/.cargo}}
 
|
 
|
| [https://github.com/rust-lang/cargo/pull/148] [https://github.com/rust-lang/cargo/issues/1734] [https://github.com/rust-lang/rfcs/pull/1615]
+
| [https://github.com/rust-lang/cargo/pull/148] [https://github.com/rust-lang/cargo/issues/1734] [https://github.com/rust-lang/rfcs/pull/1615] [https://github.com/rust-lang/cargo/pull/5183]
 
| {{ic|1=$ export CARGO_HOME="$XDG_DATA_HOME"/cargo}}
 
| {{ic|1=$ export CARGO_HOME="$XDG_DATA_HOME"/cargo}}
 
|-
 
|-
615行目: 922行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache}}
+
| {{ic|1=$ export CCACHE_CONFIGPATH="$XDG_CONFIG_HOME"/ccache.config}}<br>
  +
{{ic|1=$ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache}}
 
|-
 
|-
 
| [https://github.com/cisco/ChezScheme ChezScheme]
 
| [https://github.com/cisco/ChezScheme ChezScheme]
622行目: 930行目:
 
|
 
|
 
| {{ic|1=$ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history}}
 
| {{ic|1=$ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history}}
  +
|-
  +
| [[Chromium]]
  +
| {{ic|~/.chromium<br>
  +
~/.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]
  +
|
 
|-
 
|-
 
| [[conky]]
 
| [[conky]]
628行目: 946行目:
 
| [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]]
640行目: 964行目:
 
|
 
|
 
| 末尾の '/' は必須です: {{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]]
645行目: 986行目:
 
|
 
|
 
|
 
|
| {{ic|$ dict -c "$XDG_CONFIG_HOME"/dict/dictrc}}
+
| {{ic|1=$ dict -c "$XDG_CONFIG_HOME"/dict/dictrc}}
  +
|-
  +
| [[Docker]]
  +
| {{ic|~/.docker}}
  +
|
  +
|
  +
[https://github.com/docker/machine/issues/3116]
  +
[https://github.com/moby/moby/issues/20693]
  +
| {{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]]
652行目: 1,020行目:
 
|
 
|
 
| {{ic|1=$ export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks}}
 
| {{ic|1=$ export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks}}
  +
|-
  +
| {{Pkg|elixir}}
  +
| {{ic|~/.mix}}
  +
| [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を使用し、そうでない場合はデフォルトでレガシーパスを使用します。
 
|-
 
|-
 
| [http://kripken.github.io/emscripten-site/ emscripten]
 
| [http://kripken.github.io/emscripten-site/ emscripten]
  +
|
| {{ic|~/.emscripten}} {{ic|~/.emscripten_sanity}} {{ic|~/.emscripten_ports}} {{ic|~/.emscripten_cache__last_clear}}
 
  +
{{ic|~/.emscripten<br>
  +
~/.emscripten_sanity<br>
  +
~/.emscripten_ports<br>
  +
~/.emscripten_cache__last_clear}}
 
|
 
|
 
| [https://github.com/kripken/emscripten/issues/3624]
 
| [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_CONFIG="$XDG_CONFIG_HOME"/emscripten/config<br>
{{ic|1=$ export EM_PORTS="$XDG_DATA_HOME"/emscripten/cache}}
+
$ export EM_CACHE="$XDG_CACHE_HOME"/emscripten/cache<br>
  +
$ export EM_PORTS="$XDG_DATA_HOME"/emscripten/cache<br>
{{ic|$ emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config --em-cache "$XDG_CACHE_HOME"/emscripten/cache}}
 
  +
$ emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config --em-cache "$XDG_CACHE_HOME"/emscripten/cache}}
 
|-
 
|-
 
| [https://www.freecadweb.org/ freecad]
 
| [https://www.freecadweb.org/ freecad]
667行目: 1,046行目:
 
| [https://www.freecadweb.org/tracker/view.php?id=2956]
 
| [https://www.freecadweb.org/tracker/view.php?id=2956]
 
| {{ic|1=$ freecad -u "$XDG_CONFIG_HOME"/FreeCAD/user.cfg -s "$XDG_CONFIG_HOME"/FreeCAD/system.cfg}}
 
| {{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]
 
|-
 
|-
 
| [https://www.gnu.org/software/gdb/ gdb]
 
| [https://www.gnu.org/software/gdb/ gdb]
679行目: 1,060行目:
 
|
 
|
 
| {{ic|1=$ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer}}
 
| {{ic|1=$ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer}}
  +
|-
  +
| [[getmail]]
  +
| {{ic|~/.getmail/getmailrc}}
  +
|
  +
|
  +
| {{ic|1=$ getmail --rcfile="$XDG_CONFIG_HOME/getmail/getmailrc" --getmaildir="$XDG_DATA_HOME/getmail"}}
 
|-
 
|-
 
| [http://guichaz.free.fr/gliv/ gliv]
 
| [http://guichaz.free.fr/gliv/ gliv]
685行目: 1,072行目:
 
|
 
|
 
| {{ic|1=$ gliv --glivrc="$XDG_CONFIG_HOME"/gliv/glivrc}}
 
| {{ic|1=$ gliv --glivrc="$XDG_CONFIG_HOME"/gliv/glivrc}}
  +
|-
  +
| [[GNURadio]]
  +
| {{ic|~/.gnuradio}}
  +
|
  +
| [https://github.com/gnuradio/gnuradio/issues/3631]
  +
|
 
|-
 
|-
 
| [[GPG|gpg]]
 
| [[GPG|gpg]]
690行目: 1,083行目:
 
|
 
|
 
| [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|$ gpg2 --homedir "$XDG_CONFIG_HOME"/gnupg}}
+
{{ic|1=$ export GNUPGHOME="$XDG_DATA_HOME"/gnupg<br>
  +
$ gpg2 --homedir "$XDG_DATA_HOME"/gnupg}}<br>
  +
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.
  +
|-
  +
| [[Go]]
  +
| {{ic|~/go}}
  +
| [https://github.com/golang/go/commit/ca8a055f5cc7c1dfa0eb542c60071c7a24350f76]
  +
|
  +
|
  +
{{ic|1=$ export GOPATH="$XDG_DATA_HOME"/go}}
 
|-
 
|-
 
| [[Google Earth]]
 
| [[Google Earth]]
698行目: 1,102行目:
 
|
 
|
 
| {{ic|~/.config/Google/GoogleEarthPlus.conf}} の {{ic|KMLPath}} や {{ic|CachePath}} オプションで一部のパスは変更できます。
 
| {{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
  +
}}
 
|-
 
|-
 
| [https://sourceforge.net/projects/gqclient GQ LDAP クライアント]
 
| [https://sourceforge.net/projects/gqclient GQ LDAP クライアント]
  +
|
| {{ic|~/.gq}}
 
{{ic|~/.gq-state}}
+
{{ic|~/.gq<br>
  +
~/.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<br>
 
{{ic|1=$ export GQSTATE="$XDG_DATA_HOME"/gq/gq-state}}
+
$ export GQSTATE="$XDG_DATA_HOME"/gq/gq-state<br>
  +
$ mkdir -p "$(dirname "$GQSTATE")"}}
 
{{ic|1=$ mkdir -p "$(dirname "$GQSTATE")"}}
 
 
|-
 
|-
 
| [https://gradle.org/ gradle]
 
| [https://gradle.org/ gradle]
727行目: 1,141行目:
 
|
 
|
 
| {{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}}
  +
| {{ic|~/.hledger.journal}}
  +
|
  +
| [https://github.com/simonmichael/hledger/issues/1081]
  +
| {{ic|1=$ export LEDGER_FILE="$XDG_DATA_HOME"/hledger.journal}}
  +
|-
  +
| {{AUR|imapfilter}}
  +
| {{ic|~/.imapfilter}}
  +
|
  +
|
  +
| {{ic|1=$ export IMAPFILTER_HOME="$XDG_CONFIG_HOME/imapfilter"}}
 
|-
 
|-
 
| [http://httpie.org httpie]
 
| [http://httpie.org httpie]
736行目: 1,162行目:
 
| [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<br>
  +
$ 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]]
745行目: 1,180行目:
 
|
 
|
 
| [https://github.com/irssi/irssi/pull/511]
 
| [https://github.com/irssi/irssi/pull/511]
| {{ic|1=irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi}}
+
| {{ic|1=$ irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi}}
 
|-
 
|-
 
| [[isync]]
 
| [[isync]]
751行目: 1,186行目:
 
|
 
|
 
|
 
|
| {{ic|$ mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc}}
+
| {{ic|1=$ mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc}}
  +
|-
  +
| [[Java]] (OpenJDK)
  +
| {{ic|~/.java/.userPrefs}}
  +
|
  +
| [https://bugzilla.redhat.com/show_bug.cgi?id=1154277]
  +
| {{ic|1=$ export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java}}
  +
|-
  +
| [[KDE]]
  +
| {{ic|~/.kde}}
  +
|
  +
| [https://userbase.kde.org/KDE_System_Administration/KDE_Filesystem_Hierarchy#KDEHOME]
  +
| {{ic|1=$ export KDEHOME="$XDG_CONFIG_HOME"/kde}}
  +
|-
  +
| [[ledger]]
  +
| {{ic|~/.ledgerrc}}, {{ic|~/.pricedb}}
  +
|
  +
| [https://github.com/ledger/ledger/issues/1820]
  +
| {{ic|1=$ ledger --init-file "$XDG_CONFIG_HOME"/ledgerrc}}
 
|-
 
|-
 
| [[less]]
 
| [[less]]
757行目: 1,210行目:
 
|
 
|
 
|
 
|
  +
|
| {{ic|1=$ export LESSHISTFILE="$XDG_CACHE_HOME"/less/history}} ({{ic|"$XDG_CACHE_HOME"/less}} ディレクトリを手動で作成する必要があります)。
 
  +
{{ic|1=mkdir -p "$XDG_CACHE_HOME"/less<br>
  +
$ export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey<br>
  +
$ export LESSHISTFILE="$XDG_CACHE_HOME"/less/history}}
   
 
{{ic|1=$ export LESSHISTFILE=-}} を使うことで機能を無効化できます。
 
{{ic|1=$ export LESSHISTFILE=-}} を使うことで機能を無効化できます。
 
{{ic|1=$ export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey}}
 
 
|-
 
|-
 
| [http://www.videolan.org/developers/libdvdcss.html libdvdcss]
 
| [http://www.videolan.org/developers/libdvdcss.html libdvdcss]
772行目: 1,226行目:
 
| {{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"/ICEauthority}}
 
| {{ic|1=$ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/ICEauthority}}
 
パーミッションには注意してください。例えば {{pkg|gdm}} からユーザーの {{ic|ICEauthority}} ファイルにアクセスする必要があります。
 
パーミッションには注意してください。例えば {{pkg|gdm}} からユーザーの {{ic|ICEauthority}} ファイルにアクセスする必要があります。
 
|-
 
|-
 
| [[Xorg|libx11]]
 
| [[Xorg|libx11]]
| {{ic|~/.XCompose}}
 
 
|
 
|
  +
{{ic|~/.XCompose<br>
  +
~/.compose-cache}}
 
|
 
|
  +
|
| {{ic|1=$ export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose}}
 
  +
|
  +
{{ic|1=$ export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose<br>
  +
$ export XCOMPOSECACHE="$XDG_CACHE_HOME"/X11/xcompose}}
 
|-
 
|-
 
| [http://ltrace.org/ ltrace]
 
| [http://ltrace.org/ ltrace]
813行目: 1,271行目:
 
|
 
|
 
| {{ic|1=$ export MEDNAFEN_HOME="$XDG_CONFIG_HOME"/mednafen}}
 
| {{ic|1=$ export MEDNAFEN_HOME="$XDG_CONFIG_HOME"/mednafen}}
  +
|-
  +
| {{Pkg|mitmproxy}}
  +
| {{ic|~/.mitmproxy}}
  +
|
  +
|
  +
|
  +
{{ic|1=$ alias mitmproxy="mitmproxy --set confdir=$XDG_CONFIG_HOME/mitmproxy"<br>
  +
$ alias mitmweb="mitmweb --set confdir=$XDG_CONFIG_HOME/mitmproxy"}}
 
|-
 
|-
 
| [[moc]]
 
| [[moc]]
818行目: 1,284行目:
 
|
 
|
 
|
 
|
  +
|
| {{ic|$ mocp -M "$XDG_CONFIG_HOME"/moc}}
 
{{ic|1=$ mocp -O MOCDir="$XDG_CONFIG_HOME"/moc}}
+
{{ic|1=$ mocp -M "$XDG_CONFIG_HOME"/moc<br>
  +
$ mocp -O MOCDir="$XDG_CONFIG_HOME"/moc}}
  +
|-
  +
| {{Pkg|monero}}
  +
| {{ic|~/.bitmonero}}
  +
|
  +
|
  +
| {{ic|1=$ monerod --data-dir "$XDG_DATA_HOME"/bitmonero}}
  +
|-
  +
| [https://www.jedsoft.org/most/ most]
  +
| {{ic|~/.mostrc}}
  +
|
  +
|
  +
| {{ic|1=$ export MOST_INITFILE="$XDG_CONFIG_HOME"/mostrc}}
 
|-
 
|-
 
| [[MPlayer]]
 
| [[MPlayer]]
827行目: 1,306行目:
 
| {{ic|1=$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}}
 
| {{ic|1=$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}}
 
|-
 
|-
| [[msmtp]]
+
| [[MySQL]]
| {{ic|~/.msmtprc}}
+
| {{ic|~/.mysql_history}}
 
|
 
|
 
|
 
|
| {{ic|1=$ msmtp -C "$XDG_CONFIG_HOME"/msmtp/msmtprc}}
+
| {{ic|1=$ export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history}}
 
|-
 
|-
 
| {{pkg|ncurses}}
 
| {{pkg|ncurses}}
862行目: 1,341行目:
 
|
 
|
 
| [http://notmuchmail.org/pipermail/notmuch/2011/007007.html]
 
| [http://notmuchmail.org/pipermail/notmuch/2011/007007.html]
  +
|
| {{ic|1=$ export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc}}
 
{{ic|1=$ export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug}}
+
{{ic|1=$ export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc<br>
  +
$ export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug}}
 
|-
 
|-
 
| [[Node.js#Node_Packaged_Module|npm]]
 
| [[Node.js#Node_Packaged_Module|npm]]
  +
|
| {{ic|~/.npm}} {{ic|~/.npmrc}}
 
  +
{{ic|~/.npm<br>
  +
~/.npmrc}}
 
|
 
|
 
| [https://github.com/npm/npm/issues/6675]
 
| [https://github.com/npm/npm/issues/6675]
878行目: 1,360行目:
 
Node.js を {{AUR|nvm}} でインストールした場合 {{ic|prefix}} は必要ありません (サポートされません)。
 
Node.js を {{AUR|nvm}} でインストールした場合 {{ic|prefix}} は必要ありません (サポートされません)。
 
|-
 
|-
  +
| {{Pkg|nuget}}
| [[NVIDIA]], [[CUDA]]
 
  +
| {{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]
 
| [https://github.com/NVIDIA/nvidia-settings nvidia-settings]
896行目: 1,383行目:
 
|
 
|
 
| {{ic|1=$ export NVM_DIR="$XDG_DATA_HOME"/nvm}}
 
| {{ic|1=$ export NVM_DIR="$XDG_DATA_HOME"/nvm}}
  +
|-
  +
| [[Octave]]
  +
|
  +
{{ic|~/octave<br>
  +
~/.octave_packages<br>
  +
~/.octave_hist}}
  +
|
  +
|
  +
|
  +
{{ic|1=$ export OCTAVE_HISTFILE="$XDG_CACHE_HOME/octave-hsts"<br>
  +
$ 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]
 
| [http://www.openscad.org/ openscad]
910行目: 1,415行目:
 
|
 
|
 
| .rnd ファイルの場所は RANDFILE 環境変数で設定できます。[https://www.openssl.org/docs/faq.html FAQ] を参照。
 
| .rnd ファイルの場所は 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]]
920行目: 1,431行目:
 
| {{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|postgresql]]
 
| [[PostgreSQL|postgresql]]
  +
|
| {{ic|~/.psqlrc}}
 
{{ic|~/.psql_history}}
+
{{ic|~/.psqlrc<br>
  +
~/.psql_history<br>
 
{{ic|~/.pgpass}}
+
~/.pgpass<br>
  +
~/.pg_service.conf}}
 
{{ic|~/.pg_service.conf}}
 
 
| 9.2
 
| 9.2
| [https://www.postgresql.org/docs/current/static/app-psql.html]
+
| [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"<br>
[https://www.postgresql.org/docs/current/static/libpq-envars.html]
 
| {{ic|1=$ export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"}}
+
$ export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history"<br>
{{ic|1=$ export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history"}}
+
$ export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"<br>
  +
$ export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"}}
 
{{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"}}。
 
ディレクトリを作成する必要があります: {{ic|1=$ mkdir "$XDG_CONFIG_HOME/pg" && mkdir "$XDG_CACHE_HOME/pg"}}。
948行目: 1,455行目:
 
|
 
|
 
| {{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}}
  +
| {{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|1=$ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs}}
  +
|-
  +
| [https://www.pylint.org/ pylint]
  +
| {{ic|~/.pylint.d}}
  +
|
  +
| [https://github.com/PyCQA/pylint/issues/1364 won't fix]
  +
| {{ic|1=$ export PYLINTHOME="$XDG_CACHE_HOME"/pylint}}
 
|-
 
|-
 
| [https://pypi.python.org/pypi/setuptools python-setuptools]
 
| [https://pypi.python.org/pypi/setuptools python-setuptools]
954行目: 1,485行目:
 
|
 
|
 
| {{ic|1=$ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs}}
 
| {{ic|1=$ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs}}
  +
|-
  +
| {{Pkg|racket}}
  +
| {{ic|~/.racketrc<br>
  +
~/.racket}}
  +
|
  +
| [https://github.com/racket/racket/issues/2740]
  +
| {{ic|1=$ export PLTUSERHOME="$XDG_DATA_HOME"/racket}}
 
|-
 
|-
 
| [[readline]]
 
| [[readline]]
971行目: 1,509行目:
 
|
 
|
 
|
 
|
  +
|
| {{ic|1=$ export GEM_HOME="$XDG_DATA_HOME"/gem}}
 
{{ic|1=$ export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem}}
+
{{ic|1=$ export GEM_HOME="$XDG_DATA_HOME"/gem<br>
  +
$ export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem}}
 
|-
 
|-
 
| [[Rust|rustup]]
 
| [[Rust|rustup]]
985行目: 1,524行目:
 
|
 
|
 
| [https://github.com/sbt/sbt/issues/3681]
 
| [https://github.com/sbt/sbt/issues/3681]
| {{ic|1=$ sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt}}
+
| {{ic|1=$ sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt}} ([https://github.com/sbt/sbt/issues/3598])
 
|-
 
|-
 
| [[screen]]
 
| [[screen]]
992行目: 1,531行目:
 
|
 
|
 
| {{ic|1=$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}}
 
| {{ic|1=$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}}
  +
|-
  +
| [https://spacemacs.org/ spacemacs]
  +
|
  +
{{ic|~/.spacemacs<br>
  +
~/.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<br>
  +
$ mv ~/.spacemacs "$SPACEMACSDIR"/init.el}}
  +
  +
Other files need to be configured like Emacs.
 
|-
 
|-
 
| [[stack]]
 
| [[stack]]
1,003行目: 1,555行目:
 
|
 
|
 
| [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][http://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|task}}
| {{ic|~/.task}} {{ic|~/.taskrc}}
 
 
|
 
|
  +
{{ic|~/.task<br>
  +
~/.taskrc}}
 
|
 
|
| {{ic|1=$ export TASKDATA="$XDG_DATA_HOME"/task}} {{ic|1=$ export TASKRC="$XDG_CONFIG_HOME"/task/taskrc}}
 
|-
 
| [http://jonas.nitro.dk/tig/ tig]
 
| {{ic|~/.tigrc}}
 
 
|
 
|
 
|
 
|
| {{ic|1=$ export TIGRC_USER="$XDG_CONFIG_HOME"/tig/tigrc}}
+
{{ic|1=$ export TASKDATA="$XDG_DATA_HOME"/task<br>
  +
$ export TASKRC="$XDG_CONFIG_HOME"/task/taskrc}}
 
|-
 
|-
 
| [http://tiptop.gforge.inria.fr/ tiptop]
 
| [http://tiptop.gforge.inria.fr/ tiptop]
1,023行目: 1,573行目:
 
| {{ic|.tiptoprc}} ファイルを必要とします: {{ic|$ tiptop -W "$XDG_CONFIG_HOME"/tiptop}}。
 
| {{ic|.tiptoprc}} ファイルを必要とします: {{ic|$ tiptop -W "$XDG_CONFIG_HOME"/tiptop}}。
 
|-
 
|-
| [[tmux]]
+
| [[TeX Live]]
| {{ic|~/.tmux.conf}}
+
| {{ic|~/.texliveYYYY}} (YYYY は年度)
  +
|
 
|
 
|
  +
| {{ic|$ export TEXMFCNF&#61;"${XDG_CONFIG_HOME}/texmf/web2c:$(kpsewhich --var-value&#61;'TEXMFCNF')"}}
| [http://comments.gmane.org/gmane.comp.terminal-emulators.tmux.user/6013] [https://sourceforge.net/p/tmux/mailman/message/30619546/]
 
| {{ic|$ tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf}}
+
{{hc|$XDG_CONFIG_HOME/texmf/web2c/texmf.cnf|
  +
TEXMFHOME&#61;$XDG_DATA_HOME/texmf
{{ic|1=$ export TMUX_TMPDIR="$XDG_RUNTIME_DIR"}}
 
  +
TEXMFCONFIG&#61;$XDG_CONFIG_HOME/texmf
 
|-
 
|-
 
| [https://github.com/bengardner/uncrustify uncrustify]
 
| [https://github.com/bengardner/uncrustify uncrustify]
1,047行目: 1,599行目:
 
|
 
|
 
| {{ic|1=$ export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd}}
 
| {{ic|1=$ export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd}}
  +
|-
  +
| [[Vagrant]]
  +
|
  +
{{ic|~/.vagrant.d<br>
  +
~/.vagrant.d/aliases}}
  +
|
  +
| [https://www.vagrantup.com/docs/other/environmental-variables.html]
  +
|
  +
{{ic|1=$ export VAGRANT_HOME="$XDG_DATA_HOME"/vagrant<br>
  +
$ export VAGRANT_ALIAS_FILE="$XDG_DATA_HOME"/vagrant/aliases}}
  +
|-
  +
| [[Visual Studio Code]]
  +
| {{ic|~/.vscode-oss/argv.json}}
  +
|
  +
| [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
  +
|-
  +
| [[AUR|WakaTime]]
  +
|
  +
{{ic|~/.wakatime.cfg<br>
  +
~/.wakatime.data<br>
  +
~/.wakatime.db<br>
  +
~/.wakatime.log}}
  +
|
  +
|
  +
| {{ic|1=$ export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"}}
  +
  +
以下のディレクトリは手動で作成する必要があります。:<br>
  +
{{ic|1=$ mkdir "$XDG_CONFIG_HOME/wakatime"}}
 
|-
 
|-
 
| [[WeeChat]]
 
| [[WeeChat]]
 
| {{ic|~/.weechat}}
 
| {{ic|~/.weechat}}
 
|
 
|
| [https://savannah.nongnu.org/task/?10934]
+
| [https://savannah.nongnu.org/task/?10934] [https://github.com/ipython/ipython/pull/4457]
  +
|
| {{ic|1=$ export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat}}
 
{{ic|$ weechat -d "$XDG_CONFIG_HOME"/weechat}}
+
{{ic|1=$ export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat<br>
  +
$ weechat -d "$XDG_CONFIG_HOME"/weechat}}
 
|-
 
|-
 
| [[wget]]
 
| [[wget]]
| {{ic|~/.wgetrc}}
 
 
|
 
|
  +
{{ic|~/.wgetrc
  +
~/.wget-hsts}}
 
|
 
|
  +
|
| {{ic|1=$ export WGETRC="$XDG_CONFIG_HOME/wgetrc"}}
 
  +
|
  +
{{ic|1=$ export WGETRC="$XDG_CONFIG_HOME/wgetrc"<br>
  +
$ wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"}}
 
|-
 
|-
 
| [[wine]]
 
| [[wine]]
1,066行目: 1,652行目:
 
| [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<br>
  +
$ export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default}}
 
  +
|-
{{ic|1=$ export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default}}
 
  +
| [[xbindkeys]]
  +
| {{ic|~/.xbindkeysrc}}
  +
|
  +
|
  +
| {{ic|1=$ xbindkeys -f "$XDG_CONFIG_HOME"/xbindkeys/config}}
 
|-
 
|-
 
| {{pkg|xorg-xauth}}
 
| {{pkg|xorg-xauth}}
1,076行目: 1,667行目:
 
| {{ic|1=$ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority}}
 
| {{ic|1=$ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority}}
 
|-
 
|-
| {{pkg|xorg-xinit}}
+
| [[xinit]]
| {{ic|~/.xinitrc}} {{ic|~/.xserverrc}}
 
 
|
 
|
  +
{{ic|~/.xinitrc<br>
  +
~/.xserverrc}}
 
|
 
|
  +
|
| {{ic|1=$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc}} {{ic|1=$ export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc}}
 
  +
|
  +
{{ic|1=$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc<br>
  +
$ export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc}}
  +
  +
上記の変数は ''xinit'' には反映されますが、''startx'' には反映されません。starx では引数としてファイル名を指定してください:
  +
  +
{{ic|1=$ startx "$XDG_CONFIG_HOME/X11/xinitrc" -- vt1}}
 
|-
 
|-
 
| {{pkg|xorg-xrdb}}
 
| {{pkg|xorg-xrdb}}
  +
|
| {{ic|~/.Xresources}} {{ic|~/.Xdefaults}}
 
  +
{{ic|~/.Xresources<br>
  +
~/.Xdefaults}}
 
|
 
|
 
|
 
|
 
| {{ic|xrdb -load ~/.config/X11/xresources}} のようにパスを指定して {{ic|xrdb}} でリソースがロードされるように {{ic|Xresources}} を [https://superuser.com/questions/243914/xresources-or-xdefaults 使用] することができます。
 
| {{ic|xrdb -load ~/.config/X11/xresources}} のようにパスを指定して {{ic|xrdb}} でリソースがロードされるように {{ic|Xresources}} を [https://superuser.com/questions/243914/xresources-or-xdefaults 使用] することができます。
  +
|-
  +
| {{Pkg|z}}
  +
|
  +
{{ic|~/.z}}
  +
|
  +
| [https://github.com/rupa/z/issues/267]
  +
| {{ic|1=$ export _Z_DATA="$XDG_DATA_HOME/z"}}
 
|}
 
|}
   
1,100行目: 1,708行目:
 
| {{ic|~/.android}}
 
| {{ic|~/.android}}
 
| [https://developer.android.com/studio/command-line/variables.html#android_sdk_root]
 
| [https://developer.android.com/studio/command-line/variables.html#android_sdk_root]
  +
|
| {{ic|1=$ export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android}}
 
  +
{{ic|1=$ export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android<br>
  +
$ export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android/<br>
  +
$ export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/<br>
  +
$ export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android}}
  +
|-
  +
| [[Ansible]]
  +
| {{ic|~/.ansible}}
  +
| [https://github.com/ansible/ansible/issues/52354]
  +
|
  +
 
|-
 
|-
 
| [[AMule]]
 
| [[AMule]]
1,108行目: 1,726行目:
 
|-
 
|-
 
| [[Android#Android Studio|Android Studio]]
 
| [[Android#Android Studio|Android Studio]]
  +
|
| {{ic|~/.AndroidStudio2.3}}
 
  +
{{ic|~/.AndroidStudio2.3<br>
 
{{ic|~/.android}}
+
~/.android<br>
  +
~/.java}}
 
{{ic|~/.java}}
 
 
|
 
|
 
|
 
|
1,124行目: 1,741行目:
 
| {{ic|~/.ApacheDirectoryStudio}}
 
| {{ic|~/.ApacheDirectoryStudio}}
 
|
 
|
  +
|
  +
|-
  +
| [https://christian.amsuess.com/tools/arandr/ ARandR]
  +
| {{ic|~/.screenlayout}}
  +
|
  +
|
  +
|-
  +
| [[Arduino]]
  +
|
  +
{{ic|~/.arduino15<br>
  +
~/.jssc}}
  +
| [https://github.com/arduino/Arduino/issues/3915 won't fix]
  +
| [https://github.com/arduino/Arduino/issues/10486]
 
|
 
|
 
|-
 
|-
 
| [https://www.audacityteam.org/ Audacity]
 
| [https://www.audacityteam.org/ Audacity]
 
| {{ic|~/.audacity-data}}
 
| {{ic|~/.audacity-data}}
  +
| [https://bugzilla.audacityteam.org/show_bug.cgi?id=2201]
|
 
 
|
 
|
 
|-
 
|-
1,137行目: 1,767行目:
 
|-
 
|-
 
| [[bash]]
 
| [[bash]]
  +
|
| {{ic|~/.bashrc}} {{ic|~/.bash_history}} {{ic|~/.bash_profile}} {{ic|~/.bash_login}} {{ic|~/.bash_logout}}
 
  +
{{ic|~/.bashrc<br>
  +
~/.bash_history<br>
  +
~/.bash_profile<br>
  +
~/.bash_login<br>
  +
~/.bash_logout}}
 
| [http://savannah.gnu.org/support/?108134]
 
| [http://savannah.gnu.org/support/?108134]
 
|
 
|
1,143行目: 1,778行目:
 
* {{ic|1=export HISTFILE="$XDG_DATA_HOME"/bash/history}}
 
* {{ic|1=export HISTFILE="$XDG_DATA_HOME"/bash/history}}
 
* インタラクティブシェルでは {{ic|~/.bashrc}} の代わりに {{ic|--init-file <file>}} で指定。
 
* インタラクティブシェルでは {{ic|~/.bashrc}} の代わりに {{ic|--init-file <file>}} で指定。
|-
 
| [[bazaar]]
 
| {{ic|~/.bazaar}}
 
 
{{ic|~/.bzr.log}}
 
|
 
|
 
 
|-
 
|-
 
| [[Haskell|cabal]]
 
| [[Haskell|cabal]]
1,156行目: 1,784行目:
 
| 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。
 
| 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。
 
|-
 
|-
  +
| {{AUR|chatty}}
| [https://calibre-ebook.com/ calibre]
 
| {{ic|~/Calibre Library}}
+
| {{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|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]
 
|
 
|
 
|-
 
|-
1,178行目: 1,821行目:
 
| [https://wiki.gnome.org/Apps/Dia Dia]
 
| [https://wiki.gnome.org/Apps/Dia Dia]
 
| {{ic|~/.dia}}
 
| {{ic|~/.dia}}
  +
|
  +
|-
  +
| {{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]
 
|
 
|
 
|-
 
|-
1,184行目: 1,843行目:
 
| [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}} に決め打ちされています)。
|-
 
| [[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]
 
| [http://www.fetchmail.info/ Fetchmail]
1,202行目: 1,856行目:
 
| [[Flatpak]]
 
| [[Flatpak]]
 
| {{ic|~/.var/}}
 
| {{ic|~/.var/}}
| [https://github.com/flatpak/flatpak/issues/46] [https://github.com/flatpak/flatpak.github.io/issues/191]
+
| [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]
  +
|
  +
|-
  +
| {{Pkg|gftp}}
  +
| {{ic|~/.gftp/}}
  +
|
 
|
 
|
 
|-
 
|-
1,210行目: 1,874行目:
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|ghidra}}
| [https://www.gnu.org/software/parallel/ GNU parallel]
 
| {{ic|~/.parallel}}
 
 
|
 
|
  +
| [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|grsync}}
  +
| {{ic|~/.grsync/}}
  +
| [https://sourceforge.net/p/grsync/feature-requests/15/]
 
|
 
|
 
|-
 
|-
1,218行目: 1,897行目:
 
| {{ic|~/.gtk-recordmydesktop}}
 
| {{ic|~/.gtk-recordmydesktop}}
 
|
 
|
  +
|
  +
|-
  +
| {{AUR|kite}}
  +
| {{ic|~/.kite/}}
  +
| [https://github.com/kiteco/issue-tracker/issues/242]
  +
|
  +
|-
  +
| {{Pkg|hplip}}
  +
| {{ic|~/.hplip/}}
  +
| [https://bugs.launchpad.net/hplip/+bug/307152]
 
|
 
|
 
|-
 
|-
1,223行目: 1,912行目:
 
| {{ic|~/.idris}}
 
| {{ic|~/.idris}}
 
| [https://github.com/idris-lang/Idris-dev/pull/3456]
 
| [https://github.com/idris-lang/Idris-dev/pull/3456]
  +
|
  +
|-
  +
| [[Java]] OpenJDK
  +
| {{ic|~/.java/fonts}}
  +
| [https://bugzilla.redhat.com/show_bug.cgi?id=1154277] (RedHat)
  +
| {{ic|1=$ export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java}}
  +
|-
  +
| [[Java]] OpenJFX
  +
| {{ic|~/.java/webview}}
  +
|
 
|
 
|
 
|-
 
|-
 
| [[julia]]
 
| [[julia]]
  +
|
| {{ic|~/.juliarc.jl}} {{ic|~/.julia_history}}
 
  +
{{ic|~/.juliarc.jl<br>
  +
~/.julia_history}}
 
| [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]
 
|
 
|
1,236行目: 1,937行目:
 
|-
 
|-
 
| [http://lldb.llvm.org/ lldb]
 
| [http://lldb.llvm.org/ lldb]
  +
|
| {{ic|~/.lldb}} {{ic|~/.lldbinit}}
 
  +
{{ic|~/.lldb<br>
  +
~/.lldbinit}}
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| [http://www.mathomatic.org/ mathomatic]
 
| [http://www.mathomatic.org/ mathomatic]
  +
|
| {{ic|~/.mathomaticrc}} {{ic|~/.matho_history}}
 
  +
{{ic|~/.mathomaticrc<br>
  +
~/.matho_history}}
 
|
 
|
 
| {{ic|rlwrap mathomatic -r}} を使って {{ic|RLWRAP_HOME}} 変数を適切に設定することで履歴を移動できます。
 
| {{ic|rlwrap mathomatic -r}} を使って {{ic|RLWRAP_HOME}} 変数を適切に設定することで履歴を移動できます。
 
|-
 
|-
 
| [[Minecraft]]
 
| [[Minecraft]]
| {{ic|~/.minecraft}}
+
| {{ic|~/.minecraft/}}
 
| [https://bugs.mojang.com/browse/MCL-2563]
 
| [https://bugs.mojang.com/browse/MCL-2563]
 
|
 
|
  +
|-
  +
| [[Minetest]]
  +
| {{ic|~/.minetest/}}
  +
| [https://github.com/minetest/minetest/issues/864 won't fix] [https://github.com/minetest/minetest/issues/8151]
  +
|
  +
|-
  +
| {{Pkg|minicom}}
  +
| {{ic|~/.minirc.dfl}}
  +
|
  +
| アップストリームでは、{{ic|~/.config/minicom}}以下の設定ファイルをサポートするためのTODOエントリがあります。[https://salsa.debian.org/minicom-team/minicom/-/blob/fe9ff103/TODO#L27]
 
|-
 
|-
 
| [[MongoDB|mongodb]]
 
| [[MongoDB|mongodb]]
  +
|
| {{ic|~/.mongorc.js}} {{ic|~/.dbshell}}
 
  +
{{ic|~/.mongorc.js<br>
  +
~/.dbshell}}
 
| [https://jira.mongodb.org/browse/DOCS-5652?jql=text%20~%20%22.mongorc.js%22]
 
| [https://jira.mongodb.org/browse/DOCS-5652?jql=text%20~%20%22.mongorc.js%22]
 
| [https://stackoverflow.com/a/22349050/4200039 Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使うことを提案しています。
 
| [https://stackoverflow.com/a/22349050/4200039 Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使うことを提案しています。
  +
|-
  +
| [http://0ldsk00l.ca/nestopia/ Nestopia UE]
  +
| {{ic|~/.nestopia/}}
  +
| [https://github.com/0ldsk00l/nestopia/pull/292 won't fix]
  +
|
 
|-
 
|-
 
|
 
|
1,259行目: 1,981行目:
 
|
 
|
 
| {{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-openvpn]]
  +
| {{ic|~/.cert/nm-openvpn}}
  +
| [https://gitlab.gnome.org/GNOME/NetworkManager-openvpn/issues/35]
  +
|
 
|-
 
|-
 
| [[Network Security Services|NSS]]
 
| [[Network Security Services|NSS]]
1,274行目: 2,001行目:
 
| [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}}
  +
|
  +
|
  +
|-
  +
| [[PCManFM]]
  +
| {{ic|~/.thumbnails}}
  +
| [https://github.com/lxde/libfm/issues/57]
  +
|
  +
|-
  +
| {{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]
1,289行目: 2,031行目:
 
|
 
|
 
| [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/issue5845 バージョン 3.4] からインタラクティブセッションの履歴は全てデフォルトで {{ic|~/.python_history}} に保存されますが、古いバージョンと同じ方法でカスタムパスを設定できます ([https://docs.python.org/3/library/readline.html?highlight=readline#example] を参照)。
  +
|-
  +
| {{Pkg|python-poetry}}
  +
| {{ic|~/.poetry}}
  +
| [https://github.com/python-poetry/poetry/issues/2148]
  +
| {{ic|POETRY_HOME}} can be used but it does not separate data and config.
 
|-
 
|-
 
| [[Qt#開発|Qt Designer]]
 
| [[Qt#開発|Qt Designer]]
1,295行目: 2,042行目:
 
|
 
|
 
|-
 
|-
  +
| [http://rednotebook.sourceforge.net/ RedNotebook]
| [https://quodlibet.readthedocs.io/en/latest/ Quod Libet]
 
| {{ic|~/.quodlibet}}
+
| {{ic|~/.rednotebook}}
  +
|
| [https://github.com/quodlibet/quodlibet/issues/138]
 
 
|
 
|
 
|-
 
|-
| [https://racket-lang.org/ racket]
+
| [https://remarkableapp.github.io/linux.html Remarkable]
| {{ic|~/.racketrc}}
+
| {{ic|~/.remarkable}}
 
|
 
|
 
|
 
|
 
|-
 
|-
  +
| {{AUR|renderdoc}}
| [http://rednotebook.sourceforge.net/ RedNotebook]
 
| {{ic|~/.rednotebook}}
+
| {{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]
 
|
 
|
 
|-
 
|-
  +
| [[SANE]]
| [https://remarkableapp.github.io/linux.html Remarkable]
 
| {{ic|~/.remarkable}}
+
| {{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}}}があるかどうかをチェックすることで緩和できます。
 
|-
 
|-
 
| [https://www.scribus.net/ Scribus]
 
| [https://www.scribus.net/ Scribus]
1,324行目: 2,086行目:
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|simplescreenrecorder}}
| [[Skype]] < 5.0
 
| {{ic|~/.Skype}}
+
| {{ic|~/.ssr/}}
  +
| [https://github.com/MaartenBaert/ssr/issues/407]
| [https://community.skype.com/t5/Linux-archive/Skype-violates-XDG-basedir-spec-on-linux/td-p/4175884]
 
  +
| 既に作成されている場合に限り{{ic|$XDG_CONFIG_HOME/simplescreenrecorder/}}を使用します。[https://github.com/MaartenBaert/ssr/issues/407#issuecomment-667600809] (まだリリースされていません)
|
 
 
|-
 
|-
 
| [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<br>
  +
~/.solfegerc<br>
  +
~/lessonfiles}}
 
| [https://savannah.gnu.org/bugs/index.php?50251]
 
| [https://savannah.gnu.org/bugs/index.php?50251]
 
|
 
|
1,339行目: 2,104行目:
 
|
 
|
 
|-
 
|-
| [[spectrwm]]
+
| [[SQLite]]
| {{ic|~/.spectrwm}}
 
 
|
 
|
  +
{{ic|~/.sqlite_history<br>
  +
~/.sqliterc}}
  +
| [https://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|1=$ export SQLITE_HISTORY=$XDG_DATA_HOME/sqlite_history<br>
|-
 
  +
$ sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc}}
| [[SQLite]]
 
| {{ic|~/.sqlite_history}} {{ic|~/.sqliterc}}
 
| [https://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}}
 
 
|-
 
|-
 
| [[Steam]]
 
| [[Steam]]
  +
|
| {{ic|~/.steam}}
 
{{ic|~/.steampath}}
+
{{ic|~/.steam<br>
  +
~/.steampath<br>
{{ic|~/.steampid}}
 
  +
~/.steampid}}
 
| [https://github.com/ValveSoftware/steam-for-linux/issues/1890]
 
| [https://github.com/ValveSoftware/steam-for-linux/issues/1890]
  +
| 大抵のゲームエンジン (Unity 3D, Unreal) は仕様に準拠していますが、一部のゲームパブリッシャはパスを [https://www.ctrl.blog/entry/flatpak-steamcloud-xdg Steam Auto-Cloud] にハードコードしているため、ゲームのセーブデータが間違ったディレクトリで同期されることがあります。
|
 
 
|-
 
|-
 
| [[TeamSpeak]]
 
| [[TeamSpeak]]
 
| {{ic|~/.ts3client}}
 
| {{ic|~/.ts3client}}
 
|
 
|
  +
| {{ic|1=$ export TS3_CONFIG_DIR="$XDG_CONFIG_HOME/ts3client"}}
  +
|-
  +
| {{pkg|texinfo}}
  +
| {{ic|~/.infokey}}
  +
|
  +
| {{ic|$ info --init-file "$XDG_CONFIG_HOME/infokey"}}
 
|-
 
|-
 
| [http://www.texmacs.org/ TeXmacs]
 
| [http://www.texmacs.org/ TeXmacs]
1,372行目: 2,143行目:
 
| [https://git.archlinux.org/users/remy/texlive-localmanager.git/ tllocalmgr]
 
| [https://git.archlinux.org/users/remy/texlive-localmanager.git/ tllocalmgr]
 
| {{ic|~/.texlive}}
 
| {{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]]
 
| [[vim]]
  +
|
| {{ic|~/.vim}} {{ic|~/.vimrc}} {{ic|~/.viminfo}}
 
  +
{{ic|~/.vim<br>
  +
~/.vimrc<br>
  +
~/.viminfo}}
 
|
 
|
 
| [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|
set undodir&#61;$XDG_CACHE_HOME/vim/undo
+
set undodir&#61;$XDG_DATA_HOME/vim/undo
set directory&#61;$XDG_CACHE_HOME/vim/swap
+
set directory&#61;$XDG_DATA_HOME/vim/swap
set backupdir&#61;$XDG_CACHE_HOME/vim/backup
+
set backupdir&#61;$XDG_DATA_HOME/vim/backup
set viminfo+&#61;'1000,n$XDG_CACHE_HOME/vim/viminfo
+
set viewdir&#61;$XDG_DATA_HOME/vim/view
  +
set viminfo+&#61;'1000,n$XDG_DATA_HOME/vim/viminfo
set runtimepath&#61;$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after,$VIMRUNTIME
 
  +
set runtimepath&#61;$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after
 
}}
 
}}
   
1,396行目: 2,177行目:
 
| {{ic|~/.vimperatorrc}}
 
| {{ic|~/.vimperatorrc}}
 
| [http://www.mozdev.org/pipermail/vimperator/2009-October/004848.html]
 
| [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_RUNTIME="$XDG_CONFIG_HOME"/vimperator}}
+
{{ic|1=$ export VIMPERATOR_INIT=":source $XDG_CONFIG_HOME/vimperator/vimperatorrc"<br>
  +
$ export VIMPERATOR_RUNTIME="$XDG_CONFIG_HOME"/vimperator}}
  +
|-
  +
| [[w3m]]
  +
| {{ic|~/.w3m}}
  +
| [https://sourceforge.net/p/w3m/feature-requests/31/]
  +
|
 
|-
 
|-
 
| [[WPA supplicant#wpa_cli で接続する|wpa_cli]]
 
| [[WPA supplicant#wpa_cli で接続する|wpa_cli]]
1,406行目: 2,193行目:
 
| {{pkg|xdg-utils}}
 
| {{pkg|xdg-utils}}
 
| {{ic|~/.gnome}}
 
| {{ic|~/.gnome}}
  +
| [https://bugs.freedesktop.org/show_bug.cgi?id=90775]
|
 
 
| 何らかの理由で {{ic|xdg-desktop-menu}} スクリプトは {{ic|gnome_user_dir&#61;"$HOME/.gnome/apps"}} をハードコードしており、[[chromium]] などによって使われています。
 
| 何らかの理由で {{ic|xdg-desktop-menu}} スクリプトは {{ic|gnome_user_dir&#61;"$HOME/.gnome/apps"}} をハードコードしており、[[chromium]] などによって使われています。
 
|-
 
|-
1,414行目: 2,201行目:
 
|
 
|
 
|-
 
|-
| {{pkg|yarn}}
+
| {{Pkg|xournalpp}}
| {{ic|~/.yarnrc}}
+
| {{ic|~/.xournalpp}}
  +
| [https://github.com/xournalpp/xournalpp/issues/1101]
 
  +
|
{{ic|~/.yarn/}}
 
  +
|-
 
{{ic|~/.yarncache/}}
+
| {{Pkg|xpdf}}
  +
| {{ic|~/.xpdfrc}}
 
  +
|
{{ic|~/.yarn-config/}}
 
  +
|
| [https://github.com/yarnpkg/yarn/issues/2334]
 
  +
|-
  +
| [https://yardoc.org YARD]
  +
| {{ic|~/.yard}}
  +
| [https://github.com/lsegal/yard/issues/1230]
  +
| 誰か実装したい人がいれば、プルリクエストを受け付けます。
  +
|-
  +
| [https://nmap.org/zenmap/ zenmap] ([[nmap]])
  +
| {{ic|~/.zenmap}}
  +
| [http://seclists.org/nmap-dev/2012/q2/163] [https://github.com/nmap/nmap/issues/590]
  +
|
  +
|-
  +
| {{AUR|zoom}}
  +
| {{ic|~/.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<br>
  +
~/.zprofile<br>
  +
~/.zshenv<br>
  +
~/.zlogin<br>
  +
~/.zlogout<br>
  +
~/.histfile<br>
  +
~/.zcompdump}}
 
| [http://www.zsh.org/mla/workers/2013/msg00692.html]
 
| [http://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 権限が必要で設定はシステム全体に適用されます。
1,436行目: 2,249行目:
 
; C
 
; C
 
: [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]
  +
  +
; Go
  +
: [https://github.com/ProtonMail/go-appdir go-appdir]
   
 
; JVM ([[Java]], Kotlin, [[Clojure]], [[Scala]])
 
; JVM ([[Java]], Kotlin, [[Clojure]], [[Scala]])
: [https://github.com/soc/directories directories]
+
: [https://github.com/soc/directories-jvm directories-jvm]
   
 
; [[Haskell]]
 
; [[Haskell]]
1,453行目: 2,272行目:
 
; [[Ruby]]
 
; [[Ruby]]
 
: [https://github.com/rubyworks/xdg rubyworks/xdg]
 
: [https://github.com/rubyworks/xdg rubyworks/xdg]
  +
  +
; [[Rust]]
  +
: [https://github.com/soc/directories-rs directories-rs]
   
 
; Vala
 
; Vala

2021年1月20日 (水) 23:30時点における版

関連記事

この記事では2003年に導入された XDG Base Directory Specification を使用しているソフトウェアを整理しています。ここでは一般的に使われているドットファイルと対応状態を並べて仕様がどれだけ使われているか示します。Base Directory Specification に対応していないソフトウェアについては、擬似的に対応させる方法を説明します。

ただし環境変数やコンパイルオプションに保存されているコードを実行したり、ソースにパッチを適用したりする方法は除外します。設定はあくまでシステム間で相互運用できるべきでありコンパイルオプションを使ってしまうと使用が制限されるためです。

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_RUNTIME_DIR
    • ソケットや名前付きパイプなどのような必須でないユーザー個別のデータファイルに使われます。
    • デフォルト値は必ずしも設定する必要はありません。設定されていない場合は警告が表示されます。
    • ディレクトリの所有者がユーザーでアクセスモードが 0700 である必要があります。
    • OS の標準機能だけで動作するファイルシステムを使用します。
    • ローカルファイルシステム上に存在する必要があります。
    • 定期的にファイルが消去される可能性があります。
    • 永続的に保持したい場合は6時間毎に変更を加えるかスティッキービットを設定します。
    • ユーザーがログインしている値だけ存在します。
    • tmpfs でマウントされることもあるので巨大なファイルは保存できません。

システムディレクトリ

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

貢献

ソフトウェアを追加するときは適切なセクションを使ってください。

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

  • 1番目のカラムはプロジェクト名です。できればコマンド名にしてください。ソフトウェアのウェブサイトか適切な wiki の記事にリンクさせます。
  • 2番目のカラムはプロジェクトが使用するレガシーなファイルやディレクトリです。もはや読み込まれない場合でも確認できるように記述してください。
  • 3番目のカラムは XDG Base Directory に切り替わったプロジェクトのコミットあるいはバージョンです。4番目のカラムにはその議論がある場合にリンクを載せてください。
  • 最後のカラムにはサポートしていないプロジェクトのための適切な対処方法を記載します。簡潔に書いてください。曖昧な部分がある場合は自由に追記してください。

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

アプリケーション 旧パス 対応開始 議論 ノート
aerc
antimicro ~/.antimicro edba864 [1]
aria2 ~/.aria2 8bc1d37 [2]
Asunder

~/.asunder
~/.asunder_album_artist
~/.asunder_album_genre
~/.asunder_album_title

2.9.0 [3] ~/.asunderXDG_CONFIG_HOME/asunder/asunder を、他の3つのファイルは XDG_CACHE_HOME/asunder/asunder_album_... を使います。移行後も古いパスは削除されないため、手動で削除する必要があります。
binwalk ~/.binwalk 2051757 [4] $XDG_CONFIG_HOME/binwalk
bash-completion ~/.bash_completion 2.11版 以前の方法: $ export BASH_COMPLETION_USER_FILE="$XDG_CONFIG_HOME"/bash-completion/bash_completion
Blender ~/.blender 4293f473 [5]
burp f2388e9
calcurse ~/.calcurse 04162d [6] [7] XDG_CONFIG_HOME/calcurse

XDG_DATA_HOME/calcurse

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

calibre ~/Calibre Library
citra ~/.citra-emu f7c3193fec [8]
composer ~/.composer 1.0.0-beta1 [9]
cower 8b70805
d-feet ~/.d-feet 7f6104b
dconf
dolphin-emu ~/.dolphin-emu a498c68 [10]
dr14-meter 7e777ca64 [11] XDG_CONFIG_HOME/dr14tmeter/
dunst 78b6e2b1 [12]
dwb
fish
fontconfig

~/.fontconfig
~/.fonts

8c255fb1, [13] フォントの保存には "$XDG_DATA_HOME"/fonts を使ってください。
fontforge

~/.FontForge
~/.PfaEdit

e4c2cc7432

[14] [15]

freerdp ~/.freerdp edf6e7258d
Emacs ~/.emacs
~/.emacs.d/init.el
[16]

27.1

XDG_CONFIG_HOME/emacs/init.el

レガシーパスは XDG パスよりも優先されます。 その場合、Emacsは XDG_CONFIG_HOME/emacs/ を作成しません。 26.3 以降での回避策は{HOMEを設定することは可能ですが、予期せぬ副作用があります。 他の Emacs 環境変数を修正してロードパスを変更して手動で init ファイルをロードする site ファイルを作成するのが確実ですが、ロードプロセスが大幅に変わってしまいます。

Gajim ~/.gajim 3e777ea [17]
gconf ~/.gconf fc28caa7 [18]
GIMP

~/.gimp-x.y
~/.thumbnails

60e0cfe 483505f

[19] [20]

git ~/.gitconfig 0d94427e
gops 71c4255
gstreamer ~/.gstreamer-0.10 4e36f93924cf [21]
gtk3
htop ~/.htoprc 93233a67
i3 ~/.i3 7c130fb54
i3status ~/.i3status.conf c3f7fc4994
imagemagick
inkscape ~/.inkscape 0.47 [22]
iwd / iwctl ~/.iwctl_history d3e00d7f
intellij-idea-community-edition ~/.IntelliJIdea* 2020.1 [23]
josm ~/.josm 11162 [24]
Kakoune
latexmk ~/.latexmkrc
lftp ~/.lftp 21dc400 [25]
lgogdownloader ~/.gogdownloader d430af63d000 [26]
LibreOffice

a6f56f70 25bd2eec

[27]
NSS ~/.pki 3.42 [28]
livestreamer ~/.livestreamerrc ea805917 [29]
llpp 3ab86f0cb 現在 llpp はディレクトリを作成せず XDG_CONFIG_HOME の直下に設定を保存します。
mc ~/.mc 1b9957058 0b7115647 ce401d797 [30]
Mercurial ~/.hgrc

354020079723 4.2

XDG_CONFIG_HOME/hg/hgrc
msmtp ~/.msmtprc

af2f409 v1.6.7+

XDG_CONFIG_HOME/msmtp/config.
mesa 87ab26b2ab XDG_CACHE_HOME/mesa
milkytracker ~/.milkytracker_config eb487c55 [31]
mintty ~/.minttyrc cff1bd8f v2.3.7 [32]
mpd ~/.mpdconf 87b73284
mpv ~/.mpv cb250d490 [33]
mutt ~/.mutt 42fee7585f [34]
mypaint ~/.mypaint cf723b74cd
nano

~/.nano/
~/.nanorc

036fc403 [35]
ncmpcpp ~/.ncmpcpp

38d9f811 27cd86e0

[36] [37]

ncmpcpp_directory を設定しないと error.log ファイルが ~/.ncmpcpp に保存されます。
neovim

~/.nvim
~/.nvimlog
~/.nviminfo

1ca5646bb

[38] [39]

newsbeuter ~/.newsbeuter 3c57824c5 [40] "$XDG_DATA_HOME"/newsbeuter"$XDG_CONFIG_HOME"/newsbeuter を作成する必要があります [41]
node-gyp ~/.node-gyp 2b5ce52a [42]
np2kai-gitAUR

~/.config/np2kai
~/.config/xnp2kai

56a1cc2 [43]
nteract-binAUR 4593e72 [44] [45] does not recognize workarounds for ipython/jupyter
OfflineIMAP ~/.offlineimaprc 5150de5 [46]
opentyrian ~/.opentyrian 8d45ff2 [47]
pandoc ~/.pandoc/ 0bed0ab [48]
pcsx2 ~/.pcsx2

87f1e8f77 a9020c606 3b22f0fb0 0a012aec2

[49] [50]
Pry ~/.pryrc
~/.pry_history

a0be0cc7 15e1fc92 e9d1be0e

[51]
pip ~/.pip 6.0 [52]
powershellAUR 6.0
ppsspp ~/.ppsspp 132fe47c7d [53]
procps-ng ~/.toprc af53e170b9

[54] [55]

orbment
pacman ~/.makepkg.conf 80eca94c8 [56]
Panda3D ~/.panda3d 2b537d2
poezioAUR
PulseAudio

~/.pulse
~/.pulse-cookie

59a8618dcd9 87ae8307057 9ab510a6921 4c195bcc9d5

[57]
pyroom
quodlibet ~/.quodlibet 3.10.0 [58]
qutebrowser
qtile

fd8686e 66d704b 51cff01

[59] 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
rclone ~/.rclone.conf 9d362589 [60]
retroarch
rr ~/.rr 02e7d41e [61]
RSpec ~/.rspec 5e395e2 [62]
rTorrent ~/.rtorrent.rc 6a8d332b
RuboCop ~/.rubocop.yml 6fe5956 [63]
sdcv

~/.stardict/
~/.sdcv_history

958ec35 [64]
Skype ~/.Skype 8.0
Snes9x ~/.snes9x 19864677 [65] デフォルトの設定は空です。ROM を起動する前にユーザーが GUI や手動で設定するようになっています。
spectrwm ~/.spectrwm a30bbb [66]
sublime-text-devAUR キャッシュは $XDG_CACHE_HOME/sublime-text-3 ではなく $XDG_CONFIG_HOME/sublime-text-3/Cache に保存されます。
surfraw

~/.surfraw.conf
~/.surfraw.bookmarks

3e4591d8 bd8c427d f57fc718

sway ~/.sway/config 614393c09 [67]
systemd
teeworlds ~/.teeworlds [68]
termite
tig ~/.tigrc, ~/.tig_history 2.2 [69] ~/.local/share/tigディレクトリが存在しなければならず、そうでなければ ~/.tig_historyに書き込まれます。
tmux ~/.tmux.conf 3.1 [70] 3.1 で ~/.config/tmux/tmux.conf を導入し、3.2 では $XDG_CONFIG_HOME/tmux/tmux.conf が追加されました。
tmuxp ~/.tmuxp 1.5.0 [71] Fixed in 1.5.2
tmuxinator ~/.tmuxinator 2636923 [72]
transmission ~/.transmission 5517 [73]
util-linux 570b32100
uzbl c6fd63a [74]
vimb
VirtualBox ~/.VirtualBox 4.3 [75]
vis ~/.vis

68a25c75 d138908c

[76]
VLC media player ~/.vlcrc 16f32e15 [77]
warsow ~/.warsow-2.x 98ece3f [78]
wireshark ~/.wireshark b0b53fa5
xsettingsd ~/.xsettingsd 4ecd7be
xmonad ~/.xmonad 40fc10b6

[79] [80]

XMONAD_CONFIG_HOME, XMONAD_DATA_HOME, XMONAD_CACHE_HOME 環境変数が使えます。
xsel ~/.xsel.log ee7b4811 [81]
yarn

~/.yarnrc
~/.yarn/
~/.yarncache/
~/.yarn-config/

2d454b5

[82] [83]

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

アプリケーション 旧パス 対応開始 議論 ノート
abook ~/.abook $ abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_CACHE_HOME"/abook/addressbook
ack ~/.ackrc [84] $ export ACKRC="$XDG_CONFIG_HOME/ack/ackrc"
Anki

~/Anki
~/Documents/Anki

[85] [86] $ anki -b "$XDG_DATA_HOME"/Anki
aspell ~/.aspell.conf $ 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 [87] $ export ATOM_HOME="$XDG_DATA_HOME"/atom
aws-cli ~/.aws 1.7.45 [88]

$ export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME"/aws/credentials
$ export AWS_CONFIG_FILE="$XDG_CONFIG_HOME"/aws/config

bazaar

~/.bazaar
~/.bzr.log

2.3.0 [89] 上流のバグレポートでは bazaar が ~/.config/bazaar を使うようにする議論があります。ただしログファイルは ~/.bzr.log に書き込まれます。
buchhaltung-gitAUR

~/.buchhaltung

[90] $ export BUCHHALTUNG="$XDG_CONFIG_HOME"/buchhaltung
Bundler ~/.bundle [91] [92] $ export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
cargo ~/.cargo [93] [94] [95] [96] $ export CARGO_HOME="$XDG_DATA_HOME"/cargo
ccache ~/.ccache $ export CCACHE_CONFIGPATH="$XDG_CONFIG_HOME"/ccache.config

$ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache

ChezScheme ~/.chezscheme_history $ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history
Chromium ~/.chromium

~/.pki

23057

[97] [98] [99]

conky ~/.conkyrc 00481ee [100] $ conky --config="$XDG_CONFIG_HOME"/conky/conkyrc
claws-mail ~/.claws-mail [101] $ claws-mail --alternate-config-dir "$XDG_DATA_HOME"/claws-mail
coreutils ~/.dircolors $ source "$(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

[102] [103]

$ 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 [104] $ 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 [105] [106] ElixirはXDGの仕様に完全には準拠しておらず、環境変数が存在する場合にのみXDGを使用し、そうでない場合はデフォルトでレガシーパスを使用します。
emscripten

~/.emscripten
~/.emscripten_sanity
~/.emscripten_ports
~/.emscripten_cache__last_clear

[107]

$ 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 [108] $ 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 -nh -x "$XDG_CONFIG_HOME"/gdb/init
get_iplayer ~/.get_iplayer $ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer
getmail ~/.getmail/getmailrc $ getmail --rcfile="$XDG_CONFIG_HOME/getmail/getmailrc" --getmaildir="$XDG_DATA_HOME/getmail"
gliv ~/.glivrc $ gliv --glivrc="$XDG_CONFIG_HOME"/gliv/glivrc
GNURadio ~/.gnuradio [109]
gpg ~/.gnupg [110] [111]

$ 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 [112]

$ export GOPATH="$XDG_DATA_HOME"/go

Google Earth ~/.googleearth ~/.config/Google/GoogleEarthPlus.confKMLPathCachePath オプションで一部のパスは変更できます。
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
GQ LDAP クライアント

~/.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 [113] $ export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
gtk ~/.gtkrc $ export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc
gtk2 ~/.gtkrc-2.0 $ export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
hledger ~/.hledger.journal [114] $ export LEDGER_FILE="$XDG_DATA_HOME"/hledger.journal
imapfilterAUR ~/.imapfilter $ export IMAPFILTER_HOME="$XDG_CONFIG_HOME/imapfilter"
httpie ~/.httpie [115] $ export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie
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 [116] $ irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi
isync ~/.mbsyncrc $ mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc
Java (OpenJDK) ~/.java/.userPrefs [117] $ export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
KDE ~/.kde [118] $ export KDEHOME="$XDG_CONFIG_HOME"/kde
ledger ~/.ledgerrc, ~/.pricedb [119] $ ledger --init-file "$XDG_CONFIG_HOME"/ledgerrc
less ~/.lesshst

mkdir -p "$XDG_CACHE_HOME"/less
$ export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey
$ export LESSHISTFILE="$XDG_CACHE_HOME"/less/history

$ export LESSHISTFILE=- を使うことで機能を無効化できます。

libdvdcss ~/.dvdcss [120] $ export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
libice ~/.ICEauthority [121] $ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/ICEauthority

パーミッションには注意してください。例えば gdm からユーザーの ICEauthority ファイルにアクセスする必要があります。

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
maven ~/.m2 $ mvn -gs "$XDG_CONFIG_HOME"/maven/settings.xml
settings.xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      https://maven.apache.org/xsd/settings-1.0.0.xsd">
  ...
  <localRepository>${env.XDG_CACHE_HOME}/maven/repository</localRepository>
  ...
</settings>
Mathematica ~/.Mathematica $ export MATHEMATICA_USERBASE="$XDG_CONFIG_HOME"/mathematica
mednafen ~/.mednafen $ export MEDNAFEN_HOME="$XDG_CONFIG_HOME"/mednafen
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 $ export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history
ncurses ~/.terminfo $ export TERMINFO="$XDG_DATA_HOME"/terminfo # Precludes system path searching.

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

ncmpc ~/.ncmpc ncmpc -f "$XDG_CONFIG_HOME"/ncmpc/config
Netbeans ~/.netbeans [122] $ netbeans --userdir "${XDG_CONFIG_HOME}"/netbeans
Node.js ~/.node_repl_history $ export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history [123]
notmuch ~/.notmuch-config [124]

$ export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
$ export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug

npm

~/.npm
~/.npmrc

[125] $ 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 は必要ありません (サポートされません)。

nuget ~/.nuget/packages [126] $ 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 [127] XDG Base Directory Specification に完全には準拠していません。[128] を参照。

現在 ~/.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 [129] $ pidgin --config="$XDG_DATA_HOME"/purple
postgresql

~/.psqlrc
~/.psql_history
~/.pgpass
~/.pg_service.conf

9.2 [130] [131]

$ 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
pylint ~/.pylint.d won't fix $ export PYLINTHOME="$XDG_CACHE_HOME"/pylint
python-setuptools ~/.python-eggs $ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs
racket ~/.racketrc

~/.racket

[132] $ export PLTUSERHOME="$XDG_DATA_HOME"/racket
readline ~/.inputrc $ export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
rlwrap ~/.*_history [133] $ export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
RubyGems ~/.gem

$ export GEM_HOME="$XDG_DATA_HOME"/gem
$ export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem

rustup ~/.rustup [134] $ export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
sbt ~/.sbt

~/.ivy2

[135] $ sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt ([136])
screen ~/.screenrc $ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
spacemacs

~/.spacemacs
~/.spacemacs.d

[137] [138] Move the ~/.spacemacs file.

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

Other files need to be configured like Emacs.

stack ~/.stack [139] $ export STACK_ROOT="$XDG_DATA_HOME"/stack
subversion ~/.subversion [140][141][142] $ svn --config-dir "$XDG_CONFIG_HOME"/subversion
task

~/.task
~/.taskrc

$ export TASKDATA="$XDG_DATA_HOME"/task
$ export TASKRC="$XDG_CONFIG_HOME"/task/taskrc

tiptop ~/.tiptoprc .tiptoprc ファイルを必要とします: $ tiptop -W "$XDG_CONFIG_HOME"/tiptop
TeX Live ~/.texliveYYYY (YYYY は年度) $ export TEXMFCNF="${XDG_CONFIG_HOME}/texmf/web2c:$(kpsewhich --var-value='TEXMFCNF')"

{{hc|$XDG_CONFIG_HOME/texmf/web2c/texmf.cnf| TEXMFHOME=$XDG_DATA_HOME/texmf TEXMFCONFIG=$XDG_CONFIG_HOME/texmf

uncrustify ~/.uncrustify.cfg $ export UNCRUSTIFY_CONFIG="$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg
Unison ~/.unison $ export UNISON="$XDG_DATA_HOME"/unison
urxvtd ~/.urxvt/urxvtd-hostname $ export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd
Vagrant

~/.vagrant.d
~/.vagrant.d/aliases

[143]

$ export VAGRANT_HOME="$XDG_DATA_HOME"/vagrant
$ export VAGRANT_ALIAS_FILE="$XDG_DATA_HOME"/vagrant/aliases

Visual Studio Code ~/.vscode-oss/argv.json [144] You can use $ export VSCODE_PORTABLE="$XDG_DATA_HOME"/vscode, which is not documented and might break unexpectedly
WakaTime

~/.wakatime.cfg
~/.wakatime.data
~/.wakatime.db
~/.wakatime.log

$ export WAKATIME_HOME="$XDG_CONFIG_HOME/wakatime"

以下のディレクトリは手動で作成する必要があります。:
$ mkdir "$XDG_CONFIG_HOME/wakatime"

WeeChat ~/.weechat [145] [146]

$ export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat
$ weechat -d "$XDG_CONFIG_HOME"/weechat

wget

~/.wgetrc ~/.wget-hsts

$ export WGETRC="$XDG_CONFIG_HOME/wgetrc"
$ wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"

wine ~/.wine [147] 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
xinit

~/.xinitrc
~/.xserverrc

$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
$ export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc

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

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

xorg-xrdb

~/.Xresources
~/.Xdefaults

xrdb -load ~/.config/X11/xresources のようにパスを指定して xrdb でリソースがロードされるように Xresources使用 することができます。
z

~/.z

[148] $ export _Z_DATA="$XDG_DATA_HOME/z"

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

アプリケーション 旧パス 議論 ノート
adb ~/.android [149]

$ export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
$ export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android/
$ export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/
$ export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android

Ansible ~/.ansible [150]
AMule ~/.aMule
Android Studio

~/.AndroidStudio2.3
~/.android
~/.java

anthy ~/.anthy [151]
Apache Directory Studio ~/.ApacheDirectoryStudio
ARandR ~/.screenlayout
Arduino

~/.arduino15
~/.jssc

won't fix [152]
Audacity ~/.audacity-data [153]
Avidemux ~/.avidemux6
bash

~/.bashrc
~/.bash_history
~/.bash_profile
~/.bash_login
~/.bash_logout

[154]
  • 指定された bashrc/etc/bashrc から読み込まれます。
  • export HISTFILE="$XDG_DATA_HOME"/bash/history
  • インタラクティブシェルでは ~/.bashrc の代わりに --init-file <file> で指定。
cabal ~/.cabal [155] 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。
chattyAUR ~/.chatty/ [156]
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/ [157]
cryptomatorAUR ~/.Cryptomator [158]
CUPS ~/.cups [159]
darcs ~/.darcs [160]
dbus ~/.dbus [161] kdbus を使うことで回避できます。
Dia ~/.dia
devede ~/.devedeng Hardcoded here
Dia ~/.dia/
dotnet-sdk ~/.dotnet/ [162]
eclipse ~/.eclipse [163] -Dosgi.configuration.area=@user.home/.config/.. オプションで上書きできますがコマンドラインで指定するのではなく "$ECLIPSE_HOME"/eclipse.ini" に追加する必要があり $ECLIPSE_HOME の書き込み権限が要ります (Arch Linux では $ECLIPSE_HOME/usr/bin/eclipse に決め打ちされています)。
Fetchmail ~/.fetchmailrc
firefox ~/.mozilla [164]
Flatpak ~/.var/ [165] [166] won't fix
fltk ~/.fltk/ [167]
gftp ~/.gftp/
GHC ~/.ghc [168]
ghidra [169]
GoldenDict ~/.goldendict/ [170]
gramps ~/.gramps/ [171]
grsync ~/.grsync/ [172]
gtk-recordMyDesktop ~/.gtk-recordmydesktop
kiteAUR ~/.kite/ [173]
hplip ~/.hplip/ [174]
idris ~/.idris [175]
Java OpenJDK ~/.java/fonts [176] (RedHat) $ export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
Java OpenJFX ~/.java/webview
julia

~/.juliarc.jl
~/.julia_history

[177] [178]
Linux PAM ~/.pam_environment [179] ハードコード: modules/pam_env/pam_env.c
lldb

~/.lldb
~/.lldbinit

mathomatic

~/.mathomaticrc
~/.matho_history

rlwrap mathomatic -r を使って RLWRAP_HOME 変数を適切に設定することで履歴を移動できます。
Minecraft ~/.minecraft/ [180]
Minetest ~/.minetest/ won't fix [181]
minicom ~/.minirc.dfl アップストリームでは、~/.config/minicom以下の設定ファイルをサポートするためのTODOエントリがあります。[182]
mongodb

~/.mongorc.js
~/.dbshell

[183] Stack Overflow のスレッド ではコマンドラインスイッチの --norc を使うことを提案しています。
Nestopia UE ~/.nestopia/ won't fix
~/.netrc ~/.ssh などの多数のプログラムが使っています。curl (CURLOPT_NETRC_FILE), ftp (NETRC), s-nail (NETRC) なども使用しています。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。
Networkmanager-openvpn ~/.cert/nm-openvpn [184]
NSS ~/.pki [185]
OpenSSH ~/.ssh [186] DropBear や OpenSSH など多数の ssh デーモンやクライアントが使用します。
palemoon ~/.moonchild productions [187]
parsec-binAUR ~/.parsec
PCManFM ~/.thumbnails [188]
pcsxrAUR ~/.pcsxr A -cfg flag exists, but can only be set relative to ~/.pcsxr.
perf ~/.debug tools/perf/util/config.c:29 でハードコードされています。
~/.profile 様々なシェルディスプレイマネージャが使用しています。
python ~/.python_history バージョン 3.4 からインタラクティブセッションの履歴は全てデフォルトで ~/.python_history に保存されますが、古いバージョンと同じ方法でカスタムパスを設定できます ([189] を参照)。
python-poetry ~/.poetry [190] POETRY_HOME can be used but it does not separate data and config.
Qt Designer ~/.designer
RedNotebook ~/.rednotebook
Remarkable ~/.remarkable
renderdocAUR ~/.renderdoc won't fix
Ren'Py ~/.renpy [191]
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 [192]
simplescreenrecorder ~/.ssr/ [193] 既に作成されている場合に限り$XDG_CONFIG_HOME/simplescreenrecorder/を使用します。[194] (まだリリースされていません)
Solfege

~/.solfege
~/.solfegerc
~/lessonfiles

[195]
SpamAssassin ~/.spamassassin
SQLite

~/.sqlite_history
~/.sqliterc

[196][197]

$ export SQLITE_HISTORY=$XDG_DATA_HOME/sqlite_history
$ sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc

Steam

~/.steam
~/.steampath
~/.steampid

[198] 大抵のゲームエンジン (Unity 3D, Unreal) は仕様に準拠していますが、一部のゲームパブリッシャはパスを Steam Auto-Cloud にハードコードしているため、ゲームのセーブデータが間違ったディレクトリで同期されることがあります。
TeamSpeak ~/.ts3client $ export TS3_CONFIG_DIR="$XDG_CONFIG_HOME/ts3client"
texinfo ~/.infokey $ info --init-file "$XDG_CONFIG_HOME/infokey"
TeXmacs ~/.TeXmacs
Thunderbird ~/.thunderbird [199]
tllocalmgr ~/.texlive
valeAUR ~/.vale.ini won't fix $ vale --config "$XDG_CONFIG_HOME/vale/config.ini"
vim

~/.vim
~/.vimrc
~/.viminfo

7.3.1178 から vim は ~/.vimrc が存在しない場合に ~/.vim/vimrc を検索します。
"$XDG_CONFIG_HOME"/vim/vimrc
set undodir=$XDG_DATA_HOME/vim/undo
set directory=$XDG_DATA_HOME/vim/swap
set backupdir=$XDG_DATA_HOME/vim/backup
set viewdir=$XDG_DATA_HOME/vim/view
set viminfo+='1000,n$XDG_DATA_HOME/vim/viminfo
set runtimepath=$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after
~/.profile
export VIMINIT=":source $XDG_CONFIG_HOME"/vim/vimrc

https://tlvince.com/vim-respect-xdg も参照。

vimperator ~/.vimperatorrc [200]

$ export VIMPERATOR_INIT=":source $XDG_CONFIG_HOME/vimperator/vimperatorrc"
$ export VIMPERATOR_RUNTIME="$XDG_CONFIG_HOME"/vimperator

w3m ~/.w3m [201]
wpa_cli ~/.wpa_cli_history
xdg-utils ~/.gnome [202] 何らかの理由で xdg-desktop-menu スクリプトは gnome_user_dir="$HOME/.gnome/apps" をハードコードしており、chromium などによって使われています。
xombrero ~/.xombrero [203]
xournalpp ~/.xournalpp [204]
xpdf ~/.xpdfrc
YARD ~/.yard [205] 誰か実装したい人がいれば、プルリクエストを受け付けます。
zenmap (nmap) ~/.zenmap [206] [207]
zoomAUR ~/.zoom
zoteroAUR ~/.zotero ~/Zotero [208]
zsh

~/.zshrc
~/.zprofile
~/.zshenv
~/.zlogin
~/.zlogout
~/.histfile
~/.zcompdump

[209] ~/.zshenvZDOTDIR=$HOME/.config/zsh を export してください (ブートストラップ問題のためにハードコードされています)。/etc/zsh/zshenv にも追加することで HOME にドットファイルが必要なくなります。ただし root 権限が必要で設定はシステム全体に適用されます。

$ export HISTFILE="$XDG_DATA_HOME"/zsh/history

ライブラリと言語のサポート

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

参照