![](/uploads/1/2/7/7/127732294/483950161.jpg)
cayohuesocaca wrote:
Hi all,
Is there any way to change the color of the font in the file names?. I am not talking about Highlight Color, which can be set up in General Preferences.
For example, if I have a black background for a Finder windows (in icon view), I would like to have the file names in white.
Thanks
I am not sure it's possible without some 3rd party app.
I just created a file name in an rtf file, colored it and copied it to replace the file name of another file but when I pasted it, the color changed to black. Ditto with the font style. I tried an italic font but when I pasted it, it became the standard font.
The file names are actually BSD file names, and if you look at the files in terminal, there seems to be no obvious place to store any additional attributes to change the color or font.
I admit it's probably possible with some hacking in the terminal, but if it changes the BSD name as well, you are asking for trouble.
Before changing directories, you need to know what directories are available in the current directory. To do this, use the ls command. To do this, use the ls command. For example, type the following command to only list directories in the current directory.
Oct 8, 2008 12:30 PM
![The The](http://cdn.osxdaily.com/wp-content/uploads/2012/02/dark-terminal-colors.jpg)
Alias lc='ls -color=always'This will enable coloured listings on all uses of ls (to save you typing -colors. Save the file and in your terminal window enter source /.bashrc to reload your bash config. Try an ls to confirm that you have got colors working.On some systems (including Mac) the bash configuration is stored in /.bashprofile instead.You have a lot of options for configuring the directory colours. They can be stored in. Shell variable LSCOLORS which can be set in.bashrc via export LSCOLORS='COLORCONFIG'. In the file /etc/DIRCOLORS (you will need to be root to configure and this is global for all users).
In the file pointed by the variable COLORS (can be in your home directory)Color configuration is done through a special formatted string. FILE-TYPE Attribute codes: Text color codes:Background color codesFILE-TYPE: is file type like DIR (for directories)Attribute codes:00=none01=bold04=underscore05=blink07=reverse08=concealedText color codes:30=black31=red32=green33=yellow34=blue35=magenta36=cyan37=whiteBackground color codes:40=black41=red42=green43=yellow44=blue45=magenta46=cyan47=whiteFor example DIR 01;34 gives you a bold blue directory.So to change the configuration globally edit the /etc/DIRCOLORS file as follows. Di = directoryfi = fileln = symbolic linkpi = fifo fileso = socket filebd = block (buffered) special filecd = character (unbuffered) special fileor = symbolic link pointing to a non-existent file (orphan)mi = non-existent file pointed to by a symbolic link (visible when you type ls -l)ex = file which is executable (ie.
![](/uploads/1/2/7/7/127732294/483950161.jpg)