diff options
-rw-r--r-- | INSTALL | 7 | ||||
-rw-r--r-- | etc/ConsoleKit/sessions.d/Local.session | 9 | ||||
-rw-r--r-- | etc/X11/xorg.conf.usbseat | 20 |
3 files changed, 24 insertions, 12 deletions
@@ -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 |