Bug 463888 - output of commands assigned to custom shortcuts is written to syslog/journal with identifier kded5
Summary: output of commands assigned to custom shortcuts is written to syslog/journal ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: 5.26.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-05 17:43 UTC by Flupp
Modified: 2024-03-04 19:41 UTC (History)
3 users (show)

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 Flupp 2023-01-05 17:43:45 UTC
When a command is assigned a shortcut via System Setting / Shortcuts / Custom Shortcuts, the output of the command (stdout as well as stderr) is written to the syslog/journal with the identifier “kded5” when the shortcut is pressed.

This behavior might be unexpected and therefore might lead to a spammed journal or confidential information ending up in the journal.

(In my case I bound a script dealing with the clipboard to a hotkey. For debugging purposes (when not used via hotkey), the script prints the clipboard contents before processing. When accidentally pressing the hotkey with confidential clipboard contents, this unintentionally ends up in the journal.)

Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.1-arch1-1 (64-bit)
Graphics Platform: X11

PS: I was rather unsure about the correct product/component. Feel free to move.
Comment 1 Nate Graham 2024-03-04 19:41:49 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.