Results 1 to 4 of 4

Thread: ls produces unreadble cyan text on green background

  1. #1
    Join Date
    Dec 2007
    Beans
    22

    ls produces unreadble cyan text on green background

    Ubuntu 10.10

    I have an xp disk mounted. When I do an ls, the directory listing is unreadable because it displays light blue text on a green background.

    ls -l produces e.g.

    drwxrwxrwx 1 root root 0 2009-05-17 22:55 Apps

    I've tried experimenting with LS_COLORS but haven't found anything that works. E.g. I tried the suggestions in:

    http://ubuntuforums.org/showthread.php?t=821721

    Is there a way to just disable colouring? White on black or green on black would do just fine.

    Thanks,

    Jay.

  2. #2
    Join Date
    Oct 2008
    Location
    Down Under
    Beans
    1,566
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: ls produces unreadble cyan text on green background

    I presume you are using Gnome terminal, if so look here for changing preferences - http://library.gnome.org/users/gnome...-prefs.html.en

  3. #3
    Join Date
    Jun 2008
    Beans
    2

    Re: ls produces unreadble cyan text on green background

    Here is a recipe:

    To have readable blue (on white/black) directories on /host (a Windows file system) in ls from an Ubuntu terminal (gnome I believe) do:

    issue the command:
    dircolors -p > ~/.dircolors
    edit ~/.dircolors and change 30;42 to 01;34 and 34;42 also to 01;34
    add the line:
    eval $(dircolors ~/.dircolors)
    to ~/.bashrc

    - Kristjan

  4. #4
    Join Date
    Feb 2007
    Beans
    23,167
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: ls produces unreadble cyan text on green background

    From the Ubuntu Forums Code of Conduct.
    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Thread closed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •