https://bugs.winehq.org/show_bug.cgi?id=5382
Bamm Gabriana bammgabriana@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bammgabriana@gmail.com
--- Comment #27 from Bamm Gabriana bammgabriana@gmail.com --- Sorry for reviving this.
The original post said, "Would even dynamic color scheme be an option?" and yet this was closed with the reason "Wine can not and will not use GTK/QT tool kits for it's GUI". I find this non-sequitur. One does not need to have GTK/QT tool kits in Wine just to import its colors.
In fact, I once made an "external tool to get theme data from GTK/QT and import into Wine", and I implemented it using only a POSIX shell script, making calls to gsettings and then writing them as a .reg file importable by Wine Regedit.
The issue is not about writing a tool, it's about making it work automagically.
Let's say the user switches from a light to a dark desktop theme. Next time he opens a Wine application it would be blindingly bright. In my case, I would need to run my tool after I change the theme and before I run a program in Wine.
The solution would be to find a way to run such a tool everytime wineboot runs, and this is where the cooperation of Wine developers is needed. It cannot be purely external since it needs a hook into wine's startup.
I don't want this to be purely internal also, because those who do not want this feature shouldn't be forced to have it. (It might increase startup time by a small fraction of a second)
I just want to ask the Wine developers to revisit this posibility of dynamic color theming by allowing such an external tool to run at startup, perhaps by having something like an autoexec file that a user can edit or that can be set by an external package.
I'm thinking creating a directory like /etc/wine/autoexec.d/ and have packages drop scripts there that wineboot can run. Also, it should be opt-in, so that users can decide if they want this feature, otherwise, wineboot just ignores it.
Is it possible to create such a hook?