summaryrefslogtreecommitdiffstats
path: root/perl-install/install/gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-27 12:01:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-27 12:01:20 +0000
commitda79847ed2ce5d99b77c6e93313ab981a37b52aa (patch)
tree6351a68cd27a95d62ecd9e505d2f51372df1123a /perl-install/install/gtk.pm
parenta5e67c61e1aa38b6fe40d1c4e51f93300236dec4 (diff)
downloaddrakx-backup-do-not-use-da79847ed2ce5d99b77c6e93313ab981a37b52aa.tar
drakx-backup-do-not-use-da79847ed2ce5d99b77c6e93313ab981a37b52aa.tar.gz
drakx-backup-do-not-use-da79847ed2ce5d99b77c6e93313ab981a37b52aa.tar.bz2
drakx-backup-do-not-use-da79847ed2ce5d99b77c6e93313ab981a37b52aa.tar.xz
drakx-backup-do-not-use-da79847ed2ce5d99b77c6e93313ab981a37b52aa.zip
- use xkb instead of xmodmap
(this fixes XF86_Switch_VT_X not defined in our xmodmaps) => stage2 is bigger: 640KB uncompressed, 223KB compressed
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r--perl-install/install/gtk.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm
index 37a95fa69..ba47a901b 100644
--- a/perl-install/install/gtk.pm
+++ b/perl-install/install/gtk.pm
@@ -245,7 +245,7 @@ sub createXconf {
symlink("/tmp/stage2/etc/X11", "/etc/X11");
if ($Driver) {
- output($file, sprintf(<<'END', 'Option "XkbDisable"', $mouse_type, $Driver, $Driver eq 'fbdev' ? '"default"' : '"800x600" "640x480"'));
+ output($file, sprintf(<<'END', $mouse_type, $Driver, $Driver eq 'fbdev' ? '"default"' : '"800x600" "640x480"'));
Section "Files"
FontPath "/usr/share/fonts:unscaled"
EndSection
@@ -253,9 +253,8 @@ EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "keyboard"
- %s
Option "XkbModel" "pc105"
- Option "XkbLayout" ""
+ Option "XkbLayout" "us"
EndSection
Section "InputDevice"