You are not logged in.
Pages: 1
I managed to change console colors for various file formats but it's only visible in my home directory...
when I go, for example to /mnt/storage/ it uses default colors.
I thought first that it's permissions problem, but after I switched permissions to my user - it's still same!
Then I thought I should find global .bashrc file and changed /etc/skell/.bashrc - add colors, but it's same... damn it!
I need an idea!
Offline
'/etc/skell/.bashrc' is a stock file, you don't change it! You use it to build you own, customized /etc/bash.bashrc.local or whatever.
''/etc/skell/' is a dir where all the skelleton files reside. Yuo copy them over to the desired location and edit at will.
> I managed to change console colors for various file formats
How did you do it?
Last edited by karol (2010-06-23 13:55:27)
Offline
'/etc/skell/.bashrc' is a stock file, you don't change it! You use it to build you own, customized /etc/bash.bashrc.local or whatever.
''/etc/skell/' is a dir where all the skelleton files reside. Yuo copy them over to the desired location and edit at will.> I managed to change console colors for various file formats
How did you do it?
Offline
You mention '/mnt/storage/' - maybe it's a NTFS/FAT so it's not a linux fs ...
I'll look into it in an hour or so, I have to run now.
Offline
You mention '/mnt/storage/' - maybe it's a NTFS/FAT so it's not a linux fs ...
I'll look into it in an hour or so, I have to run now.
hmm! yes it's a NTFS!
Any way to apply ls color for a NTFS?
Offline
I have "colors" for my NTFS volumes but it isn't ideal. They are mounted with 777 permissions so all files show up green (color for executables), and all the dirs are highlighted.
That's just the way I configured dircolors, and I am sure there are ways to get nicer, differentiated colors.
Last edited by egan (2010-06-23 14:41:55)
Offline
> That's just the way I configured dircolors, and I am sure there are ways to get nicer, differentiated colors.
I think OP uses a different method.
From http://linux-sxs.org/housekeeping/lscolors.html
The *.rpm=90 parameter at the end tells ls to display any files ending in .rpm in the specified colour, in this case colour 90 (dark grey). This can be applied to any types of files (eg. you could use '*.png=35' to make jpeg files appear purple.
You can try setting many '*.ext=xx' parameters or e-mail the author about NTFS.
Offline
Pages: 1