「XDG Base Directory」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(ページの作成:「Category:ドットファイル en:XDG Base Directory support {{Related articles start}} {{Related|ドットファイル}} {{Related|Xdg ユーザーディレク...」)
 
(7人の利用者による、間の29版が非表示)
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年に導入された [http://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 に対応していないソフトウェアについては、擬似的に対応させる方法を説明します。
   
 
ただし[[環境変数]]やコンパイルオプションに保存されているコードを実行したり、ソースにパッチを適用したりする方法は除外します。設定はあくまでシステム間で相互運用できるべきでありコンパイルオプションを使ってしまうと使用が制限されるためです。
 
ただし[[環境変数]]やコンパイルオプションに保存されているコードを実行したり、ソースにパッチを適用したりする方法は除外します。設定はあくまでシステム間で相互運用できるべきでありコンパイルオプションを使ってしまうと使用が制限されるためです。
11行目: 13行目:
 
==XDG Base Directory Specification==
 
==XDG Base Directory Specification==
   
[http://standards.freedesktop.org/basedir-spec/latest/ フルスペック] を読んでください。このセクションでは概要だけを抽出しています。
+
[https://standards.freedesktop.org/basedir-spec/latest/ フルスペック] を読んでください。このセクションでは概要だけを抽出しています。
   
デフォルトでは [http://www.freedesktop.org/software/systemd/man/pam_systemd.html pam_systemd] によって {{ic|XDG_RUNTIME_DIR}} だけが設定されます。既存のディレクトリの絶対パスを使って明示的に他の変数を[[環境変数#変数の定義|定義]]するかどうかはユーザー次第です。{{Bug|31204}} や [https://lists.archlinux.org/pipermail/arch-general/2013-February/032980.html] を見てください
+
デフォルトでは [https://www.freedesktop.org/software/systemd/man/pam_systemd.html pam_systemd] によって {{ic|XDG_RUNTIME_DIR}} だけが設定されます。既存のディレクトリの絶対パスを使って明示的に他の変数を[[環境変数#変数の定義|定義]]するかどうかはユーザー次第です。
   
 
===ユーザーディレクトリ===
 
===ユーザーディレクトリ===
50行目: 52行目:
 
** デフォルトは {{ic|/etc/xdg}} です。
 
** デフォルトは {{ic|/etc/xdg}} です。
   
==例外==
+
==貢献==
   
  +
ソフトウェアを追加するときは適切なセクションを使ってください。
以下のディレクトリやファイルには長い歴史があり、ファイルやディレクトリがそこにあると想定して書き込みを行うツールが存在するので変更されることはありません。
 
   
  +
コードの評価 ([[vim]] や {{ic|VIMINIT}} など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。また、[https://www.haskell.org/cabal/ Haskell の cabal] や [[Eclipse]] など難しい方法もハードコードとして扱います。
活発に開発あるいはメンテナンスを受けているツールもありますが、前述の理由により Base Directory Specification にあわせて開発者が変更を受け入れることはおそらくないでしょう。
 
 
; {{ic|~/.ssh}}
 
: DropBear や [[OpenSSH]] など多数の ssh デーモン・クライアントが使用しています。[https://bugzilla.mindrot.org/show_bug.cgi?id=2050 OpenSSH Bug 2050] を参照。
 
 
; {{ic|~/.pki}}
 
: Mozilla の [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS NSS Project] が使用しているディレクトリ。
 
 
; {{ic|~/.netrc}}
 
: {{ic|~/.ssh}} と同じように、多数のプログラムが使用しています。curl ({{ic|CURLOPT_NETRC_FILE}}), ftp ({{ic|NETRC}}), s-nail ({{ic|NETRC}}) などのプロジェクトが該当します。ディレクトリを変更できる場合もありますが w3m, wget, lftp など多くのプログラムが設定に対応していません。
 
 
; {{ic|~/.profile}}
 
: 様々なシェルやディスプレイマネージャが使用しています。{{ic|~/.netrc}} と類似。
 
 
==貢献==
 
   
  +
* 1番目のカラムはプロジェクト名です。できればコマンド名にしてください。ソフトウェアのウェブサイトか適切な wiki の記事にリンクさせます。
When contributing make sure to use the correct section.
 
   
  +
* 2番目のカラムはプロジェクトが使用するレガシーなファイルやディレクトリです。もはや読み込まれない場合でも確認できるように記述してください。
Nothing should require code evaluation (such as [[vim]] and {{ic|VIMINIT}}), patches or compile-time options to gain support and anything which does must be deemed hardcoded. Additionally if the process is too error prone or difficult, such as [https://www.haskell.org/cabal/ Haskell's cabal] or eclipse, they should also be considered as hardcoded.
 
   
  +
* 3番目のカラムは XDG Base Directory に切り替わったプロジェクトのコミットあるいはバージョンです。4番目のカラムにはその議論がある場合にリンクを載せてください。
* The first column should be the project name, ideally the command name if it is not ambigious, linked to their website or an appropriate internal wiki article.
 
 
* The second column is for any legacy files and directories the project had, this is done so people can find them even if they are no longer read.
 
 
* In the third, try to find the commit or version a project switched to XDG Base Directory or any open discussions and include them in the next two columns.
 
 
* Finally the fourth should include any appropriate workarounds or solutions for unsupported projects. Be terse, this article assumes intelligence and good charity from the reader. If something is unclear then feel free to expend some explanation to clarify it.
 
   
  +
* 最後のカラムにはサポートしていないプロジェクトのための適切な対処方法を記載します。簡潔に書いてください。曖昧な部分がある場合は自由に追記してください。
Lastly, and this goes without saying, please verify that your solution is correct and functional.
 
   
 
==サポートしているソフトウェア==
 
==サポートしているソフトウェア==
92行目: 74行目:
 
! 議論
 
! 議論
 
! ノート
 
! ノート
  +
|-
  +
| [https://github.com/SirCmpwn/aerc aerc]
  +
|
  +
|
  +
|
  +
|
 
|-
 
|-
 
| [https://github.com/Antimicro/antimicro/ antimicro]
 
| [https://github.com/Antimicro/antimicro/ antimicro]
105行目: 93行目:
 
|
 
|
 
|-
 
|-
  +
| [http://littlesvr.ca/asunder/ Asunder]
| [[beets]]
 
|
 
|
 
 
|
 
|
  +
{{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]]
| [http://www.blender.org/ 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]
122行目: 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}}
  +
|
 
|
 
|
 
|-
 
|-
134行目: 148行目:
 
|
 
|
 
|-
 
|-
  +
| [[PHP#Composer|composer]]
| [https://github.com/falconindy/cower cower]
 
  +
| {{ic|~/.composer}}
  +
| [https://github.com/composer/composer/releases/tag/1.0.0-beta1 1.0.0-beta1]
  +
| [https://github.com/composer/composer/pull/1407]
  +
|
  +
|-
  +
| [[AUR ヘルパー#ビルドと検索|cower]]
 
|
 
|
 
| [https://github.com/falconindy/cower/commit/8b70805 8b70805]
 
| [https://github.com/falconindy/cower/commit/8b70805 8b70805]
142行目: 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]
 
|
 
|
 
|
 
|
156行目: 176行目:
 
| [https://github.com/dolphin-emu/dolphin/commit/a498c68 a498c68]
 
| [https://github.com/dolphin-emu/dolphin/commit/a498c68 a498c68]
 
| [https://github.com/dolphin-emu/dolphin/pull/2304]
 
| [https://github.com/dolphin-emu/dolphin/pull/2304]
  +
|
  +
|-
  +
| [http://dr14tmeter.sourceforge.net dr14-meter]
 
|
 
|
  +
| [https://github.com/simon-r/dr14_t.meter/commit/7e777ca645298ec898b3c76e3ec472ed6ed43e8a 7e777ca64]
  +
| [https://github.com/simon-r/dr14_t.meter/pull/30]
  +
| {{ic|XDG_CONFIG_HOME/dr14tmeter/}}
 
|-
 
|-
  +
| [[dunst]]
| [http://www.knopwob.org/dunst/index.html dunst]
 
 
|
 
|
 
| [https://github.com/knopwob/dunst/commit/78b6e2b1 78b6e2b1]
 
| [https://github.com/knopwob/dunst/commit/78b6e2b1 78b6e2b1]
177行目: 203行目:
 
|-
 
|-
 
| [[fontconfig]]
 
| [[fontconfig]]
| {{ic|~/.fontconfig}}
 
| [http://cgit.freedesktop.org/fontconfig/commit/?id=8c255fb1 8c255fb1]
 
 
|
 
|
  +
{{ic|~/.fontconfig<br>
  +
~/.fonts}}
  +
| [https://cgit.freedesktop.org/fontconfig/commit/?id=8c255fb1 8c255fb1], [https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/437f03299bd1adc9673cd576072f1657be8fd4e0]
  +
 
|
 
|
  +
| フォントの保存には {{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]
 
|
 
|-
 
| [[fontconfig]]
 
| {{ic|~/.fonts}}
 
 
|
 
|
  +
[https://github.com/fontforge/fontforge/issues/847]
  +
[https://github.com/fontforge/fontforge/issues/991]
 
|
 
|
| {{ic|"$XDG_DATA_HOME"/fonts}} を使用します。
 
 
|-
 
|-
 
| [http://www.freerdp.com/ freerdp]
 
| [http://www.freerdp.com/ freerdp]
198行目: 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]
 
|
 
|
 
|-
 
|-
204行目: 246行目:
 
| [https://git.gnome.org/browse/gconf/commit/?id=fc28caa7 fc28caa7]
 
| [https://git.gnome.org/browse/gconf/commit/?id=fc28caa7 fc28caa7]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=674803]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=674803]
  +
|
  +
|-
  +
| [[GIMP]]
  +
|
  +
{{ic|~/.gimp-x.y<br>
  +
~/.thumbnails}}
  +
|
  +
[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]
 
|
 
|
 
|-
 
|-
212行目: 266行目:
 
|
 
|
 
|-
 
|-
  +
| [https://github.com/google/gops gops]
| [[GStreamer|gstreamer-1.0]]
 
 
|
 
|
| [http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=4e36f93924cf 4e36f93924cf]
+
| [https://github.com/google/gops/commit/71c4255 71c4255]
  +
|
  +
|
  +
|-
  +
| [[GStreamer|gstreamer]]
  +
| {{ic|~/.gstreamer-0.10}}
  +
| [https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=4e36f93924cf 4e36f93924cf]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=518597]
 
| [https://bugzilla.gnome.org/show_bug.cgi?id=518597]
 
|
 
|
224行目: 284行目:
 
|
 
|
 
|-
 
|-
  +
| [[アプリケーション一覧/ユーティリティ#システム監視|htop]]
| [http://hisham.hm/htop/ htop]
 
 
| {{ic|~/.htoprc}}
 
| {{ic|~/.htoprc}}
 
| [https://github.com/hishamhm/htop/commit/93233a67 93233a67]
 
| [https://github.com/hishamhm/htop/commit/93233a67 93233a67]
236行目: 296行目:
 
|
 
|
 
|-
 
|-
| [http://i3wm.org/i3status/ i3status]
+
| [[i3|i3status]]
 
| {{ic|~/.i3status.conf}}
 
| {{ic|~/.i3status.conf}}
 
| [http://code.stapelberg.de/git/i3status/commit/?id=c3f7fc4994 c3f7fc4994]
 
| [http://code.stapelberg.de/git/i3status/commit/?id=c3f7fc4994 c3f7fc4994]
254行目: 314行目:
 
|
 
|
 
|-
 
|-
| [http://lftp.yar.ru/ lftp]
+
| [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]]
  +
|
  +
|
  +
|
  +
|
  +
|-
  +
| [https://www.ctan.org/pkg/latexmk?lang=en latexmk]
  +
| {{ic|~/.latexmkrc}}
  +
|
  +
|
  +
|
  +
|-
  +
| [[アプリケーション一覧/インターネット#FTP クライアント|lftp]]
 
| {{ic|~/.lftp}}
 
| {{ic|~/.lftp}}
 
| [https://github.com/lavv17/lftp/commit/21dc400 21dc400]
 
| [https://github.com/lavv17/lftp/commit/21dc400 21dc400]
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]
 
|
 
|
 
|-
 
|-
290行目: 388行目:
 
|
 
|
 
|-
 
|-
  +
| [[Mercurial]]
| [https://github.com/mintty/mintty mintty]
 
| {{ic|~/.minttyrc}}
+
| {{ic|~/.hgrc}}
  +
|
| [https://github.com/mintty/mintty/commit/cff1bd8f cff1bd8f] v2.3.7.
 
  +
[https://www.mercurial-scm.org/repo/hg/rev/354020079723 354020079723]
| [https://github.com/mintty/mintty/issues/525]
 
  +
[https://www.mercurial-scm.org/wiki/Release4.2 4.2]
  +
|
  +
| {{ic|XDG_CONFIG_HOME/hg/hgrc}}
  +
|-
  +
| [[msmtp]]
  +
| {{ic|~/.msmtprc}}
  +
|
  +
[https://github.com/marlam/msmtp-mirror/commit/af2f409 af2f409]
  +
v1.6.7+
  +
|
  +
| {{ic| XDG_CONFIG_HOME/msmtp/config}}.
  +
|-
  +
| [https://www.mesa3d.org/ mesa]
  +
|
  +
| [https://cgit.freedesktop.org/mesa/mesa/commit/?id=87ab26b2ab35a29d446ae66f1795d40c184c0739 87ab26b2ab]
  +
|
  +
| {{ic|XDG_CACHE_HOME/mesa}}
 
|-
 
|-
 
| [http://milkytracker.org/ milkytracker]
 
| [http://milkytracker.org/ milkytracker]
300行目: 415行目:
 
| [https://github.com/Deltafire/MilkyTracker/issues/12]
 
| [https://github.com/Deltafire/MilkyTracker/issues/12]
 
|
 
|
  +
|-
  +
| [https://github.com/mintty/mintty mintty]
  +
| {{ic|~/.minttyrc}}
  +
| [https://github.com/mintty/mintty/commit/cff1bd8f cff1bd8f] v2.3.7
  +
| [https://github.com/mintty/mintty/issues/525]
 
|-
 
|-
 
| [[mpd]]
 
| [[mpd]]
313行目: 433行目:
 
|
 
|
 
|-
 
|-
  +
| [[mutt]]
| [http://mypaint.intilinux.com/ mypaint]
 
  +
| {{ic|~/.mutt}}
  +
| [https://dev.mutt.org/trac/changeset/42fee7585f 42fee7585f]
  +
| [http://dev.mutt.org/trac/ticket/3207]
  +
|
  +
|-
  +
| [[アプリケーション一覧/マルチメディア#ラスタ画像|mypaint]]
 
| {{ic|~/.mypaint}}
 
| {{ic|~/.mypaint}}
 
| [https://github.com/mypaint/mypaint/commit/cf723b74cd cf723b74cd]
 
| [https://github.com/mypaint/mypaint/commit/cf723b74cd cf723b74cd]
 
|
 
|
  +
|
  +
|-
  +
| [[nano]]
  +
|
  +
{{ic|~/.nano/<br>
  +
~/.nanorc}}
  +
| [http://git.savannah.gnu.org/cgit/nano.git/commit/?id=c16e79b612eb8e061a4bd0b5f187c37a036fc403 036fc403]
  +
| [https://savannah.gnu.org/patch/?8523]
 
|
 
|
 
|-
 
|-
 
| [[ncmpcpp]]
 
| [[ncmpcpp]]
 
| {{ic|~/.ncmpcpp}}
 
| {{ic|~/.ncmpcpp}}
  +
|
| [https://github.com/arybczak/ncmpcpp/commit/38d9f811de888e512b0115f551a9679eab4607f9 38d9f811] [https://github.com/arybczak/ncmpcpp/commit/27cd86e0638bba3a7a78e44ac40dc98a58d1d90d 27cd86e0]
 
| [https://github.com/arybczak/ncmpcpp/issues/79] [https://github.com/arybczak/ncmpcpp/issues/110]
+
[https://github.com/arybczak/ncmpcpp/commit/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]
 
|
 
|
 
|-
 
|-
336行目: 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]]
346行目: 508行目:
 
| {{ic|~/.opentyrian}}
 
| {{ic|~/.opentyrian}}
 
| [https://bitbucket.org/opentyrian/opentyrian/commits/8d45ff2 8d45ff2]
 
| [https://bitbucket.org/opentyrian/opentyrian/commits/8d45ff2 8d45ff2]
| [https://web.archive.org/web/20140815181350/http://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]
  +
|
  +
|-
  +
| [[pip]]
  +
| {{ic|~/.pip}}
  +
| [https://github.com/pypa/pip/blob/548a9136525815dff41acd845c558a0b36eb1c5f/NEWS.rst#60-2014-12-22 6.0]
  +
| [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]
  +
|
 
|
 
|
 
|-
 
|-
359行目: 552行目:
 
| [https://github.com/hrydgard/ppsspp/commit/132fe47c7d 132fe47c7d]
 
| [https://github.com/hrydgard/ppsspp/commit/132fe47c7d 132fe47c7d]
 
| [https://github.com/hrydgard/ppsspp/issues/4623]
 
| [https://github.com/hrydgard/ppsspp/issues/4623]
  +
|
  +
|-
  +
| {{pkg|procps-ng}}
  +
| {{ic|~/.toprc}}
  +
| [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]
 
|
 
|
 
|-
 
|-
371行目: 572行目:
 
| [https://projects.archlinux.org/pacman.git/commit/?id=80eca94c8 80eca94c8]
 
| [https://projects.archlinux.org/pacman.git/commit/?id=80eca94c8 80eca94c8]
 
| [https://mailman.archlinux.org/pipermail/pacman-dev/2014-July/019178.html]
 
| [https://mailman.archlinux.org/pipermail/pacman-dev/2014-July/019178.html]
  +
|
  +
|-
  +
| [https://github.com/panda3d/panda3d Panda3D]
  +
| {{ic|~/.panda3d}}
  +
| [https://github.com/panda3d/panda3d/commit/2b537d2 2b537d2]
  +
|
  +
|
  +
|-
  +
| {{AUR|poezio}}
  +
|
  +
|
  +
|
 
|
 
|
 
|-
 
|-
 
| [[PulseAudio]]
 
| [[PulseAudio]]
  +
|
| {{ic|~/.pulse}} {{ic|~/.pulse-cookie}}
 
  +
{{ic|~/.pulse<br>
| [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=59a8618dcd9 59a8618dcd9] [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=87ae8307057 87ae8307057] [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=9ab510a6921 9ab510a6921] [http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=4c195bcc9d5 4c195bcc9d5]
 
  +
~/.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]
 
|
 
|
383行目: 602行目:
 
|
 
|
 
|
 
|
  +
|
  +
|-
  +
| {{Pkg|quodlibet}}
  +
| {{ic|~/.quodlibet}}
  +
| 3.10.0
  +
| [https://github.com/quodlibet/quodlibet/issues/138]
 
|
 
|
 
|-
 
|-
393行目: 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]
 
| 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
 
| 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。
  +
|-
  +
| {{Pkg|rclone}}
  +
| {{ic|~/.rclone.conf}}
  +
| [https://github.com/ncw/rclone/commit/9d362589 9d362589]
  +
| [https://github.com/ncw/rclone/issues/868]
  +
|
 
|-
 
|-
 
| [[RetroArch|retroarch]]
 
| [[RetroArch|retroarch]]
407行目: 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
  +
|
  +
|
  +
|-
  +
| [http://www.snes9x.com/ Snes9x]
  +
| {{ic|~/.snes9x}}
  +
| [https://github.com/snes9xgit/snes9x/commit/93b5f11641fa22d4518f251d6e3db99219864677 19864677]
  +
| [https://github.com/snes9xgit/snes9x/issues/194]
  +
| デフォルトの設定は空です。ROM を起動する前にユーザーが GUI や手動で設定するようになっています。
  +
|-
  +
| [[spectrwm]]
  +
| {{ic|~/.spectrwm}}
  +
| [https://github.com/conformal/spectrwm/commit/a30bbb a30bbb]
  +
| [https://github.com/conformal/spectrwm/pull/153]
  +
|
  +
|-
  +
| {{AUR|sublime-text-dev}}
  +
|
  +
|
  +
|
  +
| キャッシュは {{ic|$XDG_CACHE_HOME/sublime-text-3}} ではなく {{ic|$XDG_CONFIG_HOME/sublime-text-3/Cache}} に保存されます。
 
|-
 
|-
 
| [[surfraw]]
 
| [[surfraw]]
  +
|
| {{ic|~/.surfraw.conf}} {{ic|~/.surfraw.bookmarks}}
 
  +
{{ic|~/.surfraw.conf<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]
 
|
 
|
 
|
 
|
424行目: 713行目:
 
|
 
|
 
|
 
|
  +
|
  +
|
  +
|-
  +
| {{Pkg|teeworlds}}
  +
| {{ic|~/.teeworlds}}
  +
| [https://github.com/teeworlds/teeworlds/commit/d2e39d2f50684151490da446156622e69dd84a48]
 
|
 
|
 
|
 
|
431行目: 726行目:
 
|
 
|
 
|
 
|
  +
|
  +
|-
  +
| {{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]
  +
| {{ic|~/.tmuxinator}}
  +
| [https://github.com/tmuxinator/tmuxinator/pull/511/commits/263692349f1142c0edcacfbefae541cbc0e7b44e 2636923]
  +
| [https://github.com/tmuxinator/tmuxinator/pull/511]
 
|
 
|
 
|-
 
|-
441行目: 761行目:
 
| [https://www.kernel.org/pub/linux/utils/util-linux/ util-linux]
 
| [https://www.kernel.org/pub/linux/utils/util-linux/ util-linux]
 
|
 
|
| [http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=570b32100 570b32100]
+
| [https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=570b32100 570b32100]
 
|
 
|
  +
|
  +
|-
  +
| [[uzbl]]
  +
|
  +
| [https://github.com/uzbl/uzbl/commit/c6fd63a c6fd63a]
  +
| [https://github.com/uzbl/uzbl/pull/150]
 
|
 
|
 
|-
 
|-
449行目: 775行目:
 
|
 
|
 
|
 
|
  +
|
  +
|-
  +
| [[VirtualBox]]
  +
| {{ic|~/.VirtualBox}}
  +
| [https://www.virtualbox.org/ticket/5099?action=diff&version=7 4.3]
  +
| [https://www.virtualbox.org/ticket/5099]
  +
|
  +
|-
  +
| [http://martanne.github.io/vis/ vis]
  +
| {{ic|~/.vis}}
  +
|
  +
[https://github.com/martanne/vis/commit/68a25c751c0219ef5df589a19513e46a08965d5a 68a25c75]
  +
[https://github.com/martanne/vis/commit/d138908cf8149eb10120957271cd6979272b4730 d138908c]
  +
| [https://github.com/martanne/vis/pull/303]
 
|
 
|
 
|-
 
|-
455行目: 795行目:
 
| [http://git.videolan.org/?p=vlc.git;a=commit;h=16f32e1500887c0dcd33cb06ad71759a81a52878 16f32e15]
 
| [http://git.videolan.org/?p=vlc.git;a=commit;h=16f32e1500887c0dcd33cb06ad71759a81a52878 16f32e15]
 
| [https://trac.videolan.org/vlc/ticket/1267]
 
| [https://trac.videolan.org/vlc/ticket/1267]
  +
|
  +
|-
  +
| [https://www.warsow.gg/ warsow]
  +
| {{ic|~/.warsow-2.x}}
  +
| [https://github.com/Qfusion/qfusion/commit/98ece3f 98ece3f]
  +
| [https://github.com/Qfusion/qfusion/issues/298]
 
|
 
|
 
|-
 
|-
469行目: 815行目:
 
|
 
|
 
|-
 
|-
  +
| [[xmonad]]
| [https://www.warsow.gg/ warsow]
 
| {{ic|~/.warsow-2.x}}
+
| {{ic|~/.xmonad}}
| [https://github.com/Qfusion/qfusion/commit/98ece3f 98ece3f]
+
| [https://github.com/xmonad/xmonad/commit/40fc10b6a5682ce1d6ba7f0679962926ef6cfade 40fc10b6]
| [https://github.com/Qfusion/qfusion/issues/298]
 
 
|
 
|
  +
[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}} 環境変数が使えます。
 
|-
 
|-
  +
| [http://www.vergenet.net/~conrad/software/xsel/ xsel]
| [[uzbl]]
 
  +
| {{ic|~/.xsel.log}}
  +
| [https://github.com/kfish/xsel/commit/ee7b48111be2e2117b201962e9d1c0e1f9804ed4 ee7b4811]
  +
| [https://github.com/kfish/xsel/issues/10]
 
|
 
|
  +
|-
| [https://github.com/uzbl/uzbl/pull/150]
 
  +
| {{Pkg|yarn}}
| [https://github.com/uzbl/uzbl/commit/c6fd63a c6fd63a]
 
  +
|
  +
{{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]
 
|
 
|
 
|}
 
|}
494行目: 854行目:
 
|
 
|
 
|
 
|
| {{ic|$ abook --config "$XDG_CONFIG_HOME"/abook/abookrc \
+
| {{ic|$ abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_CACHE_HOME"/abook/addressbook}}
--datafile "$XDG_CACHE_HOME"/abook/addressbook}}
 
 
|-
 
|-
  +
| {{Pkg|ack}}
| [[Atom]]
 
| {{ic|~/.atom}}
+
| {{ic|~/.ackrc}}
 
|
 
|
  +
| [https://github.com/beyondgrep/ack2/issues/516]
  +
| {{ic|1=$ export ACKRC="$XDG_CONFIG_HOME/ack/ackrc"}}
  +
|-
  +
| [[Anki]]
 
|
 
|
  +
{{ic|~/Anki<br>
| {{ic|1=$ export ATOM_HOME="$XDG_DATA_HOME"/atom}}
 
  +
~/Documents/Anki}}
  +
|
  +
| [https://github.com/dae/anki/pull/49] [https://github.com/dae/anki/pull/58]
  +
| {{ic|1=$ anki -b "$XDG_DATA_HOME"/Anki}}
 
|-
 
|-
 
| [[aspell]]
 
| [[aspell]]
507行目: 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]]
  +
| {{ic|~/.atom}}
  +
|
  +
| [https://github.com/atom/atom/issues/8281]
  +
| {{ic|1=$ export ATOM_HOME="$XDG_DATA_HOME"/atom}}
  +
|-
  +
| {{pkg|aws-cli}}
  +
| {{ic|~/.aws}}
  +
| [https://github.com/aws/aws-cli/commit/fc5961ea2cc0b5976ac9f777e20e4236fd7540f5 1.7.45]
  +
| [https://github.com/aws/aws-cli/issues/2433]
  +
|
  +
{{ic|1=$ export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME"/aws/credentials<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/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}}
 
|-
 
|-
519行目: 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]
  +
| {{ic|~/.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]]
526行目: 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]]
  +
| {{ic|~/.dircolors}}
  +
|
  +
|
  +
| {{ic|$ source "$(dircolors "$XDG_CONFIG_HOME"/dircolors)"}}
 
|-
 
|-
 
| [http://www.dungeoncrawl.org/ crawl]
 
| [http://www.dungeoncrawl.org/ crawl]
531行目: 963行目:
 
|
 
|
 
|
 
|
| {{ic|1=$ export CRAWL_DIR="$XDG_DATA_HOME"/crawl/ # Trailing '/' is required.}}
+
| 末尾の '/' は必須です: {{ic|1=$ export CRAWL_DIR="$XDG_DATA_HOME"/crawl/}}
 
|-
 
|-
  +
| {{Pkg|clusterssh}}
| [[PHP#Composer|composer]]
 
| {{ic|~/.composer}}
+
| {{ic|~/.clusterssh/}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export COMPOSER_HOME="$XDG_CONFIG_HOME"/composer
+
| {{ic|1=$ alias cssh="cssh --config-file '$XDG_CONFIG_HOME/clusterssh/config'" }}
  +
{{hc|$XDG_CONFIG_HOME/clusterssh/config|2=
$ export COMPOSER_CACHE_DIR="$XDG_CACHE_HOME"/composer}}
 
  +
extra_cluster_file=$HOME/.config/clusterssh/clusters
  +
extra_tag_file=$HOME/.config/clusterssh/tags
  +
}}
  +
Despite this, clusterssh will still create {{ic|~/.clusterssh/}}.
 
|-
 
|-
| [[coreutils]]
+
| [[CUDA]]
| {{ic|~/.dircolors}}
+
| {{ic|~/.nv}}
 
|
 
|
 
|
 
|
| {{ic|$ source "$(dircolors "$XDG_CONFIG_HOME"/dircolors)"}}
+
| {{ic|1=$ export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv}}
 
|-
 
|-
  +
| [[dict]]
| [http://sourceforge.net/projects/dict/ dict]
 
 
| {{ic|~/.dictrc}}
 
| {{ic|~/.dictrc}}
 
|
 
|
 
|
 
|
| {{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]]
557行目: 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}}
 
 
|
 
|
| [https://github.com/kripken/emscripten/issues/3624 3624]
+
{{ic|~/.emscripten<br>
  +
~/.emscripten_sanity<br>
| {{ic|1=$ export EM_CONFIG="$XDG_CONFIG_HOME"/emscripten/config}}
 
  +
~/.emscripten_ports<br>
{{ic|1=$ export EM_CACHE="$XDG_CACHE_HOME"/emscripten/cache}}
 
  +
~/.emscripten_cache__last_clear}}
{{ic|1=$ export EM_PORTS="$XDG_DATA_HOME"/emscripten/cache}}
 
{{ic|$ emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config --em-cache "$XDG_CACHE_HOME"/emscripten/cache}}
 
|-
 
| [[PulseAudio]]
 
| {{ic|~/.esd_auth}}
 
 
|
 
|
  +
| [https://github.com/kripken/emscripten/issues/3624]
 
|
 
|
  +
{{ic|1=$ export EM_CONFIG="$XDG_CONFIG_HOME"/emscripten/config<br>
| {{ic|module-esound-protocol-unix.so}} モジュールによって生成されます。別の場所を使用するように設定することもできますが {{ic|/etc/pulse/default.pa}} や {{ic|"$XDG_CONFIG_HOME"/pulse/default.pa}} でモジュールをコメントアウトしてしまう方が簡単です。
 
  +
$ export EM_CACHE="$XDG_CACHE_HOME"/emscripten/cache<br>
  +
$ export EM_PORTS="$XDG_DATA_HOME"/emscripten/cache<br>
  +
$ emcc --em-config "$XDG_CONFIG_HOME"/emscripten/config --em-cache "$XDG_CACHE_HOME"/emscripten/cache}}
 
|-
 
|-
| [http://www.gnu.org/software/gdb/ gdb]
+
| [https://www.freecadweb.org/ freecad]
  +
| {{ic|~/.FreeCAD}}
  +
|
  +
| [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}}
  +
  +
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]
 
| {{ic|~/.gdbinit}}
 
| {{ic|~/.gdbinit}}
 
|
 
|
 
|
 
|
| {{ic|$ gdb -nh -x "$XDG_CONFIG_HOME"/gdb/init}}
+
| {{ic|1=$ gdb -nh -x "$XDG_CONFIG_HOME"/gdb/init}}
 
|-
 
|-
  +
| [https://github.com/get-iplayer/get_iplayer get_iplayer]
| [[GIMP]]
 
| {{ic|~/.gimp-2.8}}
+
| {{ic|~/.get_iplayer}}
  +
|
| [https://git.gnome.org/browse/gimp/commit/?id=60e0cfe 60e0cfe]
 
  +
|
| [https://bugzilla.gnome.org/show_bug.cgi?id=166643] [https://mail.gnome.org/archives/gimp-developer-list/2012-October/msg00028.html]
 
| {{ic|1=$ export GIMP2_DIRECTORY="$XDG_CONFIG_HOME"/gimp}}
+
| {{ic|1=$ 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]
590行目: 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]]
 
| {{ic|~/.gnupg}}
 
| {{ic|~/.gnupg}}
 
|
 
|
  +
| [https://bugs.gnupg.org/gnupg/issue1456] [https://bugs.gnupg.org/gnupg/issue1018]
 
|
 
|
| {{ic|1=$ export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg}}
+
{{ic|1=$ export GNUPGHOME="$XDG_DATA_HOME"/gnupg<br>
{{ic|$ gpg2 --homedir "$XDG_CONFIG_HOME"/gnupg}}
+
$ 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.
 
|-
 
|-
| [[GTK+|gtk2]]
+
| [[Go]]
| {{ic|~/.gtkrc-2.0}}
+
| {{ic|~/go}}
  +
| [https://github.com/golang/go/commit/ca8a055f5cc7c1dfa0eb542c60071c7a24350f76]
 
|
 
|
 
|
 
|
| {{ic|1=$ export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc}}
+
{{ic|1=$ export GOPATH="$XDG_DATA_HOME"/go}}
  +
|-
  +
| [[Google Earth]]
  +
| {{ic|~/.googleearth}}
  +
|
  +
|
  +
| {{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 クライアント]
  +
|
  +
{{ic|~/.gq<br>
  +
~/.gq-state}}
  +
| [https://sourceforge.net/p/gqclient/mailman/message/2053978 1.51]
  +
|
  +
|
  +
{{ic|1=$ export GQRC="$XDG_CONFIG_HOME"/gqrc<br>
  +
$ export GQSTATE="$XDG_DATA_HOME"/gq/gq-state<br>
  +
$ mkdir -p "$(dirname "$GQSTATE")"}}
  +
|-
  +
| [https://gradle.org/ gradle]
  +
| {{ic|~/.gradle}}
  +
|
  +
| [https://discuss.gradle.org/t/be-a-nice-freedesktop-citizen-move-the-gradle-to-the-appropriate-location-in-linux/2199]
  +
| {{ic|1=$ export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle}}
 
|-
 
|-
 
| [[GTK+|gtk]]
 
| [[GTK+|gtk]]
609行目: 1,135行目:
 
|
 
|
 
| {{ic|1=$ export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc}}
 
| {{ic|1=$ export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc}}
  +
|-
  +
| [[GTK+|gtk2]]
  +
| {{ic|~/.gtkrc-2.0}}
  +
|
  +
|
  +
| {{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]
616行目: 1,160行目:
 
| {{ic|1=$ export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie}}
 
| {{ic|1=$ export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie}}
 
|-
 
|-
  +
| [http://ipython.org ipython]/[[jupyter]]
 
  +
| {{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}}
  +
|
  +
|
  +
| {{hc|1=~/.profile|2=$ export IRBRC="$XDG_CONFIG_HOME"/irb/irbrc}}
  +
{{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]]
 
| {{ic|~/.irssi}}
 
| {{ic|~/.irssi}}
 
|
 
|
 
| [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]]
| [http://ipython.org ipython]/[[jupyter]]
 
| {{ic|~/.ipython}}
+
| {{ic|~/.mbsyncrc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter}}
+
| {{ic|1=$ mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc}}
{{ic|1=$ export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME"/jupyter}}
 
 
|-
 
|-
  +
| [[Java]] (OpenJDK)
| [http://isync.sourceforge.net isync]
 
| {{ic|~/.mbsyncrc}}
+
| {{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|$ mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc}}
 
  +
| {{ic|1=$ export KDEHOME="$XDG_CONFIG_HOME"/kde}}
 
|-
 
|-
  +
| [[ledger]]
| [ftp://www.x.org/pub/xorg/current/doc/libICE/ice.html libice]
 
| {{ic|~/.ICEauthority}}
+
| {{ic|~/.ledgerrc}}, {{ic|~/.pricedb}}
 
|
 
|
  +
| [https://github.com/ledger/ledger/issues/1820]
|
 
| {{ic|1=$ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/X11/iceauthority}}
+
| {{ic|1=$ ledger --init-file "$XDG_CONFIG_HOME"/ledgerrc}}
 
|-
 
|-
  +
| [[less]]
| [http://www.greenwoodsoftware.com/less/ less]
 
 
| {{ic|~/.lesshst}}
 
| {{ic|~/.lesshst}}
 
|
 
|
 
|
 
|
  +
|
| {{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]
657行目: 1,222行目:
 
| [https://mailman.videolan.org/pipermail/libdvdcss-devel/2014-August/001022.html]
 
| [https://mailman.videolan.org/pipermail/libdvdcss-devel/2014-August/001022.html]
 
| {{ic|1=$ export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss}}
 
| {{ic|1=$ export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss}}
  +
|-
  +
| [ftp://www.x.org/pub/xorg/current/doc/libICE/ice.html libice]
  +
| {{ic|~/.ICEauthority}}
  +
|
  +
| [https://gitlab.freedesktop.org/xorg/lib/libice/issues/2]
  +
| {{ic|1=$ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/ICEauthority}}
  +
パーミッションには注意してください。例えば {{pkg|gdm}} からユーザーの {{ic|ICEauthority}} ファイルにアクセスする必要があります。
  +
|-
  +
| [[Xorg|libx11]]
  +
|
  +
{{ic|~/.XCompose<br>
  +
~/.compose-cache}}
  +
|
  +
|
  +
|
  +
{{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]
663行目: 1,245行目:
 
|
 
|
 
| {{ic|$ ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf}}
 
| {{ic|$ ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf}}
  +
|-
  +
| {{pkg|maven}}
  +
| {{ic|~/.m2}}
  +
|
  +
|
  +
| {{ic|1=$ mvn -gs "$XDG_CONFIG_HOME"/maven/settings.xml}}
  +
{{hc|[http://maven.apache.org/settings.html settings.xml]|<nowiki><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></nowiki>}}
 
|-
 
|-
 
| [[Mathematica]]
 
| [[Mathematica]]
675行目: 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]]
680行目: 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]]
689行目: 1,306行目:
 
| {{ic|1=$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}}
 
| {{ic|1=$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}}
 
|-
 
|-
| [[mutt]]
+
| [[MySQL]]
| {{ic|~/.mutt}}
+
| {{ic|~/.mysql_history}}
 
|
 
|
| [http://dev.mutt.org/trac/ticket/3207]
 
| {{ic|$ mutt -F "$XDG_CONFIG_HOME"/mutt/muttrc}}
 
{{hc|muttrc|
 
set header_cache &#61; $XDG_CACHE_HOME/mutt/headers
 
set message_cachedir &#61; $XDG_DATA_HOME/mutt/messages
 
set mailcap_path &#61; $XDG_CONFIG_HOME/mutt/mailcap
 
set record &#61; $XDG_DATA_HOME/mutt/record/sent
 
}}
 
|-
 
| [[notmuch]]
 
| {{ic|~/.notmuch-config}}
 
 
|
 
|
  +
| {{ic|1=$ export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history}}
| [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}}
 
 
|-
 
|-
 
| {{pkg|ncurses}}
 
| {{pkg|ncurses}}
714行目: 1,318行目:
 
| {{ic|1=$ export TERMINFO="$XDG_DATA_HOME"/terminfo # Precludes system path searching.}}
 
| {{ic|1=$ export TERMINFO="$XDG_DATA_HOME"/terminfo # Precludes system path searching.}}
 
{{ic|1=$ export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo}}
 
{{ic|1=$ export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo}}
  +
|-
  +
| [http://www.musicpd.org/clients/ncmpc/ ncmpc]
  +
| {{ic|~/.ncmpc}}
  +
|
  +
|
  +
| {{ic|ncmpc -f "$XDG_CONFIG_HOME"/ncmpc/config}}
  +
|-
  +
| [[Netbeans]]
  +
| {{ic|~/.netbeans}}
  +
|
  +
| [https://netbeans.org/bugzilla/show_bug.cgi?id=215961]
  +
| {{ic|1=$ netbeans --userdir "${XDG_CONFIG_HOME}"/netbeans}}
  +
|-
  +
| [[Node.js]]
  +
| {{ic|~/.node_repl_history}}
  +
|
  +
|
  +
| {{ic|1=$ export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history}} [https://nodejs.org/api/repl.html#repl_environment_variable_options]
  +
|-
  +
| [[notmuch]]
  +
| {{ic|~/.notmuch-config}}
  +
|
  +
| [http://notmuchmail.org/pipermail/notmuch/2011/007007.html]
  +
|
  +
{{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]
 
| {{ic|1=$ export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc}}
 
| {{ic|1=$ export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc}}
{{hc|npmrc|<nowiki>cache=$XDG_CACHE_HOME/npm
+
{{hc|npmrc|<nowiki>
prefix=$XDG_DATA_HOME/npm</nowiki>}}
+
prefix=${XDG_DATA_HOME}/npm
  +
cache=${XDG_CACHE_HOME}/npm
  +
tmp=${XDG_RUNTIME_DIR}/npm
  +
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
  +
</nowiki>}}
  +
Node.js を {{AUR|nvm}} でインストールした場合 {{ic|prefix}} は必要ありません (サポートされません)。
  +
|-
  +
| {{Pkg|nuget}}
  +
| {{ic|~/.nuget/packages}}
  +
|
  +
| [https://docs.microsoft.com/en-us/nuget/consume-packages/managing-the-global-packages-and-cache-folders]
  +
| {{ic|1=$ export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages}}
 
|-
 
|-
| [[NVIDIA]], [[CUDA]]
+
| [[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]
  +
| {{ic|~/.nvidia-settings-rc}}
  +
|
  +
|
  +
| {{ic|1=$ nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings}}
  +
|-
  +
| {{AUR|nvm}}
  +
| {{ic|~/.nvm}}
  +
|
  +
|
  +
| {{ic|1=$ export NVM_DIR="$XDG_DATA_HOME"/nvm}}
  +
|-
  +
| [[Octave]]
  +
|
  +
{{ic|~/octave<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]
737行目: 1,409行目:
   
 
現在 {{ic|~/.local/share}} が [https://github.com/openscad/openscad/blob/master/src/PlatformUtils-posix.cc#L20 ハードコード] されています。
 
現在 {{ic|~/.local/share}} が [https://github.com/openscad/openscad/blob/master/src/PlatformUtils-posix.cc#L20 ハードコード] されています。
  +
|-
  +
| [[OpenSSL]]
  +
| {{ic|~/.rnd}}
  +
|
  +
|
  +
| .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]]
  +
| {{ic|~/.password-store}}
  +
|
  +
|
  +
| {{ic|1=$ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass}}
  +
|-
  +
| [[pidgin]]
  +
| {{ic|~/.purple}}
  +
|
  +
| [https://developer.pidgin.im/ticket/4911]
  +
| {{ic|1=$ pidgin --config="$XDG_DATA_HOME"/purple}}
  +
|-
  +
| [[PostgreSQL|postgresql]]
  +
|
  +
{{ic|~/.psqlrc<br>
  +
~/.psql_history<br>
  +
~/.pgpass<br>
  +
~/.pg_service.conf}}
  +
| 9.2
  +
| [https://www.postgresql.org/docs/current/static/app-psql.html] [https://www.postgresql.org/docs/current/static/libpq-envars.html]
  +
|
  +
{{ic|1=$ export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"<br>
  +
$ export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history"<br>
  +
$ export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"<br>
  +
$ export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"}}
  +
  +
ディレクトリを作成する必要があります: {{ic|1=$ mkdir "$XDG_CONFIG_HOME/pg" && mkdir "$XDG_CACHE_HOME/pg"}}。
  +
|-
  +
| [[PulseAudio]]
  +
| {{ic|~/.esd_auth}}
  +
|
  +
|
  +
| {{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]
743行目: 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]]
755行目: 1,504行目:
 
| [https://github.com/hanslub42/rlwrap/issues/25]
 
| [https://github.com/hanslub42/rlwrap/issues/25]
 
| {{ic|1=$ export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap}}
 
| {{ic|1=$ export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap}}
  +
|-
  +
| [[Ruby#RubyGems|RubyGems]]
  +
| {{ic|~/.gem}}
  +
|
  +
|
  +
|
  +
{{ic|1=$ export GEM_HOME="$XDG_DATA_HOME"/gem<br>
  +
$ export GEM_SPEC_CACHE="$XDG_CACHE_HOME"/gem}}
  +
|-
  +
| [[Rust|rustup]]
  +
| {{ic|~/.rustup}}
  +
|
  +
| [https://github.com/rust-lang-nursery/rustup.rs/issues/247]
  +
| {{ic|1=$ export RUSTUP_HOME="$XDG_DATA_HOME"/rustup}}
  +
|-
  +
| [http://www.scala-sbt.org/ sbt]
  +
| {{ic|~/.sbt}}
  +
{{ic|~/.ivy2}}
  +
|
  +
| [https://github.com/sbt/sbt/issues/3681]
  +
| {{ic|1=$ sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt}} ([https://github.com/sbt/sbt/issues/3598])
 
|-
 
|-
 
| [[screen]]
 
| [[screen]]
762行目: 1,532行目:
 
| {{ic|1=$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}}
 
| {{ic|1=$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}}
 
|-
 
|-
| [https://www.stackage.org/ stack]
+
| [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]]
 
| {{ic|~/.stack}}
 
| {{ic|~/.stack}}
 
|
 
|
771行目: 1,554行目:
 
| {{ic|~/.subversion}}
 
| {{ic|~/.subversion}}
 
|
 
|
| [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}}
| [http://jonas.nitro.dk/tig/ tig]
 
| {{ic|~/.tigrc}}
 
 
|
 
|
  +
{{ic|~/.task<br>
  +
~/.taskrc}}
 
|
 
|
  +
|
| {{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]
| [[tmux]]
 
| {{ic|~/.tmux.conf}}
+
| {{ic|~/.tiptoprc}}
 
|
 
|
  +
|
| [http://comments.gmane.org/gmane.comp.terminal-emulators.tmux.user/6013] [http://sourceforge.net/p/tmux/mailman/message/30619546/]
 
| {{ic|$ tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf}}
+
| {{ic|.tiptoprc}} ファイルを必要とします: {{ic|$ tiptop -W "$XDG_CONFIG_HOME"/tiptop}}
{{ic|1= $ export TMUX_TMPDIR="$XDG_RUNTIME_DIR"/tmux}}
 
 
|-
 
|-
  +
| [[TeX Live]]
| [[Rxvt-unicode/Tips_and_tricks#デーモンクライアント|urxvtd]]
 
| {{ic|~/.urxvt/urxvtd-hostname}}
+
| {{ic|~/.texliveYYYY}} (YYYY は年度)
 
|
 
|
 
|
 
|
| {{ic|1=$ export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvt/urxvt-"$(hostname)"}}
+
| {{ic|$ export TEXMFCNF&#61;"${XDG_CONFIG_HOME}/texmf/web2c:$(kpsewhich --var-value&#61;'TEXMFCNF')"}}
  +
{{hc|$XDG_CONFIG_HOME/texmf/web2c/texmf.cnf|
  +
TEXMFHOME&#61;$XDG_DATA_HOME/texmf
  +
TEXMFCONFIG&#61;$XDG_CONFIG_HOME/texmf
 
|-
 
|-
  +
| [https://github.com/bengardner/uncrustify uncrustify]
| [[WeeChat]]
 
| {{ic|~/.weechat}}
+
| {{ic|~/.uncrustify.cfg}}
 
|
 
|
  +
|
| [http://savannah.nongnu.org/task/?10934]
 
| {{ic|1=$ export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat}}
+
| {{ic|1=$ export UNCRUSTIFY_CONFIG="$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg}}
{{ic|$ weechat -d "$XDG_CONFIG_HOME"/weechat}}
 
 
|-
 
|-
| [[wine]]
+
| [[Unison]]
| {{ic|~/.wine}}
+
| {{ic|~/.unison}}
 
|
 
|
  +
|
| [https://bugs.winehq.org/show_bug.cgi?id=20888]
 
| {{ic|1=$ export WINEPREFIX="$XDG_DATA_HOME"/wine}}
+
| {{ic|1=$ export UNISON="$XDG_DATA_HOME"/unison}}
 
|-
 
|-
  +
| [[Rxvt-unicode/ヒントとテクニック‎#デーモンクライアント|urxvtd]]
| {{pkg|xorg-xauth}}
 
| {{ic|~/.Xauthority}}
+
| {{ic|~/.urxvt/urxvtd-hostname}}
 
|
 
|
 
|
 
|
| {{ic|1=$ export XAUTHORITY="$XDG_RUNTIME_DIR"/X11/xauthority}}
+
| {{ic|1=$ export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd}}
 
|-
 
|-
  +
| [[Vagrant]]
| [http://www.x.org/wiki/ libx11]
 
| {{ic|~/.XCompose}}
 
 
|
 
|
  +
{{ic|~/.vagrant.d<br>
  +
~/.vagrant.d/aliases}}
 
|
 
|
  +
| [https://www.vagrantup.com/docs/other/environmental-variables.html]
| {{ic|1=$ export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose}}
 
  +
|
  +
{{ic|1=$ export VAGRANT_HOME="$XDG_DATA_HOME"/vagrant<br>
  +
$ export VAGRANT_ALIAS_FILE="$XDG_DATA_HOME"/vagrant/aliases}}
 
|-
 
|-
  +
| [[Visual Studio Code]]
| {{pkg|xorg-xinit}}
 
| {{ic|~/.xinitrc}}
+
| {{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>
| {{ic|1=$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc}}
 
  +
~/.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]]
| {{pkg|xorg-xrdb}}
 
| {{ic|~/.Xresources}} {{ic|~/.Xdefaults}}
+
| {{ic|~/.weechat}}
 
|
 
|
  +
| [https://savannah.nongnu.org/task/?10934] [https://github.com/ipython/ipython/pull/4457]
 
|
 
|
  +
{{ic|1=$ export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat<br>
| {{ic|xrdb -load ~/.config/X11/xresources}} のようにパスを指定して {{ic|xrdb}} でリソースがロードされるように {{ic|Xresources}} を [http://superuser.com/questions/243914/xresources-or-xdefaults 使用] することができます。
 
  +
$ weechat -d "$XDG_CONFIG_HOME"/weechat}}
 
|-
 
|-
  +
| [[wget]]
| [https://github.com/bengardner/uncrustify uncrustify]
 
| {{ic|~/.uncrustify.cfg}}
 
 
|
 
|
  +
{{ic|~/.wgetrc
  +
~/.wget-hsts}}
 
|
 
|
  +
|
| {{ic|1=$ export UNCRUSTIFY_CONFIG="$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg}}
 
  +
|
  +
{{ic|1=$ export WGETRC="$XDG_CONFIG_HOME/wgetrc"<br>
  +
$ wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"}}
 
|-
 
|-
  +
| [[wine]]
| [http://www.vergenet.net/~conrad/software/xsel/ xsel]
 
| {{ic|~/.xsel.log}}
+
| {{ic|~/.wine}}
 
|
 
|
| [https://github.com/kfish/xsel/issues/10]
+
| [https://bugs.winehq.org/show_bug.cgi?id=20888]
  +
| [[Wine#Winetricks|Winetricks]] は [[Wine#WINEPREFIX|WINEPREFIX]] の管理に XDG のような場所を使用します:
| {{ic|1=$ xsel --logfile "$XDG_CACHE_HOME"/xsel/xsel.log}}
 
  +
{{ic|1=$ mkdir -p "$XDG_DATA_HOME"/wineprefixes<br>
  +
$ export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default}}
 
|-
 
|-
  +
| [[xbindkeys]]
| [https://github.com/cisco/ChezScheme ChezScheme]
 
| {{ic|~/.chezscheme_history}}
+
| {{ic|~/.xbindkeysrc}}
 
|
 
|
 
|
 
|
| {{ic|1=$ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history}}
+
| {{ic|1=$ xbindkeys -f "$XDG_CONFIG_HOME"/xbindkeys/config}}
 
|-
 
|-
  +
| {{pkg|xorg-xauth}}
| [https://github.com/NVIDIA/nvidia-settings nvidia-settings]
 
| {{ic|~/.nvidia-settings-rc}}
+
| {{ic|~/.Xauthority}}
 
|
 
|
 
|
 
|
| {{ic|1=$ nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings}}
+
| {{ic|1=$ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority}}
 
|-
 
|-
  +
| [[xinit]]
| [https://github.com/get-iplayer/get_iplayer get_iplayer]
 
| {{ic|~/.get_iplayer}}
 
 
|
 
|
  +
{{ic|~/.xinitrc<br>
  +
~/.xserverrc}}
 
|
 
|
  +
|
| {{ic|1=$ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer}}
 
  +
|
  +
{{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}}
  +
|
  +
{{ic|~/.Xresources<br>
  +
~/.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"}}
 
|}
 
|}
   
866行目: 1,702行目:
 
! アプリケーション
 
! アプリケーション
 
! 旧パス
 
! 旧パス
! 対応開始
 
 
! 議論
 
! 議論
 
! ノート
 
! ノート
  +
|-
  +
| [[ADB|adb]]
  +
| {{ic|~/.android}}
  +
| [https://developer.android.com/studio/command-line/variables.html#android_sdk_root]
  +
|
  +
{{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]]
  +
| {{ic|~/.aMule}}
  +
|
  +
|
  +
|-
  +
| [[Android#Android Studio|Android Studio]]
  +
|
  +
{{ic|~/.AndroidStudio2.3<br>
  +
~/.android<br>
  +
~/.java}}
  +
|
  +
|
  +
|-
  +
| [https://osdn.net/projects/anthy/ anthy]
  +
| {{ic|~/.anthy}}
  +
| [https://osdn.net/ticket/browse.php?group_id=14&tid=28397]
  +
|
 
|-
 
|-
 
| [https://directory.apache.org/studio/ Apache Directory Studio]
 
| [https://directory.apache.org/studio/ Apache Directory Studio]
 
| {{ic|~/.ApacheDirectoryStudio}}
 
| {{ic|~/.ApacheDirectoryStudio}}
 
|
 
|
  +
|
  +
|-
  +
| [https://christian.amsuess.com/tools/arandr/ ARandR]
  +
| {{ic|~/.screenlayout}}
 
|
 
|
 
|
 
|
 
|-
 
|-
| [[AMule]]
+
| [[Arduino]]
  +
|
| {{ic|~/.aMule}}
 
  +
{{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]
  +
| {{ic|~/.audacity-data}}
  +
| [https://bugzilla.audacityteam.org/show_bug.cgi?id=2201]
  +
|
  +
|-
  +
| [http://fixounet.free.fr/avidemux/ Avidemux]
  +
| {{ic|~/.avidemux6}}
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| [[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]
 
|
 
|
 
* 指定された {{ic|bashrc}} は {{ic|/etc/bashrc}} から読み込まれます。
 
* 指定された {{ic|bashrc}} は {{ic|/etc/bashrc}} から読み込まれます。
 
* {{ic|1=export HISTFILE="$XDG_DATA_HOME"/bash/history}}
 
* {{ic|1=export HISTFILE="$XDG_DATA_HOME"/bash/history}}
  +
* インタラクティブシェルでは {{ic|~/.bashrc}} の代わりに {{ic|--init-file <file>}} で指定。
 
|-
 
|-
| [https://www.haskell.org/cabal/ cabal]
+
| [[Haskell|cabal]]
 
| {{ic|~/.cabal}}
 
| {{ic|~/.cabal}}
|
 
 
| [https://github.com/haskell/cabal/issues/680]
 
| [https://github.com/haskell/cabal/issues/680]
 
| 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。
 
| 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。
  +
|-
  +
| {{AUR|chatty}}
  +
| {{ic|~/.chatty/}}
  +
| [https://github.com/chatty/chatty/issues/273]
  +
|
  +
|-
  +
| {{Pkg|cmake}}
  +
| {{ic|~/.cmake/}}
  +
|
  +
| Used for the user package registry {{ic|~/.cmake/packages/<package>}}, detailed in {{man|7|cmake-packages|User Package Registry}} and [https://gitlab.kitware.com/cmake/community/wikis/doc/tutorials/Package-Registry the Package registry wiki page]. Looks like it's hardcoded, for example in [https://gitlab.kitware.com/cmake/cmake/blob/v3.12.1/Source/cmFindPackageCommand.cxx#L1221 cmFindPackageCommand.cxx].
  +
|-
  +
| [[Cinnamon]]
  +
| {{ic|~/.cinnamon/}}
  +
| [https://github.com/linuxmint/Cinnamon/issues/7807]
  +
|
  +
|-
  +
| {{AUR|cryptomator}}
  +
| {{ic|~/.Cryptomator}}
  +
| [https://github.com/cryptomator/cryptomator/issues/710]
  +
|
 
|-
 
|-
 
| [[CUPS]]
 
| [[CUPS]]
 
| {{ic|~/.cups}}
 
| {{ic|~/.cups}}
  +
| [https://github.com/apple/cups/issues/4243]
|
 
  +
|
| [http://www.cups.org/str.php?L4243]
 
  +
|-
  +
| [[darcs]]
  +
| {{ic|~/.darcs}}
  +
| [http://bugs.darcs.net/issue2453]
 
|
 
|
 
|-
 
|-
 
| [[D-Bus|dbus]]
 
| [[D-Bus|dbus]]
 
| {{ic|~/.dbus}}
 
| {{ic|~/.dbus}}
|
 
 
| [https://bugs.freedesktop.org/show_bug.cgi?id=35887]
 
| [https://bugs.freedesktop.org/show_bug.cgi?id=35887]
 
| [[kdbus]] を使うことで回避できます。
 
| [[kdbus]] を使うことで回避できます。
  +
|-
  +
| [https://wiki.gnome.org/Apps/Dia 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]
  +
|
 
|-
 
|-
 
| [[eclipse]]
 
| [[eclipse]]
 
| {{ic|~/.eclipse}}
 
| {{ic|~/.eclipse}}
|
 
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=200809]
 
| [https://bugs.eclipse.org/bugs/show_bug.cgi?id=200809]
 
| {{ic|1=-Dosgi.configuration.area=@user.home/.config/..}} オプションで上書きできますがコマンドラインで指定するのではなく {{ic|"$ECLIPSE_HOME"/eclipse.ini"}} に追加する必要があり {{ic|$ECLIPSE_HOME}} の書き込み権限が要ります (Arch Linux では {{ic|$ECLIPSE_HOME}} が {{ic|/usr/bin/eclipse}} に決め打ちされています)。
 
| {{ic|1=-Dosgi.configuration.area=@user.home/.config/..}} オプションで上書きできますがコマンドラインで指定するのではなく {{ic|"$ECLIPSE_HOME"/eclipse.ini"}} に追加する必要があり {{ic|$ECLIPSE_HOME}} の書き込み権限が要ります (Arch Linux では {{ic|$ECLIPSE_HOME}} が {{ic|/usr/bin/eclipse}} に決め打ちされています)。
 
|-
 
|-
  +
| [http://www.fetchmail.info/ Fetchmail]
| [[emacs]]
 
| {{ic|~/.emacs}} {{ic|~/.emacs.d}}
+
| {{ic|~/.fetchmailrc}}
  +
|
 
|
 
|
| [http://debbugs.gnu.org/cgi/bugreport.cgi?bug=583]
 
| {{ic|HOME}} を設定することができますが、予期せぬ副作用を生みます。他の Emacs 環境変数を修正してロードパスを変更して手動で init ファイルをロードする site ファイルを作成するのが確実ですが、ロードプロセスが大幅に変わってしまいます。
 
 
|-
 
|-
 
| [[firefox]]
 
| [[firefox]]
 
| {{ic|~/.mozilla}}
 
| {{ic|~/.mozilla}}
|
 
 
| [https://bugzil.la/259356]
 
| [https://bugzil.la/259356]
 
|
 
|
 
|-
 
|-
  +
| [[Flatpak]]
| [http://www.gnu.org/software/parallel/ GNU parallel]
 
| {{ic|~/.parallel}}
+
| {{ic|~/.var/}}
  +
| [https://github.com/flatpak/flatpak/issues/46] [https://github.com/flatpak/flatpak.github.io/issues/191] [https://github.com/flatpak/flatpak/issues/1651 won't fix]
|
 
 
|
 
|
  +
|-
  +
| {{Pkg|fltk}}
  +
| {{ic|~/.fltk/}}
  +
| [https://www.fltk.org/str.php?L3370+P0+S0+C0+I0+E0+V%25+Qxdg]
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|gftp}}
| [[GStreamer|gstreamer-0.10]]
 
| {{ic|~/.gstreamer-0.10}}
+
| {{ic|~/.gftp/}}
|
 
 
|
 
|
  +
|
| [http://gstreamer.freedesktop.org/ gstreamer-1.0] を使ってください。
 
  +
|-
  +
| [[GHC]]
  +
| {{ic|~/.ghc}}
  +
| [https://ghc.haskell.org/trac/ghc/ticket/6077]
  +
|
  +
|-
  +
| {{Pkg|ghidra}}
  +
|
  +
| [https://github.com/NationalSecurityAgency/ghidra/issues/908]
  +
|
  +
|-
  +
| [[GoldenDict]]
  +
| {{ic|~/.goldendict/}}
  +
| [https://github.com/goldendict/goldendict/issues/151]
  +
|
  +
|-
  +
| {{Pkg|gramps}}
  +
| {{ic|~/.gramps/}}
  +
| [https://gramps-project.org/bugs/view.php?id=8025]
  +
|
  +
|-
  +
| {{Pkg|grsync}}
  +
| {{ic|~/.grsync/}}
  +
| [https://sourceforge.net/p/grsync/feature-requests/15/]
  +
|
  +
|-
  +
| [[RecordMyDesktop|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]
  +
|
 
|-
 
|-
 
| [http://www.idris-lang.org/ idris]
 
| [http://www.idris-lang.org/ idris]
 
| {{ic|~/.idris}}
 
| {{ic|~/.idris}}
  +
| [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}}
 
|
 
|
 
|
 
|
 
|-
 
|-
| [http://julialang.org/ 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]
 
|
 
|
  +
|-
  +
| [[PAM|Linux PAM]]
  +
| {{ic|~/.pam_environment}}
  +
| [https://github.com/linux-pam/linux-pam/issues/7]
  +
| ハードコード: [https://github.com/linux-pam/linux-pam/blob/master/modules/pam_env/pam_env.c modules/pam_env/pam_env.c]。
 
|-
 
|-
 
| [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]]
| [http://www.milkytracker.org/ milkytracker]
 
| {{ic|~/.milkytracker_config}}
+
| {{ic|~/.minecraft/}}
  +
| [https://bugs.mojang.com/browse/MCL-2563]
 
|
 
|
  +
|-
| [https://github.com/Deltafire/MilkyTracker/issues/12]
 
  +
| [[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]
| [http://stackoverflow.com/a/22349050/4200039 Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使うことを提案しています。
+
| [https://stackoverflow.com/a/22349050/4200039 Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使うことを提案しています。
 
|-
 
|-
| [http://www.musicpd.org/clients/ncmpc/ ncmpc]
+
| [http://0ldsk00l.ca/nestopia/ Nestopia UE]
| {{ic|~/.ncmpc}}
+
| {{ic|~/.nestopia/}}
  +
| [https://github.com/0ldsk00l/nestopia/pull/292 won't fix]
 
|
 
|
  +
|-
 
|
 
|
  +
| {{ic|~/.netrc}}
 
|
 
|
  +
| {{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]]
  +
| {{ic|~/.pki}}
  +
| [https://bugzilla.mozilla.org/show_bug.cgi?id=818686]
  +
|
  +
|-
  +
| [[OpenSSH]]
  +
| {{ic|~/.ssh}}
  +
| [https://bugzilla.mindrot.org/show_bug.cgi?id=2050]
  +
| DropBear や OpenSSH など多数の ssh デーモンやクライアントが使用します。
 
|-
 
|-
 
| [https://www.palemoon.org/ palemoon]
 
| [https://www.palemoon.org/ palemoon]
 
| {{ic|~/.moonchild productions}}
 
| {{ic|~/.moonchild productions}}
|
 
 
| [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]
 
| {{ic|~/.debug}}
 
| {{ic|~/.debug}}
 
|
 
|
  +
| [https://github.com/torvalds/linux/blob/master/tools/perf/util/config.c#L29 tools/perf/util/config.c:29] でハードコードされています。
  +
|-
  +
|
  +
| {{ic|~/.profile}}
 
|
 
|
  +
| 様々な[[シェル]]や[[ディスプレイマネージャ]]が使用しています。
| [https://github.com/torvalds/linux/blob/master/tools/perf/util/config.c#L18 tools/perf/util/config.c:18] でハードコードされています。
 
 
|-
 
|-
 
| [[python]]
 
| [[python]]
 
| {{ic|~/.python_history}}
 
| {{ic|~/.python_history}}
|
 
 
|
 
|
 
| [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|procps-ng}}
+
| {{Pkg|python-poetry}}
| {{ic|~/.toprc}}
+
| {{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]]
  +
| {{ic|~/.designer}}
 
|
 
|
| [https://bugzilla.redhat.com/show_bug.cgi?id=1155265]
 
 
|
 
|
 
|-
 
|-
  +
| [http://rednotebook.sourceforge.net/ RedNotebook]
| [[spectrwm]]
 
| {{ic|~/.spectrwm}}
+
| {{ic|~/.rednotebook}}
 
|
 
|
  +
|
  +
|-
  +
| [https://remarkableapp.github.io/linux.html Remarkable]
  +
| {{ic|~/.remarkable}}
  +
|
  +
|
  +
|-
  +
| {{AUR|renderdoc}}
  +
| {{ic|~/.renderdoc}}
  +
| [https://github.com/baldurk/renderdoc/pull/1741 won't fix]
  +
|
  +
|-
  +
| [https://www.renpy.org/ Ren'Py]
  +
| {{ic|~/.renpy}}
  +
| [https://github.com/renpy/renpy/issues/1377]
  +
|
  +
|-
  +
| [[SANE]]
  +
| {{ic|~/.sane/}}
  +
|
  +
| {{ic|scanimage}} によって {{ic|.cal}} ファイルが作成されます。
  +
|-
  +
| {{Pkg|sbcl}}
  +
| {{ic|~/.sbclrc}}
  +
|
  +
| {{hc|/etc/sbclrc|
  +
(require :asdf)
  +
(setf sb-ext:*userinit-pathname-function*
  +
(lambda () (uiop:xdg-config-home #P"sbcl/sbclrc")))
  +
}}
  +
これにはroot権限が必要であり、すべてのユーザに対して{{{ic|~/.sbclrc}}}の場所が変更されることに注意してください。これは、{{{ic|lambda}}フォーム内に既存の{{{ic|~/.sbclrc}}}があるかどうかをチェックすることで緩和できます。
  +
|-
  +
| [https://www.scribus.net/ Scribus]
  +
| {{ic|~/.scribus}}
  +
|
  +
|-
  +
| [http://www.seamonkey-project.org/ SeaMonkey]
  +
| {{ic|~/.mozilla}}
  +
| [https://bugzil.la/726939]
  +
|
  +
|-
  +
| {{Pkg|simplescreenrecorder}}
  +
| {{ic|~/.ssr/}}
  +
| [https://github.com/MaartenBaert/ssr/issues/407]
  +
| 既に作成されている場合に限り{{ic|$XDG_CONFIG_HOME/simplescreenrecorder/}}を使用します。[https://github.com/MaartenBaert/ssr/issues/407#issuecomment-667600809] (まだリリースされていません)
  +
|-
  +
| [https://www.gnu.org/software/solfege/solfege.html Solfege]
  +
|
  +
{{ic|~/.solfege<br>
  +
~/.solfegerc<br>
  +
~/lessonfiles}}
  +
| [https://savannah.gnu.org/bugs/index.php?50251]
  +
|
  +
|-
  +
| [[Postfix#SpamAssassin|SpamAssassin]]
  +
| {{ic|~/.spamassassin}}
 
|
 
|
 
|
 
|
 
|-
 
|-
 
| [[SQLite]]
 
| [[SQLite]]
| {{ic|~/.sqlite_history}}
 
 
|
 
|
  +
{{ic|~/.sqlite_history<br>
| [http://unix.stackexchange.com/questions/306890/change-location-of-sqlite-history-file][http://sqlite.1065341.n5.nabble.com/Customizing-the-location-of-the-sqlite-history-td87055.html]
 
  +
~/.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}}
  +
|-
  +
| [[Steam]]
  +
|
  +
{{ic|~/.steam<br>
  +
~/.steampath<br>
  +
~/.steampid}}
  +
| [https://github.com/ValveSoftware/steam-for-linux/issues/1890]
  +
| 大抵のゲームエンジン (Unity 3D, Unreal) は仕様に準拠していますが、一部のゲームパブリッシャはパスを [https://www.ctrl.blog/entry/flatpak-steamcloud-xdg Steam Auto-Cloud] にハードコードしているため、ゲームのセーブデータが間違ったディレクトリで同期されることがあります。
  +
|-
  +
| [[TeamSpeak]]
  +
| {{ic|~/.ts3client}}
  +
|
  +
| {{ic|1=$ export TS3_CONFIG_DIR="$XDG_CONFIG_HOME/ts3client"}}
  +
|-
  +
| {{pkg|texinfo}}
  +
| {{ic|~/.infokey}}
  +
|
  +
| {{ic|$ info --init-file "$XDG_CONFIG_HOME/infokey"}}
  +
|-
  +
| [http://www.texmacs.org/ TeXmacs]
  +
| {{ic|~/.TeXmacs}}
  +
|
  +
|
  +
|-
  +
| [[Thunderbird]]
  +
| {{ic|~/.thunderbird}}
  +
| [https://bugzil.la/735285]
  +
|
  +
|-
  +
| [https://git.archlinux.org/users/remy/texlive-localmanager.git/ tllocalmgr]
  +
| {{ic|~/.texlive}}
  +
|
  +
|
  +
|-
  +
| {{AUR|vale}}
  +
| {{ic|~/.vale.ini}}
  +
| [https://github.com/errata-ai/vale/issues/152 won't fix]
  +
| {{ic|$ vale --config "$XDG_CONFIG_HOME/vale/config.ini"}}
 
|-
 
|-
 
| [[vim]]
 
| [[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|~/.vim/vimrc|
+
{{hc|"$XDG_CONFIG_HOME"/vim/vimrc|
set undodir&#61;~/.cache/vim/undo " vim will not create this directory.
+
set undodir&#61;$XDG_DATA_HOME/vim/undo
set directory&#61;~/.cache/vim/swap " vim will not create this directory.
+
set directory&#61;$XDG_DATA_HOME/vim/swap
set backupdir&#61;~/.cache/vim/backup " vim will not create this directory.
+
set backupdir&#61;$XDG_DATA_HOME/vim/backup
set viminfo+&#61;n~/.cache/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,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after
 
}}
 
}}
   
  +
{{hc|~/.profile|
* https://tlvince.com/vim-respect-xdg
 
  +
export VIMINIT&#61;":source $XDG_CONFIG_HOME"/vim/vimrc
  +
}}
  +
  +
https://tlvince.com/vim-respect-xdg も参照。
 
|-
 
|-
 
| [http://www.vimperator.org/ vimperator]
 
| [http://www.vimperator.org/ vimperator]
 
| {{ic|~/.vimperatorrc}}
 
| {{ic|~/.vimperatorrc}}
|
 
 
| [http://www.mozdev.org/pipermail/vimperator/2009-October/004848.html]
 
| [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]]
| [http://w1.fi/ wpa_cli]
 
| {{ic|~/.wpa_cli_history}}
+
| {{ic|~/.w3m}}
  +
| [https://sourceforge.net/p/w3m/feature-requests/31/]
 
|
 
|
  +
|-
  +
| [[WPA supplicant#wpa_cli で接続する|wpa_cli]]
  +
| {{ic|~/.wpa_cli_history}}
 
|
 
|
 
|
 
|
1,046行目: 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]] などによって使われています。
 
|-
 
|-
  +
| [https://opensource.conformal.com/wiki/xombrero xombrero]
| [[xmonad]]
 
| {{ic|~/.xmonad}}
+
| {{ic|~/.xombrero}}
  +
| [https://github.com/conformal/xombrero/issues/74]
 
|
 
|
  +
|-
| [https://code.google.com/p/xmonad/issues/detail?id=484]
 
  +
| {{Pkg|xournalpp}}
  +
| {{ic|~/.xournalpp}}
  +
| [https://github.com/xournalpp/xournalpp/issues/1101]
 
|
 
|
 
|-
 
|-
  +
| {{Pkg|xpdf}}
| [https://opensource.conformal.com/wiki/xombrero xombrero]
 
| {{ic|~/.xombrero}}
+
| {{ic|~/.xpdfrc}}
 
|
 
|
| [https://github.com/conformal/xombrero/issues/74]
 
 
|
 
|
 
|-
 
|-
  +
| [https://yardoc.org YARD]
| [[zsh]]
 
  +
| {{ic|~/.yard}}
| {{ic|~/.zshrc}} {{ic|~/.zprofile}} {{ic|~/.zshenv}} {{ic|~/.zlogin}} {{ic|~/.zlogout}} {{ic|~/.histfile}}
 
  +
| [https://github.com/lsegal/yard/issues/1230]
|
 
  +
| 誰か実装したい人がいれば、プルリクエストを受け付けます。
| [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|1=export HISTFILE="$XDG_DATA_HOME"/zsh/history}}
 
 
|-
 
|-
| [http://racket-lang.org/ racket]
+
| [https://nmap.org/zenmap/ zenmap] ([[nmap]])
| {{ic|~/.racketrc}}
+
| {{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]]
  +
|
  +
{{ic|~/.zshrc<br>
  +
~/.zprofile<br>
  +
~/.zshenv<br>
  +
~/.zlogin<br>
  +
~/.zlogout<br>
  +
~/.histfile<br>
  +
~/.zcompdump}}
  +
| [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|1=$ export HISTFILE="$XDG_DATA_HOME"/zsh/history}}
 
|}
 
|}
   
1,081行目: 2,250行目:
 
: [https://github.com/Cloudef/chck/tree/master/chck/xdg C99: Cloudef のシンプルな実装]。
 
: [https://github.com/Cloudef/chck/tree/master/chck/xdg C99: Cloudef のシンプルな実装]。
   
; Haskell
+
; 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]])
  +
: [https://github.com/soc/directories-jvm directories-jvm]
  +
  +
; [[Haskell]]
 
: 1.2.3.0 から [https://hackage.haskell.org/package/directory directory] で公式に対応 [https://github.com/haskell/directory/commit/ab9d0810ce ab9d0810ce]。
 
: 1.2.3.0 から [https://hackage.haskell.org/package/directory directory] で公式に対応 [https://github.com/haskell/directory/commit/ab9d0810ce ab9d0810ce]。
 
: [https://hackage.haskell.org/package/xdg-basedir xdg-basedir]
 
: [https://hackage.haskell.org/package/xdg-basedir xdg-basedir]
   
; Perl
+
; [[Perl]]
 
: [http://search.cpan.org/dist/File-BaseDir/lib/File/BaseDir.pm File-BaseDir]
 
: [http://search.cpan.org/dist/File-BaseDir/lib/File/BaseDir.pm File-BaseDir]
 
: [https://github.com/Aerdan/perl-file-xdg perl-file-xdg]
 
: [https://github.com/Aerdan/perl-file-xdg perl-file-xdg]
   
; Python
+
; [[Python]]
: [http://freedesktop.org/wiki/Software/pyxdg/ pyxdg]
+
: [https://freedesktop.org/wiki/Software/pyxdg/ pyxdg]
  +
  +
; [[Ruby]]
  +
: [https://github.com/rubyworks/xdg rubyworks/xdg]
  +
  +
; [[Rust]]
  +
: [https://github.com/soc/directories-rs directories-rs]
   
 
; Vala
 
; Vala
1,098行目: 2,282行目:
 
==参照==
 
==参照==
   
  +
* [https://wiki.gnome.org/Initiatives/GnomeGoals/XDGConfigFolders GNOME Goal: XDG Base Directory Specification Usage]
* [https://plus.google.com/+RobPikeTheHuman/posts/R58WgWwN9jp Rob Pike: "Dotfiles" being hidden is a UNIXv2 mistake].
 
  +
* [https://plus.google.com/+RobPikeTheHuman/posts/R58WgWwN9jp Rob Pike: "Dotfiles" being hidden is a UNIXv2 mistake]
* [http://www.freedesktop.org/software/systemd/man/systemd-path.html systemd-path(1)]
 
  +
* {{man|1|systemd-path}}
* [http://www.freedesktop.org/software/systemd/man/file-hierarchy.html file-hierarchy(7)]
 
  +
* {{man|7|file-hierarchy}}
* [https://github.com/grawity/dotfiles/blob/master/.dotfiles.notes Grawity's notes on dotfiles].
 
* [https://github.com/grawity/dotfiles/blob/master/.environ.notes Grawity's notes on environment variables].
+
* [https://github.com/grawity/dotfiles/blob/master/.dotfiles.notes Grawity's notes on dotfiles]
  +
* [https://github.com/grawity/dotfiles/blob/master/.environ.notes Grawity's notes on environment variables]
* [https://ploum.net/207-modify-your-application-to-use-xdg-folders/ ploum.net: Modify Your Application to use XDG Folders].
 
  +
* [https://ploum.net/207-modify-your-application-to-use-xdg-folders/ ploum.net: Modify Your Application to use XDG Folders]

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 などを参照。

参照