Opening a terminal in Konqueror via Tools -> Open Terminal (or pressing F4) does not inherit environment variables set before launching Konqueror manually
Issue
- We have a problem with environment variables inheritance when using konqueror / dolphin in a designers project environment.
- Options to open a konsole (or xterm) from the working directory in konqueror or dolphin:
- Konqueror press "F4" or click "Tools / Open Terminal" from the menu
- Dolphin press "Shift+F4" or click "Tools / Open Terminal" from the menu
-
Case:
- open a XTerm
-
set a variable like SOMEVAR_HOME
export SOMEVAR_HOME=$HOME/proj1 -
start konqueror from cli
/usr/bin/konqueror -
Press "F4"
- New konsole opens
-
Check
echo $SOMEVAR_HOME
-
It turns out that this variable is not inherited
Environment
- Red Hat Enterprise Linux (RHEL) 6
- KDE Desktop Environment 4.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
