GNOME Bugzilla – Bug 606064
bad colour on ls listing
Last modified: 2010-01-07 21:05:56 UTC
already tried against Ubuntu coreutils, and Ubuntu gnome-desktop, as bugs: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/498212 and https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/502888 latter suggested raising it upstream to gnome terminal, so here we are. <summary> if a directory is chmod o+w and you do an ls from the gnome terminal command line, the directory gets coloured blue text on dark green background, making it almost impossible to read. Suggest removing the green background stripe. Can be worked-around by "unalias ls" in every shell window, but would be better if it was actually fixed ;) </summary>
Bugzilla-shopping isn't the answer if a bug has been rejected in one place. How exactly is this a gnome-terminal bug? The output of "ls --color" tells the terminal/vte to print the text in blue on green, so that's what it does. You can change the colour scheme from your terminal profile preferences (right click, Profiles, Profile Preferences), or change the colours that ls --color uses by setting the LS_COLORS env variable accordingly. I checked and xterm shows blue on green too, so this is parity with xterm's colour scheme, and hence not a bug.
Christian, I would say the issue is actually on the colour rendering in gnome-terminal. What I tested it for the original Ubuntu coreutils issue, I tested on roxterm, gnome-terminal, konsole, guake, and the Linux console; all rendered clearly (even for me), except gnome-terminal. Can you please reconsider?
Created attachment 150821 [details] o+w test directory in gnome terminal
Created attachment 150822 [details] same directory in konsole I've uploaded these two images to compare the way the colours are rendered in gnome terminal and in konsole. Although both are quite hard to read, the gnome terminal one is a LOT harder to read...
You can change the color scheme to your liking.
@Behdad I could download source code and fix any other bug in linux, too; but sometimes it's helpful for the whole community and all users, to make a change that improves usability so that *everyone* benefits from it. That's the reason I chose to report this as a bug, rather than just fixing it for myself and quietly getting on with life. I'm finding it hard to understand the reluctance to make this change - is it too small to bother with? Could I fix it and send you the change? I'd be interested to hear your view on why this isn't a bug.
What are you suggesting here? To change the default color scheme? The default scheme is the Tango palette and can't be changed. You don't need to download the source and fix it. Just open Edit->Profile Preferences->Colors and choose another color scheme. That's enough of a "fix" for me.
No, he is trying to say that the *default* blue-over-green when shown on gnome-terminal does not have the same quality-of-rendering as when we perform the same operation using the *default* blue-over-green on roxterm, the linux console, konsole, and guake. On gnome-terminal the colours seem to be mixing at the boundaries, and/or more pastel. So, yes, the users could change the colour schema as needed. Or the rendering could be done better. Could this be a tango issue, then? (Also) The default colour presentation on coreutils will not be changed, since it works nice on pretty much all other terminal emulators, except gnome-terminal. I mean, all that I tested on.
I believe we have a bug to make sure the fore/back colors have a minimum of contrast. This falls in that category. Lets dupe. *** This bug has been marked as a duplicate of bug 344940 ***