22
KDE: Force color scheme for single application
(feddit.org)
Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.
Well, it won't work for Kate, because Kate is implemented using the Qt framework, so will preferentially use the Qt theme on your system. You would have to try it on e.g. Inkscape, which uses the GTK framework. (I did just try it on Inkscape to confirm that.)
We're getting into the technical details of how these applications are implemented, so I can't make this any less confusing.
But basically, KDE generally uses Qt, but it also generates a GTK theme, so that Inkscape et al don't look out of place.
Applications not specifically developed for Linux are likely to refer to that GTK theme for their own theming, even if they aren't implemented in GTK themselves. Firefox also does this, for example.
UnityModManager seems to be implemented using neither Qt, nor GTK, but rather Microsoft's .NET Framework. So, yeah, kind of no idea what it's gonna do here.
You could try telling KDE to generate a specific GTK theme and see if that does anything:
(There's a button in the top-right of the screenshot.)
You may also want to see, if it's maybe this issue: https://github.com/newman55/unity-mod-manager/issues/88
Right, I confirmed UnityModManager looks different when I change the GTK theme.
Then, instead of Kate, I tried changing the GTK theme like you showed in Lutris and that works.
So the issue seems to lie with Mono. I found this old issue https://github.com/mono/mono/issues/9998 Mono seems to ignore the GTK_THEME environment variable. However there is a workaround:
GTK_DATA_PREFIX= mono ./UnityModManager.exemakes mono default to a classic window theme.Thanks for your help!
Ah, cool that you were able to fix it! ๐