Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
console colors prob
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kos
Guest





PostPosted: Sun Jul 28, 2002 7:24 pm    Post subject: console colors prob Reply with quote

Hi,

I dont have console colors, maybe its gentoo default or its because i installed from the boot floppy tomsrtbt.

When i do #ls the files, directories etc.. are white

Where i can fix this and how?
Back to top
thekillerbean
n00b
n00b


Joined: 24 Jul 2002
Posts: 29

PostPosted: Sun Jul 28, 2002 7:37 pm    Post subject: Reply with quote

Code:

ls [options] --color


you can place this in an alias
Code:

alias ls='ls [options] --color'


of course, change the [options] to whatever you like.
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Sun Jul 28, 2002 10:13 pm    Post subject: Re: console colors prob Reply with quote

kos wrote:
I dont have console colors, maybe its gentoo default or its because i installed from the boot floppy tomsrtbt.

do an ls -la in your home directory and see if you have your .bashrc and .bash_profile files there. If not, copy them from /etc/skel to your home directory and change ownership of them to your username. If they are present, add this to them:
Code:
eval `dircolors -b /etc/DIR_COLORS`
alias ls="ls --color=auto"
Back to top
View user's profile Send private message
kos
Guest





PostPosted: Sun Jul 28, 2002 10:32 pm    Post subject: Reply with quote

Many thanks :D
Back to top
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Aug 25, 2002 6:21 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo. Colors are not an installation issue.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
[loki]
n00b
n00b


Joined: 07 Jul 2002
Posts: 29
Location: Granby / Québec

PostPosted: Tue Aug 27, 2002 2:42 am    Post subject: Reply with quote

When I put these lines in my .bashrc file, I get as an output on my console all the stuff that is in DIR_COLORS but it's annoying.

Is there any way to make it silent? I mean, having no output from the command?
_________________
« L'absurdité est surtout le divorce de l'homme et du monde. »
-Albert Camus (L'étranger)
Back to top
View user's profile Send private message
elboricua
Apprentice
Apprentice


Joined: 17 May 2002
Posts: 226
Location: Bronx, NY

PostPosted: Tue Aug 27, 2002 3:15 am    Post subject: Reply with quote

Since we are talking about lscolors check out this webpage Goes into how you can change from the default colors and what all the numbers are for what color :D
_________________
Boricua Hasta La Muerte
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum