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.
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.
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
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.
Konsole Menu->Settings->Configure Konsole->Sessions
The files are in $KDEDIR/share/apps/konsole
Cheers,
_
Qt/KDE Developer
Debian User
Thanks!
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!
Mystilleef
KDE Seeker.