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