You are not logged in.

#1 2006-05-26 20:58:55

MrBackhand
Member
From: Texas, USA
Registered: 2006-05-26
Posts: 33

Unable to update blank Konsole prompt for users

When I launch Konsole as a user I get a blank prompt:  sh-3.1$
When I launch Konsole as root I get: [root@host directory]#

I have searched Google and the forums and found Konsole reads .bashrc in the users /home directory for the prompt commands, etc.  I have edited .bashrc and it does not change.  If I execute: source .bashrc I get the prompt I want, any ideas?  I have tried both .bashrc and .bash_profile. 

KDE 3.5.2 and all the updates via pacman.

Thank you.

Offline

#2 2006-05-29 14:53:18

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 130

Re: Unable to update blank Konsole prompt for users

MrBackhand wrote:

When I launch Konsole as a user I get a blank prompt:  sh-3.1$
When I launch Konsole as root I get: [root@host directory]#

I have searched Google and the forums and found Konsole reads .bashrc in the users /home directory for the prompt commands, etc.  I have edited .bashrc and it does not change.  If I execute: source .bashrc I get the prompt I want, any ideas?  I have tried both .bashrc and .bash_profile. 

KDE 3.5.2 and all the updates via pacman.

Thank you.

You can try starting konsole as a login shell:  either start konsole via

konsole --ls

or change the konsole session to start

/bin/bash --login

instead of

/bin/bash

Otherwise, you can try to use some environment variables in the global and local bash startup scripts to try to figure out which file is getting loaded and in what order. Your ~/.bashrc might be being read but the settings over-ridden by some subsequent startup script.

Offline

Board footer

Powered by FluxBB