Virtual Keyboard - Kiosk Mode

What you want to find in next Volumio release?

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Virtual Keyboard - Kiosk Mode

Postby eximo » Sat Feb 18 2017 17:03

works like a charm ... excellent work, matika
Random avatar
eximo
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Sat Feb 18 2017 17:00

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Virtual Keyboard - Kiosk Mode

Postby The_jb » Wed Feb 22 2017 20:34

ianpaulstone wrote:I've tried it but the file says that I can't write to it... I tried the same approach using sudo nano before creating the new file and on reboot volumio still worked but the touchscreen booted to chrome web browser instead... where might I be going wrong?


I too am having this problem. Any help would be much appreciated
Random avatar
The_jb
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Wed Feb 22 2017 20:14


Virtual Keyboard - Kiosk Mode

Postby sfxtech » Wed Mar 15 2017 18:13

I've followed the instructions and my volumiokiosk.sh file looks exactly like the instructions you posted...

However, when I reboot I am met with this error message:

"Please restart Chromium as a normal user. If you need to run as root for development, rerun with the --no-sandbox flag."

Any thoughts?
Random avatar
sfxtech
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Wed Mar 15 2017 18:11


Virtual Keyboard - Kiosk Mode

Postby hotwheelzffx » Mon Apr 24 2017 15:19

Add --no-sandbox to that last line of volumiokiosk.sh


sfxtech wrote:I've followed the instructions and my volumiokiosk.sh file looks exactly like the instructions you posted...

However, when I reboot I am met with this error message:

"Please restart Chromium as a normal user. If you need to run as root for development, rerun with the --no-sandbox flag."

Any thoughts?
Random avatar
hotwheelzffx
Fresh off the boat
Fresh off the boat
 
Posts: 8
Joined: Mon Apr 24 2017 12:13


Virtual Keyboard - Kiosk Mode

Postby talt » Thu May 04 2017 14:54

thank you it works great:
raspi 2.0 , volumio 2.141, tft waveshare 7 inch,
volumiokiosk.sh looks like:
#!/bin/bash
xset +dpms
xset s blank
xset 0 0 120
matchbox-keyboard -d &
matchbox-window-manager -use_titlebar no &

openbox-session &
while true; do
/usr/bin/chromium-browser \
--no-touch-pinch \
--kiosk \
--no-first-run \
--disable-3d-apis \
--disable-breakpad \
--disable-crash-reporter \
--disable-infobars \
--disable-session-crashed-bubble \
--disable-translate \
--no-sandbox http://localhost:3000
done
Random avatar
talt
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Thu May 04 2017 14:48


Virtual Keyboard - Kiosk Mode

Postby function9 » Mon Jan 01 2018 18:26

Works well, screen might be slightly slower but well worth it for added functionality.

Thanks!

Just added the following lines to volumiokiosk.sh after installing packages:

matchbox-keyboard -d &
matchbox-window-manager -use_titlebar no &

and commented out openbox like below;
#openbox-session &

Rassberry PI 3 B and official 7" touchscreen
Random avatar
function9
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Mon Jan 01 2018 18:20


Virtual Keyboard - Kiosk Mode

Postby AndrewHeard » Tue Jan 02 2018 02:51

I did same as last poster, just added 2 obvious lines:
matchbox-keyboard -d &
matchbox-window-manager -use_titlebar no &

& commented out the following:
#openbox-session &

Search works for me using a 5" display. The on-screen keyboard is slightly too small (unless you have sharpened your fingertips to points) although there is plenty of spare space that could be used more effectively. The main killer is that the display has gone mostly red with a patterned vertical line texture. hmmm, think I'll have to stick with the wireless keyboard. Pity. I liked the idea.
Random avatar
AndrewHeard
Serious Listener
Serious Listener
 
Posts: 71
Joined: Tue Dec 19 2017 05:15


Virtual Keyboard - Kiosk Mode

Postby AndrewHeard » Tue Jan 02 2018 04:52

An update on my last post.
1. I didn't comment out the original "openbox-session &". Why remove it?
2. red display - loose HDMI cable - duh
3. to maximize keyboard on 5" display I deleted top (numeric) & bottom (ctrl/ alt/ space) rows, and put the numeric keys alongside alpha keys. Good enough now.

Contrary to other comments ~/.matchbox/keyboard.xml seems to be ignored. I had to edit /usr/share/matchbox-keyboard/keyboard.xml.

FWIW I've attached my cut down keyboard.
Attachments
keyboard.zip
(482 Bytes) Downloaded 148 times
Random avatar
AndrewHeard
Serious Listener
Serious Listener
 
Posts: 71
Joined: Tue Dec 19 2017 05:15


Virtual Keyboard - Kiosk Mode

Postby jonasled » Thu May 03 2018 18:58

I've found a solution:

disable the touch plugin
enables ssh (Volumio-IP/dev)
log in with SSH (volumio:volumio)
type sudo su and enter volumio as pass
type startx &
type DISPLAY=:0 /usr/bin/chromium-browser --no-touch-pinch --no-first-run --user-data-dir='/data/volumiokiosk' --no-sandbox https://kurz.ml/31vUpA
install this application
close chrome
enable touch plugin
Random avatar
jonasled
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Thu May 03 2018 15:28


Virtual Keyboard - Kiosk Mode

Postby nicko500 » Mon Oct 01 2018 10:58

Works perfectly :)
In my case, just needed to desactivate again plugin after keyboard settings done

Thanks !

While I was testing that, I done this mod to remove cursor :

Code: Select all
sudo apt-get install unclutter


edit :
Code: Select all
sudo nano /opt/volumiokiosk.sh


add :
Code: Select all
unclutter -idle 0$
Random avatar
nicko500
Fresh off the boat
Fresh off the boat
 
Posts: 4
Joined: Sat Sep 12 2015 20:13

PreviousNext

Return to Suggest a feature

Who is online

Users browsing this forum: No registered users and 0 guests