I used "Ultimate Edition Multi-Monitor tool" to get it working properly in span or Xinerama mode. I used the following command:
- Code: Select all
multi-monitor --scan
Which turned the following and hosed my configuration:
TheeMahn's Multi-monitor script. Please report bugs to TheeMahn <[email protected]>
3 Ports detected and 2 Monitors detected. Enabling 2 monitors(s) and setting default resoultion(s).
Port(s) connected:
HDMI-0
VGA-0
Default resolution(s):
1920x1200 60.0*+
1280x1024 60.0*+ 75.0
Command to be executed: xrandr --output HDMI-0 --auto --output VGA-0 --auto --right-of HDMI-0
If you can read this we were successful. If you would like to make changes permenent please cron this script:
sudo echo "*/1 * * * * theemahn DISPLAY=:0.0 /bin/multi-monitor > ~/mm.log 2>&1 >> /etc/crontab"
theemahn@JackHammer:~$
If I would have had the 19" on the right of the 28" display it would have done perfectly. Ok a little adjustment of the xrandr command that multi-monitor spit out and we are somewhat rocking reversing --right-of to --left-of:
- Code: Select all
xrandr --output HDMI-0 --auto --output VGA-0 --auto --left-of HDMI-0
At this point touching the touchscreen monitor yeilded undesirable results touching the top of a window on the touch screen would be showing up on the 28" not what we are looking for. A bit of googling and I have now figured out how to calibrate the touchscreen.
First we need the device name:
theemahn@JackHammer:~$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ http://www.mmff.net.cn Optical-Mouse id=9 [slave pointer (2)]
⎜ ↳ 3M 3M MicroTouch USB controller id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ http://www.mmff.net.cn Optical-Mouse id=8 [slave keyboard (3)]
↳ C-Media USB Headphone Set id=10 [slave keyboard (3)]
↳ Eee PC WMI hotkeys id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
theemahn@JackHammer:~$
The 2 things we are looking to pay attention to is 1: "3M 3M MicroTouch USB controller" and 2: "id=11" now we need to assign those values to xsetwacom in my case the device "3M 3M MicroTouch USB controller" on yours it may vary, however the value to assign it to will be retrieved by multi-monitor tool in my case "VGA-0":
- Code: Select all
xsetwacom set "3M 3M MicroTouch USB controller" MapToOutput VGA-0
xsetwacom set 11 MapToOutput VGA-0
Immediatly after the second command is entered, my touchscreen works perfectly & both monitors at maximum resolution spanned. I can with one finger drag a window from one monitor to the other also known as Xinerama, unlike the video demonstrates.
Maybe its something I can program into the multi-monitor tool, we will see.
02/17/14: It is done, multi-monitor tool now has preliminary touch screen support.
xrandr ran with no switches will provide a slew of information about both your monitor(s) and supported video resolutions.