You are not logged in.

#1 2013-06-08 20:54:08

mid-kid
Member
Registered: 2013-05-07
Posts: 177

[solved] Eclipse looks ugly. Any way to change the theme?

I am using KDE, with the oxygen-gtk theme for gtk.
Most applications look pretty good for my taste.
HnnOpSP.pngftJ8H3d.png

But then eclipse...

570Wj3F.png

...it looks... bad...

I want a different theme for eclipse, and keep other applications on default, though I'm not sure if I need to apply another gtk+ theme or find a dedicated theme for eclipse.
I tried changing the theme in the "Appearance" preferences of eclipse, but that just makes it look worse.
I also tried searching for eclipse themes and tried some from here, but that only replaced the editor's theme.
It'd be nice if i could make eclipse look better.
any help?

Last edited by mid-kid (2013-06-09 16:09:20)


If it ain't broke, you haven't tweaked it enough.

Offline

#2 2013-06-08 20:57:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,345
Website

Re: [solved] Eclipse looks ugly. Any way to change the theme?

you can create alternate gtkrc files then call eclipes with `GTK2_RC_FILES=/path/to_your/eclipse/theme/gtkrc eclipse` and that will use that theme file just for eclipse.

But if you like the theme for other programs, why do you dislike it for eclipse?  is this a gtk2/3 issue?  What is it you want to change?

Edit: apparently not gtk2/3 issue as eclipse and sublime are both gtk2.

Edit2: eclipse uses java for widgets, right?  Have you looked into java toolkit customization?

Last edited by Trilby (2013-06-08 21:01:55)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-06-08 21:02:13

mid-kid
Member
Registered: 2013-05-07
Posts: 177

Re: [solved] Eclipse looks ugly. Any way to change the theme?

Trilby wrote:

But if you like the theme for other programs, why do you dislike it for eclipse?  Is this a gtk2/3 issue?  What is it you want to change?

IDK how, but the colors go from grey to plain white. Most applications don't show as much plain white as eclipse. It looks so... weird.

GAH, I can't english today.

Trilby wrote:

Edit: apparently not gtk2/3 issue as eclipse and sublime are both gtk2.

Sublime only uses gtk2 for the title bar and file dialogs, while eclipse tries to integrate more with GTK

Trilby wrote:

Edit2: eclipse uses java for widgets, right?  Have you looked into java toolkit customization?

No, I haven't. But eclipse doesn't use swing or something like that right? I guess SWT was made for eclipse. All other java apps look even worse. But I won't be looking into that because the only java apps I use are minecraft and eclipse.

Last edited by mid-kid (2013-06-08 21:17:38)


If it ain't broke, you haven't tweaked it enough.

Offline

#4 2013-06-09 01:01:42

mid-kid
Member
Registered: 2013-05-07
Posts: 177

Re: [solved] Eclipse looks ugly. Any way to change the theme?

Since I like how sublime looks, I figured I'd take a dark theme.
It looks even worse

It seems that the GTK+ theme can only edit several parts of the UI.
Is there a way to edit the white parts too?


If it ain't broke, you haven't tweaked it enough.

Offline

#5 2013-06-09 01:48:07

crondog
Member
Registered: 2011-04-21
Posts: 130

Re: [solved] Eclipse looks ugly. Any way to change the theme?

Offline

#6 2013-06-09 11:06:45

mid-kid
Member
Registered: 2013-05-07
Posts: 177

Re: [solved] Eclipse looks ugly. Any way to change the theme?

crondog wrote:

Holyshit, that work'd O.o (Eclipse throws an error at startup now tho)
Thanks!

So here is a list of what I did to get a gtk theme properly working:
1. Remove the css folder as explained here.
2. Download the gtk theme and place it in .themes
3. Created a gtkrc only containing the "gtk-theme-name" value.
4. Launch eclipse the way Trilby said, with the "GTK2_RC_FILES" variable. (unless you are using that gtkrc globally)
5. For a final touch, you may want to edit the editor's colors by either downloading one, or editing it yourself in Preferences -> Java/PyDev/Whatever_you_use -> Editor


If it ain't broke, you haven't tweaked it enough.

Offline

Board footer

Powered by FluxBB