Eclipse with moonrise color theme: change button color

I am running the Eclipse Kepler IDE on redhat. I use the dark color of the Moonrise theme.

Buttons in all windows look white with white text. As you can imagine, this is suboptimal ...

How to change the color of buttons or the color of text buttons?

I looked at Preferences / Appearance / Colors and Fonts, but could not find the correct color.

Here's what it looks like:

enter image description here

+5
source share
2 answers

Adding SWT_GTK3=0 to the environment resolved the issue.

So, I create the eclipse_launcher file:

 #!/bin/bash export SWT_GTK3=0 /YOU/PATH/eclipse 
+2
source

I had a similar problem using a dark theme in Eclipse Neon combined with the Flatabolous theme ( http://www.noobslab.com/2016/07/flatabulous-theme-makes-your-desktop.html ): all buttons and text fields had no outline, so they merged with the background of the same color.

Developing the perfect DevShark answer (which made my day), I will simply add eclipse.desktop launcher with the included modification, which makes the outlines visible:

 [Desktop Entry] Name=Eclipse GenericName=Eclipse IDE Exec=bash -i -c "export SWT_GTK3=0 && /YOUR/PATH/eclipse" Type=Application Terminal=false Icon=/YOUR/PATH/eclipse/icon.xpm Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse 
+1
source

Source: https://habr.com/ru/post/1247194/


All Articles