From 2eb83b00355eb3e91db21a28a9b478d6623c3b26 Mon Sep 17 00:00:00 2001 From: Robin Lambertz Date: Mon, 1 Mar 2021 10:40:05 +0100 Subject: [PATCH] docs: Fix new linux file locations in README (#185) --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fbe3586d2..022eda490 100644 --- a/README.md +++ b/README.md @@ -180,17 +180,22 @@ make -j Put the ImHex executable into the `/usr/bin` folder. Put libimhex.so into the `/usr/lib` folder. -All other files belong in `/usr/share/imhex` or `~/.imhex`: +Configuration files go to `/etc/xdg/imhex` or `~/.config/imhex`. +All other files belong in `/usr/share/imhex` or `~/.local/share/imhex`: + ``` Patterns: /usr/share/imhex/patterns Pattern Includes: /usr/share/imhex/includes Magic files: /usr/share/imhex/magic Python: /usr/share/imhex/lib/pythonX.X Plugins: /usr/share/imhex/imhex/plugins -Configuration: /usr/share/imhex/config +Configuration: /etc/xdg/imhex/config Resources: /usr/share/imhex/resources ``` -The `/usr` prefix can be customized by changing the cmake install path + +All paths follow the XDG Base Directories standard, and can thus be modified +with the environment variables `XDG_CONFIG_HOME`, `XDG_CONFIG_DIRS`, +`XDG_DATA_HOME` and `XDG_DATA_DIRS`. ## Credits