I am running KDE 4.6. I have added an environment variable to my .profile, however this variable will obviously not be visible to programs that I start via the KDE GUI (as opposed to a shell with the updated environment) until I restart KDE.
Is there a way to tell KDE to re-read the environment, or to explicitly set the KDE environment via DBUS or similar mechanism?
One hack is to restart KDE programs like klauncher and krunner from a shell having the modified environment, but I'm looking for something more elegant.