Reputation: 1970
I updated Eclipse to 4.2.0 (I'm running Archlinux). Eclipse seems to be not taking its own parameters:
Note how the preview is showing correctly, but the main interface is showing this:
Any advice on how to solve this?
I'm using a dark theme in my GTK. It used to show correctly before the update.
Upvotes: 2
Views: 2818
Reputation: 1970
If you run into this trouble, try this little command:
#rename .css .not /usr/share/eclipse/plugins/org.eclipse.platform_4.2.2.v201302041200/css/*.css
You will need to replace 4.2.2.v201302041200 with your Eclipse version number.
What I'm saying is, remove or rename the theme CSS files, you will be surprised of the neat, clean and simple interface Eclipse gets, and it will follow YOUR colour settings.
Notice how even the sidebar buttons got cleaner/non-bloated.
Edit:
For Ubuntu 13.10 the location of the CSS files is different:
/opt/eclipse/plugins/org.eclipse.platform_4...
As Greg Kramida suggested, the command should be:
#rename -v 's/\.css/\.css\.not/g' /opt/eclipse/plugins/org.eclipse.platform_4.3.1.v20130911-1000/css/*.css
Updated 2014-09-19
For those running the new version "Luna" 4.4.0 the directory has changed (platform became ui.themes) so the new command is:
#rename .css .not /usr/share/eclipse/plugins/org.eclipse.ui.themes_1.0.0.v20140604-1608/css/*.css
Updated 2015-05-23
As the version of eclipse keeps changing (at least in my linux distro) I found this command to be more useful:
# rename .css .not /usr/share/eclipse/plugins/org.eclipse.ui.themes*/css/*.css
Upvotes: 4
Reputation: 9
Appearently Eclipse is listening to the stylesheet of winxp. Try adjusting that one: http://raginggoblin.wordpress.com/2012/07/19/eclipse-4-juno-change-tab-color/
Upvotes: 0
Reputation: 11144
The UI look like the Eclipse 3.X stream. Did you switch the Preferences>Apparence Theme to classic? Try the GTK one to see if it's better.
However, there is still some issues with the Eclipse 4 css rendering.
If the first solution came out with no luck, what you can do is to create a plugin like this one : https://github.com/eclipse-color-theme/eclipse-ui-themes
Then focus on the following properties on your css file
CTabItem {
}
CTabItem:selected {
}
Where you can adjust the tabs colors.
Here are some resources:
You may also find the Eclipse 4 CSS spy useful.
Ragards
Upvotes: 2