Created
August 21, 2025 07:38
-
-
Save Sarverott/623e6f5f9c293176ed88da899781e731 to your computer and use it in GitHub Desktop.
tests in KDE kubuntu environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dbus | |
bus = dbus.SessionBus() | |
print(bus) | |
proxy = bus.get_object("org.kde.KWin", "/KWin") | |
print(proxy) | |
print(proxy.currentDesktop(dbus_interface="org.kde.KWin")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment