I just installed Ubuntu after using Eclipse on Windows 8 for some time. The only thing I can't figure out how to modify is the color of the vertical bar when you're working under a current class or method in a file.
Example: in Windows the default was this lovely blue as shown below:
But in Ubuntu this is orange in color (as shown below) which distracts me:
Any idea on how I can fix this?
Not sure why the colors are different? My Eclipse on Windows 8 and Ubuntu 14.04 are both Kepler 4.3
This is called as Range indicator.You can switch off the range indicator.
How:
Click
Windows > Preferences
. Navigate toGeneral > Editors > Text Editors
. De selectShow Range indicator
option.How to change the color:
Color of range indicator is controlled by OS not by eclipse.
gtk-theme-config
tool from Ubuntu software centre. Change theHighlight background color
. Logout and login again.After change:
Note that this will change the selection colour in other applications also like nautilus, Firefox etc.
How to apply this only to eclipse:
Somewhere on your home directory, create a gtkrc file (like: ~/.gtkrc-eclipse) with following content:
Launch eclipse from command line like,
You can find out your current theme by executing,
Note that is also changes the text selection background and foreground colour in editor, we can't avoid it.