plasma-mxmaster-fix/tes.py

3 lines
No EOL
240 B
Python

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)