SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Riddick the colors are loaded by default when /etc/profile is read.
The problem is when terminals do not start as login consoles, they won't read /etc/profile. If i'm not wrong, there's a checkbox on Konsole to tell it to read the startup files, it should be something like Login console.
Originally posted by gbonvehi Riddick the colors are loaded by default when /etc/profile is read.
The problem is when terminals do not start as login consoles, they won't read /etc/profile. If i'm not wrong, there's a checkbox on Konsole to tell it to read the startup files, it should be something like Login console.
This explains why, when using "su -" to root (or to any other user) it will start showing the colors. Very interesting.
What about for fluxbox/blackbox? We don't have handy checkboxes
Edit: See what a long day at work will do to you? You ask silly questions, that's what! .bash_profile or .bashrc of course is the answer
Poetics you've command line parameters to run consoles as login consoles, no need for checkbox
As objorkum suggested, xterm -ls is one of them.
You could also use .bash_profile or .bashrc as you said, i think the first one is read only when used login consoles too, but I'm not sure about that, but a quick read at bash man pages will tell..
I threw the above lines into .bash_profile and happened to have .bashrc linked to it. Logged out, back in, ran fluxbox and rxvt ran in all it's colorful glory! Now just to figure out how to set the transpancy and choose my own colors.
But I have a few other matters of import to get to first (you can see the related thread here in the Slack forum)!
When you open Konsole, go to the sessions menu and click Linux Console. This will read the setup files as requested. Also you could edit the Konsole icon command to simply say 'xterm' instead of the default 'konsole'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.