DevShark
DevShark

Reputation: 9112

eclipse with moonrise color theme: change button color

I run the Eclipse Kepler IDE on redhat. I use the dark theme color Moonrise.

The buttons in all windows appear as white with white text. As you can imagine this is suboptimal...

How can I change the color of the buttons, or the color of the text buttons?

I looked into Preferences/Appearance/Colors and Fonts but could not find the correct color to change.

Here's how it looks:

enter image description here

Upvotes: 5

Views: 2137

Answers (2)

merosss
merosss

Reputation: 555

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

Elaborating on DevShark perfect answer (which made my day) I'll just add the eclipse.desktop launcher with this modification included which makes the contours 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

Upvotes: 1

DevShark
DevShark

Reputation: 9112

Adding SWT_GTK3=0 to the environment solved the problem.

So I create an eclipse_launcher file:

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

Upvotes: 3

Related Questions