Ubuntu14.04 using touch screen and notebook extended touch screen setting method

Source: Internet
Author: User
Tags home screen

Today I got a touch screen and tested it for use under WIN10 and Ubuntu14.04. The touchscreen brand is LS530TM, a 15-inch resistive touch screen.

Windows is easy to use, a total of three lines on the display: power cord, VGA cable, USB cable, respectively, connected to 220V electricity and computer. Wherein, the VGA transmits the video signal, the USB transmits the touch point signal.

The use of Ubuntu is also very simple. In the case of a desktop, since the Ubuntu14.04 is powered by a touchscreen, after connecting three lines under Windows, it can be used normally.

Here, the author uses a notebook to test, so this touch screen is used as an extension screen, we use the Ubuntu Xrandr to realize the dual screen display. For the convenience of testing, I used a cloning instruction to make two screens display the same image (explained below).

1, check whether the touch screen is normal access

Open Terminal, enter the following command

1 Cat /proc/bus/input/devices

All input devices on the computer will be listed. Since the laptop is turned on, the touchscreen is the last to be connected, so look up from the bottom, and quickly find a n:name= "", the Name of the content with touch words of the project. This means that the system has identified the touch screen and has begun to receive its events.

With the author's equipment as an example, my touch screen project is:

1i:bus=0003Vendor=0eef product=0001version=01002N:name="Egalax Inc. USB touchcontroller Pen"3p:phys=usb-0000: 0f:00.0-2/input04s:sysfs=/devices/pci0000:xx/0000:xx: 1c.6/0000: 0f:00.0/usb3/3-2/3-2:1.0/input/input205u:uniq=6h:handlers=mouse3 event197b:prop=08b:ev=1b9B:key=c010 0 0 0 0Tenb:abs=3 OneB:msc=Ten A  -i:bus=0003Vendor=0eef product=0001version=0100 -N:name="Egalax Inc. USB touchcontroller" thep:phys=usb-0000: 0f:00.0-2/input0 -s:sysfs=/devices/pci0000:xx/0000:xx: 1c.6/0000: 0f:00.0/usb3/3-2/3-2:1.0/input/input21 -u:uniq= -h:handlers=Mouse4 event20 +b:prop=2 -b:ev=b +b:key= - 0 0 0 0 0 Ab:abs=260800000000003
2. Extended Touch screen to notebook

The first time the touch screen access to the notebook, my Computer by default, this screen as the right expansion screen to display. (That is, the original screen to display the main screen content, the touchscreen display on the right side of the extended desktop blank content, you can use the mouse to the main screen to the right of the window to display on the touch screen)

However, the pain of the egg, touch screen touch on the event is the main screen. This means that I am on the touchscreen to the blank expansion of the desktop a mess, the main screen will respond to the corresponding operation, the touchscreen display on the extended desktop does not have any reaction. So here we set the content of the two-screen display as "clone", so that both screens display the same content. In this way, the display content on the touchscreen and touch events can be matched.

Use Xrandr for multi-screen management under Ubuntu system. The following is a brief introduction to Xrandr common directives.

① View screen device information.

Open Terminal, enter:

1 $ xrandr

After running, the screen information of the currently connected device, such as LVDS and VGA-0, is displayed, while the HDMI screen is disconnect, which means no connection:

② Open External Monitor, dual screen displays the same content-clone, (auto will automatically set to the highest resolution of the external monitor)

1 $ xrandr--output vga-0 --same-as LVDS--auto

③ to specify the resolution of an external monitor you can use the following command (1024x768):

1 $ xrandr--output vga-0 --same-as LVDS--mode 1024x768

④ setting the external monitor to the right extension (maximum resolution)

1 $ xrandr--output vga-0 --right-of LVDS--auto

⑤ turning off the monitor

1 $ xrandr--output vga-0

⑥ turn on the VGA-0 interface display and turn off the LVDS interface display

1 $ xrandr--output vga-0 --auto--output LVDS--off

It is important to note that before setting up a dual screen with the Xrangr command, you need to run Xrandr to see how the Vga,lvds and the HDMI interface are connected and the correct name of the interface, as above: Vga-0,lvds and HDMI

Here we use the ① and section ② instructions to view the device name and "clone" it.

3, the main screen resolution adjustment

Because the touch screen resolution is often not high, will be the main screen content copied in the past often can not display normally, when the main screen grievance perfection, reduce the main screen resolution, and the expansion screen content consistent. (Touch-screen touch events are adjusted with the home screen resolution, which means that touch events are consistent with the home screen content, but not with the content displayed on the touchscreen.) Touch events correspond to touch screen content only when the main screen content matches the content of the touchscreen display. )

Settings for Home screen resolution in Ubuntu system settings, display---resolution->1024x768

Because the resolution is set to auto when the cloning instruction is executed, it is prompted to set to 1024x768, so the main screen resolution is selected to be consistent.

4. Open the virtual keyboard using onboard

Because of the touch screen operation, sometimes there is a desire to completely get rid of the keyboard and mouse impulse. Ubuntu has built-in virtual keyboards to suit your desires. The following content is handled from Baidu experience

  1. Open the Dash menu

  2. Click to go to the App menu tab

  3. Expand Filter Results-click Accessibility

  4. On the left side of the installation can be found onboard open, this is the virtual keyboard

  5. General features introduction  

    1. Click on the right cross symbol   to move the virtual keyboard  

    2.  

      The first button on the left Ctrl is   Bring up a variety of phonetic symbols and case switching, mouse over the virtual keyboard   you can press and hold to adjust the virtual keyboard size

    3.  

      The second button on the left CTRL is only responsible for toggling the case of the

    4.  

       x keyboard in upper right corner   is to turn off virtual keyboard

    5. & nbsp

      upper right corner left number second and third is   delete with   before delete

    6.  

      Two consecutive clicks CTRL, ALT and other keys into red is pressed, these are common features, hoping to help everyone

    7.   The notebook successfully extended the 15-inch touchscreen using Ubuntu14.04.

Reference:

Touch Screen Evtouch Chinese Introduction reprint

http://forum.ubuntu.org.cn/viewtopic.php?t=190232

How Ubuntu realizes dual screen display

http://blog.csdn.net/tianmaxingkong_/article/details/50570538

How does Ubuntu change the screen resolution?

Http://jingyan.baidu.com/article/0964eca2351ed58285f5361d.html

ubuntu14.04 Virtual keyboard onboard

Http://jingyan.baidu.com/article/c910274be6166bcd361d2d0d.html

Ubuntu14.04 using touch screen and notebook extended touch screen setting method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.