Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to use --window-position #39

Closed
watchydev opened this issue Jun 1, 2020 · 2 comments · Fixed by #54
Closed

Add a way to use --window-position #39

watchydev opened this issue Jun 1, 2020 · 2 comments · Fixed by #54
Labels
enhancement New feature or request

Comments

@watchydev
Copy link

I'm using a RPI 4 with its dual display outputs and would like to run the program twice to display a separate dashboard on each monitor.

@vgb1993
Copy link

vgb1993 commented Jun 3, 2020

same here

@briangann briangann added the enhancement New feature or request label Jun 4, 2020
@RyuunosukeDS3
Copy link

RyuunosukeDS3 commented Jun 25, 2021

This would be REALLY game changing for me.
I've tried to implement it myself but i've NEVER coded in golang before...
So, apparently it DID recognize the option, but it didn't move the window:

grafana-kiosk --URL http://myip:3000/ --login-method local --username myuser --password mypass --kiosk-mode full --window-position 300x300
2021/06/25 08:38:21 No config specified, using environment and args
2021/06/25 08:38:21 AutoFit: true
2021/06/25 08:38:21 LXDEEnabled: false
2021/06/25 08:38:21 LXDEHome: /home/pi
2021/06/25 08:38:21 Mode: full
2021/06/25 08:38:21 URL: http://172.30.0.5:3000/
2021/06/25 08:38:21 LoginMethod: local
2021/06/25 08:38:21 Username: myuser
2021/06/25 08:38:21 Password: *redacted*
2021/06/25 08:38:21 IgnoreCertificateErrors: false
2021/06/25 08:38:21 WindowPosition 300x300
2021/06/25 08:38:21 IsPlayList: false
2021/06/25 08:38:21 AutoFit: true
2021/06/25 08:38:21 LXDEEnabled: false
2021/06/25 08:38:21 LXDEHome: /home/pi
2021/06/25 08:38:21 Mode: full
2021/06/25 08:38:21 URL: http:/myip:3000/
2021/06/25 08:38:21 LoginMethod: local
2021/06/25 08:38:21 Username: myuser
2021/06/25 08:38:21 Password: *redacted*
2021/06/25 08:38:21 IgnoreCertificateErrors: false
2021/06/25 08:38:21 WindowPosition 300x300
2021/06/25 08:38:21 IsPlayList: false
2021/06/25 08:38:21 DISPLAY= :0
2021/06/25 08:38:21 XAUTHORITY= /run/user/1000/gdm/Xauthority
2021/06/25 08:38:21 method  local
2021/06/25 08:38:21 Launching local login kiosk
2021/06/25 08:38:21 KioskMode: Fullscreen
2021/06/25 08:38:21 Navigating to  http://myip:3000/?kiosk=1&autofitpanels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants