diff options
-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'); |