[PLUGIN] Touch Display

if you know how to use Winscp it will make your install work a lot faster
less to do… i just drag and drop it in the folder and go into the folder with putty and
run : volumio plugin install

FIXED :slight_smile: nice 1.19 working without errors, now only the keyboard and we are good to go LMAO, THX @dvo

:wink: nice uhm… keyboard on screen … still doesn’t work on 3.10 they are working on it…
tested it yesterday …it’s still broken …
but usb keyboard would work…
or do you have a logitech keyboard that could we get running to…with a Logitech USB Unifying Receiver

Version 1.2.2 of the plugin should now install as well on the Jessie based release version of Volumio as on the Buster betas provided by @ashthespy. No other changes, so for systems with the previous version already installed there is no necessity to update.

1 Like

Hi,
Currently I use an 4.3 dsi display with setting : display rotating set to 0 degrees. And I have this layout


If I change the display rotating setting to 270 degrees I see the album art on 70 % of the screen, exactly like on Web Browser from phone but the display of course is 270 degrees rotated. Since I do not want to rotate the display is it possible to have the 270 degrees layout on 0 degrees setting .?
Thanks

The Volumio UI seems to switch to the view you are after if the window with the browser showing the UI has a horizontal width below 768 pixels. On locally connected displays the window is automatically expanded to the full screen size to avoid black borders. To force the effect of a display width (and in turn window width) below 768 pixels you could try adding the following lines to /boot/userconfig.txt:

framebuffer_width=767
framebuffer_height=428
framebuffer_aspect=-1

Be aware that this will mess up the aspect ratio if you should then decide to rotate the screen by either 90 or 270 deg. :wink:

Hi,
II have add the above settings in classic theme and I have this :


If I switch to contemporary theme I have this

Can I have in contemporary theme something like this!

Thanks for helping me.

It could be possible by editing Volumio’s files but that would lead to a system that is not upgradable. So I have no solution.

Some time ago I opened an issue on GitHub that I think reflects the problem.

Understood. Bassicly the issue on the locally conected display the album art is very small compared with the display. It is ok only if I rotate the display with 270 degrees but like I said I do not want to rotate the physical display.
Maybe someone from @volumio team will hear us.
Regards

Hi,
Can I adjust the size of the screen layout in such in way that the picture to be between the 2 Bars from top and bottom. Now the bars are overlapping the picture. Somehow to lower the Pixel number that you gave me on vertical position.
Thanks.

This seems to be about the scaling of the single elements of the UI. I presume altering this requires changes in some of the .scss and / or .html files. I had no time to look any further but maybe you can find the relevant spots scanning the files in the UI repo. As stated before modifying these files on your system will have the effect that Volumio’s software integrity check will fail if you try to update the system.

Hello,

I can’t make the display work again…need some help !!

Hardware: PI3B+ geeekPi 5 inch capacitive touchscreen + hiFiBerry AMP2
Software: volumio 2.861 + touchdisplay 1.2.2 from store (works with quite older system +touchDisplay 1.0.0)

The screen displays login text (instead of the GUI - chromium kiosk):

Raspian GNU/Linux 8 volumio tty1
volumio login:

My investigations are stuck here: there’s an issue with X.Org X Server.
when I manually launch startx, i get the following error message:

(==) Log file: “/home/volumio/.local/share/xorg/Xorg.0.log”, Time: Sun Jan 3 16:40:28 2021
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
(EE) Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
(EE)

for testing purpose, i have run:

sudo /usr/bin/startx /etc/X11/Xsession /opt/volumiokiosk.sh – -nocursor

==> the GUI is launched but chromium doesn’t start - there’s a message saying it can’t run as root

Any ideas how to fix this ? :blush:

Did you install any other software for the display or modify files? If so, please describe in detail.

No other software

I add the following in /boot/userconfig.txt:

framebuffer_width=800
framebuffer_height=480
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0

Please post the results of
ls -al /tmp/.X11-unix
ls -al /data/volumiokiosk
systemctl status -l volumio-kiosk
and
/etc/X11/Xwrapper.config

Here it is …

