Showing posts with label X. Show all posts
Showing posts with label X. Show all posts

2009-10-13

Using a NextWindow touchscreen with Ubuntu

This should work for any X.org based Linux system. The key is to point it at the right event id as follows in /etc/X11/xorg.conf :

Section "InputDevice"
        Identifier "touchscreen"
        Driver "evtouch"
        Option "Device" "/dev/input/by-id/usb-NextWindow_Touchscreen-event-mouse"
        Option "DeviceName" "touchscreen"
        Option "MinX" "1"
        Option "MinY" "1"
        Option "MaxX" "32768"
        Option "MaxY" "32768"
        Option "ReportingMode" "Raw"
        Option "Emulate3Buttons" "false"
        Option "Emulate3Timeout" "50"
        Option "SendCoreEvents" "On"
        Option "CorePointer"
EndSection

Note that this is for the newest 2150 versions. Without the /dev/input/by-id line, the event number seemed to change somewhat randomly on reboot.

2009-03-10

NVidia TwinView on Ubuntu

After using envyng to install the NVIDIA drivers, I would get this error when trying to turn on TwinView:

Failed to set MetaMode (2) 'DFP-0: 1920x1200 @1920x1200 +0+0, DFP-1: nvidia-auto-select @1920x1200 +1920+0' (Mode 3840x1200, id: 60) on X screen 0

Even when running sudo nvidia-settings I would get this error, and things just wouldn't work.

Turns out the correct thing to do is to run sudo nvidia-settings, detect the second screen, and configure it as you want, and don't hit apply - instead hit Save to X Configuration File and then hit CTRL+ALT+BACKSPACE to restart X. This worked for me. Note that it will log you out and close any open programs you have. Now I have double desktops!