when I select a file in dolphin the name disappears

5,138

Solution 1

With root privileges, please change in the following file:

/usr/share/themes/Ambiance/gtk-2.0/gtkrc

from

selected_fg_color:#ffffff

to

selected_fg_color:#000000

I figured this out in a long search for the right configuration file.
I also tried changing it in .local/share/... but it did not work that way for me.

Solution 2

I have struggled with the various solutions posted for hours now and have finally gotten mine working. I am running KDE Plasma on Ubuntu and a file selected AND hovered over will disappear. First, you need to figure out what theme you are using (System Settings -> Appearance -> Application Style -> (and then Window Decorations or GTK .. not sure which, but both of mine were set to the same). In this example my theme is "theme_name". Find this theme file here:

/usr/share/themes/theme_name/gtk-2.0/gtkrc

Find the line that contains "selected_fg_color:". Change the six digits after the : to all zeros:

selected_fg_color:#000000

You will need to restart Dolphin after this change. This changes the text when you select and hover to black. If you are running a theme with a white background it still won't look perfect because the background will be white, and not look selected (but at least you can read it now). You can change the color of the background fill by adjusting "base_color" in the same file. However, this changes the base background color for the whole theme... so it will change other things too.

I think that some who have said this fix does not work for them may be editing the gtkrc file for the wrong theme.

Share:
5,138

Related videos on Youtube

Craig
Author by

Craig

Updated on September 18, 2022

Comments

  • Craig
    Craig over 1 year

    I'm using dolphin under gnome 3 and when I select a file, the name disappears. I tried looking at my kde settings and looking under colors and nothing seems out of the ordinary, and I don't know if that is where dolphin is getting its colors from since I'm using gnome 3. I'm using Ambiance for a color theme, so I looked in /usr/share/themes/Ambiance/gtk-3.0/gtk.css and saw base color is white and so is selected fg color. So I changed them to black and got nothing. It appears that dolphin is getting its color information from gnome 3 since when changing from Ambiance to Adwaita the colors change in dolphin.

    So how do I get the filename not to disappear when I select a file in dolphin and hover over it?

    Thanks

  • Lapis
    Lapis almost 11 years
    Note that this affects selected text color everywhere, not just in Dolphin. It looks OK though so for me it's not a problem.
  • tpg
    tpg almost 11 years
    Thanks for this answer. I changed bg to #80f080 and fg to #a00000, and it works fine for me.
  • Kalamalka Kid
    Kalamalka Kid over 8 years
    I'm still having issues with this despite changing any of these values the white still remains while my mouse is hovered over the text
  • Kalamalka Kid
    Kalamalka Kid over 8 years
    I'm sorry, but none of this is working is there some other solution to this? uiuiui
  • Lapis
    Lapis over 8 years
    Note that if your active theme is not Ambiance, you need to replace it in the path with yours.