diff options
author | Lucas N. Ferreira <lnf07@c3sl.ufpr.br> | 2010-07-12 18:51:03 -0300 |
---|---|---|
committer | Lucas N. Ferreira <lnf07@c3sl.ufpr.br> | 2010-07-12 18:51:03 -0300 |
commit | 9dd091ea5a1c5bf8bd0a4b572550ddfa674fe02e (patch) | |
tree | fac6d2fbf9f48ec12d1a33aa599f59b7b3aea040 | |
parent | fba9e70efa790e70d3c37dacf50e4fe3c0240f02 (diff) |
Update Install script to be more verbose and install xorg.conf files.
-rw-r--r-- | etc/xorg.conf.seat1 | 58 | ||||
-rw-r--r-- | etc/xorg.conf.seat2 | 58 | ||||
-rwxr-xr-x | install.sh | 7 |
3 files changed, 123 insertions, 0 deletions
diff --git a/etc/xorg.conf.seat1 b/etc/xorg.conf.seat1 new file mode 100644 index 0000000..6255aee --- /dev/null +++ b/etc/xorg.conf.seat1 @@ -0,0 +1,58 @@ +Section "ServerFlags" + Option "AutoEnableDevices" "false" + Option "AutoAddDevices" "false" + Option "DefaultLayout" "seat" + Option "DontZoom" "true" + Option "DontZap" "true" + Option "AllowMouseOpenFail" "yes" +EndSection + +Section "Module" + Load "ddc" +EndSection + +Section "Files" + ModulePath "/opt/xorg/lib/xorg/modules" +EndSection + +Section "Device" + Identifier "dl" + driver "displaylink" + Option "fbdev" "/dev/usbseat/seat1/display" +EndSection + +Section "InputDevice" + Identifier "keyboard" + Driver "evdev" + Option "CoreKeyboard" + Option "Device" "/dev/usbseat/seat1/keyboard" + Option "XkbModel" "evdev" + Option "XkbLayout" "us" +EndSection + +Section "InputDevice" + Identifier "mouse" + Driver "mouse" + Option "CorePointer" + Option "Protocol" "ImPS/2" + Option "Device" "/dev/usbseat/seat1/mouse" + Option "Buttons" "5" + Option "ZAxisMapping" "4 5" +EndSection + +Section "Monitor" + Identifier "monitor" +EndSection + +Section "Screen" + Identifier "screen" + Device "dl" + Monitor "monitor" +EndSection + +Section "ServerLayout" + Identifier "seat1" + Screen 0 "screen" 0 0 + InputDevice "keyboard" "CoreKeyboard" + InputDevice "mouse" "CorePointer" +EndSection diff --git a/etc/xorg.conf.seat2 b/etc/xorg.conf.seat2 new file mode 100644 index 0000000..5958e6d --- /dev/null +++ b/etc/xorg.conf.seat2 @@ -0,0 +1,58 @@ +Section "ServerFlags" + Option "AutoEnableDevices" "false" + Option "AutoAddDevices" "false" + Option "DefaultLayout" "seat" + Option "DontZoom" "true" + Option "DontZap" "true" + Option "AllowMouseOpenFail" "yes" +EndSection + +Section "Module" + Load "ddc" +EndSection + +Section "Files" + ModulePath "/opt/xorg/lib/xorg/modules" +EndSection + +Section "Device" + Identifier "dl" + driver "displaylink" + Option "fbdev" "/dev/usbseat/seat2/display" +EndSection + +Section "InputDevice" + Identifier "keyboard" + Driver "evdev" + Option "CoreKeyboard" + Option "Device" "/dev/usbseat/seat2/keyboard" + Option "XkbModel" "evdev" + Option "XkbLayout" "us" +EndSection + +Section "InputDevice" + Identifier "mouse" + Driver "mouse" + Option "CorePointer" + Option "Protocol" "ImPS/2" + Option "Device" "/dev/usbseat/seat2/mouse" + Option "Buttons" "5" + Option "ZAxisMapping" "4 5" +EndSection + +Section "Monitor" + Identifier "monitor" +EndSection + +Section "Screen" + Identifier "screen" + Device "dl" + Monitor "monitor" +EndSection + +Section "ServerLayout" + Identifier "seat2" + Screen 0 "screen" 0 0 + InputDevice "keyboard" "CoreKeyboard" + InputDevice "mouse" "CorePointer" +EndSection @@ -3,6 +3,13 @@ SRC_DIR=/usr/sbin/ UDEV_DIR=/lib/udev/rules.d/ +XORG_CONFIG_DIR=/etc/X11/ +echo "Installing 'sead-id' script to name the seats." mv src/seat-id $SRC_DIR + +echo "Installing udev rules for detect the Plugable Dock Stations." mv udev/50-usbseat.rules $UDEV_DIR + +echo "Install Xorg configuration files for two static seats" +mv etc/xorg.conf.seat{1,2} $XORG_CONFIG_DIR |