After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 606064 - bad colour on ls listing
bad colour on ls listing
Status: RESOLVED DUPLICATE of bug 344940
Product: gnome-terminal
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-04 23:17 UTC by andysc
Modified: 2010-01-07 21:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
o+w test directory in gnome terminal (703 bytes, image/png)
2010-01-05 08:42 UTC, andysc
Details
same directory in konsole (543 bytes, image/png)
2010-01-05 08:43 UTC, andysc
Details

Description andysc 2010-01-04 23:17:46 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>
Comment 1 Christian Persch 2010-01-04 23:27:28 UTC
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.
Comment 2 C de-Avillez 2010-01-05 02:14:25 UTC
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?
Comment 3 andysc 2010-01-05 08:42:07 UTC
Created attachment 150821 [details]
o+w test directory in gnome terminal
Comment 4 andysc 2010-01-05 08:43:28 UTC
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...
Comment 5 Behdad Esfahbod 2010-01-07 16:43:02 UTC
You can change the color scheme to your liking.
Comment 6 andysc 2010-01-07 18:45:24 UTC
@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.
Comment 7 Behdad Esfahbod 2010-01-07 18:52:17 UTC
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.
Comment 8 C de-Avillez 2010-01-07 19:08:28 UTC
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.
Comment 9 Behdad Esfahbod 2010-01-07 21:05:56 UTC
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 ***