[Bug 59739] New: Ability to set theme for all prefixes easily
http://bugs.winehq.org/show_bug.cgi?id=59739 Bug ID: 59739 Summary: Ability to set theme for all prefixes easily Product: Wine Version: 11.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: uxtheme Assignee: wine-bugs@list.winehq.org Reporter: fatihbakal7@protonmail.com Distribution: --- Disclaimer: I know there are already similar issues to this. This one is just a proposal for a global setting tho so I thought it deserves it's own issue. It's just way too much of a hassle to set a theme up to each prefix. Currently there's 3 ways of theming wine that I'm aware of. 1. .reg files 2. .msstyle/.theme files 3. That 1 experimental GTK3 theming patch that's been in staging for ages (broken on most installs) My proposal is that every single prefix uses the same directory to check for `theme.reg/.msstyle/.theme` files in one of these directories; `~/.config/wine` `~/.local/share/wine/` `$HOME/` (would have to be named wine_theme for this to not be confusing) Also does anybody know a way I can contact upstream people quickly? I did think of opening a PR for this but thought I would end up not getting a response like this https://gitlab.winehq.org/wine/wine/-/merge_requests/10543 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59739 --- Comment #1 from fatihbakal7@protonmail.com --- Edit: found duplicate of this issue https://bugs.winehq.org/show_bug.cgi?id=48506 somebody please let me know on the last part I might look into it if there's interest from upstream people just like the other PR -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59739 Stefan Dösinger <stefan@codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com --- Comment #2 from Stefan Dösinger <stefan@codeweavers.com> --- My 2c is that we don't want to soften the separation between prefixes. Wine Mono, Wine Gecko, etc are static data. The current theme selection is not. The best solution to easily changeable themes would be a default theme that manages to follow the system gtk/qt/macos theme, but as you observed, it isn't easy to do. I tried to go a little step into this direction by cleaning up the color management in light.msstyles, but Windows theming is awful (MR 7590). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59739 Stian Low <wineryyyyy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wineryyyyy@gmail.com --- Comment #3 from Stian Low <wineryyyyy@gmail.com> --- (In reply to fatihbakal7 from comment #0)
It's just way too much of a hassle to set a theme up to each prefix.
winecfg supports setting version via command line: winecfg /v win10 winecfg also handles setting themes but does not provide a command line option. Would a command line option such as the following resolve hassles? Such as: WINEPREFIX=/bogus/pfx_0 winecfg /t aero WINEPREFIX=/bogus/pfx_1 winecfg /t aero WINEPREFIX=/bogus/pfx_2 winecfg /t aero_dark -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59739 --- Comment #4 from Stian Low <wineryyyyy@gmail.com> --- (In reply to Stian Low from comment #3)
WINEPREFIX=/bogus/pfx_0 winecfg /t aero
Typo but /t as theme flag is the relevant part: WINEPREFIX=/bogus/pfx_0 wine winecfg /t aero -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59739 --- Comment #5 from Stian Low <wineryyyyy@gmail.com> --- Created attachment 80904 --> http://bugs.winehq.org/attachment.cgi?id=80904 Screenshot of winecfg proof of concept Attached is a screen shot of a winecfg proof of concept. Previous proposed /t theme option solves easily setting but not sharing across prefixes: WINEPREFIX=/bogus/pfx_0 wine winecfg /t aero The screenshot replaces /bogus/pfg_0/drive_c/windows/resources/themes with a symlink to arbitrary shared path ~/.local/share/wine_bug_59739_test/themes/. With that done, winecfg Theme dropdown lists path that may be shared across all prefixes. If winecfg were extended with command line options to either replace `resources/themes` with a symlink or alternatively just use the shared path as basis for the search path for the Themes list and to-be-added /t theme option, then this combination of added features may be sufficiently convenient to resolve whatever hassles you may be encountering. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla