LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2017, 07:40 AM   #1
spatton
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Rep: Reputation: Disabled
Konsole Colors in KDE


Hello,

I have just installed Slackware 14.2-64 and when I need to use Konsole I cannot figure out how to get different type of files to display in different colors. I would like to have folders in one color, executables to show a different color, etc. I have looked for a solution and have had no luck thus far. If anyone can help me please do so as I have hit a wall on trying to figure this out.

Thanks!

Sandy
 
Old 03-21-2017, 02:59 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it is right there infront of you

run Konsole
and under "settings" in the gui window is " configure Konsole"
under the "profiles" tab is "edit profile" then click on the " appearance" tab and edit one of the installed ones or use one of the already installed schemes
 
Old 03-21-2017, 03:10 PM   #3
spatton
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you John!

I appreciate the the help.
 
Old 03-22-2017, 06:16 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Slackware normally sets an alias for 'ls' in the profile file for 'login shells', but konsole doesn't start a 'login shell' by default, so you don't get it. Some folks suggest changing the konsole preferences so that it starts a 'login shell' to workaround this issue. Personally, I don't like that idea.

Add the following to your $HOME/.bashrc file (if you don't have one just create one):
Code:
alias ls='ls --color=auto'
The next time you start konsole you'll get your colour ls output.

Last edited by GazL; 03-22-2017 at 06:18 AM.
 
Old 03-22-2017, 06:20 AM   #5
spatton
LQ Newbie
 
Registered: Mar 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
That worked perfect!

Thank you, Thank you!
 
1 members found this post helpful.
Old 03-22-2017, 06:34 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
You're welcome. Happy slacking!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Colors on Konsole and xterm Geriao Slackware 2 12-24-2009 05:26 PM
Konsole Font COlors in KDE????? mepisfreak Linux - General 2 01-17-2005 02:26 PM
hard to read font colors on the konsole Twotone Linux - Newbie 1 09-08-2004 12:40 PM
Konsole colors usercsr Linux - General 2 03-24-2004 04:57 PM
installed kde 3.2 and konsole colors lost true_atlantis Linux - Software 2 02-07-2004 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration