Eclipse STS-3.7.0 and Linux Fedora 22 look and feel

When I run the default eclipse STS-3.7.0 on the linux fedora 22 the look and feel is not what I’m expecting. Especially margin of tabs, button, text is too big. I’m loosing a lot of screen space because of this “nice GTK3 look”. The problem is with current GTK3 theme that is used by fedora on Gnome Shell 3.16.2. I’ve tried many different approaches to change this (editing css styles for eclipse, editing current GTK3 theme), but the simplest and the best is just to use GTK2 to run eclipse.

To achieve this, create simple bash script (like in  your eclipse directory:

export SWT_GTK3=0

Remember to make this file “runnable”:

chmod +x

This is how the eclipse looks before:

Screenshot from 2015-10-02 09-31-39


Screenshot from 2015-10-02 09-43-05

  • It’s test comment.