UnchartedBull / OctoDash

OctoDash is a simple, but beautiful dashboard for OctoPrint.
https://unchartedbull.github.io/OctoDash/index.html
Apache License 2.0
1.02k stars 225 forks source link

Using a 4:3 Screen, time left is cropped #3435

Closed MarkusKress closed 1 year ago

MarkusKress commented 1 year ago

Using a 4:3 screen ratio the time left is cropped in it's hight. What do I have to write in a custom-styles.css, to change the hight of the screen? Alternative is to change change the screen resolution to a lower value for the hight. I did not found a xorg.conf to change the size.

MarkusKress commented 1 year ago

Found a solution for my Problem. Using "xnest", Xserver in a Xserver.

  1. Install xnest
  2. edit .xinitrc in home of octodash. Add two lines before ratpoison&:

Xnest -geometry 1280x720+0+152 :2 & export DISPLAY=:2

Display has a 4:3 ratio with a resolution of 1280x1024. A 16:9 ratio is using the whole width is 1280x720. To move to the middle of the screen add +152 from above (1024-720)/2.