[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH.
From: |
Tobias Geerinckx-Rice |
Subject: |
01/04: gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. |
Date: |
Fri, 14 Jul 2017 03:53:11 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 674d4e1380a43d83e77f81cbc3a8da8969e70f11
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Thu Jul 13 00:07:45 2017 +0200
gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH.
Fix a regression since commit fd7000fe33d3c4188c241cab97e2b891dd4e1268.
* gnu/packages/linux.scm (kbd)[native-search-paths]: Add a double asterisk.
---
gnu/packages/linux.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index aca0f6c..1a9e9d7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1837,7 +1837,10 @@ system.")
(native-search-paths
(list (search-path-specification
(variable "LOADKEYS_KEYMAP_PATH")
- (files (list "share/keymaps")))))
+ ;; Append ‘/**’ to recursively search all directories. One can
then
+ ;; run (for example) ‘loadkeys en-latin9’ instead of having to find
+ ;; and type ‘i386/colemak/en-latin9’ on a mislabelled keyboard.
+ (files (list "share/keymaps/**")))))
(native-inputs `(("pkg-config" ,pkg-config)))
(home-page "http://kbd-project.org/")
(synopsis "Linux keyboard utilities and keyboard maps")