3

As indicated in this answer, Wine-staging now has an option for GTK theming, and it works as indicated there.

Adding a Wine-staging version to a virtual drive in Playonlinux , the "Staging" tab appears in Wine configuration for that drive, but "Enable GTK Theming" is grayed-out.

enter image description here

enter image description here

How could I get the GTK theming to work in Playonlinux?


Following the linked solution, both wine-staging and winehq-staging are installed. I think wine-staging is a development branch of Wine but I don't know about winehq-staging.

winehq-staging needs and installs wine-staging in order to work, but I don't think Playonlinux installs winehq-staging and that may be the problem.


Having that in Playonlinux would be an advantage because of the easier of using different Wine versions for different programs, as gtk theming may not really represent a progress for all windows programs.

1

We (PlayOnLinux team) are currently creating a new wine build system. We plan to add GTK support soon.

The current wine builds (build with the legacy system) do not support GTK+ because wine staging is not compiled with libgtk-dev at that time.


UPDATES:

  • POL 4 has been updated on October 18, 2018 to support this new wine build system. We will write a news on the website, probably this week. See also Add support for Wine staging.
  • 24/11/2018: Last wine staging builds now support GTK 3.
  • 1
    POL 4 has been updated yesterday o support this new wine build system. We will write a news on the website, probably this week – qparis Nov 19 '18 at 10:56
  • For the moment I see no details on that, the link you posted shows a comment that sends back here. Would the gtk support come through adding winehq-staging or simply through a certain new wine version? – user32012 Nov 19 '18 at 13:22
  • GTK+ comes with wine-staging. However, wine needs to be compiled with libgtk devel installed on the build system (which is not the case currently). This is probably why the box is disabled on your screenshot. – qparis Nov 19 '18 at 19:05
  • 1
    If you want to try manually, you can build fairly easily your custom winebuild with gtk3 support: - Clone this repository: github.com/PhoenicisOrg/phoenicis-winebuild - Install docker - Install py docker : pip install docker - Run PYTHONPATH="$PWD" python examples/wine_staging_builder.py It should generate a wine-staging.tar.gz file, that you can install into ~/.PlayOnLinux/wine/linux-x86 – qparis Nov 19 '18 at 21:32
2

You can do the following:

-Install wine-staging (winehq-staging) in your system (not from POL). It must replace wine.

-Go to POL and in "Wine version" select "System".

Now you can check "enable GTK3 theming".

  • In fact it's winehq-staging: wine-staging.com/installation.html – user32012 May 3 '17 at 11:17
  • I now want a more specific answer, relating to how to do the same in Playonlinux. There may be cases were I do not want to install another version of wine at system level. – user32012 Nov 6 '18 at 13:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy