Possible Duplicate:
Gigantic Tabs in Eclipse on Ubuntu
Back when I was using Eclipse on Ubuntu 10.04 LTS, I found that the tabs and bars used a bit too much vertical spacing, which made the interface a bit too spacey for my taste.
However, I didn't find a good way to make this right, and I learned to work with it.
But now, after installing Ubuntu 12.10 (or actually Linux Mint 14 Cinnamon), it has gotten even bigger, the vertical spacing.
If you have three tabbed windows with two toolbars in your normal vertical workspace, this easily hides 6 lines of code with useless UI spacing, which I personally find quite annoying.
Before screenshot (a bit too spacey) | After screenshot (annoyingly spacey):
I personally don't like this and I would prefer to get rid of it. I have tried some GTK3 themes and they left stuff almost equally spacey, adding or removing maybe an extra pixel.
I have traveled deep into the preferences of Eclipse itself and I have seen many things. I am not sure if I was distracted or there is just no way of changing this from within Eclipse itself, but I didn't find any.
How do I turn this oversized touch interface for people with 4K screens back into a compact interface for programmers who want to see lots of code?
or
How do I brutally do this myself in /usr/share/themes/*/gtk-3.0/*css
?
If you want to see more code and less clutter, take a look at the eclipse fullscreen plugin . Toggle the fullscreen mode with
Ctrl+Alt+z
(or define your own binding).Instead of using menus, the "universal command" shortcut
Ctrl+3
can take you to any menu and perform any task faster.I have been looking everywhere for a GTK3 solution, because I was sure the switch to a GTK3 system caused this. However, after two hours of wasting my time, I found out that the 'old GTK2 trick' just works.
The original forum post is here: http://ubuntuforums.org/showthread.php?t=1465712
Add a new file called
.gtkrc-2.0
to your home directory with the following content:Restart Eclipse.
Wasted space back to efficient use!
Update 2014-06
Now that I myself have (finally) moved to Kepler, I found that the little minimize-maximize widgets wouldn't go below 28 pixels anymore. These
.gtkrc-2.0
seem to have better results for Kepler.If you add the
xthickness
andythickness
to the wholeGtkWidget
class, your menu bar will be all tight and squeezed together. That's too much in my opinion, but just so you know.You can edit the file and save it, open up something simple like
Geany
, tweak save, re-openGeany
etc. to quickly tweak this. For details you can open Eclipse every time, but it takes longer to load, depending on how much plugins you have to load.Update 2015-10-02
About Luna and Mars
@eocanha said at jan 15: