Compiz, GTK window decorator not getting along with metacity

Hello,
Today gtk-window-decorator managed to break on my machine, resulting in no window decorations. I'm using emerald as a temporary solution, but I'd prefer to go back to gtk-window-decorator if possible. When I start compiz, the following occurs:
gtk-window-decorator: error while loading shared libraries: libmetacity-private.so.1: cannot open shared object file: No such file or directory
I found some posts that suggested using metacity2 instead of metacity, but I'm using compiz-bzr from the AUR which lists metacity as a dependency which conflicts with metacity2. I tried downgrading metacity, but that didn't help. I'm not entirely sure where to go from here.
Thanks in advance!

Thanks for your help!
Installing the stable version of compiz got gtk-window-decorator working again, but now I have no minimize or maximize buttons on any gtk theme (only a close button), and gtk-window-decorator throws me
(gtk-window-decorator:23942): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'WnckWindow'
gtk-window-decorator: Ignoring unknown or already-used button name "appmenu"
EDIT: This problem was solved by running
gsettings set org.gnome.desktop.wm.preferences button-layout "'menu:minimize,maximize,close'"
for future reference to anyone who stumbles across this post. Thanks again for the help!
Last edited by Ekkoria (2014-10-19 20:36:48)

Similar Messages

  • Nvidia + GNOME + Compiz + GTK Window decorator = Glitchy window border

    Running Compiz + Nvidia. The window border sometimes goes wacky as seen in the screenshot, but not always. Happens with any GTK theme I have tried. 
    Does anyone have any idea what's causing this?

    Thanks for your help!
    Installing the stable version of compiz got gtk-window-decorator working again, but now I have no minimize or maximize buttons on any gtk theme (only a close button), and gtk-window-decorator throws me
    (gtk-window-decorator:23942): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'WnckWindow'
    gtk-window-decorator: Ignoring unknown or already-used button name "appmenu"
    EDIT: This problem was solved by running
    gsettings set org.gnome.desktop.wm.preferences button-layout "'menu:minimize,maximize,close'"
    for future reference to anyone who stumbles across this post. Thanks again for the help!
    Last edited by Ekkoria (2014-10-19 20:36:48)

  • [SOLVED] [Compiz] Gtk-Window-Decorator

    Hi guys, after spending the better part of one of my few free days configuring various apps and so on in compiz [I made a fresh arch install]. I finally got to setting my GTK theme away from the ugly defaults. I've installed the Orta theme for now at least, I'll probably change it once a week. The GTK theme sets perfectly fine, I used the gnome-tweak-tool for that, but the decorations(title bar) do not change, they remain the same default theme that gtk-window-decorator has. I have done extensive googling and have not found a solution yet, anyone have a fix?
    Last edited by Multimoon (2013-02-17 14:23:36)

    The old gtk-window-decorator (I'm assuming you installed the old stable version of compiz 0.8.x from the community repo) still requires certain gconf keys to be set.
    If you find setting the GTK theme (using gnome-tweak-tool) and the window decorations (using either gconf-editor or gconftool-2) independently somewhat annoying, you might want to try compiz-devel from the AUR. It's the same version of compiz used in Ubuntu 12.10 and it's stable (at least as far as I've tested, mentioning because the "-devel" suffix might make you think otherwise). The 0.9.x versions of compiz use gsettings instead of gconf, which means that both the GTK theme and the window decorations can be set/changed using gnome-tweak-tool (or dconf-editor or the gsettings utility).
    Also, some themes (the Gnome Cupertino theme for example, as well as Ubuntu's light themes) use some form of padding, shadows that the vanilla metacity (from Extra) does not allow, that might also cause gtk-window-decorator to fall back to its default theme. You can actually check whether the theme will be displayed or not in advance using the "metacity-theme-viewer Name_of_theme" command.
    I hope that helps, good luck!

  • My new Quad Core iMac Not Getting Along With LG External.

    I just got a new Quad Core iMac. It's great, except for one this:
    My LG Flatron W1953T insists on a 1360 x 768 resolution. Unfortunately, the Displays control panel does not offer that as an option. The closes is 1280 x 768, which means I have a stretched image, which does not work for reading or looking at photos. The LG does not allow me to change its resolution.
    How do I get my way-cool new iMac to offer 1360 x 768 as an output?
    Thanks!

    What Adapter are you using, Mini DisplayPort to DVI or VGA?
    Mini DisplayPort to DVI Adapter - Apple Store (U.S.)
    Mini DisplayPort to VGA Adapter - Apple Store (U.S.)
    Cause my LG Flatron 2253T using an Apple DVI adapter gets, well see for yourself....
    Dennis

  • Windows/iTunes not getting along

    Okay, so the iTunes icon has officially gone away, and anytime I want to open up my library I have to go
    Start>Search>iTunes>iTunes Library
    and then double click that, otherwise windows wants to configure and have me locate iTunes for it.
    Dell 8250   Windows XP  

    the feature you are trying to use is on a network that is unavailable. Click OK to try again or enter an alternate path to a folder containing the insallation package "iTunes.msi" in the box below
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select anyiTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • My printers do not get along with Firefox. What encoding should I be using?

    My printer will not print what is shown on the screen. It is unreadable.

    Hi there plywood66,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    -Griff W. 

  • [SOLVED] compiz wont use gtk-window-decorator with xfce

    for the life of me i cant get ccsm to keep "gtk-window-decorator --replace" to stick in the Command line of the Window Decoration plugin section. it keeps switching to "emerald --replace"
    is it because im using xfce and not gnome? xfce uses gtk right. anyone have this issue? its not that i dont mind emerald, just on some other distros ive used i can change it no problem, most of those were using gnome though so maybe thats it
    Last edited by dodgefan (2011-07-11 03:24:50)

    n125 wrote:I was actually wondering how to completely install Compiz 0.9.x under Xfce earlier. I managed to successfully install and get running compiz-core-git, ccsm-git, compiz-plugins-extra-git, compiz-plugins-main-git, compizconfig-python-git, and libcompizconfig-git; all from the AUR. But when all was said and done, I was left without a window decorator. I wanted compiz-decorator-gtk, but I couldn't find it in the AUR and the one in the community repo wouldn't install due to not having compiz-core installed (I had compiz-core-git), which left me stuck going back to 0.8.8 for now.
    Had you enabled 'window decoration' in CCSM??? (4 compiz 0.9.x?) On install, it is probably not enabled (along with resizing, moving windows, etc). It also won't pick up your 0.8.8 settings - so you need to set up CCSM settings from scratch.. Also, Compiz should have built gtk-window-decorator when you compiled it. (which is why i believe that you didn't have CCSM comfigured correctly with your new version of compiz).
    as for the compiz packages in AUR, can't give you much advice there, as i build compiz myself, using Scott Moreau's build scripts;
    git clone git://anongit.compiz.org/users/soreau/scripts
    there are a few build scripts - for both 0.8.8 and 0.9.x - whichever ones end in '++' - are for building 0.9.x ... for both series, there are scripts to build all of the addons / plugins.
    building it yourself, may not be your ideal approach, so i would recommend trying the AUR pkgbuilds for compiz 0.9.x , but this time have a look in CCSM, after you install the new version and make sure that you have enabled all of the important stuff like move, resize, window decoration, etc.
    You also might want to read through compiz' Wiki, the trouble-shooting section covers your 'no-window-decoration' problem ~ as it is quite common.
    http://wiki.compiz.org/Troubleshooting
    cheerz
    Last edited by triplesquarednine (2012-01-14 18:57:18)

  • No window decoration with Compiz using gtk-window-decorator

    Hello.
    I know this is and old problem with Compiz and ArchLinux, but no matter what I do, I can't make it work.
    This happens when I try to use Compiz:
    $ compiz --replace ccp &
    [1] 2370
    [user@userlaptop ~]$ Backend : ini
    Integration : true
    Profile : default
    Adding plugins
    Initializing core options...done
    Initializing decor options...done
    Initializing move options...done
    Initializing resize options...done
    Setting Update "command"
    And this, if I try to run Compiz with fusion-icon, with o without the Dbus option:
    $ fusion-icon
    * Detected Session: gnome
    * Searching for installed applications...
    Backend : ini
    Integration : true
    Profile : default
    Traceback (most recent call last):
    File "/usr/bin/fusion-icon", line 57, in <module>
    from FusionIcon.interface import choose_interface
    File "/usr/lib/python2.7/site-packages/FusionIcon/interface.py", line 22, in <module>
    from util import env
    File "/usr/lib/python2.7/site-packages/FusionIcon/util.py", line 421, in <module>
    decorators = CompizDecorators(_installed)
    File "/usr/lib/python2.7/site-packages/FusionIcon/util.py", line 228, in __init__
    self.command = context.Plugins['decoration'].Display['command']
    KeyError: 'decoration'
    Also, when i try to run compiz-manager, this is what i get:
    $ compiz-manager
    Checking for Xgl: not present.
    xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
    No whitelisted driver found
    aborting and using fallback: /usr/bin/metacity
    Here is my xorg.cong configuration file:
    Section "ServerLayout"
    Identifier "aticonfig Layout"
    Screen 0 "aticonfig-Screen[0]-0" 0 0
    Option "AIGLX" "true"
    EndSection
    Section "Module"
    Load "glx"
    Load "dri"
    Load "dbe"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    BusID "PCI:1:5:0"
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI" "true"
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    Section "InputClass"
    Identifier "evdev keyboard catchall"
    MatchIsKeyboard "on"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "XkbLayout" "es"
    EndSection
    Section "DRI"
    Group 0
    Mode 0666
    EndSection
    If I use compiz-check:
    $ compiz-check
    Gathering information about your system...
    Distribution: Arch Linux
    Desktop environment: GNOME
    Graphics chip: ATI Technologies Inc M880G [Mobility Radeon HD 4200]
    Driver in use: fglrx
    Rendering method: None
    Checking if it's possible to run Compiz on your system... [SKIP]
    Checking for hardware/setup problems... [SKIP]
    At least one check had to be skipped:
    Error: No rendering method in use (AIGLX, Xgl or Nvidia)
    Other considerations:
    "Window decorations", "Resize windows" and "Move windows" are checked in ccsm for user and root.
    "gtk-window-decorator --replace" is set at the command field in "Window decorations" options.
    My kernel version is 2.6.35-ARCH, and the video driver is ATI Catalyst 10.12 with Xorg 1.9.
    Everytime I use compiz-manager, Gnome crashes.
    Thank you for your time guys, I hope this information helps you to help me out.

    That's not an option, I don't want to sacrifice video performance for a few effects.
    Also, shouldn't be that way, why a distribution like ArchLinux, one of the best, has this kind of problems with Drivers.

  • [SOLVED] Buttons are missing in the titlebar with gtk-window-decorator

    Hi, everyone.
    Recently, I'd tried compiz as WM with gnome 3 in fallback mode. All work quiet good, but there is one thing, that slightly discourages me. I use gtk-window-decorator for frames and titlebar and the results are strange. Title bar is drawn with squared left and rounded right corners. Moreover, no buttons are shown on it. "Menu" and "Minimize" buttons are here, but invisible (they are working and corresponding tooltips are shown when I hover mouse over their position); "Maximize" and "Close" buttons are absent. All this buttons are turned on in metacity properties.
    When I turn off metacity theme support for gtk-window-decorator, all buttons are here, but decorator in this mode is quiet dumb...
    So, have you any suggestions on how to get those buttons back?
    Last edited by zhuk_av (2011-06-19 17:58:06)

    I'm having this problem under Ubuntu, but not with my Compiz (also 0.9.4) setup with GNOME 3 on Arch. I switched to Emerald on my Ubuntu install as a temporary workaround.
    Thinking about it, I think I still had the gnome-desktop2 package installed when I built compiz-core, I wonder if that has anything to do with it. Optional GNOME support is omitted in compiz-core if you upgraded to GNOME 3, because gnome-window-settings-2.0 (from the GNOME 2 gnome-control-center package I think) and gnome-desktop-2.0 are absent.
    Last edited by rufflove (2011-06-13 21:21:02)

  • 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.
    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?

    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.

  • Compiz, XFCE, and gtk-window-decorator

    I recently caused my system to stop booting by messing with some stuff (yay for editing files and not reading the entire wiki page first!) and I ended up just deciding to do a clean arch install (when your system partition has 50Gb of programs on it, half of which you don't use, its probably time to clean anyway). I decided to use XFCE since that has been running very stably on my netbook for some time (usually around ~14 days of uptime until I forget to recharge the battery and it turns off) in favor of Gnome or KDE since I have been having lots of problems with them and stability (usually 1-2 days of uptime until I have to end up restarting because of a freeze or something)
    My one beef with XFCE on my desktop computer compared to my netbook was its lack of eye candy stuff. I feel like I am underusing my computer. So, I decided to try installing compiz on it. I read on the wiki page that using emerald was buggy and so I decided to use gtk-window-decorator for a window decorator. I have a whole bunch of Gnome3 themes in my home directory since previously I had gnome installed and so I was wondering, why can't I seem to change the window theme?
    The window theme is stuck in this big blocky mode that doesn't look horrible, but I would sure like to be able to change it. I have gnome-tweak-tool installed, but switching the themes on that doesn't seem to have any effect (I may be switching on the wrong page, however). I like the xfce themes and I would like to be able to use those with compiz, but I just don't see how to do it. All my googling has brought up nothing about actually managing to change the gtk-window-decorator window decoration theme in compiz running in xfce on arch.
    Last edited by Los Frijoles (2012-11-22 01:36:10)

    You are either not trying around & searching for solutions enough or not providing enough info on what you already did.
    Did you try lxappearance?
    Did you read https://wiki.archlinux.org/index.php/Xfce#Icons
    ... and make sure your icons are in the right location etc?
    Did you check - and where necessary - try to fix the configuration as described here?
    https://wiki.archlinux.org/index.php/Gtk

  • Gtk window decorator randomly not present

    I'm using compiz in gnome and on every second or third login gtk window decorator doesn't run; the windows don't have top border at all. I know of a configuration problem when theres never window decorator present, but this...

    headkase wrote:
    Install "metacity2" from AUR.  "metacity" in the main repos recently made a big version jump to 3 from 2.  3 is not compatible with gtk-window-decorator, you must use 2.  2 will replace 3 when you install it.
    Edit: And when it works go to the AUR page for the compiz flavor you're using (there's a few of them) and report they need to replace "metacity" with "metacity2" in their depends for the PKGBUILD.
    Thanks alot!
    It works for me (I have the compiz-xfce installed.)  It's a pitty that compiz-xfce in AUR is now a orphan. A substition could be https://aur.archlinux.org/packages/compiz-manjaro/

  • Compiz 0.9.x gtk-window-decorator theme

    I was just wondering what the proper way is to get gtk-window-decorator to use metacity themes is these days.
    The problem is that Compiz development is moving faster than its documentation does.
    Back in the old days, we could launch gtk-window-decorator with the --metacity-theme flag, but that doesn't seem to be an option these days.

    run emerald or if you have your fusion icon in your systray > right click > emerald theme manager and change your theme

  • Gtk-window-decorator missing after installing Compiz-Fusion

    I just installed ArchLinux and wanted to try out Compiz-Fusion in Gnome. I installed it using the Compiz-Fusion wiki's instructions. Everything works fine, except that I can't use the gtk-window-decorator. After some research I found out that this file is missing. I checked out the Compiz-Fusion site, and it seems it ought to come with Compiz-Fusion. I checked in Linux Mint and found it there, so obviously it's missing in my ArchLinux box.
    Can someone please veryfy if it should be part of the Compiz-Fusion packages?

    sph wrote:
    http://bbs.archlinux.org/viewtopic.php?id=51627
    See the second posting.
    Oups! I searched for 'gtk-window-decorator'.  It could be nice to mention these separate packages on the wiki Compiz-Fusion page. There are probably many out there looking for them.
    Thanks!

  • Gtk-window-decorator with misplaced buttons

    i upgrade to gnome 2.24 from testing and windows buttons disapear (compiz 0.7.8)
    when i choose metacity wm, everything is ok.
    is some bug in gtk-window-decorator vs. gnome 2.24 or in my settings (dev made some changes)?

    Nobody has a solution for this or similar problems? It happened to me when I updated most of my Gnome packages to 2.24 from the testing repo a couple of days ago so it's a bit hard to say what's causing it
    Here's what my windows look like:
    Not very practical...

Maybe you are looking for

  • Integration Broker not flushing out result to any connector

    Hi, Using PeopleTools 8.44. I'm trying to have Peoplesoft create or send an output file that it generates from a trigger. I'm using the Location changes as an example. Anytime I make a correction to a Location (LOCATION_SYNC) and save it, I see the a

  • 2 different Y scale.

    Hi everyone, I have a strange problem, so I am able to use 2 scale in different (I have found the answer here in forum), but if I change the range of plot 0, the value of plot 1 is changed as well. And it's happened vice-versa. I don't know why. I ha

  • Help with formula for cell matching ?

    Im doing some analysis for a non-profit who allow their members to raise money for their own campaigns (ie: "I'll walk 100 miles for breast cancer.. can you commit $50?'. So each campaign's key field is campaign_id. In the master spreadsheet, we've s

  • Memory Card Transfer

    How do I transfer a photo already downloaded on Iphoto onto a memory card which will be inserted into a photo frame?

  • I have a problem with my MacBook Pro :D

    first, when I open it, grey display shows...and then it open the desktop so late or not open..who can help me????