You are not logged in.
Pages: 1
Hi Shahin
I've got the Pi 4 going with an exposure screen on HDMI0 and a 7" SPI touchscreen on HDMI1. On boot the system runs chromium-browser in kiosk mode on HDMI1 and loads the nanoDLP home page.
I've realised that:
1. Scrolling is a pain.
2. There's no need for access to some of the pages on a screen intended to be mounted on the printer (Like Resin Profiles, and most of the pages under the Tools menu)
I'd like to build in some sort of screen size detection similar to TouchUI in Octoprint where by if it detects a screensize less than a certain number of pixels wide or some other mechanism, that it automatically loads a set of touchscreen friendly pages similar to the Nextion screensI've been hacking around in printers/public, but they don't seem to be the pages that nanoDLP serves
Offline
You can do customization on UI as you wish. Do you want to keep ui same for browsers but for touch display make it much simpler right? I guess it will need some JS code to add CSS file if screen resolution is right. It shall hide any extra info from screen and modify layout.
Offline
You can do customization on UI as you wish.
OK, but where are the UI files? Like I said, I've been testing changes in ~/printer/public and none of the changes have shown
Do you want to keep ui same for browsers but for touch display make it much simpler right?
That's exactly what I want to do
I guess it will need some JS code to add CSS file if screen resolution is right. It shall hide any extra info from screen and modify layout.
Yup.
Offline
You need to carryout modifications on these two folders:
~/printer/public
~/printer/templates
For template changes you need to restart nanodlp. For CSS/JS just browser cache flush or ctrl+r/ctrl+f5 should be enough.
Offline
I've got the Pi 4 going with an exposure screen on HDMI0 and a 7" SPI touchscreen on HDMI1. On boot the system runs chromium-browser in kiosk mode on HDMI1 and loads the nanoDLP home page.
Hello fcollingwood,
can you explain me how you did this to work?
Thank you so much for your help and have a nice time.
Offline
Pages: 1