18

Wine looks like an alien that says "Hello, I am definitely not part of your desktop environment". Many wine applications have no icons and wine itself runs on the ugly-looking windows 95 theme.

  • Is there a way to make wine more aesthetic and less alien?
  • How can I add icons to wine programs such as MS office for instance?

I tried the Ambience XP theme but it doesn't look so great and still feels unrelated to Unity's GTK3 Ambience theme.

Joey-Elijah, the editor of OMG! UBUNTU! made a post about a script that integrates wine into the desktop but I ran the script and it had no effect. I assumed that the script doesn't run on Precise. Am I wrong? Is there a way to make wine look... prettier?

Jorge Castro
  • 71,754
Vagrant232
  • 1,265
  • 4
  • 15
  • 29

2 Answers2

17

Unfortunately, due to the nature of Windows, and thus Wine, it is currently rather difficult to achieve what you are looking for.

As far as I'm aware, there are plans to eventually have Wine applications take on the style of the desktop they are running on, but trust me, this will probably take a while before it ever happens.

Your best bet is to use winetricks, which has an option use your Desktop's colour scheme to theme Wine applications. Other than that, unless someone has created a style, there isn't much you can do.

The numerous icon theme replacements out there for Windows can work, but not very well, due to differences between Wine's and Windows' shell*.dlls. I'm sorry I cannot provide you with the solution you wanted.

I see that my answer has not been enough for you so I'm going to try to make it more satisfactory.

  • Is there a way to make wine more aesthetic and less alien?
    Yes, but it is difficult. You would need to create a .msstyles theme for Windows (XP compatible) and then apply this as a theme in Wine. Since Microsoft never intended for any custom themes to be created, creating msstyles is not a "walk in the park" and creating one that matches Ubuntu's style is even more difficult.

Doubt what I'm saying?
Read here: http://en.wikipedia.org/wiki/MSSTYLES

  • How can I add icons to wine programs such as MS office for instance?
    Yes and no. You can patch these applications, but please remember, Windows applications are for the most part themed very differently from the applications you will find on Ubuntu (especially Microsoft products).
    • You can apply "transformation packs" in Wine, but unfortunately the results will be somewhat different from what you would expect on Windows (trust me, I've tried).
      This is largely because transformation packs are designed to theme a whole Desktop Environment (from the File Manager back to the Taskbar). Wine does not have some of the components of Windows, and so all you will be seeing is specific applications with minor, incomplete changes, such as changed icons, and not all of the icons will change either.
    • Most official Windows applications (especially Microsoft products) do not use freely changeable icons (like what you would find in Ubuntu) that you can swap for other themes. The icons are "hard coded" into dlls like shell.dll, and sometimes in application specific dlls. Occasionally, an application in Windows uses external resources (like .png files) that you can change, but this is rare, and so it won't make any difference in your Wine experience.
    • Even if you do manage to apply a transformation pack, you will likely create instability in your applications (trust me, I've tried!!!). For this reason, I advise you to just put up with what is available. Unless a miracle happens, there is no other answer anyone can give you.
RolandiXor
  • 51,541
  • I wasn't doubting what you were saying but I guess I was hoping that someone knew a trick that most others don't. Thank you for clarifying it. – Vagrant232 Aug 20 '12 at 13:32
  • 1
    Hi, can you tell me how 'winetricks' make wine theme looks like my desktop's colour scheme, ( I am using Ubuntu 14.04LTS) I have attached a screen-shoot of 'winetricks' from my laptop http://postimg.org/image/4w73n5n13/ – raz Dec 07 '14 at 17:22
  • @rashedazad winetricks simply copies your system's colours to the registry and applies them. Nothing more. – RolandiXor Dec 08 '14 at 22:14
  • 1
    I was asking about the process, how can I apply my desktop colour scheme in wine with winetricks. – raz Dec 09 '14 at 23:38
  • If you have another question, please ask it by clicking the Ask Question button. – RolandiXor Dec 12 '14 at 21:10
4

Wine-staging now has an option for GTK theming. To use it:

1. First, install wine-staging:

From https://wiki.winehq.org/Ubuntu:

  1. If your system is 64 bit, enable 32 bit architecture (if you haven't already):

    sudo dpkg --add-architecture i386
    
  2. Add the repository:

    wget -nc https://dl.winehq.org/wine-builds/Release.key
    sudo apt-key add Release.key
    sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
    
  3. Update the package list:

    sudo apt-get update
    
  4. Then install:

    sudo apt-get install --install-recommends winehq-staging
    

    If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).

2. Enable GTK theming:

  1. Open winecfg
  2. Click the "Staging" tab
  3. Check "Enable GTK Theming"
  4. Click OK

3. Enable font smoothing:

Improve GUI appearance of Wine applications

QwertyChouskie
  • 2,344
  • 1
  • 16
  • 30
  • It seems that “Enable GTK Theming” is always greyed out unless you have specifically built winehq-staging with GTK support. – Moilleadóir Oct 19 '19 at 07:49