grafana / grafana-kiosk

Kiosk Utility for Grafana
Apache License 2.0
343 stars 57 forks source link

Windows - Open 2 kiosk browsers #108

Open bboerendans opened 1 year ago

bboerendans commented 1 year ago

I'm trying to open 2 Chrome browsers (2 different urls) in kiosk mode since we have dual monitors on 1 computer. I can't get it working correctly.

I'm using a config file (based on the example), which is working fine for 1 monitor. CMD file content:

grafana-kiosk.windows.amd64.exe -c config.yaml

config.yaml:

general:
  kiosk-mode: full
  autofit: false

target:
  login-method: local
  username: *removed*
  password: *removed*
  playlist: false
  URL: *removed*

I don't know how to get the display setting working for Windows systems. Anyone an idea or suggestion how to get this working on 2 monitors on Windows?

chriswiggins commented 1 year ago

We just ran into this issue with our Raspberry Pi's. I worked around it by just running granafa-kiosk twice with two different config files. The second instance you'll want to set window-position on so it is opened on the other screen

vm3141592 commented 1 year ago

I'm trying a similar thing. The difference is: Doing this on a single screen by using -window-position and -window-size. And I don't run 2 instances of grafana-kiosk, but one instance of chromium-browser as app and one instance of grafana-kiosk. So somehting like "split-screen".

Whatever I do grafana-kiosk behaves like a kiosk and fits its size to the whole screen.

Do you know whether this is possible?