You are not logged in.

1

Monday, April 7th 2003, 1:38pm

Configuring and Customizing Konsole


Hello Friends,

I'm new to KDE and Linux. KDE is simply the best Desktop environment I've had the priviledge of using. :) However, I prefer command line editing to graphic user instructing. As a result, I'm in love with Konsole.

I was wondering if there was a configuration file that will enable me customize the Konsole prompt to my liking and also enable me to display directories and files in their appropriate colors automatically.

I am able to do this using the /etc/profile configuration file, but apparently it has no effect on Konsole. I use crux linux. By default, crux does not make use of the .bashrc configuration file. So I configure my alias, prompt design, and color using the /etc/profile.

Is there a file similar to /etc/profile that is exclusive to KDE and Konsole and that I can use to make these changes? If so I'll appreciate a little tutorial on how to make the changes and which files to play around with. Thanks in advance.

:)

Mystilleef
KDE Seeker.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Monday, April 7th 2003, 5:49pm

That is only marginally related to Konsole.

If the shell is bash, it will read profile only when being invoked as a login shell.
By default the shell invoked from Konsole is a normal shell.

You can either source /etc/profile in your .bashrc, write the settings into .bashrc or /etc/bash.bashrc or modify the shell session entry of konsole so that is starts a login shell (man bash)

Cheers,
_
Qt/KDE Developer
Debian User

3

Wednesday, April 9th 2003, 3:38am

Quoted

Original von anda_skoa

modify the shell session entry of konsole so that is starts a login shell (man bash)
_



Hello,

anda_skoa, thanks for your insight. How do I go about modifying the shell entry session of konsole. I don't know where the Konsole configuration files are. If I did, I know I have to add 'bash --login' to it, and I can also link the file to /etc/profile. Once again thanks for you suggestions. :)

Mystilleef

KDE Seeker.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Wednesday, April 9th 2003, 9:59am

Konsole Menu->Settings->Configure Konsole->Sessions

The files are in $KDEDIR/share/apps/konsole

Cheers,
_
Qt/KDE Developer
Debian User

5

Thursday, April 10th 2003, 3:21am

Thanks!

Quoted

Original von anda_skoa

Konsole Menu->Settings->Configure Konsole->Sessions

The files are in $KDEDIR/share/apps/konsole

Cheers,
_


Hello,

Hey, thanks pal, it works! :D

Mystilleef
KDE Seeker.