LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-08-2017, 02:31 PM   #1
intmail01
Member
 
Registered: May 2013
Posts: 91

Rep: Reputation: Disabled
black and white display for konsole terminal


Hello,

Could sone tell me how to configure konsole to use color in root user . Almost command show black and white but only few command like tree are colored.
This happen only when I am in root user. When I log under other user konsole can display in color.

thanks
 
Old 04-09-2017, 03:43 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
https://duckduckgo.com/?q=kde+konsole+terminal+colors
 
Old 04-09-2017, 04:40 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
A lot of that is aliases. Running a command without an alias $(\ls) probably has no color by default, which is likely roots defaults.

$ ls
$ \ls

The prefixed (\) one runs without an alias.

$ alias
$ help alias
$ help unalias
 
Old 04-09-2017, 09:24 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,346
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
To build on what Shadow 7 said, what distro/version are you running? That may have a bearing.

For example, some distros alias certain commands by default. I've seen vi aliased to vim and rm aliased to rm -i (which is really and truly annoying when you are trying to rm -r [some directory]), for example.
 
Old 04-09-2017, 10:40 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think i slghtly misread the OP, sorry.

the difference could also come from different files being parsed during shell initialisation.
assuming bash, have a look at /etc/bash.bashrc /root/.bashrc $HOME/.bashrc
this has nothing to do with konsole.
 
Old 04-10-2017, 03:34 AM   #6
intmail01
Member
 
Registered: May 2013
Posts: 91

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
A lot of that is aliases. Running a command without an alias $(\ls) probably has no color by default, which is likely roots defaults.

$ ls
$ \ls

The prefixed (\) one runs without an alias.

$ alias
$ help alias
$ help unalias

Slackware 14.2
 
Old 04-10-2017, 10:30 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by intmail01 View Post
Slackware 14.2
of the about 10 questions asked so far, this is the only one you choose to answer? wow.
 
  


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
Konsole tab icon changes to red circle with white bang Z038 Linux - Desktop 3 07-18-2016 01:15 PM
Evolution display problem - white fonts on white background wolecki Linux - Software 1 06-17-2013 04:33 PM
Compiz making my terminal display with white boxes over my text!! aimbot Linux - Software 6 11-25-2009 11:01 AM
Display commands for terminal konsole Uh-Oh...Problems Linux - Newbie 2 07-18-2006 03:16 PM
Alternative terminal to konsole & gnome-terminal Adony Linux - Software 3 10-08-2004 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:35 AM.

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