forked from CreatBot/CreatBotKlipperScreen
screen: Fix cosmetic issue with mouse hover at startup
This commit is contained in:
@@ -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")
|
||||
|
@@ -12,6 +12,7 @@ install_packages()
|
||||
echo "Installing package dependencies"
|
||||
sudo apt install -y \
|
||||
xserver-xorg-video-fbturbo \
|
||||
xdotool \
|
||||
xinit \
|
||||
xinput \
|
||||
x11-xserver-utils \
|
||||
|
Reference in New Issue
Block a user