volumio@volumio-rpi3b:~$ ls -al /tmp/.X11-unix
total 0
drwxrwxrwt 2 root root 40 Jan 4 04:05 .
drwxrwxrwt 11 root root 360 Jan 4 16:17 …
volumio@volumio-rpi3b:~$ ls -al /data/volumiokiosk
total 24
drwxr-xr-x 3 volumio volumio 4096 Jan 3 15:22 .
drwxr-xr-x 1 volumio volumio 4096 Jan 3 13:10 …
-rw------- 1 root root 1369 Jan 3 15:22 Local State
drwx------ 3 root root 4096 Jan 3 15:20 ShaderCache
lrwxrwxrwx 1 root root 20 Jan 3 15:21 SingletonCookie -> 15423842283834438819
lrwxrwxrwx 1 root root 18 Jan 3 15:21 SingletonLock -> volumio-rpi3b-4140
lrwxrwxrwx 1 root root 50 Jan 3 15:21 SingletonSocket -> /tmp/.org.chromium.Chromium.5OZJXV/SingletonSocket
volumio@volumio-rpi3b:~$ systemctl status -l volumio-kiosk
● volumio-kiosk.service - Volumio Kiosk
Loaded: loaded (/lib/systemd/system/volumio-kiosk.service; enabled)
Active: failed (Result: exit-code) since Mon 2021-01-04 04:07:29 UTC; 12h ago
Main PID: 1238 (code=exited, status=1/FAILURE)
Jan 04 04:05:23 volumio-rpi3b startx[1238]: Please consult the The X.Org Foundation support
Jan 04 04:05:23 volumio-rpi3b startx[1238]: at http://wiki.x.org
Jan 04 04:05:23 volumio-rpi3b startx[1238]: for help.
Jan 04 04:05:23 volumio-rpi3b startx[1238]: (EE) Please also check the log file at “/home/volumio/.local/share/xorg/Xorg.0.log” for additional information.
Jan 04 04:05:23 volumio-rpi3b startx[1238]: (EE)
Jan 04 04:05:23 volumio-rpi3b startx[1238]: (EE) Server terminated with error (1). Closing log file.
Jan 04 04:07:29 volumio-rpi3b systemd[1]: Started Volumio Kiosk.
Jan 04 04:07:29 volumio-rpi3b startx[1238]: xinit: giving up
Jan 04 04:07:29 volumio-rpi3b startx[1238]: xinit: unable to connect to X server: Connection refused
Jan 04 04:07:29 volumio-rpi3b startx[1238]: xinit: server error
Jan 04 04:07:29 volumio-rpi3b systemd[1]: volumio-kiosk.service: main process exited, code=exited, status=1/FAILURE
Jan 04 04:07:29 volumio-rpi3b systemd[1]: Unit volumio-kiosk.service entered failed state.
volumio@volumio-rpi3b:~$
volumio@volumio-rpi3b:~$ cat /etc/X11/Xwrapper.config
[sharp] Xwrapper.config (Debian X Window System server wrapper configuration file)
[sharp]
[sharp] This file was generated by the post-installation script of the x11-common
[sharp] package using values from the debconf database.
[sharp]
[sharp] See the Xwrapper.config(5) manual page for more information.
[sharp]
[sharp] This file is automatically updated on upgrades of the x11-common package
[sharp] only if it has not been modified since the last upgrade of that package.
[sharp]
[sharp] If you have edited this file but would like it to be automatically updated
[sharp] again, run the following command as root:
[sharp] dpkg-reconfigure x11-common
allowed_users=anybody
volumio@volumio-rpi3b:~$

Please remove /data/volumiokiosk:

sudo rm -r /data/volumiokiosk

and then try to start the plugin from the UI.

I have removed /data/volumiokiosk then turn off and on TouchDisplay plugin from the UI. Still not working :slightly_frowning_face: Same result when rebooting

Ok, need to check some more permissions… What’s the result of

ls -al ~

volumio@volumio-rpi3b:~$ ls -al ~
total 5998
drwxr-xr-x 1 volumio volumio 4096 Jan 4 18:04 .
drwxr-xr-x 1 root root 4096 Jun 11 2019 …
-rw------- 1 volumio volumio 0 Jan 4 18:04 .Xauthority
-rw------- 1 volumio volumio 6702 Jan 3 16:54 .bash_history
-rw-r–r-- 1 volumio volumio 220 Jan 14 2017 .bash_logout
-rw-r–r-- 1 volumio volumio 3515 Jan 14 2017 .bashrc
drwx------ 4 volumio volumio 4096 Jan 3 15:48 .cache
-rw-r–r-- 1 root root 49 Dec 22 13:42 .cdcdrc
-rw-r–r-- 1 root root 171 Dec 22 13:42 .cdserverrc
drwx------ 4 volumio volumio 4096 Jan 3 13:57 .config
drwxr-xr-x 3 volumio volumio 4096 Jan 1 21:34 .local
drwxr-xr-x 5 volumio volumio 4096 Jul 27 16:51 .npm
-rw-r–r-- 1 volumio volumio 675 Jan 14 2017 .profile
-rw-r–r-- 1 volumio volumio 0 Feb 2 2020 .selected_editor
-rw------- 1 volumio volumio 217 Jan 3 15:48 .xsession-errors
-rw-r–r-- 1 volumio volumio 0 Jan 4 17:01 15423842283834438819
-rwxrwxrwx 1 volumio volumio 440 Oct 11 14:13 a2dp-autoconnect
drwxr-xr-x 23 volumio volumio 4096 Oct 11 13:44 bluez
drwxr-xr-x 10 volumio volumio 4096 Oct 11 13:59 bluez-alsa
drwxr-xr-x 9 volumio volumio 4096 Oct 31 09:24 node_modules
-rw-r–r-- 1 volumio volumio 10461 Oct 31 09:24 package-lock.json
-rw-r–r-- 1 volumio volumio 0 Jan 4 17:01 volumio-rpi3b-4140
-rw-r–r-- 1 volumio volumio 6027978 May 8 2020 youtube-20191224.zip