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 /tools/keyboarddrake | |
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
Diffstat (limited to 'tools/keyboarddrake')
-rwxr-xr-x | tools/keyboarddrake | 3 |
1 files changed, 3 insertions, 0 deletions
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'); |