https://bugs.kde.org/show_bug.cgi?id=447203

            Bug ID: 447203
           Summary: startplasma-wayland overwrites $XKB_DEFAULT_*
           Product: plasmashell
           Version: 5.23.4
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: marc+b...@mezzarobba.net
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY

startplasma-wayland sets the environment variables XKB_DEFAULT_MODEL,
XKB_DEFAULT_LAYOUT, XKB_DEFAULT_VARIANT, and XKB_DEFAULT_OPTIONS with values
supplied by systemd-localed, possibly overwriting values set by a particular
user with system-wide default.

STEPS TO REPRODUCE
1. export XKB_DEFAULT_LAYOUT=favorite_layout in .profile
2. launch plasma wayland session

OBSERVED RESULT

After session launch:

$echo $XKB_DEFAULT_LAYOUT
<system-wide default>

EXPECTED RESULT

$echo $XKB_DEFAULT_LAYOUT
favorite_layout

ADDITIONAL INFORMATION

It is possible to set these variables in ~/.config/plasma-workspace/env instead
as a workaroud, but it took me a lot of time to realize that!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to