hardware:iiyama
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hardware:iiyama [2016/01/20 15:05] – [What works from the scratch] danielb | hardware:iiyama [2016/05/19 09:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== IIYAMA Touchscreen | + | ====== |
| ===== What you need ===== | ===== What you need ===== | ||
| Line 6: | Line 6: | ||
| * VGA or DVI cable | * VGA or DVI cable | ||
| * USB cable | * USB cable | ||
| + | * Ubuntu 14.04 | ||
| ===== Hardware Driver ===== | ===== Hardware Driver ===== | ||
| Line 14: | Line 14: | ||
| * ... emulate mouse clicks and dragging events with Button 1 pressed | * ... emulate mouse clicks and dragging events with Button 1 pressed | ||
| - | ===== What does not work from the scratch | + | ===== Issues |
| - | * Wrong offset when using multiple screens. See [[http:// | + | ==== Wrong Offset ==== |
| - | | + | Using multiple screens yields in offset of emulated events. |
| + | See [[http:// | ||
| + | If both screens have the same dimensions and the touchscreen | ||
| + | is left of your main monitor, this call should fix it: | ||
| + | |||
| + | | ||
| or if the touchscreen is right of your main monitor: | or if the touchscreen is right of your main monitor: | ||
| - | | + | |
| + | |||
| + | ==== Firefox touch events ==== | ||
| + | |||
| + | It seems that firefox lacks support for proper touch events. | ||
| + | use chromium instead. | ||
| + | |||
| + | ===== Chromium Kiosk Mode ===== | ||
| + | |||
| + | In kiosk mode the user has limited access to the computer, | ||
| + | only one fullscreen application allows interaction with the system. | ||
| + | |||
| + | === openEASE session === | ||
| + | |||
| + | Login managers are starting sessions after a user logs in. | ||
| + | Such sessions usually start a window manager and possibly other | ||
| + | default software services. | ||
| + | in case of openEASE we only need a running web browser. | ||
| + | Since firefox has issues with touch events we have to stick with chromium for now. | ||
| + | |||
| + | Make sure chromium is installed: | ||
| + | sudo apt-get install chromium | ||
| + | |||
| + | A window manager seems required. I prefer using a lightweight manager such as **xfwm4**. | ||
| + | Make sure the WM is installed: | ||
| + | sudo apt-get install xfwm4 | ||
| + | |||
| + | Sessions are defined in .desktop files. | ||
| + | Create a new openEASE session at **/ | ||
| + | [Desktop Entry] | ||
| + | Name=openEASE | ||
| + | Comment=This session logs you into openEASE | ||
| + | Exec=/ | ||
| + | Icon= | ||
| + | Type=Application | ||
| + | X-LightDM-DesktopName=Chromium | ||
| + | X-Ubuntu-Gettext-Domain=gnome-session-3.0 | ||
| + | |||
| + | **TODO** include openEASE icon | ||
| + | |||
| + | The session references a shell script **/ | ||
| + | # | ||
| + | xfwm4 & | ||
| + | xscreensaver -nosplash & | ||
| + | sleep 3 | ||
| + | chromium-browser --app=https:// | ||
| + | |||
| + | The session should now appear in the list of sessions in the login manager. | ||
| + | |||
| + | === Login Manager === | ||
| + | |||
| + | First create/ | ||
| + | log in without password: | ||
| + | sudo gpasswd -a guest nopasswdlogin | ||
| + | |||
| + | Now make openEASE the default session of the system by editing **/ | ||
| + | adding these lines: | ||
| + | [SeatDefaults] | ||
| + | user-session=openease | ||
| + | greater-show-manual-login=true | ||
| + | |||
| + | === Screensaver === | ||
| + | |||
| + | Install xscreensaver from ubuntu packages: | ||
| + | sudo apt-get install xscreensaver | ||
| + | |||
| + | Start xscreensaver for configuration: | ||
| + | xscreensaver-demo | ||
| + | |||
| + | Set the blank time to something reasonable such as 10 minutes. | ||
| + | |||
| + | Then, kill the screensaver: | ||
| + | killall xscreensaver | ||
| + | |||
| + | Open configuration file at *~/ | ||
| + | " | ||
| + | -nolirc -nostop-xscreensaver -wid \ | ||
| + | $XSCREENSAVER_WINDOW -fs -loop 0 \ | ||
| + | $HOME/ | ||
| - | * Mouse wheel scrolling works with some desktop applications. But not with firefox because firefox allows to select text. Firefox | + | This "program" can be used to show videos that are available in the directory |
| + | ~/Videos/ while no one is using the touch screen. | ||
| + | To select the video loop, open *xscreensaver-demo* again, select | ||
| + | and select | ||
| - | * Dragging with other button then 1 | ||
hardware/iiyama.1453302304.txt.gz · Last modified: (external edit)
