Different colours in dircolors than in /etc/DIR_COLORS
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Different colours in dircolors than in /etc/DIR_COLORS
With dircolors' default output, the colour for .mp3, for example, is different than the colour for .mkv. In /etc/DIR_COLORS, they are the same colour. I know I could create my own ~/.dir_colors, but I wonder if /etc/DIR_COLORS might be updated with the colours from dircolors…
With dircolors' default output, the colour for .mp3, for example, is different than the colour for .mkv.
Quote:
Originally Posted by lopid
…in Slackware itself.
I just checked that by running dircolors and...
Oh dear. That will definitely break KDE 5. KDE 5 has a bug where if you have an environment variable (like, oh, LS_COLOR) that's "too long", it causes KDE 5 to boot to black screen. If you follow the link I posted and then to the KDE issue that I lodged, the position of the KDE developers is that it's my own fault for having an environment variable that's "too long to copy". They absolutely refused to lift a finger to fix it for my "non-standard setup", and they've made clear that they intend for KDE to be incompatible with dircolors forever.
So there's at least one solid technical reason to not set that in /etc.
I have not run into this KDE BUG because I left KDE behind at the 3->4... transition. But I probably would have with some of my own custom environment.
I have thought of having another look at it in the past year, but among other things, this tosses a bucket of icewater on that spark.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.