diff --git a/screen.py b/screen.py index af06f704..51f2d945 100644 --- a/screen.py +++ b/screen.py @@ -136,6 +136,8 @@ class KlipperScreen(Gtk.Window): self.init_style() self.printer_initializing(_("Initializing")) + # Move mouse to 0,0 + os.system("/usr/bin/xdotool mousemove 0 0") # Disable DPMS os.system("/usr/bin/xset -display :0 -dpms") diff --git a/scripts/KlipperScreen-install.sh b/scripts/KlipperScreen-install.sh index 94d0ac91..b7d94cb6 100755 --- a/scripts/KlipperScreen-install.sh +++ b/scripts/KlipperScreen-install.sh @@ -12,6 +12,7 @@ install_packages() echo "Installing package dependencies" sudo apt install -y \ xserver-xorg-video-fbturbo \ + xdotool \ xinit \ xinput \ x11-xserver-utils \