Touch UI Tiny after reboot

I decided to reboot my Repetier Server Pi today as the network wasnt connected. When it rebooted the UI on the touch screen is tiny. Its always worked fine before, is there a way to choose the UI scale?

Comments

  • Never had that problem and never heard about it. What do you mean with tiny here? Not a full screen window? In .config/openbox/autostart it is always started like this:

    chromium-browser  --app-auto-launched --disable-pinch --incognito --noerrdialogs --disable-suggestions-service --disable-translate --disable-save-password-bubble --disable-session-crashed-bubble --disable-infobars --touch-events=disabled --disable-gesture-typing --kiosk --app=http://127.0.0.1:3344/modules/front2/app/app.html &


    The kiosk mode means full screen.

  • Hi, its full screen but all the icons and text are really small and too hard to read.

    It used to look absolutely fine but I had to restart it one day as it wouldnt connect to my network and when it rebooted the UI was really small.
  • edited November 2020
    Okay so I completely powered down everything and restarted the PI without the screen. Then I turned it off and plugged back in the screen and turned it back on and now its back to normal.

    Here are the images:
    https://photos.app.goo.gl/VBd1CBT9CXA4uded6

  • Ok looks like you have changed the scaling/zooming factor somehow. No idea how this can be done in touch screen mode. Maybe it helps when you edit /home/pi/.config/openbox/autostart to contain

    chromium-browser --force-device-scale-factor=1 --disable-features=TranslateUI --app-auto-launched --disable-pinch --incognito --noerrdialogs --disable-suggestions-service --disable-translate --disable-save-password-bubble --disable-session-crashed-bubble --disable-infobars --touch-events=disabled --disable-gesture-typing --kiosk --check-for-update-interval=31536000 --app=http://127.0.0.1:3344/modules/front2/app/app.html &


    instead. I have added --force-device-scale-factor=1 to hopefully force factor 1.

  • I noticed this happens when I click "restart server" from the UI. It restarts but in small mode. If I unplug the PI and plug it back in it boots into normal Ui mode size. I wonder if the restart script is different to the boot up script.
  • If you really mean restart server where it shuts down down and reboots - that is the same as first powering. So there should be no difference. When I compare your 2 images it looks like 2 different resolutions. What might be different is the resolution reported by the display. Maybe the response differs between first startup and reboot. Normally it tries to get the resolution via hdmi. But you can also in /boot/config.txt set a fixed hdmi mode (see raspberry pi docs for config.txt). Then it should always use the predefined resolution.
Sign In or Register to comment.