22

I'm on Nobara Linux (with KDE6) using a dark theme. I'm using Unity Mod Manager on some games, which, with my current configuration has unreadable text on buttons etc because the text color is the same as the button-background.

When I switch the color in the settings to a light-mode theme like Breeze, everything in Unity Mod Manager becomes perfectly readable.

How do I force a single application to use light mode and/or a specific color-scheme?

you are viewing a single comment's thread
view the rest of the comments
[-] ackthxbye@feddit.org 1 points 1 month ago

Unfortunately doesn't work for me. I launch Unity Mod Manger with mono ./UnityModManager.exe but I also tried it on Kate, both with the commandline and the Menu-Editor shown in the last post. Both Unity Mod Manager and Kate launch, but do not change how they look.

[-] Ephera@lemmy.ml 1 points 1 month ago* (last edited 1 month ago)

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

[-] ackthxbye@feddit.org 2 points 3 weeks ago

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.exe makes mono default to a classic window theme.

Thanks for your help!

[-] Ephera@lemmy.ml 1 points 3 weeks ago

Ah, cool that you were able to fix it! ๐Ÿ™‚

this post was submitted on 11 Dec 2025
22 points (95.8% liked)

linux4noobs

3208 readers
2 users here now

linux4noobs


Noob Friendly, Expert Enabling

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.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS