Reputation: 101
I am using Eclipse Java EE IDE for Web Developers version 4.5.0 (Mars). But the tooltip background is black. How can I change it?? I am using xubuntu 14.04
P.S. The tooltip background at the system level is white, using gnome color chooser. And I set The Java doc view background at (general -> appearance -> colors and fonts) to white And also none of the Appearance color options at (Java -> editor) are black! Is it a bug in the new version of eclipse??
Upvotes: 3
Views: 1725
Reputation: 1
I have verified that
export SWT_GTK3=0
is a viable, albeit suboptimal, workaround in Ubuntu 16.10 and Eclipse 4.6.1 when the desktop appearance uses the BlueMenta themes, with no additional tweaks required.
Tweaking the gtk-3.0 css files didn't work for me.
Other users have had better luck with the scripts in this project
Upvotes: 0
Reputation: 3109
The export SWT_GTK3=0
trick did not work for me.
However, the answer listed here worked after trying several other solutions (Eclipse Mars 4.5.2, Ubuntu 14.04.3). I did have to edit one additional file though (gtk-main.css
). So edit these files:
/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
Upvotes: 0
Reputation: 314
Same problem.
I assume this is because Eclipse 4.5 uses GTK3 by default (gtkrc-2.0 settings will not be used).
So you can:
I prefer the second choice.
Add
export SWT_GTK3=0
in /etc/profile and restart the system
Upvotes: 5