LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-05-2009, 05:06 PM   #1
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 34
Color disappear in Konsole


Colors disappear in Konsole when switching windows. I want to make folders in one color and files in other, but when switch to firefox and then back to konsole all fonts are white on black background. I am using vesa driver.

I read that there are some profiles for Konsole. Is there a problem?
 
Old 12-05-2009, 06:19 PM   #2
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
I think this is "normal" behaviour. You can customise your konsole settings by using the menu at the top of the konsole eg: black on light color, font size etc then save them as default option. I can't remember the details as I am using gnome desktop at moment.
 
Old 12-07-2009, 01:05 PM   #3
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 34
I am not sure what "normal" behavior mean. I want to set bash or Konsole or whatever it is to show colors by default. I find long listing option --colors=always, but it is too long. I have to write every time

Code:
ls --colors=always
not to mention other parameters.



I read about some bash variable LS_COLORS. Do I have to edit it or what?
 
Old 12-07-2009, 01:27 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
No, you don't have to edit the LS_COLORS.

I don't know whether or not konsole has special features
to deal w/ colours, but for (other) emulators including
full-screen just create an alias in your ~/.bashrc
Code:
alias lc='ls --colors=always'
That way you can do lc instead of ls if you NEED colours.

Note that in scripting the colours and other special features
like added / or * may confuse the results, so aliasing ls with
the above suggestions may not be a good idea.


Cheers,
Tink
 
Old 12-07-2009, 03:46 PM   #5
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 34
That's great. I can add more parameters after alias too. Thank yo!
 
Old 12-07-2009, 03:53 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You're welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Konsole always give SuperUser Konsole - can't get regular shell checkmate3001 Linux - Desktop 3 08-05-2008 10:00 AM
color-ls not working in Konsole davidVK Slackware 4 11-07-2006 10:18 AM
how to change the foreground color of konsole SuSe 9.2 KDE GnaM Linux - Newbie 1 12-31-2004 09:01 AM
[COLOR=red]ENCORE WIRELESS PCI Card 802.11b [/COLOR] enrique145 Linux - Hardware 3 07-07-2004 02:31 PM
how to change the color of the fron on Konsole?? sirpelidor Linux - Newbie 2 11-14-2003 07:50 PM

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

All times are GMT -5. The time now is 12:19 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