The answer listed here finally worked for me after trying several other solutions, none of which worked (Eclipse Mars 4.5.2, Ubuntu 14.04.3). I did have to edit one additional file though (gtk-main.css
).
If you run the "Ambiance" theme (default theme, dark), open these files and change all "bg" tooltip colors to #ffffff
(white) and all "fg" tooltip colors to #000000
(black):
/usr/share/themes/Ambiance/gtk-3.0/settings.ini
/usr/share/themes/Ambiance/gtk-3.0/gtk.css
/usr/share/themes/Ambiance/gtk-3.0/gtk-main.css
/usr/share/themes/Ambiance/gtk-2.0/gtkrc
So e.g. run:
sudo gedit /usr/share/themes/Ambiance/gtk-3.0/settings.ini /usr/share/themes/Ambiance/gtk-3.0/gtk.css /usr/share/themes/Ambiance/gtk-3.0/gtk-main.css /usr/share/themes/Ambiance/gtk-2.0/gtkrc
If you run the "Radiance" theme (the light theme), you need to edit these files:
/usr/share/themes/Radiance/gtk-3.0/settings.ini
/usr/share/themes/Radiance/gtk-3.0/gtk.css
/usr/share/themes/Radiance/gtk-3.0/gtk-main.css
/usr/share/themes/Radiance/gtk-2.0/gtkrc
So e.g. run:
sudo gedit /usr/share/themes/Radiance/gtk-3.0/settings.ini /usr/share/themes/Radiance/gtk-3.0/gtk.css /usr/share/themes/Radiance/gtk-3.0/gtk-main.css /usr/share/themes/Radiance/gtk-2.0/gtkrc