Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Konsole doesnt use /etc/profile .
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Tue Mar 08, 2005 2:11 am    Post subject: Konsole doesnt use /etc/profile . Reply with quote

so i have to source /etc/update

because i try not to be a burdensome member of these fine forums, i tried putting "source /etc/profile in ~/.bashinitrc, and when that didnt work i tried to put it in ~/username/kde-3.3/share/config/konsolerc, but that didnt work.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Mar 08, 2005 2:17 am    Post subject: Reply with quote

You got the title correct but not the command :P (source /etc/profile)

What exactly's wrong? Konsole should be acting just like the ttys.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Tue Mar 08, 2005 2:18 am    Post subject: Reply with quote

The first line of my "~/.bashrc" is:
Code:

source . /etc/profile
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Tue Mar 08, 2005 2:31 am    Post subject: Reply with quote

what happens is simply that when i open console it doesnt reflect any of the changes i made to the /etc/ptrofile file.

i tried putting that line back in ~/.bashrc, this time at the end. i tried with and without the . b/w the source and the /etc/profile
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Tue Mar 08, 2005 2:44 am    Post subject: Reply with quote

If you do "source /etc/profile" manually, do your changes work?
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Tue Mar 08, 2005 3:00 am    Post subject: Reply with quote

yes
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Tue Mar 08, 2005 3:25 am    Post subject: Reply with quote

important: i forgot to mention, when i su to root it takes the /etc/profile file, with nothing added to any *rc file
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Tue Mar 08, 2005 4:08 am    Post subject: Reply with quote

If you look in "/etc/passwd", is "/bin/bash" the shell being used for the user having problems? My root user looks like this:

Code:

root:x:0:0:root:/root:/bin/bash
Back to top
View user's profile Send private message
FuriousGeorge
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 160

PostPosted: Tue Mar 08, 2005 4:12 am    Post subject: Reply with quote

yeah, thats the first line
Back to top
View user's profile Send private message
rouben
Apprentice
Apprentice


Joined: 07 Feb 2005
Posts: 159
Location: Thornhill, ON, Canada

PostPosted: Tue Mar 08, 2005 4:35 am    Post subject: Reply with quote

There's got to be an option somewhere to tell bash to start as a login shell...
Back to top
View user's profile Send private message
Deepak420
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 173
Location: Beantown

PostPosted: Tue Mar 08, 2005 5:20 am    Post subject: Reply with quote

What exactly are you trying to change? While I use .bashrc almost exclusively, I have added some stuff like /usr/local/bin to the path (in /etc/profile) and this reflects on all of the user accounts in konsole.
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Tue Mar 08, 2005 9:11 am    Post subject: Reply with quote

This thread is probably helpful:
https://forums.gentoo.org/viewtopic-t-297321.html
Back to top
View user's profile Send private message
blotto
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2003
Posts: 116
Location: Whitehaven UK

PostPosted: Tue Mar 08, 2005 8:49 pm    Post subject: Reply with quote

Hi I start my konsoles from the kicker panel or desktop and I modded the properties of the panel icon to be

konsole --ls

this starts the console as a login shell and it sources .bash_profile in my home directory
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