Am 17.11.2016 um 03:39 schrieb Mihail Konev:
Signed-off-by: Mihail Konev <[email protected]>
BugLink: https://github.com/xkbcommon/libxkbcommon/issues/40
---
setxkbmap.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/setxkbmap.c b/setxkbmap.c
index cf0f02d6e704..f5b9f637a136 100644
--- a/setxkbmap.c
+++ b/setxkbmap.c
@@ -50,6 +50,9 @@
#ifndef DFLT_XKB_CONFIG_ROOT
#define DFLT_XKB_CONFIG_ROOT "/usr/share/X11/xkb"
#endif
+#ifndef DFLT_XKB_CONFIG_HOME
+#define DFLT_XKB_CONFIG_HOME ".xkb"
+#endif
Hello,
Would it be possible to use XDG Base directory [1] instead of creating
yet another dotdir in $HOME?
Using `~/.config/xkb` (with the `~/.config` prefix configurable via
XDG_CONFIG_HOME) would be more consistent with the rest of new Linux
applications.
[1]
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
--
Gioele Barabucci <[email protected]>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel