screen: Fix cosmetic issue with mouse hover at startup

This commit is contained in:
Jordan Ruthe 2021-02-21 11:58:14 -05:00
parent 316ff627ac
commit c8fe6de747
2 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,8 @@ class KlipperScreen(Gtk.Window):
self.init_style() self.init_style()
self.printer_initializing(_("Initializing")) self.printer_initializing(_("Initializing"))
# Move mouse to 0,0
os.system("/usr/bin/xdotool mousemove 0 0")
# Disable DPMS # Disable DPMS
os.system("/usr/bin/xset -display :0 -dpms") os.system("/usr/bin/xset -display :0 -dpms")

View File

@ -12,6 +12,7 @@ install_packages()
echo "Installing package dependencies" echo "Installing package dependencies"
sudo apt install -y \ sudo apt install -y \
xserver-xorg-video-fbturbo \ xserver-xorg-video-fbturbo \
xdotool \
xinit \ xinit \
xinput \ xinput \
x11-xserver-utils \ x11-xserver-utils \