5

The latest eclipse has a strange aspect in XFCE 4.11 with the Adwaita theme. The following images show the main problems

The background of the tool-tip is white, instead of the Adwaita blue. Eclipse tool-tip with white backgroud

The side arrows that open sub menus are plain ugly. Ugly side arrows

Apart from this, the padding in the bars makes it very difficult to use in my laptop. enter image description here

Does anyone have any suggestion?

4 Answers 4

13

To fix the tooltip, try to disable GTK3 by expoting SWT_GTK3=0. You can do this by creating a .desktop file if not already created (right click on desktop 'Create Launcher...', configure it for eclipse). Open the .desktop file with text editor and modify the line holding the execution:

Exec=env SWT_GTK3=0 command_to_launch_eclipse

1
  • space-saver for eclipse mars on xfce 4.12
    – kaznovac
    Jul 26, 2015 at 11:38
8

Another option is to add the following lines before --launcher.appendVmargs in /usr/lib/eclipse/eclipse.ini or anywhere else where eclipse.ini lies:

--launcher.GTK_version
2

Source: https://bbs.archlinux.org/viewtopic.php?pid=1546706#p1546706

0
0

You can also run eclipse with custom theme setting, so copy your theme from /usr/share/themes/theme_name/.gtkrc to /home/user_name/.gtkrc-eclipse and run eclipse by use command

env GTK2_RC_FILES=/usr/share/themes/your_theme/gtk-2.0/gtkrc:/home/USER/.gtkrc-eclipse '/path_to_eclipse/eclipse'

But before changes in custom .gtkrc file, you should to modify tooltip_fg_color and tooltip_bg_color values

0

It's also worth trying to change the XFCE theme. Go to Applications -> Settings -> Appearance, and try the different looks. "Adwaita" gave me trouble with the "Dark" Eclipse theme, so I switched to "Xfce-dusk" and most of the deficincies are fixed.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.