Keep full screen

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
unclekoen
Posts: 21
Joined: Saturday 27 October 2018 11:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Keep full screen

Post by unclekoen »

I can't find out how to solve this. Also on the web there is nothing that i can find is useful.

But i think it is this simple to solve.

I am using Dashticz on a old Nexus 7 tablet. And i want it to be in a nice all over full screen. No bars or buttons of the Google Chrome browser my be seen. The full screen button works really good.

BUT in the CONFIG.js there is a setting:

Code: Select all

config['dashticz_refresh'] = '60';
Wich refreshes every 60 minutes and is showing the browser again. Dashticz is out of full screen mode.

I can understand, setting "dashticz_refresh" on 9999999 minutes is not a good option. Is there a better way to put Dashticz back in full screen mode after a refresh???
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: Keep full screen

Post by krizzz »

There is an easy solution for you in my opinion. Use the app Fully Kiosk browser on your tablet to show Dashticz. Works perfect. So do not use chrome for this.


Verzonden vanaf mijn iPhone met Tapatalk
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Keep full screen

Post by clinkadink »

You can't force a website in any browser to display in fullscreen mode. Browsers prevent enforcing fullscreen mode by code alone. They require a 'user interaction'. All of Javascript's fullscreen api's will throw a error like this if you try and enforce fullscreen via code alone:

Code: Select all

Failed to execute 'requestFullScreen' on 'Element': API can only be initiated by a user gesture.
I have tried many times to bypass this, and failed each time :cry: Although equally, I understand and respect why browsers do this; malicious websites hijacking user data.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
tarmacalastair
Posts: 95
Joined: Wednesday 30 October 2019 14:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Great Britain
Contact:

Re: Keep full screen

Post by tarmacalastair »

Another option like Fully Kiosk browser on Android is Wallpanel. This can be set to start on boot and various other tweaks (see below).

Also, within Chrome (on Android phones at least), there is an option in the menu to "Add to Home screen". I use this for Dashticz and get no Chrome menus or buttons at all. But I do still have the Android status bar and buttons. Wallpanel however can also hide these. It took me ages to work out how to get out of Wallpanel when everything is hidden - you have to swipe down from the very top of the screen and then the software navigation buttons reappear at the bottom.

Good luck....
Running Domoticz and Dashticz beta on Raspberry Pi OS 32 bit - has anyone had success with 64 bit?

Desktop access from Ubuntu Linux
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest