From 7fcb6cc30e6264865a66551a2ab9cca3dc089c64 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 12 Jan 2004 14:53:42 +0000 Subject: XFree4 during install --- perl-install/install_gtk.pm | 122 ++------------------------------------ perl-install/install_steps_gtk.pm | 2 +- perl-install/share/list.i386 | 12 +++- 3 files changed, 14 insertions(+), 122 deletions(-) diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 5270220e3..e2ffed9d6 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -245,7 +245,7 @@ sub createXconf { symlink("/tmp/stage2/etc/im_palette.pal", "etc/im_palette.pal"); if ($Driver) { - output($file, sprintf(<<'END', $mouse_type, $Driver)); + output($file, sprintf(<<'END', $mouse_type, $Driver, $Driver eq 'fbdev' ? '"default"' : '"800x600" "640x480"')); Section "Files" FontPath "/usr/X11R6/lib/X11/fonts:unscaled" @@ -264,6 +264,7 @@ Section "InputDevice" Driver "mouse" Option "Protocol" "%s" Option "Device" "/dev/mouse" + Option "ZAxisMapping" "4 5" EndSection Section "Monitor" @@ -284,7 +285,7 @@ Section "Screen" DefaultColorDepth 16 Subsection "Display" Depth 16 - Modes "800x600" "640x480" + Modes %s EndSubsection EndSection @@ -296,122 +297,7 @@ Section "ServerLayout" EndSection END - - -} else { - - my $wacom; - if ($wacom_dev) { - my $dev = devices::make($wacom_dev); - $wacom = <