diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-12-18 14:47:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-12-18 14:47:22 +0000 |
commit | 916cd35a244f9b813be10b902abcd07f740da93f (patch) | |
tree | 3f127ea9754414ca06c35e22a28e38123ff17ed7 | |
parent | 43fe10400e1beb50019f2eb9825173e2794da15b (diff) | |
download | drakx-kbd-mouse-x11-916cd35a244f9b813be10b902abcd07f740da93f.tar drakx-kbd-mouse-x11-916cd35a244f9b813be10b902abcd07f740da93f.tar.gz drakx-kbd-mouse-x11-916cd35a244f9b813be10b902abcd07f740da93f.tar.bz2 drakx-kbd-mouse-x11-916cd35a244f9b813be10b902abcd07f740da93f.tar.xz drakx-kbd-mouse-x11-916cd35a244f9b813be10b902abcd07f740da93f.zip |
o new option "--migrate" which adds Xkb information in
/etc/sysconfig/keyboard
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | tools/keyboarddrake | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,8 @@ - keyboarddrake: o do not configure hal directly, but write in /etc/sysconfig/keyboard Xkb information so hal can get them + o new option "--migrate" which adds Xkb information in + /etc/sysconfig/keyboard o correctly handle default XkbModel (so that we do not force pc105 when we should not) diff --git a/tools/keyboarddrake b/tools/keyboarddrake index 5d79ea8..567a221 100755 --- a/tools/keyboarddrake +++ b/tools/keyboarddrake @@ -20,6 +20,9 @@ my $keyboard = keyboard::read_or_default(); if (my ($kb) = grep { !/^-/ } @ARGV) { keyboard::KEYBOARD2text($kb) or die "bad keyboard $kb\n"; $keyboard->{KEYBOARD} = $kb; +} elsif (grep { $_ eq '--migrate' } @ARGV) { + keyboard::write($keyboard); + exit 0; } else { $ugtk2::wm_icon = "/usr/share/mcc/themes/default/keyboard-mdk.png"; $in = 'interactive'->vnew('su'); |