Bug 364660 - coloured ls command doesn't have different colours for directories and files in "Solarized Dark" theme
Summary: coloured ls command doesn't have different colours for directories and files ...
Status: UNCONFIRMED
Alias: None
Product: konsole
Classification: Unclassified
Component: general (show other bugs)
Version: 15.12.3
Platform: Kubuntu Packages Linux
: NOR wishlist (vote)
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-23 08:29 UTC by rschirone
Modified: 2017-12-08 10:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rschirone 2016-06-23 08:29:04 UTC
If you select the "Solarized Dark" theme or the "Solarized Light" one, when you do `ls --color` all files are displayed pretty much with the same color, even if they are directories or normal files. Other commands like `grep --color PATTERN files` seem to work and they are correctly coloured.

I tried this on OpenSUSE Leap, OpenSUSE Tumbleweed and KUbuntu 16.04 (and with the PPA to have an updated KDE version), all with the same result. The only distro where the Solarized them works well is Fedora 23 KDE.

Looking at their package, there is this patch http://pkgs.fedoraproject.org/cgit/rpms/konsole5.git/tree/konsole-15.12.3-xterm-256color.patch but even setting that variable didn't solve the issue. I believe Fedora is working well because they applied also some patches to the coreutils package (for example http://pkgs.fedoraproject.org/cgit/rpms/coreutils.git/tree/coreutils-8.25-DIR_COLORS.patch, http://pkgs.fedoraproject.org/cgit/rpms/coreutils.git/tree/coreutils-8.5-dircolors.patch, http://pkgs.fedoraproject.org/cgit/rpms/coreutils.git/tree/coreutils-colorls.sh).

I think it would be nice having the right colours for `ls --color` even without changing the colors of ls.

Reproducible: Always

Steps to Reproduce:
1. Goto Settings > Edit Current Profile > Appearance
2. Select Solarized Dark theme > Apply > Ok
3. Execute `ls --color /etc`

Actual Results:  
Directories and normal files in /etc are all displayed with the same color and regular style

Expected Results:  
Directories should have a different colour, to make it easier distinguish dirs and files.
Comment 1 cat.hook31894 2017-12-08 10:49:52 UTC
Also reference to this bug: https://bugs.kde.org/show_bug.cgi?id=387709