Salamek / chromium-kiosk

Chromium kiosk is simple package turning your Archlinux or Debian (and alike) based PC/Raspberry into simple web kiosk using chromium.
GNU General Public License v3.0
60 stars 10 forks source link

Extra Argument configuration SCALE page #89

Closed itpcss closed 4 months ago

itpcss commented 4 months ago

I tried to use the parameter EXTRA_ARGUMENTS to scale the page with the parameter "--force-device-scale-factor=1.3" but there is no result. Tell me how to scale a running page?

111

As you can see, this parameter is present at startup, but the page does not scale, but the page can be manually scaled, but you need to do it automatically at startup on 130 %

2222

Salamek commented 4 months ago

Qiosk (a chromium based kiosk first browser we actually use) is written in QT so instead try using:

EXTRA_ENV_VARS:
    QT_SCALE_FACTOR: 1.3
itpcss commented 4 months ago

Added this parameter to the configuration file 000

I get an error at startup

00000

Salamek commented 4 months ago

Oh to hotfix that use '1.3' (string) instead of 1.3 (float) in configuration, in meantime i will add string cast fix in the code...

itpcss commented 4 months ago

Thanks for the prompt response. Everything worked as it should. Perhaps someone will also need this information.

Salamek commented 4 months ago

I have added info into docs https://github.com/Salamek/chromium-kiosk/blob/master/.docs/README.md#force-scale-factor