https://bugs.kde.org/show_bug.cgi?id=495412
Bug ID: 495412
Summary: Cannot remove environment variables with startup
scripts
Classification: Plasma
Product: plasmashell
Version: master
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Startup process
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
SUMMARY
`unset` in startup script does not work as expected.
STEPS TO REPRODUCE
1. set a environment variable in /etc/environment (e.g. `UNSET_ME=foo`)
2. unset it in $HOME/.config/plasma-workspace/env/foo.sh (`unset UNSET_ME`)
OBSERVED RESULT
The environment variable `UNSET_ME` is still available in plasma session.
EXPECTED RESULT
The environment variable `UNSET_ME` is not set in plasma session.
SOFTWARE/OS VERSIONS
Windows:
macOS:
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.12.0-rc4-1-mainline (64-bit)
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.