Summary: | startplasma-wayland overwrites $XKB_DEFAULT_* | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Marc Mezzarobba <marc+bugs> |
Component: | Startup process | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | kde, nate, plasma-bugs |
Priority: | NOR | Keywords: | wayland-only |
Version: | 5.23.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marc Mezzarobba
2021-12-18 20:00:04 UTC
Would you like to submit a merge request to fix it? (In reply to Nate Graham from comment #1) > Would you like to submit a merge request to fix it? I suppose I could try, but (a) I am not sure what the right thing to do would be (just skip importing the values from systemd-localed when any of the XKB_* envvars is set?), and (b) I have zero experience with KDE development. Where should I start? This is pretty much what you'd need to change: https://invent.kde.org/plasma/plasma-workspace/-/blob/master/startkde/startplasma-wayland.cpp#L47 Inside queryAndSet, you'd check to see if the value of `var` is already set using `qgetenv()`; if it is, skip the `qputenv()` function call. |