[Konsole-devel] [konsole] [Bug 364660] New: coloured ls command doesn't have different colours for directories and files in "Solarized Dark" theme

via KDE Bugzilla bugzilla_noreply at kde.org
Thu Jun 23 08:29:04 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=364660

            Bug ID: 364660
           Summary: coloured ls command doesn't have different colours for
                    directories and files in "Solarized Dark" theme
           Product: konsole
           Version: 15.12.3
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: rschirone at yahoo.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list