You are not logged in.

#1 2013-06-13 15:53:04

Skaveria
Member
From: ~/
Registered: 2013-05-18
Posts: 4

[SOLVED] CLI Directory - GreenBackground.

I would like to remove the greenbackground from directories that have full read/write/execute permissions. I know this can be accomplished by editing ~/.dir_colors to change the configuration for ls colors. However I am not sure what to put into this file for the directories. I tried EXEC but that only seemed to change the file colors and not that of the directory.

I'm trying to do this because the green background is difficult to read on my terminal and would prefer it to be displayed in another manner.

Last edited by Skaveria (2013-06-13 20:17:39)

Offline

#2 2013-06-13 18:32:38

mychris
Member
From: Munich
Registered: 2012-09-15
Posts: 68

Re: [SOLVED] CLI Directory - GreenBackground.

Have you read the man page for dir_colors?

$ man 5 dir_colors

Offline

#3 2013-06-13 20:17:11

Skaveria
Member
From: ~/
Registered: 2013-05-18
Posts: 4

Re: [SOLVED] CLI Directory - GreenBackground.

Thank you smile
The problem was I was trying to look at the man for  dircolors and not dir_colors.
I ended up getting the output from dircolors -p for the list of filetypes and colors. Then ran dircolors saved the output and edited the fields I needed and saved the edited text to my $LS_COLORS shell variable and now its working.

Offline

Board footer

Powered by FluxBB