You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, September 9th 2003, 8:51pm

Konsole went whack on me

So Konsole was working fine for one minute, and then all of a sudden changing the schema doesn't do anything, my text colors have disappeared, and rather than showing the localhose@localdomain junk at the cursor, it shows bash-2.05b.

What went wrong? Anybody know how to fix this?

2

Sunday, September 14th 2003, 1:28am

Try removing/renaming the file
~/.kde/share/config/konsolerc

Rinse
Help mee om KDE 3.5.5 in het Nederlands te vertalen

3

Sunday, September 14th 2003, 2:45am

All that did was reset the schema. I still don't get the root@localhost promt, just the bash one.

4

Sunday, September 14th 2003, 6:11am

Re: Konsole went whack on me

Quoted

Original von Twiggy794

So Konsole was working fine for one minute, and then all of a sudden changing the schema doesn't do anything, my text colors have disappeared, and rather than showing the localhose@localdomain junk at the cursor, it shows bash-2.05b.

What went wrong? Anybody know how to fix this?

Hmmm.
The bash-2.05b prompt is the default, and you'll get this
if it's not set (typically in the start scripts)
by a command like
export PS1='\u@\h:\w > '

It seems to me that the start scripts don't
get executed any more or that their content
has been changed...

Did you change anything with respect to
any of these files:
/etc/profile
~/.profile
~/.bashrc
?

5

Sunday, September 14th 2003, 6:57am

Didn't change a thing. It was literally just night and day in a matter of seconds. I shut konsole, and when I opened it a minute or two later it was colorless and the bash thing showed up.

That export line worked but temporarily...It's a start though. Should I edit anything within those files?

6

Sunday, September 14th 2003, 7:22am

Quoted

Original von Twiggy794

Didn't change a thing. It was literally just night and day in a matter of seconds. I shut konsole, and when I opened it a minute or two later it was colorless and the bash thing showed up.

If you close konsole and open it "a minute or two later" then it's
a completely new one using the current configuration.
The configuration may have changed at any point while the
first konsole has been running. Changes to config files are
not picked up by a running bash. Maybe you installed
some packages or did something else that modified
the startup scripts.

Quoted

Original von Twiggy794


That export line worked but temporarily...It's a start though. Should I edit anything within those files?

Of course it's only temporary, that's why it must be
in the startup scripts so it's set every time ;-)

There's nothing I can recommend right now.
There are a few things you might want to check:

- If any of the files is truncated (zero bytes long)
ls -l /etc/profile* ~/.profile ~/.bashrc

- If any of the files contains errors. You could
open a konsole, "source" the files and watch out
for error messages:
. /etc/profile
. ~/.profile
. ~/.bashrc
(note the dot and the space in front of each file,
that's for executing them inside your current bash)

- If there have been no errors in the previous step,
did your prompt and your colors return? Again,
that would be only temporary, but it would show
that your startup scripts are ok and just don't get
executed any more...

7

Sunday, September 14th 2003, 7:49pm

AHhhh ~ I tried executing those files, the bashrc and profile weren't found. Somewhere along the line they got deleted. I copied them out of another user directory, it's all good now.

Thanks! :D