Open dacrossman opened 8 years ago
You need to set this to enable GTK styling in Java. Notice the crossplatformlaf
setting, aswell as the underscore before JAVA_OPTIONS
.
_JAVA_OPTIONS='-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
Just as a warning, Chatty looks weird when using GTK and the tab coloring (unread, notifications, etc.) doesn't work. Also the padding of most elements is way too huge which makes the app require more space. But thats up to you. I personally hate it, thats why I use this ugly default look and feel.
Hey, thanks for that! Mine doesn't look too bad, but yeah the text colors on the tabs don't change :(
I guess that's why:
It is up to the look and feel to honor this property, some may choose to ignore it.
(JTabbedPane.setForegroundAt())
Hi,
I seem to have an issue with the Look and Feel option. Setting it to System still retains the "Java UI".
Looking at the debug log i see : Setting LAF to javax.swing.plaf.metal.MetalLookAndFeel
I tried forcing the setting in JAVA_OPTIONS to -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Doesnt seem to take affect.
Running on Linux Mint 18, I'm running bspwm as my window manager, I have confirmed that my GTK2+ settings are correct in other applications.