LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-05-2004, 05:37 PM   #1
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
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 !!
 
Old 09-05-2004, 06:08 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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
 
Old 09-06-2004, 04:13 AM   #3
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Original Poster
Rep: Reputation: 30
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 :-)
 
Old 09-06-2004, 02:14 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Pleasure mate :}


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SLES: Why don't my environment variables get set? eantoranz Linux - Software 4 11-01-2005 11:49 AM
how do i set environment variables? guitarfella Slackware 2 12-04-2004 11:05 PM
How to set environment variables anjaan Linux - General 3 06-10-2004 02:04 PM
set environment variables using GUI? bax Linux - Software 2 04-10-2004 02:42 PM
Help with the currently set environment variables!! apoc013 Linux - Newbie 6 01-21-2004 01:28 AM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration