Where, in what configuration file is the current 50% zoom preset stored?
This setting could e.g. reset by a crash of the browser from the system,
later in my project there should no longer be a keyboard.
I tried to preset by inserting the line --force-device-scale-factor = 0.5 \
in /opt/volumiokiosk.sh file, unfortunately without success, without any change.
How can I predefine these presets in a configuration file?
This question was often asked here but never answered satisfactorily.
The zoom factor is saved in /data/volumiokiosk/Default/Preferences. In the file look for something like "partition":{"per_host_zoom_levels":{"3990065800":{"localhost":0.5227586988632231}}}. Such an entry seems to be present in the Preferences file only after the zoom factor has been altered once.
The zoom factor is the number after “localhost”. You find some more values for certain zoom factors here. The value of 0.5227586988632231 I used above equates to 110%. It is calculated with log(zoom_factor, 1.2) where zoom_factor would be 1.10 for 110%.
Instead of “per_host_zoom_levels” one can use “default_zoom_level” which would look like "partition":{"default_zoom_level":{"3990065800":0.5227586988632231}}. The last number is the zoom factor again. Note that the preceding number “3990065800” might be different for you. ATM I don’t know where it is derived from or how it is generated. I suspect it is some kind of ID.
I performed a fresh installation after taking the pictures in first post,
this is the reason why the entry was not available.
In fact, after CTRL + scroll to 50% zoom, the entry appears:
When modifying the Preferences file the chromium-browser must not run. So disable the touch display plugin first, then add your zoom setting to Preferences save it and enable the plugin. For me the setting (just tested “default_zoom_level”, but that should make no difference) survived a reboot as well es disabling and re-enabling the plugin. I think only in case the Preferences file gets damaged it would be necessary to ssh to Volumio and reapply the zoom setting.
Yes, it works to disable the touch display plugin first and enable it after value change.
In my case the best value is “2.6” (without the total of 16 decimals).
Do You know if it exists a equivalent of a zoom slider for chromium-browser?
Or a ssh terminal (maybe nonofficial) plugin for volumio?
Do You know if it exists a equivalent of a zoom slider for chromium-browser?
Not to my knowledge.
Or a ssh terminal (maybe nonofficial) plugin for volumio?
AFAIK an SSH terminal plugin does not exist. Frankly I would not see any use for it: You can enable or disable SSH access from Volumio’s DEV page in a web browser if needed. In any case connecting to Volumio via SSH requires a terminal (or Putty or something like that) on a second device. This would not change with an “SSH plugin”.
I finally managed it to zoom in and out of the view by just using a virtual keyboard and a touch pen.
In any search box click “Ctrl” (lock itself one tine) followed by plus or minus. why I didn’t just do that…