This is an automated archive.
The original was posted on /r/fedora by /u/RealFenlair on 2023-08-07 12:07:19+00:00.
Hi everyone!
I’m running Fedora 38 with the KDE spin. Wanting to write a manual tiling script for kwin, I started with the tutorial and already failed trying to get debug printing going.
My setup: A function that minimizes all windows (to get an observable effect), which tries to print something (print("myscript: print")
, console.info
("myscript:info")
, console.log("myscript: log")
) and is bound to a shortcut. I can successfully minimize the windows, but I don’t get a print statement on journalctl -f
nor dbus-monitor
(I see press/depress events for the shortcut on dbus-monitor though).
What I tried: I installed kdebugsettings, set ‘Kwin Scripting’ to ‘Full Debug’, removed QT_LOGGING_RULES=false
in the Custom Rules section, added QT_LOGGING_RULES="kwin_*.debug=true"
to /etc/environment (as well as .bash_profile and .zprofile with export
in front, just to be sure), I switched to systemd login and I tried it out in an X11 session - all without success :(
In r/kde it was suggested, that it’s a Fedora issue. I have no idea what it could be. Any idea? Any help would be highly appreciated!