SUMMARY When starting vim from Kicker under wayland, nothing happens. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT vim (and likely any other application with "Run in terminal" option set) opens within terminal application Linux/KDE Plasma: KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.0 ADDITIONAL INFORMATION Works in Plasma on X
I think the titel should be changed as the problem is actually a more fundamental one (I think) Wayland plasma seems to be spawned without using a shell at at all. As such some important environment variables get not set. The way to go seems to be to define user environment variables in ~/.config/environment.d/<name>.conf systemctl --user show-environment will output environment variables configured there, cf. https://github.com/systemd/systemd/pull/5131
I don't think I understand. What env vars are missing and where are they defined when you run on X?
The problem I have originally reported is that when I am running plasma under wayland, a menu entry for neovim is set to [x] Run in terminal. This does not work, as no terminal is opened. This works when running under X My suspicion is, that for this to work, environment variables are required to be set? I only noticed that none of the environment variables set eg. in .profiles or .bashrc are available to programs started from the KDE start menu because the way the kwin_wayland user session is spawned, does not require a login shell. And maybe this is the reason too that the [ ] Run in terminal option does not work?
Same problem with htop, see bug 408497
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
So this is very likely a duplicate of #408497 I cannot add more specifics. My suspicion for the bug I described is that the command shell used to display console programs when running under X is set in places which are not read when running under Wayland. This is just an assumption.
*** This bug has been marked as a duplicate of bug 408497 ***