summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-06-05 11:14:25 +0000
committerOlivier Blin <oblin@mandriva.com>2009-06-05 11:14:25 +0000
commit25dbdd5a0c44ae29a66d0d9bd35fd049794a7635 (patch)
tree327f0214a0830a7b27837a756f505919858b0be0
parente6e560021476c02a776a71fc8ba96ae13f9ed29b (diff)
downloaddrakx-kbd-mouse-x11-25dbdd5a0c44ae29a66d0d9bd35fd049794a7635.tar
drakx-kbd-mouse-x11-25dbdd5a0c44ae29a66d0d9bd35fd049794a7635.tar.gz
drakx-kbd-mouse-x11-25dbdd5a0c44ae29a66d0d9bd35fd049794a7635.tar.bz2
drakx-kbd-mouse-x11-25dbdd5a0c44ae29a66d0d9bd35fd049794a7635.tar.xz
drakx-kbd-mouse-x11-25dbdd5a0c44ae29a66d0d9bd35fd049794a7635.zip
When modifying keyboard configuration, refresh associated hal keys
Nowadays, the X server picks its keyboard configuration from HAL. Make sure we update the hal information when the keyboard configuration is modified (backport from trunk)
-rw-r--r--lib/keyboard.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/keyboard.pm b/lib/keyboard.pm
index 6341a3d..570c3a2 100644
--- a/lib/keyboard.pm
+++ b/lib/keyboard.pm
@@ -618,6 +618,7 @@ sub write {
} else {
run_program::rooted($::prefix, 'dumpkeys', '>', '/etc/sysconfig/console/default.kmap') or log::l("dumpkeys failed");
}
+ run_program::run('mandriva-setup-keyboard');
}
sub configure_xorg {