「XDG Base Directory」の版間の差分
(→サポートしているソフトウェア: 英語版に追従) |
(→部分的にサポートしているソフトウェア: 英語版に追従) |
||
951行目: | 951行目: | ||
! ノート |
! ノート |
||
|- |
|- |
||
− | | |
+ | | {{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}} |
||
961行目: | 967行目: | ||
| |
| |
||
| [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]] |
||
981行目: | 985行目: | ||
| |
| |
||
| [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=$ export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME"/aws/credentials<br> |
||
− | + | | {{ic|1=export BASH_COMPLETION_USER_FILE="$XDG_CONFIG_HOME"/bash-completion/bash_completion}} |
|
|- |
|- |
||
| [[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] |
||
| |
| |
||
1,041行目: | 1,061行目: | ||
[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]] |
||
1,046行目: | 1,072行目: | ||
| [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}} |
||
1,052行目: | 1,078行目: | ||
| |
| |
||
| [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]] |
||
1,058行目: | 1,084行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic| |
+ | | {{ic|1=eval $(dircolors "$XDG_CONFIG_HOME"/dircolors)}} |
|- |
|- |
||
| [http://www.dungeoncrawl.org/ crawl] |
| [http://www.dungeoncrawl.org/ crawl] |
||
1,064行目: | 1,090行目: | ||
| |
| |
||
| |
| |
||
− | | 末尾の '/' は必須です: |
+ | | 末尾の '/' は必須です: |
+ | |||
+ | {{ic|1=export CRAWL_DIR="$XDG_DATA_HOME"/crawl/}} |
||
|- |
|- |
||
| {{Pkg|clusterssh}} |
| {{Pkg|clusterssh}} |
||
1,070行目: | 1,098行目: | ||
| |
| |
||
| |
| |
||
− | | {{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 |
||
1,081行目: | 1,109行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv}} |
|- |
|- |
||
| [[dict]] |
| [[dict]] |
||
1,087行目: | 1,115行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=dict -c "$XDG_CONFIG_HOME"/dict/dictrc}} |
|- |
|- |
||
| [[Docker]] |
| [[Docker]] |
||
1,093行目: | 1,121行目: | ||
| |
| |
||
| |
| |
||
+ | | {{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,102行目: | 1,127行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine}} |
|- |
|- |
||
| [[DOSBox]] |
| [[DOSBox]] |
||
1,108行目: | 1,133行目: | ||
| |
| |
||
| [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,114行目: | 1,139行目: | ||
| [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,120行目: | 1,145行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks}} |
|- |
|- |
||
| {{Pkg|elixir}} |
| {{Pkg|elixir}} |
||
1,128行目: | 1,153行目: | ||
| 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,166行目: | 1,201行目: | ||
| |
| |
||
| |
| |
||
− | | {{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,195行目: | 1,226行目: | ||
| [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,202行目: | 1,232行目: | ||
| |
| |
||
| |
| |
||
+ | | 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,214行目: | 1,244行目: | ||
}} |
}} |
||
|- |
|- |
||
+ | | {{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,247行目: | 1,278行目: | ||
| |
| |
||
| [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,253行目: | 1,284行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export IMAPFILTER_HOME="$XDG_CONFIG_HOME/imapfilter"}} |
|- |
|- |
||
+ | | [[IPFS]] |
||
− | | [http://httpie.org httpie] |
||
− | | {{ic|~/. |
+ | | {{ic|~/.ipfs}} |
+ | | |
||
| |
| |
||
+ | | {{ic|1=export IPFS_PATH="$XDG_DATA_HOME"/ipfs}} |
||
− | | [https://github.com/jakubroztocil/httpie/issues/145] |
||
− | | {{ic|1=$ export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie}} |
||
|- |
|- |
||
| [http://ipython.org ipython]/[[jupyter]] |
| [http://ipython.org ipython]/[[jupyter]] |
||
1,265行目: | 1,296行目: | ||
| |
| |
||
| [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,281行目: | 1,310行目: | ||
| |
| |
||
| [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,305行目: | 1,352行目: | ||
| |
| |
||
| [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 を使用します。 |
||
− | |||
− | 下記の環境変数も有効です。 |
||
− | |||
− | {{ic|1=mkdir -p "$XDG_CACHE_HOME"/less<br> |
||
− | $ export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey<br> |
||
− | $ export LESSHISTFILE="$XDG_CACHE_HOME"/less/history}} |
||
+ | to change the m2 repo location used by leiningen look here: [[Leiningen#m2_repo_location]] |
||
− | {{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,371行目: | 1,407行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export MATHEMATICA_USERBASE="$XDG_CONFIG_HOME"/mathematica}} |
+ | |- |
||
+ | | {{Pkg|maxima}} |
||
+ | | {{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,383行目: | 1,433行目: | ||
| |
| |
||
| |
| |
||
+ | | {{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,399行目: | 1,445行目: | ||
| |
| |
||
| |
| |
||
− | | {{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,411行目: | 1,457行目: | ||
| |
| |
||
| |
| |
||
− | | {{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,436行目: | 1,487行目: | ||
| |
| |
||
| [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,442行目: | 1,493行目: | ||
| |
| |
||
| |
| |
||
− | | {{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,466行目: | 1,513行目: | ||
</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}}. |
||
|- |
|- |
||
| {{Pkg|nuget}} |
| {{Pkg|nuget}} |
||
1,471行目: | 1,533行目: | ||
| |
| |
||
| [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,477行目: | 1,539行目: | ||
| |
| |
||
| |
| |
||
− | | 設定されている場合は{{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,489行目: | 1,551行目: | ||
| |
| |
||
| |
| |
||
− | | {{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=export OCTAVE_HISTFILE="$XDG_CACHE_HOME/octave-hsts"}}, {{ic|1=export OCTAVE_SITE_INITFILE="$XDG_CONFIG_HOME/octave/octaverc"}} |
||
− | | |
||
− | | |
||
− | {{ic|1=$ export OCTAVE_HISTFILE="$XDG_CACHE_HOME/octave-hsts"<br> |
||
− | $ export OCTAVE_SITE_INITFILE="$XDG_CONFIG_HOME/octave/octaverc"}} |
||
{{hc|$XDG_CONFIG_HOME/octave/octaverc|<nowiki> |
{{hc|$XDG_CONFIG_HOME/octave/octaverc|<nowiki> |
||
1,509行目: | 1,566行目: | ||
{{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,521行目: | 1,578行目: | ||
| |
| |
||
| |
| |
||
− | | |
+ | | シードファイル {{ic|.rnd}} の場所は {{ic|RANDFILE}} 環境変数で設定できます。[https://www.openssl.org/docs/faq.html FAQ] を参照。 |
|- |
|- |
||
| {{Pkg|parallel}} |
| {{Pkg|parallel}} |
||
1,527行目: | 1,584行目: | ||
| [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,533行目: | 1,590行目: | ||
| |
| |
||
| |
| |
||
− | | {{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,567行目: | 1,616行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export AZURE_CONFIG_DIR=$XDG_DATA_HOME/azure}} |
|- |
|- |
||
| {{AUR|python-grip}} |
| {{AUR|python-grip}} |
||
1,573行目: | 1,622行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export GRIPHOME="$XDG_CONFIG_HOME/grip"}} |
|- |
|- |
||
| {{Pkg|python-setuptools}} |
| {{Pkg|python-setuptools}} |
||
1,579行目: | 1,628行目: | ||
| |
| |
||
| |
| |
||
− | | {{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,604行目: | 1,646行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc}} |
|- |
|- |
||
+ | | {{Pkg|recoll}} |
||
− | | [http://utopia.knoware.nl/~hlub/uck/rlwrap/ rlwrap] |
||
+ | | {{ic|~/.recoll}} |
||
+ | | |
||
+ | | |
||
+ | | {{ic|1=export RECOLL_CONFDIR="$XDG_CONFIG_HOME/recoll"}} |
||
+ | |- |
||
+ | | [[redis]] |
||
+ | | {{ic|~/.rediscli_history}}, {{ic|~/.redisclirc}} |
||
+ | | |
||
+ | | |
||
+ | |{{ic|1=export REDISCLI_HISTFILE="$XDG_DATA_HOME"/redis/rediscli_history}}, {{ic|1=export REDISCLI_RCFILE="$XDG_CONFIG_HOME"/redis/redisclirc}} |
||
+ | |- |
||
+ | | {{Pkg|rlwrap}} |
||
| {{ic|~/.*_history}} |
| {{ic|~/.*_history}} |
||
| |
| |
||
| [https://github.com/hanslub42/rlwrap/issues/25] |
| [https://github.com/hanslub42/rlwrap/issues/25] |
||
− | | {{ic|1= |
+ | | {{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] |
||
+ | | Will use {{ic|$XDG_CONFIG_HOME/simplescreenrecorder/}} ONLY if it already was created otherwise defaults to {{ic|~/.ssr}} |
||
+ | |||
+ | {{ic|1=mv ~/.ssr "$XDG_CONFIG_HOME"/simplescreenrecorder}} |
||
+ | |- |
||
+ | | [https://spacemacs.org/ spacemacs]{{Dead link|2021|05|17|status=SSL error}} |
||
+ | | {{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,699行目: | 1,765行目: | ||
| |
| |
||
| |
| |
||
− | | {{ic|1= |
+ | | {{ic|1=export UNISON="$XDG_DATA_HOME"/unison}} |
+ | |- |
||
+ | | {{Pkg|units}} |
||
+ | | {{ic|~/.units_history}} |
||
+ | | |
||
+ | | |
||
+ | | {{ic|1=units --history "$XDG_CACHE_HOME"/units_history}} |
||
|- |
|- |
||
| [[Rxvt-unicode/ヒントとテクニック#デーモンクライアント|urxvtd]] |
| [[Rxvt-unicode/ヒントとテクニック#デーモンクライアント|urxvtd]] |
||
1,705行目: | 1,777行目: | ||
| |
| |
||
| |
| |
||
− | | {{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,759行目: | 1,820行目: | ||
| [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,766行目: | 1,826行目: | ||
| |
| |
||
| |
| |
||
− | | {{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|1=xrdb -load ~/.config/X11/xresources}} のようにパスを指定して {{ic|xrdb}} でリソースがロードされるように {{ic|Xresources}} を [https://superuser.com/questions/243914/xresources-or-xdefaults 使用] することができます。 |
||
+ | |- |
||
+ | | [[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"'}} |
||
+ | |- |
||
|} |
|} |
||
2021年9月12日 (日) 22:00時点における版
関連記事
この記事は、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 でマウントされることもあるので巨大なファイルは保存できません。
システムディレクトリ
XDG_DATA_DIRS
:
でディレクトリを区切ります (PATH
と類似)。- デフォルトは
/usr/local/share:/usr/share
です。
XDG_CONFIG_DIRS
:
でディレクトリを区切ります (PATH
と類似)。- デフォルトは
/etc/xdg
です。
サポート
This section exists to catalog the growing set of software using the 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 や VIMINIT
など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。また、Haskell の cabal や Eclipse など難しい方法もハードコードとして扱います。
- 1番目のカラムはプロジェクト名です。できればコマンド名にしてください。ソフトウェアのウェブサイトか適切な wiki の記事にリンクさせます。
- 2番目のカラムはプロジェクトが使用するレガシーなファイルやディレクトリです。もはや読み込まれない場合でも確認できるように記述してください。
- 3番目のカラムは XDG Base Directory に切り替わったプロジェクトのコミットあるいはバージョンです。4番目のカラムにはその議論がある場合にリンクを載せてください。
- 最後のカラムにはサポートしていないプロジェクトのための適切な対処方法を記載します。簡潔に書いてください。曖昧な部分がある場合は自由に追記してください。
サポートしているソフトウェア
アプリケーション | 旧パス | 対応開始 | 議論 | ノート |
---|---|---|---|---|
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 | |
antimicroAUR[リンク切れ: package not found] | ~/.antimicro
|
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 If the legacy path |
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 | ||
newsbeuter | ~/.newsbeuter
|
3c57824 | [48] | 両方のディレクトリを作成する必要があります [49]:
|
node-gyp | ~/.node-gyp
|
2b5ce52a | [50] | Only available on master as of 2018-12-04. |
np2kai-gitAUR | ~/.config/np2kai ~/.config/xnp2kai
|
56a1cc2 | [51] | |
nteract-binAUR | 4593e72 | [52] [53] | does not recognize workarounds for ipython/jupyter | |
OfflineIMAP | ~/.offlineimaprc
|
5150de5 | [54] | |
opentyrianAUR | ~/.opentyrian
|
39559c3 | [55] | |
pandoc | ~/.pandoc/
|
0bed0ab | [56] | |
PCManFM | ~/.thumbnails
|
1.3.2 | ||
pcsx2 | ~/.pcsx2
|
[57] [58] | ||
Pry | ~/.pryrc ~/.pry_history
|
[59] | ||
python-pip | ~/.pip
|
6.0 | [60] | |
powershellAUR | 6.0 | |||
ppsspp | ~/.ppsspp
|
132fe47 | [61] | |
procps-ng | ~/.toprc
|
af53e17 | ||
pacman | ~/.makepkg.conf
|
80eca94 | [64] | |
panda3dAUR | ~/.panda3d
|
2b537d2 | ||
poezioAUR | ||||
PulseAudio | ~/.pulse ~/.pulse-cookie
|
[65] | ||
pyroomAUR | ||||
quodlibet | ~/.quodlibet
|
3.10.0 | [66] | |
qutebrowser | ||||
qtile | [67] | 非準拠のパスにファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。 | ||
rclone | ~/.rclone.conf
|
9d36258 | [68] | |
retroarch | ||||
rrAUR | ~/.rr
|
02e7d41 | [69] | |
RSpec | ~/.rspec
|
5e395e2 | [70] | |
rTorrent | ~/.rtorrent.rc
|
6a8d332 | ||
RuboCop | ~/.rubocop.yml
|
6fe5956 | [71] | |
scummvm | ~/.scummvmrc ~/.scummvm/
|
7d014be | [72] | It is required to migrate data by hand.
|
sdcv | ~/.stardict/ ~/.sdcv_history
|
958ec35 | [73] | |
skypeforlinux-stable-binAUR | ~/.Skype
|
8.0 | ||
snes9x | ~/.snes9x
|
93b5f11 | [74] | デフォルトでは、設定ファイルはユーザーが自分で(GUIや手動で)入力することを意図して空になっています。 |
spectrwm | ~/.spectrwm
|
a30bbb | [75] | |
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 | [76] | |
systemd | ||||
teeworlds | ~/.teeworlds
|
[77] | ||
termite | ||||
tig | ~/.tigrc , ~/.tig_history
|
2.2 | [78] | ~/.local/share/tig ディレクトリが存在しなければならず、そうでなければ~/.tig_history に書き込まれます。
|
tmux | ~/.tmux.conf
|
3.1 | [79] | 3.1 で ~/.config/tmux/tmux.conf が導入され、3.2 では XDG_CONFIG_HOME/tmux/tmux.conf が追加されました。
|
tmuxp | ~/.tmuxp
|
1.5.0 | [80] | Fixed in 1.5.2 |
tmuxinatorAUR | ~/.tmuxinator
|
2636923 | [81] | |
Transmission | ~/.transmission
|
b71a298 | ||
util-linux | 570b321 | |||
Uzbl | c6fd63a | [82] | ||
vimb | ||||
VirtualBox | ~/.VirtualBox
|
4.3 | [83] | |
vis | ~/.vis
|
[84] | ||
VLC | ~/.vlcrc
|
16f32e1 | [85] | |
warsow | ~/.warsow-2.x
|
98ece3f | [86] | |
WeeChat | ~/.weechat
|
[87] | [88] [89] |
XDG_CONFIG_HOME/weechat XDG_CACHE_HOME/weechat XDG_DATA_HOME/weechat |
Wireshark | ~/.wireshark
|
b0b53fa | ||
Xsettingsd | ~/.xsettingsd
|
b4999f5 | ||
xmobar | ~/.xmobarrc
|
7b0d6bf | [90] | 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 | [96] |
部分的にサポートしているソフトウェア
アプリケーション | 旧パス | 対応開始 | 議論 | ノート |
---|---|---|---|---|
abookAUR | ~/.abook
|
abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook
| ||
anacondaAUR | ~/.conda/.condarc , ~/.conda/condarc , ~/.conda/condarc.d/ , ~/.condarc
|
[97] | export CONDARC="$XDG_CONFIG_HOME/conda/condarc"
| |
ack | ~/.ackrc
|
[98] | export ACKRC="$XDG_CONFIG_HOME/ack/ackrc"
| |
Anki | ~/Anki , ~/Documents/Anki
|
[99] [100] | anki -b "$XDG_DATA_HOME"/Anki
| |
aspell | ~/.aspell.conf
|
[101] | 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
|
[102] | export ATOM_HOME="$XDG_DATA_HOME"/atom
| |
aws-cli | ~/.aws
|
1.7.45 | [103] | 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 | [104] | 上流のバグレポートでは bazaar が ~/.config/bazaar を使うようにする議論があります。ただしログファイルは ~/.bzr.log に書き込まれます。
|
btpd-gitAUR | ~/.btpd/
|
[105] | btpd -d "$XDG_DATA_HOME"/.btpd
| |
buchhaltung-gitAUR | ~/.buchhaltung
|
[106] | export BUCHHALTUNG="$XDG_CONFIG_HOME"/buchhaltung
| |
Ruby#Bundler | ~/.bundle
|
2.1.0 | [107] [108] [109] |
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/
|
[110] |
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
|
[111] [112] [113] [114] | export CARGO_HOME="$XDG_DATA_HOME"/cargo
| |
chez-schemeAUR | ~/.chezscheme_history
|
petite --eehistory "$XDG_DATA_HOME"/chezscheme/history
| ||
Chromium | ~/.chromium , ~/.pki
|
23057 | ||
cinelerra | ~/.bcast5
|
[118] | export CIN_CONFIG="$XDG_CONFIG_HOME"/bcast5
| |
conky | ~/.conkyrc
|
00481ee | [119] | conky --config="$XDG_CONFIG_HOME"/conky/conkyrc
|
claws-mail | ~/.claws-mail
|
[120] | 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
|
[121] | 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 | [122] [123] | 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
|
[124] | ||
emscripten | ~/.emscripten , ~/.emscripten_sanity , ~/.emscripten_ports , ~/.emscripten_cache__last_clear
|
[125] | 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
|
[126] | 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
|
[127] | ||
GnuPG | ~/.gnupg
|
[128] [129] | 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
|
[130] | 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
|
[131] | 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
|
[132] | 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
|
[133] | irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi
| |
isync | ~/.mbsyncrc
|
[134] | mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc
| |
Java#OpenJDK | ~/.java/.userPrefs
|
[135] | export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
| |
k9s | ~/.k9s
|
0.20.4 | [136] | export K9SCONFIG="$XDG_CONFIG_HOME"/k9s
|
KDE | ~/.kde , ~/.kde4
|
[137] | export KDEHOME="$XDG_CONFIG_HOME"/kde
| |
keychain | ~/.keychain
|
[138] | [139] | keychain --absolute --dir "$XDG_RUNTIME_DIR"/keychain
|
kscriptAUR | ~/.kscript
|
[140] | export KSCRIPT_CACHE_DIR="$XDG_CACHE_HOME"/kscript
| |
ledger | ~/.ledgerrc , ~/.pricedb
|
[141] | 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
|
[142] | export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
| |
libice | ~/.ICEauthority
|
[143] | 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
|
[144] | /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
|
[145] | 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
|
[146] | 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
|
[148] | netbeans --userdir "${XDG_CONFIG_HOME}"/netbeans
| |
Node.js | ~/.node_repl_history
|
export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history [149]
| ||
notmuch | ~/.notmuch-config
|
[150] | export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc , export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
| |
npm | ~/.npm , ~/.npmrc
|
[151] | 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
|
[152] | 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 .
| ||
nuget | ~/.nuget/packages
|
[153] | 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 | [154] | XDG Base Directory Specification に完全には準拠していません。[155] を参照。
現在 |
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
|
[156] | pidgin --config="$XDG_DATA_HOME"/purple
| |
PostgreSQL | ~/.psqlrc , ~/.psql_history , ~/.pgpass , ~/.pg_service.conf
|
9.2 | [157] [158] | 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
|
[159] | 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
|
[160] | 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
|
[161] | export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
| |
sbt | ~/.sbt
|
[162] | sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt (beware [163])
| |
SageMath | ~/.sage
|
export DOT_SAGE="$XDG_CONFIG_HOME"/sage
| ||
GNU Screen | ~/.screenrc
|
export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
| ||
simplescreenrecorder | ~/.ssr/
|
0.4.3 | [164] | Will use $XDG_CONFIG_HOME/simplescreenrecorder/ ONLY if it already was created otherwise defaults to ~/.ssr
|
spacemacs[リンク切れ 2021-05-17] | ~/.spacemacs , ~/.spacemacs.d
|
[166] | [167] | Move the ~/.spacemacs file.
Other files need to be configured like Emacs. |
Haskell#Stack | ~/.stack
|
[168] | export STACK_ROOT="$XDG_DATA_HOME"/stack
| |
subversion | ~/.subversion
|
[169] [170][171] | svn --config-dir "$XDG_CONFIG_HOME"/subversion
| |
sudo | ~/.sudo_as_admin_successful
|
1.9.6 | [172] [173] | 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
|
[174] | 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/
|
[175] | 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
|
[176] | 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 [177] SLiM has | ||
xinit | ~/.xinitrc , ~/.xserverrc
|
[178] | export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc , export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc
上記の変数は xinit には反映されますが、startx には反映されません。代わりに引数としてファイル名を指定してください:
| |
xorg-xrdb | ~/.Xresources , ~/.Xdefaults
|
xrdb -load ~/.config/X11/xresources のようにパスを指定して xrdb でリソースがロードされるように 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
|
[179] | export _Z_DATA="$XDG_DATA_HOME/z"
| |
yarn | ~/.yarnrc , ~/.yarn/ , ~/.yarncache/ , ~/.yarn-config/
|
2d454b5 | [180] [181] | alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'
|
ハードコードされているソフトウェア
アプリケーション | 旧パス | 議論 | ノート | |
---|---|---|---|---|
adb | ~/.android
|
[182] |
| |
Ansible | ~/.ansible
|
[183] | ||
AMule | ~/.aMule
|
|||
Android Studio |
|
|||
anthy | ~/.anthy
|
[184] | ||
Apache Directory Studio | ~/.ApacheDirectoryStudio
|
|||
ARandR | ~/.screenlayout
|
|||
Arduino |
|
won't fix | [185] | |
Audacity | ~/.audacity-data
|
[186] | ||
Avidemux | ~/.avidemux6
|
|||
bash |
|
[187] |
| |
cabal | ~/.cabal
|
[188] | 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。 | |
chattyAUR | ~/.chatty/
|
[189] | ||
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/
|
[190] | ||
cryptomatorAUR | ~/.Cryptomator
|
[191] | ||
CUPS | ~/.cups
|
[192] | ||
darcs | ~/.darcs
|
[193] | ||
dbus | ~/.dbus
|
[194] | kdbus を使うことで回避できます。 | |
Dia | ~/.dia
|
|||
devede | ~/.devedeng
|
Hardcoded here | ||
Dia | ~/.dia/
|
|||
dotnet-sdk | ~/.dotnet/
|
[195] | ||
eclipse | ~/.eclipse
|
[196] | -Dosgi.configuration.area=@user.home/.config/.. オプションで上書きできますがコマンドラインで指定するのではなく "$ECLIPSE_HOME"/eclipse.ini" に追加する必要があり $ECLIPSE_HOME の書き込み権限が要ります (Arch Linux では $ECLIPSE_HOME が /usr/bin/eclipse に決め打ちされています)。
| |
Fetchmail | ~/.fetchmailrc
|
|||
firefox | ~/.mozilla
|
[197] | ||
Flatpak | ~/.var/
|
[198] [199] won't fix | ||
fltk | ~/.fltk/
|
[200] | ||
gftp | ~/.gftp/
|
|||
GHC | ~/.ghc
|
[201] | ||
ghidra | [202] | |||
GoldenDict | ~/.goldendict/
|
[203] | ||
gramps | ~/.gramps/
|
[204] | ||
grsync | ~/.grsync/
|
[205] | ||
gtk-recordMyDesktop | ~/.gtk-recordmydesktop
|
|||
kiteAUR | ~/.kite/
|
[206] | ||
hplip | ~/.hplip/
|
[207] | ||
idris | ~/.idris
|
[208] | ||
Java OpenJDK | ~/.java/fonts
|
[209] (RedHat) | $ export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
| |
Java OpenJFX | ~/.java/webview
|
|||
julia |
|
[210] [211] | ||
Linux PAM | ~/.pam_environment
|
[212] | ハードコード: modules/pam_env/pam_env.c。 | |
lldb |
|
|||
mathomatic |
|
rlwrap mathomatic -r を使って RLWRAP_HOME 変数を適切に設定することで履歴を移動できます。
| ||
Minecraft | ~/.minecraft/
|
[213] | ||
Minetest | ~/.minetest/
|
won't fix [214] | ||
minicom | ~/.minirc.dfl
|
アップストリームでは、~/.config/minicom 以下の設定ファイルをサポートするためのTODOエントリがあります。[215]
| ||
mongodb |
|
[216] | Stack Overflow のスレッド ではコマンドラインスイッチの --norc を使うことを提案しています。
| |
Nestopia UE | ~/.nestopia/
|
won't fix | ||
~/.netrc
|
~/.ssh などの多数のプログラムが使っています。curl (CURLOPT_NETRC_FILE ), ftp (NETRC ), s-nail (NETRC ) なども使用しています。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。
| |||
Networkmanager-openvpn | ~/.cert/nm-openvpn
|
[217] | ||
NSS | ~/.pki
|
[218] | ||
OpenSSH | ~/.ssh
|
[219] | DropBear や OpenSSH など多数の ssh デーモンやクライアントが使用します。 | |
palemoon | ~/.moonchild productions
|
[220] | ||
parsec-binAUR | ~/.parsec
|
|||
PCManFM | ~/.thumbnails
|
[221] | ||
pcsxrAUR | ~/.pcsxr
|
A -cfg flag exists, but can only be set relative to ~/.pcsxr .
| ||
perf | ~/.debug
|
tools/perf/util/config.c:29 でハードコードされています。 | ||
~/.profile
|
様々なシェルやディスプレイマネージャが使用しています。 | |||
python | ~/.python_history
|
バージョン 3.4 からインタラクティブセッションの履歴は全てデフォルトで ~/.python_history に保存されますが、古いバージョンと同じ方法でカスタムパスを設定できます ([222] を参照)。
| ||
python-poetry | ~/.poetry
|
[223] | POETRY_HOME can be used but it does not separate data and config.
| |
Qt Designer | ~/.designer
|
|||
RedNotebook | ~/.rednotebook
|
|||
Remarkable | ~/.remarkable
|
|||
renderdocAUR | ~/.renderdoc
|
won't fix | ||
Ren'Py | ~/.renpy
|
[224] | ||
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
|
[225] | ||
simplescreenrecorder | ~/.ssr/
|
[226] | 既に作成されている場合に限り$XDG_CONFIG_HOME/simplescreenrecorder/ を使用します。[227] (まだリリースされていません)
| |
Solfege |
|
[228] | ||
SpamAssassin | ~/.spamassassin
|
|||
SQLite |
|
[229][230] |
| |
Steam |
|
[231] | 大抵のゲームエンジン (Unity 3D, Unreal) は仕様に準拠していますが、一部のゲームパブリッシャはパスを Steam Auto-Cloud にハードコードしているため、ゲームのセーブデータが間違ったディレクトリで同期されることがあります。 | |
TeamSpeak | ~/.ts3client
|
$ export TS3_CONFIG_DIR="$XDG_CONFIG_HOME/ts3client"
| ||
texinfo | ~/.infokey
|
$ info --init-file "$XDG_CONFIG_HOME/infokey"
| ||
TeXmacs | ~/.TeXmacs
|
|||
Thunderbird | ~/.thunderbird
|
[232] | ||
tllocalmgr | ~/.texlive
|
|||
valeAUR | ~/.vale.ini
|
won't fix | $ vale --config "$XDG_CONFIG_HOME/vale/config.ini"
| |
vim |
|
7.3.1178 から vim は ~/.vimrc が存在しない場合に ~/.vim/vimrc を検索します。
"$XDG_CONFIG_HOME"/vim/vimrc set undodir=$XDG_DATA_HOME/vim/undo set directory=$XDG_DATA_HOME/vim/swap set backupdir=$XDG_DATA_HOME/vim/backup set viewdir=$XDG_DATA_HOME/vim/view set viminfo+='1000,n$XDG_DATA_HOME/vim/viminfo set runtimepath=$XDG_CONFIG_HOME/vim,$VIMRUNTIME,$XDG_CONFIG_HOME/vim/after ~/.profile export VIMINIT=":source $XDG_CONFIG_HOME"/vim/vimrc | ||
vimperator | ~/.vimperatorrc
|
[233] |
| |
w3m | ~/.w3m
|
[234] | ||
wpa_cli | ~/.wpa_cli_history
|
|||
xdg-utils | ~/.gnome
|
[235] | 何らかの理由で xdg-desktop-menu スクリプトは gnome_user_dir="$HOME/.gnome/apps" をハードコードしており、chromium などによって使われています。
| |
xombrero | ~/.xombrero
|
[236] | ||
xournalpp | ~/.xournalpp
|
[237] | ||
xpdf | ~/.xpdfrc
|
|||
YARD | ~/.yard
|
[238] | 誰か実装したい人がいれば、プルリクエストを受け付けます。 | |
zenmap (nmap) | ~/.zenmap
|
[239] [240] | ||
zoomAUR | ~/.zoom
|
|||
zoteroAUR | ~/.zotero ~/Zotero
|
[241] | ||
zsh |
|
[242] | ~/.zshenv で ZDOTDIR=$HOME/.config/zsh を export してください (ブートストラップ問題のためにハードコードされています)。/etc/zsh/zshenv にも追加することで HOME にドットファイルが必要なくなります。ただし root 権限が必要で設定はシステム全体に適用されます。
|
ライブラリと言語のサポート
- C++
- xdg-utils-cxx
- Go
- go-appdir
- JVM (Java, Kotlin, Clojure, Scala)
- directories-jvm
- Haskell
- 1.2.3.0 から directory で公式に対応 ab9d0810ce。
- xdg-basedir
- Vala
- GLib.Environment によるサポート。
get_user_cache_dir
,get_user_data_dir
,get_user_config_dir
などを参照。