fix systemd not starting the service at boot

This commit is contained in:
Marco Realacci 2024-05-15 19:25:47 +02:00
parent be0a6b0611
commit 4629308686
2 changed files with 4 additions and 1 deletions

View file

@ -8,4 +8,4 @@ Restart=always
ExecStart=/usr/bin/python3 /opt/plasma-mxmaster-fix/plasma-mxmaster-fix.py
[Install]
WantedBy=multi-user.target
WantedBy=default.target

3
tes.py Normal file
View file

@ -0,0 +1,3 @@
import subprocess
subprocess.run('dbus-send --type=method_call --dest=org.kde.KWin /org/kde/KWin/InputDevice/event11 org.freedesktop.DBus.Properties.Set string:"org.kde.KWin.InputDevice" string:"scrollFactor" variant:double:1', shell=True)