when I select a file in dolphin the name disappears

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


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.


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.