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:07] – [What does not work 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 23: | Line 23: | ||
| is left of your main monitor, this call should fix it: | 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 ==== | ==== Firefox touch events ==== | ||
| - | Seems firefox lacks support for proper touch events. | + | It seems that firefox lacks support for proper touch events. |
| use chromium instead. | 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 **/ | ||
| + | #!/bin/bash | ||
| + | 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/ | ||
| + | |||
| + | This " | ||
| + | ~/Videos/ while no one is using the touch screen. | ||
| + | To select the video loop, open *xscreensaver-demo* again, select "Just one screensaver" | ||
| + | and select " | ||
hardware/iiyama.1453302463.txt.gz · Last modified: (external edit)
