New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Luna 4.4.0 on GTK3: theme is messed up #73
Comments
info! |
Yes, it should be a 'well-known' issue of the SWT porting on GTK3. You have to run Eclipse in GTK2 mode, to do it you can use a script like this to launch Eclipse:
This mainly fixes the issues related to GTK3 and restores the 'old' look, except for the scrollbars: those will look worse if you use the default Ubuntu theme compared to Eclipse Kepler and Juno. |
not work...! guari! |
put the .sh file in the same folder of the Eclipse executable and then run the script, I tested it some months ago with the same configuration and it worked.. or use a terminal ;) |
"i try... but not work..." =( this theme not work for me =( ./eclipse.desktop: linha 5: Unity: command not found I desist! thks for help and time Guari! |
Doesn't work for me neither. |
The fix |
Does not work for me either. Looks like the button backgrounds are not being changed but the labels are. Hence you can hardly see the labels. I'm using gnome-shell and have tried turning on and off the global shell dark theme but this seems to have no effect on eclipse. |
I'm having the exact same issue too, no luck with exports and .sh files. I'm running Ubuntu Gnome 14.04 with Gnome Shell and system dark themes, Eclipse 4.4. |
WTF in ubuntu 14.04 Gnome with 'Dark themes', I use my .desktop |
Thanks iksws this also works for me: turn on the global dark theme in gnome-tweak-tool and export SWT_GTK3=1 |
Yes and box lines too, but all others work, dark, dark juno and Gtk+ but if you use gtk.css the menu is white, if you move dark.css to gtk.css the menu is black. |
Another option that worked better for me is to keep GTK3, but force a dark theme.
|
Using GTK3 fixed the buttons for me as well, but caused all sorts of other problems The second issue was a deal breaker, I had to restart eclipse every 5 minutes or so. My fix was to continue to use GTK2, but force a different theme for eclipse only. I did this using the following script:
Note 1: I did a search for dark gtkrc files on my system and decided to try the one for the darktable application before downloading random themes from the internet. To me, the darktable theme looks amazing in eclipse! One thing that I love about it is that it reduces the font size of all the ui elements so I see more files in the project explorer and more symbols in the outline. Note 2: In addition to the darktable rc files, I'm using the dark theme in eclipse and global dark in the gnome tweak tool. Note 3: SWT_GTK3 initially didn't change anything for me because my eclipse.ini file was using --launcher.GTK_version which overrides the SWT_GTK3 environment variable. This can be fixed by either changing the gtk version in the ini file or by deleting that option and using the environment variable instead. |
hi,
doesn't fix the buttons issues on Fedora 21. |
For me it's working on Fedora 21. Just: Enjoy. |
Anyone done this in Linux mint? Cause I tried export SWT_GTK3=1 then start Eclipse and the buttons are still wrong color. |
Fixed setting export SWT_GTK3=0 for set the GTK2 mode.. Also is useful if you use tools like JBoss for html editing because it only supports GTK2. Then install a trully adwaita GTK2 & GTK3 dark theme like this one: This will also fix your Chrome and other applications that use the GTK2 theme |
I haven't tested this issue again for a long time (almost a year), but now it works for me using this script:
|
@gustavovelascoh |
Running |
Running on GTK3 on unity 15.04 Both are working fine |
@gustavovelascoh even i am having issues with button even after SWT_GTK3=1. I am using MINT 17.2, also had same issues in MINT 17.1. |
Hi @gustavovelascoh i am able to over come this issue. here are my settings in linux mint 17.2 cinnamon. Cinnamon Theme Settings |
I'm using Gnome Ubuntu 14.04 and Eclipse Luna. On Eclipse I use dark theme and default color and font theme, and global dark theme for Gnome. Has anyone dark theme on Eclipse Mars? |
I use STS 3.7 which is based on Eclipse 4.5. No issues with Dark theme |
I use CodeComposerStudio based on Eclipse Version: 6.1.0.00104 , but the buttons issue is present. |
I think if you can change the Ubuntu theme for controls to Delorean Dark or any dartk theme then you can over come the very annoying button issue. |
|
=( Don't work fine!
Any know how to fix it?
The text was updated successfully, but these errors were encountered: