LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2012, 03:51 PM   #1
Tachtory
Member
 
Registered: Dec 2011
Distribution: Mint, Slackware
Posts: 43

Rep: Reputation: Disabled
NTFS directory coloring


Hi I am trying to find how to change the green highlight that appears on NTFS file directories. It is very hard to read because the text is blue.

I tried suggested here http://ubuntuforums.org/showthread.php?t=764824

to use 01;34 for STICKY_OTHER_WRITABLE and OTHER_WRITABLE

But nothing has changed.

I saved the file as .mydircolors in home directory and then I couldn't find .bashrc in home directory (not sure why) so I edited the one in /etc/bash.bashrc That was the closest I could find.

But the lines he said to change are a little different.
I tried them to:
Code:
 if type -P dircolors >/dev/null ; then
                if [[ -f ~/.dir_colors ]] ; then
			eval $(dircolors ~/-mydircolors)
                elif [[ -f /etc/DIR_COLORS ]] ; then
                        eval $(dircolors ~/.mydircolors)
                fi
        fi

But nothing was changed when I logged off and logged back on.
 
Old 03-11-2012, 12:56 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
I found this thread which addresses the same question. The respondent claims it's a matter of how the NTFS partition is mounted.
Quote:
You can use the fmask and dmask mount options to control the default file and directory permissions which is used to get the color for 'ls'. See the ntfs-3g manual for more details (e.g. type 'man ntfs-3g' on a terminal).

Alternatively use the NTFS-3G driver with full permission and ownership support which should always show the correct color: http://pagesperso-orange.fr/b.andre/security.html
I don't know one way or the other, since Debian uses a slightly different way of setting directory colors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] bash coloring output Jerry Mcguire Programming 1 08-11-2011 02:44 AM
file coloring Ribo01 Linux - Newbie 2 11-27-2010 05:44 PM
[LaTeX] Coloring environments solarize Linux - Software 3 09-04-2005 04:54 PM
Cannot enter NTFS partition directory Metal Martian Linux - Newbie 5 03-08-2004 08:29 PM
Mounting NTFS -> Locked Directory cracked4life Linux - Newbie 12 10-19-2003 02:53 PM


All times are GMT -5. The time now is 08:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration