I use the latest version of volume on a raspberry pi 3B +.
I tried to install the Matchbox-keyboard and the florence with apt-get and they seem to have installed well.
The problem is that when trying to execute them both give “Cannot open display” error
And if I run xhost + I get the error xhost: unable to open display “”
Would anyone know what happens or what can I do to solve this problem?
That looks OK. Apart from pixman this looks pretty much the same on my system. I guess you can use the functions of the Touch Display plugin or do you get then error messages as well?
Does the error “Cannot open display” appear (only) when you try to start florence manually from the command line? If so, what happens when you run
DISPLAY=:0 florence
BTW: What are you trying to achieve when executing xhost + I?
First, openbox-session & is disabled, which I don’t know if it affects something or not:
#openbox-session &
I modify and try to disable the plugin, but volume disappears from the screen. Restart the system by SSH and then volume does not start, it remains in volume login:
That is not by default. If there is no entry regarding e.g. the matchbox-window-manager remove the[code]
[/code]from that line.
You should not have to restart Volumio (reboot). You should have access to the UI through any webbrowser running on a device which is in the same network as Volumio.
P.S. Maybe post the result of
cat /opt/volumiokiosk.sh
volumio@volumio:~$ cat /opt/volumiokiosk.sh
#!/bin/bash
while true; do timeout 3 bash -c "</dev/tcp/127.0.0.1/3000" >/dev/null 2>&1 && break; done
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /data/volumiokiosk/Default/Preferences
sed -i 's/"exit_type":"Crashed"/"exit_type":"None"/' /data/volumiokiosk/Default/Preferences
openbox-session &
matchbox-keyboard -d &
matchbox-window-manager -use_titlebar no &
while true; do
/usr/bin/chromium-browser \
--disable-pinch \
--kiosk \
--no-first-run \
--disable-3d-apis \
--disable-breakpad \
--disable-crash-reporter \
--disable-infobars \
--disable-session-crashed-bubble \
--disable-translate \
--user-data-dir='/data/volumiokiosk' --no-sandbox http://localhost:3000
done
volumio@volumio:~$
The lines of the matchbox were duplicated, when installed they would have been created and we then created two more. I have deleted them and now it works perfectly.
P.S. I just recognized that your /opt/volumiokiosk.sh contains “openbox-session &” and also “matchbox-window-manager -use_titlebar no &”. If that should be the current content of the file I suggest to remove or comment the openbox entry like that
#openbox-session &
My post advising the opposite (https://forum.volumio.org/volumio-and-virtual-keyboard-t13906.html#p72099) was referring to the case of using florence while sticking to openbox as window manager, not the combination of matchbox-keyboard and the matchbox-window-manager (which is meant to substitute openbox).
Good evening, I’m a new member. For a few days I have a raspberry p4, lcd touch 7 "1024x600. I have installed volumio and I would like to use these components better. I have no programming knowledge. I understand how to enable shh, use putty. I need help to install everything I need to have LCD working 100% and with virtual keyboard, to insert text from LCD I would need help step by step Can you send tutorials pdf or videos? A heartfelt thanks to those who can help me.
My email is: dragospyro @ live.it
Ciao e grazie per la tua disponibilità. Ho controllato nel menù ed installato questo plugin. tutto ok. ora finalmente funziona. Volevo chiederti 2 cose importanti per me.
A) Il mio progetto ha monitor lcd 7" touch waveshare (https://www.waveshare.com/wiki/7inch_HDMI_LCD_(C)). Quando installo volumio, lcd non funziona. Installo plugin touch e display lcd funziona. Ora volevo chiederti ma non devo instalalre eventuali driver??? è tutto ok così? Devo impostare risoluzione schermo? e se si come?
b) Ma sul touch non si puo’ abilitare barra controllo volume?
Grazie amico.