「XDG Base Directory」の版間の差分
Kusakata.bot (トーク | 投稿記録) 細 (文字列「Tips_and_tricks」を「ヒントとテクニック」に置換) |
(同期) |
||
| 72行目: | 72行目: | ||
! 議論 |
! 議論 |
||
! ノート |
! ノート |
||
| + | |- |
||
| + | | [https://github.com/SirCmpwn/aerc aerc] |
||
| + | | |
||
| + | | |
||
| + | | |
||
| + | | |
||
|- |
|- |
||
| [https://github.com/Antimicro/antimicro/ antimicro] |
| [https://github.com/Antimicro/antimicro/ antimicro] |
||
| 107行目: | 113行目: | ||
| [https://github.com/citra-emu/citra/commit/f7c3193fec f7c3193fec] |
| [https://github.com/citra-emu/citra/commit/f7c3193fec f7c3193fec] |
||
| [https://github.com/citra-emu/citra/pull/575] |
| [https://github.com/citra-emu/citra/pull/575] |
||
| + | | |
||
| + | |- |
||
| + | | [[PHP#Composer|composer]] |
||
| + | | {{ic|~/.composer}} |
||
| + | | [https://github.com/composer/composer/releases/tag/1.0.0-beta1 1.0.0-beta1] |
||
| + | | [https://github.com/composer/composer/pull/1407] |
||
| |
| |
||
|- |
|- |
||
| 179行目: | 191行目: | ||
| [https://git.gnome.org/browse/gconf/commit/?id=fc28caa7 fc28caa7] |
| [https://git.gnome.org/browse/gconf/commit/?id=fc28caa7 fc28caa7] |
||
| [https://bugzilla.gnome.org/show_bug.cgi?id=674803] |
| [https://bugzilla.gnome.org/show_bug.cgi?id=674803] |
||
| + | | |
||
| + | |- |
||
| + | | [[GIMP]] |
||
| + | | {{ic|~/.gimp-x.y}} |
||
| + | {{ic|~/.thumbnails}} |
||
| + | | [https://git.gnome.org/browse/gimp/commit/?id=60e0cfe 60e0cfe] [https://git.gnome.org/browse/gimp/commit/?id=483505f 483505f] |
||
| + | | [https://bugzilla.gnome.org/show_bug.cgi?id=166643] [https://bugzilla.gnome.org/show_bug.cgi?id=646644] |
||
| |
| |
||
|- |
|- |
||
| 187行目: | 206行目: | ||
| |
| |
||
|- |
|- |
||
| − | | [[GStreamer|gstreamer |
+ | | [[GStreamer|gstreamer]] |
| + | | {{ic|~/.gstreamer-0.10}} |
||
| − | | |
||
| [http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=4e36f93924cf 4e36f93924cf] |
| [http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=4e36f93924cf 4e36f93924cf] |
||
| [https://bugzilla.gnome.org/show_bug.cgi?id=518597] |
| [https://bugzilla.gnome.org/show_bug.cgi?id=518597] |
||
| 270行目: | 289行目: | ||
| [https://www.midnight-commander.org/ticket/1851] |
| [https://www.midnight-commander.org/ticket/1851] |
||
| |
| |
||
| + | |- |
||
| + | | [[Mercurial]] |
||
| + | | {{ic|~/.hgrc}} |
||
| + | | [https://www.mercurial-scm.org/repo/hg/rev/354020079723 354020079723] [https://www.mercurial-scm.org/wiki/Release4.2 4.2] |
||
| + | | |
||
| + | | {{ic|XDG_CONFIG_HOME/hg/hgrc}}. |
||
| + | |- |
||
| + | | [https://www.mesa3d.org/ mesa] |
||
| + | | |
||
| + | | [https://cgit.freedesktop.org/mesa/mesa/commit/?id=87ab26b2ab35a29d446ae66f1795d40c184c0739 87ab26b2ab] |
||
| + | | |
||
| + | | {{ic|XDG_CACHE_HOME/mesa}} |
||
|- |
|- |
||
| [http://milkytracker.org/ milkytracker] |
| [http://milkytracker.org/ milkytracker] |
||
| 340行目: | 371行目: | ||
| [https://github.com/PCSX2/pcsx2/commit/87f1e8f77 87f1e8f77] [https://github.com/PCSX2/pcsx2/commit/a9020c606 a9020c606] [https://github.com/PCSX2/pcsx2/commit/3b22f0fb0 3b22f0fb0] [https://github.com/PCSX2/pcsx2/commit/0a012aec2 0a012aec2] |
| [https://github.com/PCSX2/pcsx2/commit/87f1e8f77 87f1e8f77] [https://github.com/PCSX2/pcsx2/commit/a9020c606 a9020c606] [https://github.com/PCSX2/pcsx2/commit/3b22f0fb0 3b22f0fb0] [https://github.com/PCSX2/pcsx2/commit/0a012aec2 0a012aec2] |
||
| [https://github.com/PCSX2/pcsx2/issues/352] [https://github.com/PCSX2/pcsx2/issues/381] |
| [https://github.com/PCSX2/pcsx2/issues/352] [https://github.com/PCSX2/pcsx2/issues/381] |
||
| + | | |
||
| + | |- |
||
| + | | [[pip]] |
||
| + | | {{ic|~/.pip}} |
||
| + | | [https://github.com/pypa/pip/blob/548a9136525815dff41acd845c558a0b36eb1c5f/NEWS.rst#60-2014-12-22 6.0] |
||
| + | | [https://github.com/pypa/pip/issues/1733] |
||
| |
| |
||
|- |
|- |
||
| 364行目: | 401行目: | ||
| [https://projects.archlinux.org/pacman.git/commit/?id=80eca94c8 80eca94c8] |
| [https://projects.archlinux.org/pacman.git/commit/?id=80eca94c8 80eca94c8] |
||
| [https://mailman.archlinux.org/pipermail/pacman-dev/2014-July/019178.html] |
| [https://mailman.archlinux.org/pipermail/pacman-dev/2014-July/019178.html] |
||
| + | | |
||
| + | |- |
||
| + | | [https://github.com/panda3d/panda3d Panda3D] |
||
| + | | {{ic|~/.panda3d}} |
||
| + | | [https://github.com/panda3d/panda3d/commit/2b537d2 2b537d2] |
||
| + | | |
||
| |
| |
||
|- |
|- |
||
| 389行目: | 432行目: | ||
| [https://github.com/qtile/qtile/pull/835] |
| [https://github.com/qtile/qtile/pull/835] |
||
| 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。 |
| 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。 |
||
| + | |- |
||
| + | | {{Pkg|rclone}} |
||
| + | | {{ic|~/.rclone.conf}} |
||
| + | | [https://github.com/ncw/rclone/commit/9d362589 9d362589] |
||
| + | | [https://github.com/ncw/rclone/issues/868] |
||
| + | | |
||
|- |
|- |
||
| [[RetroArch|retroarch]] |
| [[RetroArch|retroarch]] |
||
| 401行目: | 450行目: | ||
| [https://github.com/mozilla/rr/issues/1455] |
| [https://github.com/mozilla/rr/issues/1455] |
||
| |
| |
||
| + | |- |
||
| + | | [http://www.snes9x.com/ Snes9x] |
||
| + | | {{ic|~/.snes9x}} |
||
| + | | [https://github.com/snes9xgit/snes9x/commit/93b5f11641fa22d4518f251d6e3db99219864677 19864677] |
||
| + | | [https://github.com/snes9xgit/snes9x/issues/194] |
||
| + | | デフォルトの設定は空です。ROM を起動する前にユーザーが GUI や手動で設定するようになっています。 |
||
|- |
|- |
||
| {{AUR|sublime-text-dev}} |
| {{AUR|sublime-text-dev}} |
||
| 430行目: | 485行目: | ||
| |
| |
||
| |
| |
||
| + | | |
||
| + | |- |
||
| + | | [https://github.com/tmuxinator/tmuxinator tmuxinator] |
||
| + | | {{ic|~/.tmuxinator}} |
||
| + | | [https://github.com/tmuxinator/tmuxinator/pull/511/commits/263692349f1142c0edcacfbefae541cbc0e7b44e 2636923] |
||
| + | | [https://github.com/tmuxinator/tmuxinator/pull/511] |
||
| |
| |
||
|- |
|- |
||
| 460行目: | 521行目: | ||
| [https://www.virtualbox.org/ticket/5099?action=diff&version=7 4.3] |
| [https://www.virtualbox.org/ticket/5099?action=diff&version=7 4.3] |
||
| [https://www.virtualbox.org/ticket/5099] |
| [https://www.virtualbox.org/ticket/5099] |
||
| + | | |
||
| + | |- |
||
| + | | [http://martanne.github.io/vis/ vis] |
||
| + | | {{ic|~/.vis}} |
||
| + | | [https://github.com/martanne/vis/pull/303] |
||
| + | | [https://github.com/martanne/vis/commit/68a25c751c0219ef5df589a19513e46a08965d5a 68a25c75] |
||
| + | [https://github.com/martanne/vis/commit/d138908cf8149eb10120957271cd6979272b4730 d138908c] |
||
| |
| |
||
|- |
|- |
||
| 491行目: | 559行目: | ||
| [https://github.com/xmonad/xmonad/issues/61] [https://code.google.com/p/xmonad/issues/detail?id=484] |
| [https://github.com/xmonad/xmonad/issues/61] [https://code.google.com/p/xmonad/issues/detail?id=484] |
||
| {{ic|XMONAD_CONFIG_HOME}}, {{ic|XMONAD_DATA_HOME}}, {{ic|XMONAD_CACHE_HOME}} 環境変数が使えます。 |
| {{ic|XMONAD_CONFIG_HOME}}, {{ic|XMONAD_DATA_HOME}}, {{ic|XMONAD_CACHE_HOME}} 環境変数が使えます。 |
||
| + | |- |
||
| + | | [http://www.vergenet.net/~conrad/software/xsel/ xsel] |
||
| + | | {{ic|~/.xsel.log}} |
||
| + | | [https://github.com/kfish/xsel/commit/ee7b48111be2e2117b201962e9d1c0e1f9804ed4 ee7b4811] |
||
| + | | [https://github.com/kfish/xsel/issues/10] |
||
| + | | |
||
|} |
|} |
||
| 522行目: | 596行目: | ||
| {{ic|~/.atom}} |
| {{ic|~/.atom}} |
||
| |
| |
||
| + | | [https://github.com/atom/atom/issues/8281] |
||
| − | | |
||
| {{ic|1=$ export ATOM_HOME="$XDG_DATA_HOME"/atom}} |
| {{ic|1=$ export ATOM_HOME="$XDG_DATA_HOME"/atom}} |
||
|- |
|- |
||
| 528行目: | 602行目: | ||
| {{ic|~/.cargo}} |
| {{ic|~/.cargo}} |
||
| |
| |
||
| − | | [https://github.com/rust-lang/cargo/pull/148] [https://github.com/rust-lang/cargo/issues/1734] |
+ | | [https://github.com/rust-lang/cargo/pull/148] [https://github.com/rust-lang/cargo/issues/1734] [https://github.com/rust-lang/rfcs/pull/1615] |
| {{ic|1=$ export CARGO_HOME="$XDG_DATA_HOME"/cargo}} |
| {{ic|1=$ export CARGO_HOME="$XDG_DATA_HOME"/cargo}} |
||
|- |
|- |
||
| 542行目: | 616行目: | ||
| |
| |
||
| {{ic|1=$ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history}} |
| {{ic|1=$ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history}} |
||
| − | |- |
||
| − | | [[PHP#Composer|composer]] |
||
| − | | {{ic|~/.composer}} |
||
| − | | |
||
| − | | |
||
| − | | {{ic|1=$ export COMPOSER_HOME="$XDG_CONFIG_HOME"/composer |
||
| − | $ export COMPOSER_CACHE_DIR="$XDG_CACHE_HOME"/composer}} |
||
|- |
|- |
||
| [[conky]] |
| [[conky]] |
||
| 600行目: | 667行目: | ||
| |
| |
||
| {{ic|1=$ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer}} |
| {{ic|1=$ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer}} |
||
| − | |- |
||
| − | | [[GIMP]] |
||
| − | | {{ic|~/.gimp-2.8}} {{ic|~/.thumbnails}} |
||
| − | | [https://git.gnome.org/browse/gimp/commit/?id=60e0cfe 60e0cfe] |
||
| − | | [https://bugzilla.gnome.org/show_bug.cgi?id=166643] [https://mail.gnome.org/archives/gimp-developer-list/2012-October/msg00028.html] |
||
| − | | {{ic|1=$ export GIMP2_DIRECTORY="$XDG_CONFIG_HOME"/gimp}} |
||
|- |
|- |
||
| [http://guichaz.free.fr/gliv/ gliv] |
| [http://guichaz.free.fr/gliv/ gliv] |
||
| 700行目: | 761行目: | ||
| |
| |
||
| [https://bugs.freedesktop.org/show_bug.cgi?id=49173] |
| [https://bugs.freedesktop.org/show_bug.cgi?id=49173] |
||
| − | | {{ic|1=$ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/ |
+ | | {{ic|1=$ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/ICEauthority}} |
| + | パーミッションには注意してください。例えば {{pkg|gdm}} からユーザーの {{ic|ICEauthority}} ファイルにアクセスする必要があります。 |
||
|- |
|- |
||
| [[Xorg|libx11]] |
| [[Xorg|libx11]] |
||
| 713行目: | 775行目: | ||
| |
| |
||
| {{ic|$ ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf}} |
| {{ic|$ ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf}} |
||
| + | |- |
||
| + | | {{pkg|maven}} |
||
| + | | {{ic|~/.m2}} |
||
| + | | |
||
| + | | |
||
| + | | {{ic|1=$ mvn -gs "$XDG_CONFIG_HOME"/maven/settings.xml}} |
||
| + | {{hc|[http://maven.apache.org/settings.html settings.xml]|<nowiki><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" |
||
| + | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
| + | xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 |
||
| + | https://maven.apache.org/xsd/settings-1.0.0.xsd"> |
||
| + | ... |
||
| + | <localRepository>${env.XDG_CACHE_HOME}/maven/repository</localRepository> |
||
| + | ... |
||
| + | </settings></nowiki>}} |
||
|- |
|- |
||
| [[Mathematica]] |
| [[Mathematica]] |
||
| 738行目: | 814行目: | ||
| |
| |
||
| {{ic|1=$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}} |
| {{ic|1=$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer}} |
||
| + | |- |
||
| + | | [[msmtp]] |
||
| + | | {{ic|~/.msmtprc}} |
||
| + | | |
||
| + | | |
||
| + | | {{ic|1=$ msmtp -C "$XDG_CONFIG_HOME"/msmtp/msmtprc}} |
||
|- |
|- |
||
| {{pkg|ncurses}} |
| {{pkg|ncurses}} |
||
| 745行目: | 827行目: | ||
| {{ic|1=$ export TERMINFO="$XDG_DATA_HOME"/terminfo # Precludes system path searching.}} |
| {{ic|1=$ export TERMINFO="$XDG_DATA_HOME"/terminfo # Precludes system path searching.}} |
||
{{ic|1=$ export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo}} |
{{ic|1=$ export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo}} |
||
| + | |- |
||
| + | | [http://www.musicpd.org/clients/ncmpc/ ncmpc] |
||
| + | | {{ic|~/.ncmpc}} |
||
| + | | |
||
| + | | |
||
| + | | {{ic|ncmpc -f "$XDG_CONFIG_HOME"/ncmpc/config}} |
||
| + | |- |
||
| + | | [[Netbeans]] |
||
| + | | {{ic|~/.netbeans}} |
||
| + | | |
||
| + | | [https://netbeans.org/bugzilla/show_bug.cgi?id=215961] |
||
| + | | {{ic|1=$ netbeans --userdir "${XDG_CONFIG_HOME}"/netbeans}} |
||
| + | |- |
||
| + | | [[Node.js]] |
||
| + | | {{ic|~/.node_repl_history}} |
||
| + | | |
||
| + | | |
||
| + | | {{ic|1=$ export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history}} [https://nodejs.org/api/repl.html#repl_environment_variable_options] |
||
|- |
|- |
||
| [[notmuch]] |
| [[notmuch]] |
||
| 758行目: | 858行目: | ||
| [https://github.com/npm/npm/issues/6675] |
| [https://github.com/npm/npm/issues/6675] |
||
| {{ic|1=$ export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc}} |
| {{ic|1=$ export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc}} |
||
| − | {{hc|npmrc|<nowiki> |
+ | {{hc|npmrc|<nowiki> |
| − | prefix=$XDG_DATA_HOME/npm |
+ | prefix=${XDG_DATA_HOME}/npm |
| + | cache=${XDG_CACHE_HOME}/npm |
||
| + | tmp=${XDG_RUNTIME_DIR}/npm |
||
| + | init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js |
||
| + | </nowiki>}} |
||
| + | Node.js を {{AUR|nvm}} でインストールした場合 {{ic|prefix}} は必要ありません (サポートされません)。 |
||
|- |
|- |
||
| [[NVIDIA]], [[CUDA]] |
| [[NVIDIA]], [[CUDA]] |
||
| 773行目: | 878行目: | ||
| |
| |
||
| {{ic|1=$ nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings}} |
| {{ic|1=$ nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings}} |
||
| + | |- |
||
| + | | {{AUR|nvm}} |
||
| + | | {{ic|~/.nvm}} |
||
| + | | |
||
| + | | |
||
| + | | {{ic|1=$ export NVM_DIR="$XDG_DATA_HOME"/nvm}} |
||
|- |
|- |
||
| [http://www.openscad.org/ openscad] |
| [http://www.openscad.org/ openscad] |
||
| 799行目: | 910行目: | ||
| |
| |
||
| {{ic|1=$ pidgin --config="$XDG_DATA_HOME"/purple}} |
| {{ic|1=$ pidgin --config="$XDG_DATA_HOME"/purple}} |
||
| + | |- |
||
| + | | [[PostgreSQL|postgresql]] |
||
| + | | {{ic|~/.psqlrc}} |
||
| + | {{ic|~/.psql_history}} |
||
| + | |||
| + | {{ic|~/.pgpass}} |
||
| + | |||
| + | {{ic|~/.pg_service.conf}} |
||
| + | | 9.2 |
||
| + | | [https://www.postgresql.org/docs/current/static/app-psql.html] |
||
| + | |||
| + | [https://www.postgresql.org/docs/current/static/libpq-envars.html] |
||
| + | | {{ic|1=$ export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"}} |
||
| + | {{ic|1=$ export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history"}} |
||
| + | |||
| + | {{ic|1=$ export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"}} |
||
| + | |||
| + | {{ic|1=$ export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"}} |
||
| + | |||
| + | ディレクトリを作成する必要があります: {{ic|1=$ mkdir "$XDG_CONFIG_HOME/pg" && mkdir "$XDG_CACHE_HOME/pg"}}。 |
||
|- |
|- |
||
| [[PulseAudio]] |
| [[PulseAudio]] |
||
| 811行目: | 942行目: | ||
| |
| |
||
| {{ic|1=$ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs}} |
| {{ic|1=$ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs}} |
||
| − | |- |
||
| − | | {{Pkg|rclone}} |
||
| − | | {{ic|~/.rclone.conf}} |
||
| − | | |
||
| − | | |
||
| − | | {{ic|1=$ rclone --config="$XDG_CONFIG_HOME"/rclone/rclone.conf}} |
||
|- |
|- |
||
| [[readline]] |
| [[readline]] |
||
| 843行目: | 968行目: | ||
| {{ic|1=$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}} |
| {{ic|1=$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc}} |
||
|- |
|- |
||
| − | | [ |
+ | | [[stack]] |
| {{ic|~/.stack}} |
| {{ic|~/.stack}} |
||
| |
| |
||
| 866行目: | 991行目: | ||
| |
| |
||
| {{ic|1=$ export TIGRC_USER="$XDG_CONFIG_HOME"/tig/tigrc}} |
| {{ic|1=$ export TIGRC_USER="$XDG_CONFIG_HOME"/tig/tigrc}} |
||
| + | |- |
||
| + | | [http://tiptop.gforge.inria.fr/ tiptop] |
||
| + | | {{ic|~/.tiptoprc}} |
||
| + | | |
||
| + | | |
||
| + | | {{ic|.tiptoprc}} ファイルを必要とします: {{ic|$ tiptop -W "$XDG_CONFIG_HOME"/tiptop}}。 |
||
|- |
|- |
||
| [[tmux]] |
| [[tmux]] |
||
| 924行目: | 1,055行目: | ||
| |
| |
||
| |
| |
||
| − | | {{ic|1=$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc}} {{ic|1=$ export |
+ | | {{ic|1=$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc}} {{ic|1=$ export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc}} |
|- |
|- |
||
| {{pkg|xorg-xrdb}} |
| {{pkg|xorg-xrdb}} |
||
| 931行目: | 1,062行目: | ||
| |
| |
||
| {{ic|xrdb -load ~/.config/X11/xresources}} のようにパスを指定して {{ic|xrdb}} でリソースがロードされるように {{ic|Xresources}} を [http://superuser.com/questions/243914/xresources-or-xdefaults 使用] することができます。 |
| {{ic|xrdb -load ~/.config/X11/xresources}} のようにパスを指定して {{ic|xrdb}} でリソースがロードされるように {{ic|Xresources}} を [http://superuser.com/questions/243914/xresources-or-xdefaults 使用] することができます。 |
||
| − | |- |
||
| − | | [http://www.vergenet.net/~conrad/software/xsel/ xsel] |
||
| − | | {{ic|~/.xsel.log}} |
||
| − | | |
||
| − | | [https://github.com/kfish/xsel/issues/10] |
||
| − | | {{ic|1=$ xsel --logfile "$XDG_CACHE_HOME"/xsel/xsel.log}} |
||
|} |
|} |
||
| 946行目: | 1,071行目: | ||
! 議論 |
! 議論 |
||
! ノート |
! ノート |
||
| + | |- |
||
| + | | [[ADB|adb]] |
||
| + | | {{ic|~/.android}} |
||
| + | | [https://developer.android.com/studio/command-line/variables.html#android_sdk_root] |
||
| + | | {{ic|1=$ export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android}} |
||
|- |
|- |
||
| [[AMule]] |
| [[AMule]] |
||
| {{ic|~/.aMule}} |
| {{ic|~/.aMule}} |
||
| + | | |
||
| + | | |
||
| + | |- |
||
| + | | [[Android#Android Studio|Android Studio]] |
||
| + | | {{ic|~/.AndroidStudio2.3}} |
||
| + | |||
| + | {{ic|~/.android}} |
||
| + | |||
| + | {{ic|~/.java}} |
||
| |
| |
||
| |
| |
||
| 959行目: | 1,098行目: | ||
| [https://directory.apache.org/studio/ Apache Directory Studio] |
| [https://directory.apache.org/studio/ Apache Directory Studio] |
||
| {{ic|~/.ApacheDirectoryStudio}} |
| {{ic|~/.ApacheDirectoryStudio}} |
||
| + | | |
||
| + | | |
||
| + | |- |
||
| + | | [https://www.audacityteam.org/ Audacity] |
||
| + | | {{ic|~/.audacity-data}} |
||
| + | | |
||
| + | | |
||
| + | |- |
||
| + | | [http://fixounet.free.fr/avidemux/ Avidemux] |
||
| + | | {{ic|~/.avidemux6}} |
||
| |
| |
||
| |
| |
||
| 968行目: | 1,117行目: | ||
* 指定された {{ic|bashrc}} は {{ic|/etc/bashrc}} から読み込まれます。 |
* 指定された {{ic|bashrc}} は {{ic|/etc/bashrc}} から読み込まれます。 |
||
* {{ic|1=export HISTFILE="$XDG_DATA_HOME"/bash/history}} |
* {{ic|1=export HISTFILE="$XDG_DATA_HOME"/bash/history}} |
||
| + | |- |
||
| + | | [[bazaar]] |
||
| + | | {{ic|~/.bazaar}} |
||
| + | |||
| + | {{ic|~/.bzr.log}} |
||
| + | | |
||
| + | | |
||
|- |
|- |
||
| [[Haskell|cabal]] |
| [[Haskell|cabal]] |
||
| 973行目: | 1,129行目: | ||
| [https://github.com/haskell/cabal/issues/680] |
| [https://github.com/haskell/cabal/issues/680] |
||
| 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。 |
| 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。 |
||
| + | |- |
||
| + | | [https://calibre-ebook.com/ calibre] |
||
| + | | {{ic|~/Calibre Library}} |
||
| + | | |
||
| + | | |
||
|- |
|- |
||
| [[CUPS]] |
| [[CUPS]] |
||
| {{ic|~/.cups}} |
| {{ic|~/.cups}} |
||
| [http://www.cups.org/str.php?L4243] |
| [http://www.cups.org/str.php?L4243] |
||
| + | | |
||
| + | |- |
||
| + | | [[darcs]] |
||
| + | | {{ic|~/.darcs}} |
||
| + | | [http://bugs.darcs.net/issue2453] |
||
| |
| |
||
|- |
|- |
||
| 983行目: | 1,149行目: | ||
| [https://bugs.freedesktop.org/show_bug.cgi?id=35887] |
| [https://bugs.freedesktop.org/show_bug.cgi?id=35887] |
||
| [[kdbus]] を使うことで回避できます。 |
| [[kdbus]] を使うことで回避できます。 |
||
| + | |- |
||
| + | | [https://wiki.gnome.org/Apps/Dia Dia] |
||
| + | | {{ic|~/.dia}} |
||
| + | | |
||
|- |
|- |
||
| [[eclipse]] |
| [[eclipse]] |
||
| 1,002行目: | 1,172行目: | ||
| {{ic|~/.mozilla}} |
| {{ic|~/.mozilla}} |
||
| [https://bugzil.la/259356] |
| [https://bugzil.la/259356] |
||
| + | | |
||
| + | |- |
||
| + | | [[Flatpak]] |
||
| + | | {{ic|~/.var/}} |
||
| + | | [https://github.com/flatpak/flatpak/issues/46] [https://github.com/flatpak/flatpak.github.io/issues/191] |
||
| + | | |
||
| + | |- |
||
| + | | [[GHC]] |
||
| + | | {{ic|~/.ghc}} |
||
| + | | [https://ghc.haskell.org/trac/ghc/ticket/6077] |
||
| |
| |
||
|- |
|- |
||
| [http://www.gnu.org/software/parallel/ GNU parallel] |
| [http://www.gnu.org/software/parallel/ GNU parallel] |
||
| {{ic|~/.parallel}} |
| {{ic|~/.parallel}} |
||
| + | | |
||
| + | | |
||
| + | |- |
||
| + | | [[RecordMyDesktop|gtk-recordMyDesktop]] |
||
| + | | {{ic|~/.gtk-recordmydesktop}} |
||
| |
| |
||
| |
| |
||
| 1,014行目: | 1,199行目: | ||
| |
| |
||
|- |
|- |
||
| − | | [ |
+ | | [[julia]] |
| {{ic|~/.juliarc.jl}} {{ic|~/.julia_history}} |
| {{ic|~/.juliarc.jl}} {{ic|~/.julia_history}} |
||
| [https://github.com/JuliaLang/julia/issues/4630] [https://github.com/JuliaLang/julia/issues/10016] |
| [https://github.com/JuliaLang/julia/issues/4630] [https://github.com/JuliaLang/julia/issues/10016] |
||
| 1,021行目: | 1,206行目: | ||
| [[PAM|Linux PAM]] |
| [[PAM|Linux PAM]] |
||
| {{ic|~/.pam_environment}} |
| {{ic|~/.pam_environment}} |
||
| + | | [https://github.com/linux-pam/linux-pam/issues/7] |
||
| − | | |
||
| ハードコード: [https://github.com/linux-pam/linux-pam/blob/master/modules/pam_env/pam_env.c modules/pam_env/pam_env.c]。 |
| ハードコード: [https://github.com/linux-pam/linux-pam/blob/master/modules/pam_env/pam_env.c modules/pam_env/pam_env.c]。 |
||
|- |
|- |
||
| 1,034行目: | 1,219行目: | ||
| {{ic|rlwrap mathomatic -r}} を使って {{ic|RLWRAP_HOME}} 変数を適切に設定することで履歴を移動できます。 |
| {{ic|rlwrap mathomatic -r}} を使って {{ic|RLWRAP_HOME}} 変数を適切に設定することで履歴を移動できます。 |
||
|- |
|- |
||
| − | | [[ |
+ | | [[Minecraft]] |
| − | | {{ic|~/. |
+ | | {{ic|~/.minecraft}} |
| + | | [https://bugs.mojang.com/browse/MCL-2563] |
||
| − | | |
||
| − | | 設定ファイルの検索パスを追加することはできませんが上書きすることはできます。デフォルトフォルダを追加するときは注意してください: {{ic|1=$ export HGRCPATH=/usr/lib/python2.7/site-packages/mercurial/default.d/:\ |
||
| − | /etc/mercurial/hgrc:"${XDG_CONFIG_HOME}"/mercurial/hgrc}}。 |
||
| − | |||
| − | デフォルトの設定パスを確認するには: {{ic|1=$ env -u HGRCPATH hg debugconfig --debug {{!}} grep "read config"}}。 |
||
| − | |- |
||
| − | | [http://www.milkytracker.org/ milkytracker] |
||
| − | | {{ic|~/.milkytracker_config}} |
||
| − | | [https://github.com/Deltafire/MilkyTracker/issues/12] |
||
| |
| |
||
|- |
|- |
||
| 1,051行目: | 1,228行目: | ||
| [https://jira.mongodb.org/browse/DOCS-5652?jql=text%20~%20%22.mongorc.js%22] |
| [https://jira.mongodb.org/browse/DOCS-5652?jql=text%20~%20%22.mongorc.js%22] |
||
| [http://stackoverflow.com/a/22349050/4200039 Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使うことを提案しています。 |
| [http://stackoverflow.com/a/22349050/4200039 Stack Overflow のスレッド] ではコマンドラインスイッチの {{ic|--norc}} を使うことを提案しています。 |
||
| − | |- |
||
| − | | [[Music Player Daemon#コンソール|ncmpc]] |
||
| − | | {{ic|~/.ncmpc}} |
||
| − | | |
||
| − | | |
||
|- |
|- |
||
| |
| |
||
| 1,061行目: | 1,233行目: | ||
| |
| |
||
| {{ic|~/.ssh}} などの多数のプログラムが使っています。curl ({{ic|CURLOPT_NETRC_FILE}}), ftp ({{ic|NETRC}}), s-nail ({{ic|NETRC}}) なども使用しています。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。 |
| {{ic|~/.ssh}} などの多数のプログラムが使っています。curl ({{ic|CURLOPT_NETRC_FILE}}), ftp ({{ic|NETRC}}), s-nail ({{ic|NETRC}}) なども使用しています。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。 |
||
| + | |- |
||
| + | | [[nano]] |
||
| + | | {{ic|~/.nano/}} {{ic|~/.nanorc}} |
||
| + | | [https://savannah.gnu.org/patch/?8523] |
||
|- |
|- |
||
| [[Network Security Services|NSS]] |
| [[Network Security Services|NSS]] |
||
| 1,092行目: | 1,268行目: | ||
| [https://bugs.python.org/issue5845 バージョン 3.4] からインタラクティブセッションの履歴は全てデフォルトで {{ic|~/.python_history}} に保存されますが、古いバージョンと同じ方法でカスタムパスを設定できます ([https://docs.python.org/3/library/readline.html?highlight=readline#example] を参照)。 |
| [https://bugs.python.org/issue5845 バージョン 3.4] からインタラクティブセッションの履歴は全てデフォルトで {{ic|~/.python_history}} に保存されますが、古いバージョンと同じ方法でカスタムパスを設定できます ([https://docs.python.org/3/library/readline.html?highlight=readline#example] を参照)。 |
||
|- |
|- |
||
| + | | [[Qt#開発|Qt Designer]] |
||
| − | | [http://racket-lang.org/ racket] |
||
| + | | {{ic|~/.designer}} |
||
| + | | |
||
| + | | |
||
| + | |- |
||
| + | | [https://quodlibet.readthedocs.io/en/latest/ Quod Libet] |
||
| + | | {{ic|~/.quodlibet}} |
||
| + | | [https://github.com/quodlibet/quodlibet/issues/138] |
||
| + | | |
||
| + | |- |
||
| + | | [https://racket-lang.org/ racket] |
||
| {{ic|~/.racketrc}} |
| {{ic|~/.racketrc}} |
||
| |
| |
||
| + | | |
||
| + | |- |
||
| + | | [http://rednotebook.sourceforge.net/ RedNotebook] |
||
| + | | {{ic|~/.rednotebook}} |
||
| + | | |
||
| + | | |
||
| + | |- |
||
| + | | [https://remarkableapp.github.io/linux.html Remarkable] |
||
| + | | {{ic|~/.remarkable}} |
||
| + | | |
||
| + | | |
||
| + | |- |
||
| + | | [https://www.scribus.net/ Scribus] |
||
| + | | {{ic|~/.scribus}} |
||
| |
| |
||
|- |
|- |
||
| 1,124行目: | 1,324行目: | ||
| [[SQLite]] |
| [[SQLite]] |
||
| {{ic|~/.sqlite_history}} {{ic|~/.sqliterc}} |
| {{ic|~/.sqlite_history}} {{ic|~/.sqliterc}} |
||
| − | | [ |
+ | | [https://unix.stackexchange.com/questions/306890/change-location-of-sqlite-history-file][http://sqlite.1065341.n5.nabble.com/Customizing-the-location-of-the-sqlite-history-td87055.html] |
| {{ic|$ sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc}} |
| {{ic|$ sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc}} |
||
| + | |- |
||
| + | | [[Steam]] |
||
| + | | {{ic|~/.steam}} |
||
| + | {{ic|~/.steampath}} |
||
| + | {{ic|~/.steampid}} |
||
| + | | [https://github.com/ValveSoftware/steam-for-linux/issues/1890] |
||
| + | | |
||
| + | |- |
||
| + | | [[TeamSpeak]] |
||
| + | | {{ic|~/.ts3client}} |
||
| + | | |
||
| + | |- |
||
| + | | [http://www.texmacs.org/ TeXmacs] |
||
| + | | {{ic|~/.TeXmacs}} |
||
| + | | |
||
| + | | |
||
|- |
|- |
||
| [[Thunderbird]] |
| [[Thunderbird]] |
||
| {{ic|~/.thunderbird}} |
| {{ic|~/.thunderbird}} |
||
| [https://bugzil.la/735285] |
| [https://bugzil.la/735285] |
||
| + | | |
||
| + | |- |
||
| + | | [https://git.archlinux.org/users/remy/texlive-localmanager.git/ tllocalmgr] |
||
| + | | {{ic|~/.texlive}} |
||
| |
| |
||
|- |
|- |
||
| 1,170行目: | 1,390行目: | ||
| {{ic|~/.xombrero}} |
| {{ic|~/.xombrero}} |
||
| [https://github.com/conformal/xombrero/issues/74] |
| [https://github.com/conformal/xombrero/issues/74] |
||
| + | | |
||
| + | |- |
||
| + | | {{pkg|yarn}} |
||
| + | | {{ic|~/.yarnrc}} |
||
| + | |||
| + | {{ic|~/.yarn/}} |
||
| + | |||
| + | {{ic|~/.yarncache/}} |
||
| + | |||
| + | {{ic|~/.yarn-config/}} |
||
| + | | [https://github.com/yarnpkg/yarn/issues/2334] |
||
| |
| |
||
|- |
|- |
||
| 1,194行目: | 1,425行目: | ||
; Python |
; Python |
||
: [http://freedesktop.org/wiki/Software/pyxdg/ pyxdg] |
: [http://freedesktop.org/wiki/Software/pyxdg/ pyxdg] |
||
| + | |||
| + | ; Ruby |
||
| + | : [https://github.com/rubyworks/xdg rubyworks/xdg] |
||
; Vala |
; Vala |
||
2017年11月4日 (土) 02:23時点における版
関連記事
この記事では2003年に導入された XDG Base Directory Specification を使用しているソフトウェアを整理しています。ここでは一般的に使われているドットファイルと対応状態を並べて仕様がどれだけ使われているか示します。Base Directory Specification に対応していないソフトウェアについては、擬似的に対応させる方法を説明します。
ただし環境変数やコンパイルオプションに保存されているコードを実行したり、ソースにパッチを適用したりする方法は除外します。設定はあくまでシステム間で相互運用できるべきでありコンパイルオプションを使ってしまうと使用が制限されるためです。
目次
XDG Base Directory Specification
フルスペック を読んでください。このセクションでは概要だけを抽出しています。
デフォルトでは pam_systemd によって XDG_RUNTIME_DIR だけが設定されます。既存のディレクトリの絶対パスを使って明示的に他の変数を定義するかどうかはユーザー次第です。
ユーザーディレクトリ
XDG_CONFIG_HOME- ユーザー個別の設定が書き込まれるディレクトリ (
/etcと類似)。 - デフォルトは
$HOME/.configです。
- ユーザー個別の設定が書き込まれるディレクトリ (
XDG_CACHE_HOME- ユーザー個別の重要でない (キャッシュ) データが書き込まれるディレクトリ (
/var/cacheと類似)。 - デフォルトは
$HOME/.cacheです。
- ユーザー個別の重要でない (キャッシュ) データが書き込まれるディレクトリ (
XDG_DATA_HOME- ユーザー個別のデータファイルが書き込まれるディレクトリ (
/usr/shareと類似)。 - デフォルトは
$HOME/.local/shareです。
- ユーザー個別のデータファイルが書き込まれるディレクトリ (
XDG_RUNTIME_DIR- ソケットや名前付きパイプなどのような必須でないユーザー個別のデータファイルに使われます。
- デフォルト値は必ずしも設定する必要はありません。設定されていない場合は警告が表示されます。
- ディレクトリの所有者がユーザーでアクセスモードが
0700である必要があります。 - OS の標準機能だけで動作するファイルシステムを使用します。
- ローカルファイルシステム上に存在する必要があります。
- 定期的にファイルが消去される可能性があります。
- 永続的に保持したい場合は6時間毎に変更を加えるかスティッキービットを設定します。
- ユーザーがログインしている値だけ存在します。
- tmpfs でマウントされることもあるので巨大なファイルは保存できません。
システムディレクトリ
XDG_DATA_DIRS:でディレクトリを区切ります (PATHと類似)。- デフォルトは
/usr/local/share:/usr/shareです。
XDG_CONFIG_DIRS:でディレクトリを区切ります (PATHと類似)。- デフォルトは
/etc/xdgです。
貢献
ソフトウェアを追加するときは適切なセクションを使ってください。
コードの評価 (vim や VIMINIT など)、パッチやコンパイルオプションが必要な方法、あるいはハードコードと考えられる方法は載せるべきではありません。また、Haskell の cabal や eclipse など難しい方法もハードコードとして扱います。
- 1番目のカラムはプロジェクト名です。できればコマンド名にしてください。ソフトウェアのウェブサイトか適切な wiki の記事にリンクさせます。
- 2番目のカラムはプロジェクトが使用するレガシーなファイルやディレクトリです。もはや読み込まれない場合でも確認できるように記述してください。
- 3番目のカラムは XDG Base Directory に切り替わったプロジェクトのコミットあるいはバージョンです。4番目のカラムにはその議論がある場合にリンクを載せてください。
- 最後のカラムにはサポートしていないプロジェクトのための適切な対処方法を記載します。簡潔に書いてください。曖昧な部分がある場合は自由に追記してください。
サポートしているソフトウェア
| アプリケーション | 旧パス | 対応開始 | 議論 | ノート |
|---|---|---|---|---|
| aerc | ||||
| antimicro | ~/.antimicro
|
edba864 | [1] | |
| aria2 | ~/.aria2
|
8bc1d37 | [2] | |
| blender | ~/.blender
|
4293f473 | [3] | |
| burp | f2388e9 | |||
| chromium | ~/.chromium
|
23057 | [4] [5] | |
| citra | ~/.citra-emu
|
f7c3193fec | [6] | |
| composer | ~/.composer
|
1.0.0-beta1 | [7] | |
| cower | 8b70805 | |||
| d-feet | ~/.d-feet
|
7f6104b | ||
| dconf | ||||
| dolphin-emu | ~/.dolphin-emu
|
a498c68 | [8] | |
| dr14-meter | 7e777ca64 | [9] | ハードコード: $HOME/.config/dr14meter。
| |
| dunst | 78b6e2b1 | [10] | ||
| dwb | ||||
| fish | ||||
| fontconfig | ~/.fontconfig ~/.fonts
|
8c255fb1 | フォントの保存には "$XDG_DATA_HOME"/fonts を使ってください。
| |
| fontforge | ~/.FontForge ~/.PfaEdit
|
e4c2cc7432 | [11] [12] | |
| freerdp | ~/.freerdp
|
edf6e7258d | ||
| gconf | ~/.gconf
|
fc28caa7 | [13] | |
| GIMP | ~/.gimp-x.y
|
60e0cfe 483505f | [14] [15] | |
| git | ~/.gitconfig
|
0d94427e | ||
| gstreamer | ~/.gstreamer-0.10
|
4e36f93924cf | [16] | |
| gtk3 | ||||
| htop | ~/.htoprc
|
93233a67 | ||
| i3 | ~/.i3
|
7c130fb54 | ||
| i3status | ~/.i3status.conf
|
c3f7fc4994 | ||
| imagemagick | ||||
| inkscape | ~/.inkscape
|
0.47 | [17] | |
| latexmk | ~/.latexmkrc
|
|||
| lftp | ~/.lftp
|
21dc400 | [18] | |
| lgogdownloader | ~/.gogdownloader
|
d430af63d000 | [19] | |
| LibreOffice | a6f56f70 25bd2eec | [20] | ||
| livestreamer | ~/.livestreamerrc
|
ea805917 | [21] | |
| llpp | 3ab86f0cb | 現在 llpp はディレクトリを作成せず XDG_CONFIG_HOME の直下に設定を保存します。
| ||
| mc | ~/.mc
|
1b9957058 0b7115647 ce401d797 | [22] | |
| Mercurial | ~/.hgrc
|
354020079723 4.2 | XDG_CONFIG_HOME/hg/hgrc.
| |
| mesa | 87ab26b2ab | XDG_CACHE_HOME/mesa
| ||
| milkytracker | ~/.milkytracker_config
|
eb487c55 | [23] | |
| mintty | ~/.minttyrc
|
cff1bd8f v2.3.7 | [24] | |
| mpd | ~/.mpdconf
|
87b73284 | ||
| mpv | ~/.mpv
|
cb250d490 | [25] | |
| mutt | ~/.mutt
|
42fee7585f | [26] | |
| mypaint | ~/.mypaint
|
cf723b74cd | ||
| ncmpcpp | ~/.ncmpcpp
|
38d9f811 27cd86e0 | [27] [28] | ncmpcpp_directory を設定しないと error.log ファイルが ~/.ncmpcpp に保存されます。
|
| neovim | ~/.nvim ~/.nvimlog ~/.nviminfo
|
1ca5646bb | [29] [30] | |
| newsbeuter | ~/.newsbeuter
|
3c57824c5 | [31] | "$XDG_DATA_HOME"/newsbeuter と "$XDG_CONFIG_HOME"/newsbeuter を作成する必要があります [32]。
|
| OfflineIMAP | ~/.offlineimaprc
|
5150de5 | [33] | |
| opentyrian | ~/.opentyrian
|
8d45ff2 | [34] | |
| pcsx2 | ~/.pcsx2
|
87f1e8f77 a9020c606 3b22f0fb0 0a012aec2 | [35] [36] | |
| pip | ~/.pip
|
6.0 | [37] | |
| ppsspp | ~/.ppsspp
|
132fe47c7d | [38] | |
| procps-ng | ~/.toprc
|
af53e170b9 | [39] [40] | |
| orbment | ||||
| pacman | ~/.makepkg.conf
|
80eca94c8 | [41] | |
| Panda3D | ~/.panda3d
|
2b537d2 | ||
| PulseAudio | ~/.pulse ~/.pulse-cookie
|
59a8618dcd9 87ae8307057 9ab510a6921 4c195bcc9d5 | [42] | |
| pyroom | ||||
| qutebrowser | ||||
| qtile | fd8686e 66d704b 51cff01 | [43] | 仕様と異なるファイルやディレクトリを作成するバーウィジェットも存在しますが、大抵の場合は設定で変更できます。 | |
| rclone | ~/.rclone.conf
|
9d362589 | [44] | |
| retroarch | ||||
| rr | ~/.rr
|
02e7d41e | [45] | |
| Snes9x | ~/.snes9x
|
19864677 | [46] | デフォルトの設定は空です。ROM を起動する前にユーザーが GUI や手動で設定するようになっています。 |
| sublime-text-devAUR | キャッシュは $XDG_CACHE_HOME/sublime-text-3 ではなく $XDG_CONFIG_HOME/sublime-text-3/Cache に保存されます。
| |||
| surfraw | ~/.surfraw.conf ~/.surfraw.bookmarks
|
3e4591d8 bd8c427d f57fc718 | ||
| sway | ~/.sway/config
|
614393c09 | [47] | |
| systemd | ||||
| termite | ||||
| tmuxinator | ~/.tmuxinator
|
2636923 | [48] | |
| transmission | ~/.transmission
|
5517 | [49] | |
| util-linux | 570b32100 | |||
| uzbl | c6fd63a | [50] | ||
| vimb | ||||
| VirtualBox | ~/.VirtualBox
|
4.3 | [51] | |
| vis | ~/.vis
|
[52] | 68a25c75 | |
| VLC media player | ~/.vlcrc
|
16f32e15 | [53] | |
| warsow | ~/.warsow-2.x
|
98ece3f | [54] | |
| wireshark | ~/.wireshark
|
b0b53fa5 | ||
| xsettingsd | ~/.xsettingsd
|
4ecd7be | ||
| xmonad | ~/.xmonad
|
40fc10b6 | [55] [56] | XMONAD_CONFIG_HOME, XMONAD_DATA_HOME, XMONAD_CACHE_HOME 環境変数が使えます。
|
| xsel | ~/.xsel.log
|
ee7b4811 | [57] |
部分的にサポートしているソフトウェア
| アプリケーション | 旧パス | 対応開始 | 議論 | ノート |
|---|---|---|---|---|
| abook | ~/.abook
|
$ abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_CACHE_HOME"/abook/addressbook
| ||
| Anki | ~/Anki ~/Documents/Anki
|
[58] [59] | $ anki -b "$XDG_DATA_HOME"/Anki
| |
| aspell | ~/.aspell.conf
|
|||
| Atom | ~/.atom
|
[60] | $ export ATOM_HOME="$XDG_DATA_HOME"/atom
| |
| cargo | ~/.cargo
|
[61] [62] [63] | $ export CARGO_HOME="$XDG_DATA_HOME"/cargo
| |
| ccache | ~/.ccache
|
$ export CCACHE_DIR="$XDG_CACHE_HOME"/ccache
| ||
| ChezScheme | ~/.chezscheme_history
|
$ petite --eehistory "$XDG_DATA_HOME"/chezscheme/history
| ||
| conky | ~/.conkyrc
|
00481ee | [64] | $ conky --config="$XDG_CONFIG_HOME"/conky/conkyrc
|
| coreutils | ~/.dircolors
|
$ source "$(dircolors "$XDG_CONFIG_HOME"/dircolors)"
| ||
| crawl | ~/.crawl
|
末尾の '/' は必須です: $ export CRAWL_DIR="$XDG_DATA_HOME"/crawl/。
| ||
| dict | ~/.dictrc
|
$ dict -c "$XDG_CONFIG_HOME"/dict/dictrc
| ||
| ELinks | ~/.elinks
|
$ export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks
| ||
| emscripten | ~/.emscripten ~/.emscripten_sanity ~/.emscripten_ports ~/.emscripten_cache__last_clear
|
3624 | $ export EM_CONFIG="$XDG_CONFIG_HOME"/emscripten/config
| |
| gdb | ~/.gdbinit
|
$ gdb -nh -x "$XDG_CONFIG_HOME"/gdb/init
| ||
| get_iplayer | ~/.get_iplayer
|
$ export GETIPLAYERUSERPREFS="$XDG_DATA_HOME"/get_iplayer
| ||
| gliv | ~/.glivrc
|
$ gliv --glivrc="$XDG_CONFIG_HOME"/gliv/glivrc
| ||
| gpg | ~/.gnupg
|
[65] [66] | $ export GNUPGHOME="$XDG_CONFIG_HOME"/gnupg
| |
| Google Earth | ~/.googleearth
|
~/.config/Google/GoogleEarthPlus.conf の KMLPath や CachePath オプションで一部のパスは変更できます。
| ||
| GQ LDAP クライアント | ~/.gq
|
1.51 | $ export GQRC="$XDG_CONFIG_HOME"/gqrc
| |
| gradle | ~/.gradle
|
[67] | $ export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
| |
| gtk | ~/.gtkrc
|
$ export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc
| ||
| gtk2 | ~/.gtkrc-2.0
|
$ export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
| ||
| httpie | ~/.httpie
|
[68] | $ export HTTPIE_CONFIG_DIR="$XDG_CONFIG_HOME"/httpie
| |
| ipython/jupyter | ~/.ipython
|
$ export IPYTHONDIR="$XDG_CONFIG_HOME"/jupyter
| ||
| irssi | ~/.irssi
|
[69] | irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi
| |
| isync | ~/.mbsyncrc
|
$ mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc
| ||
| less | ~/.lesshst
|
$ export LESSHISTFILE="$XDG_CACHE_HOME"/less/history ("$XDG_CACHE_HOME"/less ディレクトリを手動で作成する必要があります)。
| ||
| libdvdcss | ~/.dvdcss
|
[70] | $ export DVDCSS_CACHE="$XDG_DATA_HOME"/dvdcss
| |
| libice | ~/.ICEauthority
|
[71] | $ export ICEAUTHORITY="$XDG_RUNTIME_DIR"/ICEauthority
パーミッションには注意してください。例えば gdm からユーザーの | |
| libx11 | ~/.XCompose
|
$ export XCOMPOSEFILE="$XDG_CONFIG_HOME"/X11/xcompose
| ||
| ltrace | ~/.ltrace.conf
|
$ ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf
| ||
| maven | ~/.m2
|
$ mvn -gs "$XDG_CONFIG_HOME"/maven/settings.xml
settings.xml <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
...
<localRepository>${env.XDG_CACHE_HOME}/maven/repository</localRepository>
...
</settings>
| ||
| Mathematica | ~/.Mathematica
|
$ export MATHEMATICA_USERBASE="$XDG_CONFIG_HOME"/mathematica
| ||
| mednafen | ~/.mednafen
|
$ export MEDNAFEN_HOME="$XDG_CONFIG_HOME"/mednafen
| ||
| moc | ~/.moc
|
$ mocp -M "$XDG_CONFIG_HOME"/moc
| ||
| MPlayer | ~/.mplayer
|
$ export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer
| ||
| msmtp | ~/.msmtprc
|
$ msmtp -C "$XDG_CONFIG_HOME"/msmtp/msmtprc
| ||
| ncurses | ~/.terminfo
|
$ export TERMINFO="$XDG_DATA_HOME"/terminfo # Precludes system path searching.
| ||
| ncmpc | ~/.ncmpc
|
ncmpc -f "$XDG_CONFIG_HOME"/ncmpc/config
| ||
| Netbeans | ~/.netbeans
|
[72] | $ netbeans --userdir "${XDG_CONFIG_HOME}"/netbeans
| |
| Node.js | ~/.node_repl_history
|
$ export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history [73]
| ||
| notmuch | ~/.notmuch-config
|
[74] | $ export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
| |
| npm | ~/.npm ~/.npmrc
|
[75] | $ 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 でインストールした場合 | |
| NVIDIA, CUDA | ~/.nv
|
$ export __GL_SHADER_DISK_CACHE_PATH="$XDG_CACHE_HOME"/nv
| ||
| nvidia-settings | ~/.nvidia-settings-rc
|
$ nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings
| ||
| nvmAUR | ~/.nvm
|
$ export NVM_DIR="$XDG_DATA_HOME"/nvm
| ||
| openscad | ~/.OpenSCAD
|
7c3077b0f | [76] | XDG Base Directory Specification に完全には準拠していません。[77] を参照。
現在 |
| OpenSSL | ~/.rnd
|
.rnd ファイルの場所は RANDFILE 環境変数で設定できます。FAQ を参照。 | ||
| pass | ~/.password-store
|
$ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
| ||
| pidgin | ~/.purple
|
$ pidgin --config="$XDG_DATA_HOME"/purple
| ||
| postgresql | ~/.psqlrc
|
9.2 | [78] | $ export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"
ディレクトリを作成する必要があります: |
| PulseAudio | ~/.esd_auth
|
module-esound-protocol-unix.so モジュールによって生成されます。別の場所を使用するように設定することもできますが /etc/pulse/default.pa や "$XDG_CONFIG_HOME"/pulse/default.pa でモジュールをコメントアウトしてしまう方が簡単です。
| ||
| python-setuptools | ~/.python-eggs
|
$ export PYTHON_EGG_CACHE="$XDG_CACHE_HOME"/python-eggs
| ||
| readline | ~/.inputrc
|
$ export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
| ||
| rlwrap | ~/.*_history
|
[80] | $ export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
| |
| sbt | ~/.sbt
|
$ sbt -ivy "$XDG_DATA_HOME"/ivy2 -sbt-dir "$XDG_DATA_HOME"/sbt
| ||
| screen | ~/.screenrc
|
$ export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
| ||
| stack | ~/.stack
|
[81] | $ export STACK_ROOT="$XDG_DATA_HOME"/stack
| |
| subversion | ~/.subversion
|
[82][83][84] | $ svn --config-dir "$XDG_CONFIG_HOME"/subversion
| |
| task | ~/.task ~/.taskrc
|
$ export TASKDATA="$XDG_DATA_HOME"/task $ export TASKRC="$XDG_CONFIG_HOME"/task/taskrc
| ||
| tig | ~/.tigrc
|
$ export TIGRC_USER="$XDG_CONFIG_HOME"/tig/tigrc
| ||
| tiptop | ~/.tiptoprc
|
.tiptoprc ファイルを必要とします: $ tiptop -W "$XDG_CONFIG_HOME"/tiptop。
| ||
| tmux | ~/.tmux.conf
|
[85] [86] | $ tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf
| |
| uncrustify | ~/.uncrustify.cfg
|
$ export UNCRUSTIFY_CONFIG="$XDG_CONFIG_HOME"/uncrustify/uncrustify.cfg
| ||
| Unison | ~/.unison
|
$ export UNISON="$XDG_DATA_HOME"/unison
| ||
| urxvtd | ~/.urxvt/urxvtd-hostname
|
$ export RXVT_SOCKET="$XDG_RUNTIME_DIR"/urxvtd
| ||
| WeeChat | ~/.weechat
|
[87] | $ export WEECHAT_HOME="$XDG_CONFIG_HOME"/weechat
| |
| wget | ~/.wgetrc
|
$ export WGETRC="$XDG_CONFIG_HOME/wgetrc"
| ||
| wine | ~/.wine
|
[88] | Winetricks は WINEPREFIX の管理に XDG のような場所を使用します:
| |
| xorg-xauth | ~/.Xauthority
|
$ export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
| ||
| xorg-xinit | ~/.xinitrc ~/.xserverrc
|
$ export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc $ export XSERVERRC="$XDG_CONFIG_HOME"/X11/xserverrc
| ||
| xorg-xrdb | ~/.Xresources ~/.Xdefaults
|
xrdb -load ~/.config/X11/xresources のようにパスを指定して xrdb でリソースがロードされるように Xresources を 使用 することができます。
|
ハードコードされているソフトウェア
| アプリケーション | 旧パス | 議論 | ノート |
|---|---|---|---|
| adb | ~/.android
|
[89] | $ export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
|
| AMule | ~/.aMule
|
||
| Android Studio | ~/.AndroidStudio2.3
|
||
| anthy | ~/.anthy
|
[90] | |
| Apache Directory Studio | ~/.ApacheDirectoryStudio
|
||
| Audacity | ~/.audacity-data
|
||
| Avidemux | ~/.avidemux6
|
||
| bash | ~/.bashrc ~/.bash_history ~/.bash_profile ~/.bash_login ~/.bash_logout
|
[91] |
|
| bazaar | ~/.bazaar
|
||
| cabal | ~/.cabal
|
[92] | 対処方法は議論を見てください。簡単な方法ではありませんが Base Directory 準拠をエミュレートできます。 |
| calibre | ~/Calibre Library
|
||
| CUPS | ~/.cups
|
[93] | |
| darcs | ~/.darcs
|
[94] | |
| dbus | ~/.dbus
|
[95] | kdbus を使うことで回避できます。 |
| Dia | ~/.dia
|
||
| eclipse | ~/.eclipse
|
[96] | -Dosgi.configuration.area=@user.home/.config/.. オプションで上書きできますがコマンドラインで指定するのではなく "$ECLIPSE_HOME"/eclipse.ini" に追加する必要があり $ECLIPSE_HOME の書き込み権限が要ります (Arch Linux では $ECLIPSE_HOME が /usr/bin/eclipse に決め打ちされています)。
|
| emacs | ~/.emacs ~/.emacs.d
|
[97] | HOME を設定することができますが、予期せぬ副作用を生みます。他の Emacs 環境変数を修正してロードパスを変更して手動で init ファイルをロードする site ファイルを作成するのが確実ですが、ロードプロセスが大幅に変わってしまいます。
|
| Fetchmail | ~/.fetchmailrc
|
||
| firefox | ~/.mozilla
|
[98] | |
| Flatpak | ~/.var/
|
[99] [100] | |
| GHC | ~/.ghc
|
[101] | |
| GNU parallel | ~/.parallel
|
||
| gtk-recordMyDesktop | ~/.gtk-recordmydesktop
|
||
| idris | ~/.idris
|
[102] | |
| julia | ~/.juliarc.jl ~/.julia_history
|
[103] [104] | |
| Linux PAM | ~/.pam_environment
|
[105] | ハードコード: modules/pam_env/pam_env.c。 |
| lldb | ~/.lldb ~/.lldbinit
|
||
| mathomatic | ~/.mathomaticrc ~/.matho_history
|
rlwrap mathomatic -r を使って RLWRAP_HOME 変数を適切に設定することで履歴を移動できます。
| |
| Minecraft | ~/.minecraft
|
[106] | |
| mongodb | ~/.mongorc.js ~/.dbshell
|
[107] | Stack Overflow のスレッド ではコマンドラインスイッチの --norc を使うことを提案しています。
|
~/.netrc
|
~/.ssh などの多数のプログラムが使っています。curl (CURLOPT_NETRC_FILE), ftp (NETRC), s-nail (NETRC) なども使用しています。別の場所を設定できるプログラムも存在しますが w3m, wget, lftp など大抵のプログラムは設定が不可能です。
| ||
| nano | ~/.nano/ ~/.nanorc
|
[108] | |
| NSS | ~/.pki
|
[109] | |
| OpenSSH | ~/.ssh
|
[110] | DropBear や OpenSSH など多数の ssh デーモンやクライアントが使用します。 |
| palemoon | ~/.moonchild productions
|
[111] | |
| perf | ~/.debug
|
tools/perf/util/config.c:18 でハードコードされています。 | |
~/.profile
|
様々なシェルやディスプレイマネージャが使用しています。 | ||
| python | ~/.python_history
|
バージョン 3.4 からインタラクティブセッションの履歴は全てデフォルトで ~/.python_history に保存されますが、古いバージョンと同じ方法でカスタムパスを設定できます ([112] を参照)。
| |
| Qt Designer | ~/.designer
|
||
| Quod Libet | ~/.quodlibet
|
[113] | |
| racket | ~/.racketrc
|
||
| RedNotebook | ~/.rednotebook
|
||
| Remarkable | ~/.remarkable
|
||
| Scribus | ~/.scribus
|
||
| SeaMonkey | ~/.mozilla
|
[114] | |
| Skype < 5.0 | ~/.Skype
|
[115] | |
| Solfege | ~/.solfege ~/.solfegerc ~/lessonfiles
|
[116] | |
| SpamAssassin | ~/.spamassassin
|
||
| spectrwm | ~/.spectrwm
|
||
| SQLite | ~/.sqlite_history ~/.sqliterc
|
[117][118] | $ sqlite3 -init "$XDG_CONFIG_HOME"/sqlite3/sqliterc
|
| Steam | ~/.steam
|
[119] | |
| TeamSpeak | ~/.ts3client
|
||
| TeXmacs | ~/.TeXmacs
|
||
| Thunderbird | ~/.thunderbird
|
[120] | |
| tllocalmgr | ~/.texlive
|
||
| vim | ~/.vim ~/.vimrc ~/.viminfo
|
7.3.1178 から vim は ~/.vimrc が存在しない場合に ~/.vim/vimrc を検索します。
"$XDG_CONFIG_HOME"/vim/vimrc set undodir=$XDG_CACHE_HOME/vim/undo set directory=$XDG_CACHE_HOME/vim/swap set backupdir=$XDG_CACHE_HOME/vim/backup set viminfo+='1000,n$XDG_CACHE_HOME/vim/viminfo set runtimepath=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after,$VIMRUNTIME ~/.profile export VIMINIT=":source $XDG_CONFIG_HOME"/vim/vimrc | |
| vimperator | ~/.vimperatorrc
|
[121] | $ export VIMPERATOR_INIT=":source $XDG_CONFIG_HOME/vimperator/vimperatorrc"
|
| wpa_cli | ~/.wpa_cli_history
|
||
| xdg-utils | ~/.gnome
|
何らかの理由で xdg-desktop-menu スクリプトは gnome_user_dir="$HOME/.gnome/apps" をハードコードしており、chromium などによって使われています。
| |
| xombrero | ~/.xombrero
|
[122] | |
| yarn | ~/.yarnrc
|
[123] | |
| zsh | ~/.zshrc ~/.zprofile ~/.zshenv ~/.zlogin ~/.zlogout ~/.histfile
|
[124] | ~/.zshenv で ZDOTDIR=$HOME/.config/zsh を export してください (ブートストラップ問題のためにハードコードされています)。/etc/zsh/zshenv にも追加することで HOME にドットファイルが必要なくなります。ただし root 権限が必要で設定はシステム全体に適用されます。
|
ライブラリと言語のサポート
- Haskell
- 1.2.3.0 から directory で公式に対応 ab9d0810ce。
- xdg-basedir
- Python
- pyxdg
- Ruby
- rubyworks/xdg
- Vala
- GLib.Environment によるサポート。
get_user_cache_dir,get_user_data_dir,get_user_config_dirなどを参照。