Page 1 of 1

Interface old theme

Posted: Tue May 09, 2017 6:44 am
by David0325
Ubuntu 16
UMS 6.5
Java 1.7

There is little problem with UMS user interface when I open UMS. User interface is ugly with an old style theme (as windows 95).
How can I get the user interface of UMS to use the GTK theme in Linux?

I already did the following tricks with no success :
https://askubuntu.com/questions/21886/h ... -gtk-theme
http://www.webupd8.org/2014/02/get-unit ... t-for.html

Re: Interface old theme

Posted: Tue May 09, 2017 6:54 am
by Nadahar
I doubt it will make a difference, but you could try using Java 8 and see if another style is selected. When I run UMS on Linux VMs, it has some resemblence to the Linux desktop although you can definitly see that it's not "native". It looks nothing like Windows 95 though:

Image

Edit: Looking quickly in the code, "GTK look and feel" is what's applied for Linux by default. If it fails, it's switched to something called MetalLookAndFeel, which is pretty terrible:

Image

Check your log for "Error loading GTK look and feel" or post debug files like explained in red above.

Re: Interface old theme

Posted: Tue May 09, 2017 11:45 pm
by David0325
Nadahar wrote: Looking quickly in the code, "GTK look and feel" is what's applied for Linux by default. If it fails, it's switched to something called MetalLookAndFeel, which is pretty terrible
Check your log for "Error loading GTK look and feel" or post debug files like explained in red above.
Thanks, I now understand what it's happened, GTKlookAndFeel failed and switched to MetalLookAndFeel that is the theme I have.
I will investigate further and show here the log.