11

Eclipse luna ships with an integrated dark theme, I downloaded Eclipse CDT and deleted my workspace to reset Eclipse configuration.

I switched to the dark theme and restarted Eclipse; the UI doesn't look like expected: enter image description here

I also have checked for updates within Eclipse (no update found) The theme is supposed to look like the screenshots in the link.

  • 2
    It seems this is answered on Stackoverflow. The problem isn't specific to Ubuntu or Linux. https://stackoverflow.com/questions/24470710/eclipse-luna-dark-theme-not-completely-dark-like-pictures – MadMike Jul 02 '14 at 08:54
  • 1
    This fixes the text editor but not the unreable buttons – Victor Lamoine Jul 02 '14 at 09:27
  • I'm too lazy to copy this as an answer. In the mean time: does this guide work for you? http://mihai-nita.net/2013/09/19/dark-eclipse/ – MadMike Jul 03 '14 at 07:03
  • No it doesn't, I can't reproduce the problem on an other Ubuntu install; something must be corrupted on my system – Victor Lamoine Jul 03 '14 at 12:21

3 Answers3

6

Fix text editor colors:

Help > Eclipse Marketplace > Search for "Eclipse Color Theme" and install it.

Then go to: Windows > Preferences > General > Appearance > Color Theme

Fix text boxes colors:

Open a terminal and run

export SWT_GTK3=0

Then start Eclipse :

eclipse

The user interface should be fixed. If this worked for you edit the eclipse launch script for more convenience:

sudo gedit /usr/bin/eclipse

Add

export SWT_GTK3=0

Before:

ECLIPSE=/usr/lib/eclipse/eclipse

Source: https://github.com/guari/eclipse-ui-theme/issues/73

1

The editor issue should be fixed with Eclipse 4.4.1. On of the Eclipse plug-ins was affecting the styling of the editor.

vogella
  • 111
0

I had problems with a dark theme also. You can try the following:

go to: Windows>Preferences>General>Appearance

and disable: Enable Theming

It might help!