summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas N. Ferreira <lnf07@c3sl.ufpr.br>2010-08-18 21:11:27 -0300
committerLucas N. Ferreira <lnf07@c3sl.ufpr.br>2010-08-18 21:11:27 -0300
commit636e4e47b41ca121e400565e9693af5deac8fab6 (patch)
treed92fb3899e13f1620228a240bca6531265b4a9d4
parent746824dbb602732ee94303059b8e20d978c1c4fa (diff)
Enable Primary seat.HEADmaster
-rw-r--r--INSTALL7
-rw-r--r--etc/ConsoleKit/sessions.d/Local.session9
-rw-r--r--etc/X11/xorg.conf.usbseat20
3 files changed, 24 insertions, 12 deletions
diff --git a/INSTALL b/INSTALL
index ce944d2..a36da3a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -43,10 +43,10 @@ the tutorial below to install those software and the usbseat solution:
- Download and Install fbdev Xserver Driver:
- $ sudo apt-get install pkg-config xorg-dev
+ $ sudo apt-get install pkg-config autoconf libtool xorg-dev xutils-dev
$ git clone http://git.plugable.com/webdav/xf86-video-fbdev
$ cd xf-video-fbdev
- $ ./configure
+ $ ./autogen.sh
$ make
$ sudo make install
@@ -57,6 +57,9 @@ the tutorial below to install those software and the usbseat solution:
$ dpkg -i dependencies/Ubuntu/*.deb
$ ./install.sh
+Now, to test the usbseats, reboot your machine and connect a docking station to
+your computer. Then you will get automatically a seat on it.
+
Other Distros (Debian Based)
============================
diff --git a/etc/ConsoleKit/sessions.d/Local.session b/etc/ConsoleKit/sessions.d/Local.session
new file mode 100644
index 0000000..303f148
--- /dev/null
+++ b/etc/ConsoleKit/sessions.d/Local.session
@@ -0,0 +1,9 @@
+[Session Entry]
+Name=Local
+Type=LoginWindow
+Description=Local Login Screen
+DisplayTemplate=Local
+
+[Local]
+display=:0
+vt=vt7
diff --git a/etc/X11/xorg.conf.usbseat b/etc/X11/xorg.conf.usbseat
index 68f714c..4cd8008 100644
--- a/etc/X11/xorg.conf.usbseat
+++ b/etc/X11/xorg.conf.usbseat
@@ -6,23 +6,23 @@ Section "ServerFlags"
Option "DontZap" "true"
Option "AllowMouseOpenFail" "yes"
EndSection
-
+
Section "Module"
Load "ddc"
EndSection
-
-Section "Files"
+
+Section "Files"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/local/lib/xorg/modules"
EndSection
-
+
Section "Device"
Identifier "dl"
driver "fbdev"
Option "ReportDamage" "true"
Option "fbdev" "/dev/usbseat/%ID_SEAT%/display"
EndSection
-
+
Section "InputDevice"
Identifier "keyboard"
Driver "evdev"
@@ -31,7 +31,7 @@ Section "InputDevice"
Option "XkbModel" "evdev"
Option "XkbLayout" "us"
EndSection
-
+
Section "InputDevice"
Identifier "mouse"
Driver "mouse"
@@ -41,20 +41,20 @@ Section "InputDevice"
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 "%ID_SEAT%"
- Screen 0 "screen" 0 0
+ Screen 0 "screen" 0 0
InputDevice "keyboard" "CoreKeyboard"
InputDevice "mouse" "CorePointer"
EndSection