I am using KDE plasma version 5.17.5 but I have the feeling that my question is equally relevant for Gnome, XFCE, etc.
I am using gvim (under Wayland) with plugins which rely on environment variables. When I call gvim from the shell (konsole), gvim inherits the environment variables I have set in .bashrc. However, when I call gvim from the menu, the environment variables are not available to gvim.
I find this strange default behavior, shouldn't applications which are executed as the same user which is logged into the graphical environment expect the same environment variables?
How can I change that gvim started via the menu will see my .bashrc - set environment variables?