Summary: | Launching apps from global shortcut ignores env set up by dbus-update-activation-environment | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Dino <dino> |
Component: | kcm_keys | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | kde, nicolas.fella |
Priority: | NOR | ||
Version First Reported In: | 6.0.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dino
2024-04-05 11:27:08 UTC
See https://bugs.kde.org/show_bug.cgi?id=483541 I don't see how dbus-update-activation-environment is related. It updates the environment for DBus activation, but Konsole is not launched through DBus (whether by shortcut or not) since it's not a DBus-Activatable app Do pardon my ignorance. I am not that experienced with the technicality of launching apps on KDE / freedesktop system. Do educate me! How is it that Konsole gets the expected environment variables when it is launched using KRunner? Without fixing this, I can't see how Konsole and any scripts launched from within it can get SSH_AUTH_SOCK. I tried setting the variable up in `$HOME/.config/plasma-workspace/env/ssh-agent-sock.sh`, but that actually prevents the `agent-launch` from working correctly, since the launch script checks for the variable to be empty. I do have a workaround; just setting it in `.bashrc`, since the systemd service does not use temporary / randomised naming for the socket path. I would rather have it working without. My worry is that a beginner would struggle to figure out... (In reply to Nicolas Fella from comment #1) > See https://bugs.kde.org/show_bug.cgi?id=483541 > > I don't see how dbus-update-activation-environment is related. It updates > the environment for DBus activation, but Konsole is not launched through > DBus (whether by shortcut or not) since it's not a DBus-Activatable app Pretty clear from the linked bug as to why its not working. I really hope a solution can be found for KDE Neon! |