diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-12 21:09:17 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-06-06 06:29:04 +0200 |
commit | 10bfe94d200738adda8a2e8981f2ae65712376d3 (patch) | |
tree | e07c17c359687db21d07d22f1072601f8dc02195 /perl-install/install/gtk.pm | |
parent | f090db8b3ed93b5c69f9a093f52a4be873808d77 (diff) | |
download | drakx-10bfe94d200738adda8a2e8981f2ae65712376d3.tar drakx-10bfe94d200738adda8a2e8981f2ae65712376d3.tar.gz drakx-10bfe94d200738adda8a2e8981f2ae65712376d3.tar.bz2 drakx-10bfe94d200738adda8a2e8981f2ae65712376d3.tar.xz drakx-10bfe94d200738adda8a2e8981f2ae65712376d3.zip |
don't write input sections in xorg.conf
for eg: USB wacom tablets, mouses & keyboard (we were missing Synaptics
touchpads)
We now rely on evdev/udev for input devices, which should make Synaptics
touchpads to now automagically work during install (mga#11524)
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r-- | perl-install/install/gtk.pm | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm index 41d43d42d..42a331084 100644 --- a/perl-install/install/gtk.pm +++ b/perl-install/install/gtk.pm @@ -249,7 +249,6 @@ sub special_shortcuts { sub createXconf { my ($file, $mouse_type, $mouse_dev, $_wacom_dev, $Driver) = @_; - $mouse_type = 'IMPS/2' if $mouse_type eq 'vboxmouse'; symlinkf(devices::make($mouse_dev), "/dev/mouse") if $mouse_dev ne 'none'; #- remove "error opening security policy file" warning @@ -257,11 +256,9 @@ sub createXconf { return if !$Driver; - my ($mouse_driver, $mouse_protocol) = detect_devices::is_vmware() ? qw(vmmouse auto) : ('mouse', $mouse_type); my $resolution = $Driver eq 'fbdev' ? '"default"' : '"800x600" "640x480"'; - output($file, sprintf(<<'END', $mouse_driver, $mouse_protocol, $Driver, $resolution)); + output($file, sprintf(<<'END', $Driver, $resolution)); Section "ServerFlags" - Option "AutoAddDevices" "False" EndSection Section "Module" @@ -272,21 +269,6 @@ Section "Files" FontPath "/usr/share/fonts:unscaled" EndSection -Section "InputDevice" - Identifier "Keyboard" - Driver "keyboard" - Option "XkbModel" "pc105" - Option "XkbLayout" "us" -EndSection - -Section "InputDevice" - Identifier "Mouse" - Driver "%s" - Option "Protocol" "%s" - Option "Device" "/dev/mouse" - Option "ZAxisMapping" "4 5" -EndSection - Section "Monitor" Identifier "monitor" HorizSync 31.5-35.5 @@ -316,8 +298,6 @@ Section "ServerLayout" Option "OffTime" "0" Identifier "layout" Screen "screen" - InputDevice "Mouse" "CorePointer" - InputDevice "Keyboard" "CoreKeyboard" EndSection END |