Created
July 2, 2014 00:57
-
-
Save snyh/7bfab3f65b2642505915 to your computer and use it in GitHub Desktop.
associate touchscreen and output under deepin2014
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Normal you don't need this unless you work with multi-head and touchscreen. Below steps will associate your devices when things changed. | |
First, find the *touchscreen device* name. run "xinput | grep -i touchscreen" | |
and results will be similar to this: | |
"⎜ ↳ ELAN Touchscreen id=11 [slave pointer (2)]" | |
the "ELAN Tochscreen" or "11" can be used as device name. | |
Second, find the *output* which you want to associate to the touchscreen. run "xrandr | grep \ connected | awk '{print $1}'" | |
the results will be similar to this: | |
"eDP1" | |
"HDMI1" | |
------------- | |
choose the right one. | |
Last, let the deepin-display know this association . | |
$dbus-send --session --dest=com.deepin.daemon.Display /com/deepin/daemon/Display com.deepin.daemon.Display.AssociateTouchScreen string:"eDP1" string:"ELAN Touchscreen" | |
(replace the last two string to your device name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment