Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 3.0.2 - profile not sourced for users
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Thu Jul 04, 2002 9:43 pm    Post subject: KDE 3.0.2 - profile not sourced for users Reply with quote

I have KDE 3.0.2 up and running.
Now /etc/profile isn't sourced for users. This is present with all other DE's/Windowmanager as well (Gnome, Fluxbox, Enlightenment ..). Older versions of KDE didn't have this problem though.

What is the correct the correct way to do this? The whole profile thing is a little with Gentoo in my opinion. For example .bashrc is only sourced for users but not for root. /etc/profile is sourced for root but users only use the PS1 settings (no aliases or path settings).
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Thu Jul 04, 2002 10:06 pm    Post subject: Reply with quote

OK this seems to be known problem. :oops:
Putting "source /etc/profile" to my ~/.bashrc solved it. But isn't that the wrong way? I thought /etc/profile should be sourced for ANY user.
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1140
Location: Williamsburg Virginia

PostPosted: Thu Jul 04, 2002 10:15 pm    Post subject: Reply with quote

well i had the same issue...and was told to add

endoalpha
n00b
n00b


Joined: 28 Jun 2002
Posts: 11

PostPosted: Wed Jul 03, 2002 6:23 pm Post subject: Reply with quote
As for the konsole question:
Edit the first line of /usr/kde/3/bin/startkde
from #!/bin/sh
to #!/bin/sh -login
...
/etc/profile will be sourced when kde starts then

i am not sure why it changed it or rather what it overwrote during the install...but other then this and my splash screen getting changed (from liquid to kde3) that has been the only issue
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Fri Jul 05, 2002 2:17 pm    Post subject: Reply with quote

Thanks, that did it. But only for KDE. Other WMs aren't affected. I'll keep "source /etc/profile" in my ~/.bashrc for now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum