-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
When running getAllWindows() on the latest version of KDE Plasma Wayland, I get this error.
Exception has occurred: CalledProcessError
Command 'gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "global.get_window_actors().map(a=>a.meta_window).map(w=>({class: w.get_wm_class(), title: w.get_title(), active: w.has_focus(), id: w.get_description(), id2: w.get_id(), id3: w.get_pid()}))"' returned non-zero exit status 1.
File "/PATH_TO_PYTHON_PROJECT/__main__.py", line 3, in <module>
active_window = pywinctl.getAllWindows()
subprocess.CalledProcessError: Command 'gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval "global.get_window_actors().map(a=>a.meta_window).map(w=>({class: w.get_wm_class(), title: w.get_title(), active: w.has_focus(), id: w.get_description(), id2: w.get_id(), id3: w.get_pid()}))"' returned non-zero exit status 1.
It seems to think I'm using Gnome, but I'm using Plasma?
Metadata
Metadata
Assignees
Labels
No labels