VGA1 connected 1920x1080+1024+0 (normal left inverted right x axis y axis) 477mm x 268mm LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm Take for example the setup of having a wacom tablet and an external monitor xrandr shows both displays: This can be achieved with xinput as follows. To use multiple displays (some of which are touchscreens), you need to tell Xorg the mapping between the touch surface and the screen. Using a touchscreen in a multi-head setup Then, run xinput_calibrator and follow the instructions. There is a hack to emulates this scrolling behavior for every application in #Touchegg, but the X server still handles it as text selection (at least with Plasma). The two-fingers scrolling has to be implemented on the application side (see this link).įor Firefox, see Firefox/Tweaks#Enable touchscreen gestures. Again, evdev is likely to be the default if your touchscreen "just works." Proprietary drivers exist for some devices (e.g.: xf86-input-egalax AUR), but it is recommended to try the open source drivers first.ĭepending on your touchscreen device choose an appropriate driver. Less common drivers, not contained in the repository, are: xf86-input-evdev (likely the default driver if you plug in your touchscreen and it "just works").The most common ones are in the extra repository: There are a lot of touchscreen input drivers for X11 out there. If you found the corresponding node, it is likely that you will be able to get the device working. # cat /dev/input/event? # replace ? with the event numbersįor every of your event nodes while touching the display. That means there exists a /dev/input/event* node for your device. This article assumes that your touchscreen device is supported by the kernel (e.g. If you ever tried to set up a touchscreen device in linux, you might have noticed that it is either working out of the box (besides some calibration) or is very tedious, especially when it is not supported by the kernel.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |