LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   KDE set environment variables (https://www.linuxquestions.org/questions/linux-newbie-8/kde-set-environment-variables-227057/)

TroelsSmit 09-05-2004 05:37 PM

KDE set environment variables
 
Hi,

I used to log in with the terminal and then use startx to start graphical environment.
I've just installed kdm/kde and it works great.

I have placed my setup script in ~/.kde/autostart/setup.sh and it works fine - except that the environment variables doesn't get set.

Now how do I do this ??

Thanks !!

Tinkster 09-05-2004 06:08 PM

It does get executed ... but after KDE is loaded,
and in a child-session of KDE. Therefore the
environment variables won't be pulled. You want
to set those from ~/.bashrc or ~/.bash_profile
respectively...


Cheers,
Tink

TroelsSmit 09-06-2004 04:13 AM

Hi,

Thanks a LOT for the answer :-)

Now my environment variables are set everytime I create a terminal which I guess is fine,
while deamons etc. are started one time from a script in ~/.kde/autostart/script

works for me :-)

Tinkster 09-06-2004 02:14 PM

Pleasure mate :}


Cheers,
Tink


All times are GMT -5. The time now is 11:12 AM.