Bug 475847 - KWin scripts should be able to subscribe to DBus signals
Summary: KWin scripts should be able to subscribe to DBus signals
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: scripting (other bugs)
Version First Reported In: 5.27.8
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-19 20:22 UTC by jade
Modified: 2023-10-19 20:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jade 2023-10-19 20:22:29 UTC
SUMMARY
I would like to be able to subscribe to DBus signals from a KWin script, which seems to not be something that is possible (last time I looked at least). Alternatively, it could equally be accomplished by being able to create DBus services from a script, either way would work.

As far as I can tell the current state is that it is hard to send any sort of programmatic message to an installed KWin script.

The essential use case here is being able to invoke KWin actions from another application. For example, a use for this would be to raise a window by PID using a command line tool: you create a script which stays resident in KWin and then you invoke a DBus service to send a message to the script when you want to raise the window.