14 hours ago
I try to explain the problem I am having with Eclipse: Well, as shown in my attached screenshot all Icons seems to be enabled. But normally some Icons are disabled. For Example: When the Debugger is in running, you cannot press the resume button, but the resume button and the Stop button appear like an enabled button. Nevertheless just one of them is clickable.
So in summary eclipses logic behind the Icons is working, but eclipse does not change the visual style of a button, when it is disabled (not clickable).
Does anybody know how to force eclipse to show an disabled icon, when the button is disabled and an enabled icon, when the button is enabled?
What I have already tried to do:
I tried using Eclipse Mars. But is has the same behavior than Neon.
I tried using Eclipse Luna. This works pretty fine. All siabled buttons are grayed out.
I reported this bug to eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=501878
31 hours ago
This problem is caused by the use of GTK3 in newer ubuntu versions with SWT programs.
You can set a flag in your .profile to make SWT Programms like Eclipse use GTK2 for now.
your file should now look similar to this (that is actually my .profile file):
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
### User changes
# disable GTK3 for Eclipse and other SWT programs.
# disable overlay scrollbars globally for this user.
If you start Eclipse now, you can see disabled icons greyed out.