You are not logged in.

#1 2015-04-24 18:45:29

MikeDacre
Member
From: San Francisco Bay Area
Registered: 2013-01-18
Posts: 51
Website

gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

I allowed my arch linux upgrades to slide for a while - probably nearly a month - and just did a system upgrade and reboot today. After rebooting, I am stuck with GTK's default Adwaita window borders, which use a lot of real estate, and GTK3 apps like nautilus have a solid black border around the windows.

I have tried changing the theme with theme-switch2, I have rebooted a couple of times, replaced the window manager with xfwm4 and then gone back to gtk-window-decorator, all with no change. Other aspect of the theme - fonts and colors - work fine, but the window decorator theme just won't change.

The following commands have no effect:

gsettings set org.gnome.desktop.wm.preferences theme Numix
gsettings set org.gnome.desktop.interface gtk-theme Numix

Here is an example of the black box around nautilus.


nautilus_example

Possibly unrelated, but when I start gnome-tweak-tool, which allows me to change the theme, I get the following message:

WARNING : Shell not installed or running
WARNING : Error detecting shell
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 274, in __init__
raise Exception("Shell not running or DBus service not available")
Exception: Shell not running or DBus service not available
/usr/lib/python2.7/site-packages/gi/overrides/__init__.py:306: Warning: The property GSettings:schema is deprecated and shouldn't be used anymore. It will be removed in a future version.
return super_init_func(self, **new_kwargs)
INFO    : GSettings missing key org.gnome.nautilus.desktop (key computer-icon-visible)
WARNING : Error loading desktopfile: /home/dacre/.config/autostart/tracker-miner-apps.desktop
WARNING : Error loading desktopfile: /home/dacre/.config/autostart/nm-applet.desktop
WARNING : Error loading desktopfile: /home/dacre/.config/autostart/blueman.desktop
WARNING : Error loading desktopfile: /home/dacre/.config/autostart/xfce4-clipman-plugin-autostart.desktop
WARNING : Error loading desktopfile: /home/dacre/.config/autostart/xfce4-notes-autostart.desktop
WARNING : Error loading desktopfile: /home/dacre/.config/autostart/Growl For Linux.desktop
WARNING : Shell not running
None
INFO    : GSetting missing org.gnome.shell.calendar
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-battery-action)
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-ac-action)
INFO    : GSettings missing key org.gnome.settings-daemon.plugins.power (key lid-close-suspend-with-external-monitor)

Contents of `.config/gtk-2.0/settings.ini`:

[Settings]
gtk-theme-name = "Numix"

Contents of `.config/gtk-3.0/settings.ini`:

[Settings]
gtk-application-prefer-dark-theme=0
gtk-theme-name = Numix
gtk-fallback-icon-theme = gnome
gtk-icon-theme-name = gnome
gtk-font-name = Terminus 12

Contents of `.gtkrc-2.0`:

# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT
include "/usr/share/themes/Numix/gtk-2.0/gtkrc"

include "/home/dacre/.gtkrc-2.0.mine"

# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT

I am no expert in themes, so I am completely stumped by this whole problem. Any ideas anyone?

Offline

#2 2015-04-24 19:17:37

Carl Karl
Member
Registered: 2013-06-12
Posts: 231

Re: gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

See https://bbs.archlinux.org/viewtopic.php?id=195872
abstract: incompatibility to Gnome 3.16.

But in XFCE with XFWM4-Compositor it will work.

Last edited by Carl Karl (2015-04-24 19:18:20)

Offline

#3 2015-04-26 14:22:47

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

In Metacity 3.16 and above, themes are defined under org.gnome.metacity, not org.gnome.desktop.wm.preferences.

If you're using the compiz or compiz-bzr packages then check the package comments. I usually try and give people a heads up about these kinds of issues.

Last edited by Chazza (2015-04-26 14:30:29)

Offline

#4 2015-04-27 17:52:50

MikeDacre
Member
From: San Francisco Bay Area
Registered: 2013-01-18
Posts: 51
Website

Re: gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

Chazza wrote:

In Metacity 3.16 and above, themes are defined under org.gnome.metacity, not org.gnome.desktop.wm.preferences.

If you're using the compiz or compiz-bzr packages then check the package comments. I usually try and give people a heads up about these kinds of issues.

Great, thanks. This fixed the theme issue, but it did not fix the black border issue.  Any other ideas?

I couldn't figure out a fix from that thread sadly.

Offline

#5 2015-04-27 19:12:17

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

MikeDacre, there is a known issue whereby a change in GTK 3.16 means that Compiz isn't getting the frame extents for CSD windows. It's being discussed in the following Compiz branch: https://code.launchpad.net/~3v1n0/compi … rge/250015

I'm not entirely sure whether this is the relevant issue for you; my CSD windows don't have black borders but they do have a thin light grey border all the way around which negates the rounding of the top corners. You could try building Compiz from the branch I mentioned but just to warn you I've already tried and it didn't do anything for me. The bottom line is, the Compiz team need to fix Compiz for CSD and until they do, expect there to be problems.

Offline

#6 2015-04-27 19:21:15

MikeDacre
Member
From: San Francisco Bay Area
Registered: 2013-01-18
Posts: 51
Website

Re: gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

OK, thanks for the info. I am just back to using xfwm4 for now. It works well enough for the time being. I will keep an eye on the state of the compiz bug and update this thread when I get compiz working again.

Offline

#7 2015-05-03 12:12:30

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

Offline

#8 2015-06-15 10:18:55

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: gtk-window-decorator themes in XFCE/Compiz broken after recent upgrade

With regards to the black borders for csd windows, I just added a couple of upstream patches which should hopefully fix this.

Offline

Board footer

Powered by FluxBB