Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse 4.4 Luna ugly theme with XFCE 4.11

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?

like image 270
mariolpantunes Avatar asked Jul 02 '14 23:07

mariolpantunes


2 Answers

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

like image 185
packit Avatar answered Nov 18 '22 20:11

packit


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

like image 32
AndreLDM Avatar answered Nov 18 '22 22:11

AndreLDM