Gnome-tweak-tool python error

I installed gnome-tweak-tool and mesed around for a bit and it no longer works. When I run gnome-tweak-tool It gives the error
$ gnome-tweak-tool
Traceback (most recent call last):
  File "/usr/local/bin/gnome-tweak-tool", line 22, in <module>
    import gi
I tried installing a version from git, and I think that only messed it up even more. I have no python experience, so im completly in the dark here. Any help/hint would be very much appreciated.
If you need any logs/information just ask.

is simple, very simple
you built that package manually, that's why is in /usr/local/bin/gnome-tweak-tool
get rid of it now and install that tool from our repos.
pacman -S gnome-tweak-tool
this is arch, not slackware. we do packages and install them with pacman to keep track of files.
Last edited by wonder (2011-07-17 16:11:13)

Similar Messages

  • Python 2 is trying to import pyhon3 modules, gnome-tweak-tool broken

    I can't start gnome-tweak-tool it complains
    Traceback (most recent call last):
    File "/usr/bin/gnome-tweak-tool", line 22, in <module>
    import gi
    File "/usr/lib/python3.3/site-packages/gi/__init__.py", line 27, in <module>
    from ._gi import _API, Repository
    ImportError: /usr/lib/libpyglib-gi-2.0-python3.so.0: undefined symbol: _Py_FalseStruct
    It would appear that python2 is trying to import python3 modules. I also get this error with
    >python2
    >import gi
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python3.3/site-packages/gi/__init__.py", line 27, in <module>
    from ._gi import _API, Repository
    ImportError: /usr/lib/libpyglib-gi-2.0-python3.so.0: undefined symbol: _Py_FalseStruct
    Why is this happening!? I had a similar issue a while back with python2 trying to import a (different) python3 module when trying to install something from the AUR but that was
    fixed by doing
    export $PYTHONPATH=/usr/lib/python2.7/site-packages
    as on login my PYTHONPATH is set as /usr/lib/python3.3/site-packages, however this did not fix the gnome-tweak-tool issue.
    my python3 sys.path is
    ['', '/usr/lib/python3.3/site-packages', '/usr/lib/python33.zip', '/usr/lib/python3.3', '/usr/lib/python3.3/plat-linux', '/usr/lib/python3.3/lib-dynload', '/usr/lib/python3.3/site-packages/setuptools-0.6c11.egg-info', '/usr/lib/python3.3/site-packages/setuptools-0.6c11.egg-info']
    and my python2 sys.path is
    ['', '/usr/lib/python3.3/site-packages', '/usr/lib/python3.3/site-packages/setuptools-0.6c11.egg-info', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages/setuptools-0.6c11.egg-info', '/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode']
    Whats going wrong!?
    Last edited by tbdc (2013-05-16 19:28:28)

    @prateek13 Please do not Necro-bump or Power-post
    https://wiki.archlinux.org/index.php/Fo … Bumping.22
    https://wiki.archlinux.org/index.php/Fo … mpty_Posts
    Closing.

  • Gnome-tweak-tool error

    I did a recent full system upgrade and install of gnome-shell. When I run gnome-tweak-tool, I get the following error:
    Traceback (most recent call last):
      File "/usr/bin/gnome-tweak-tool", line 23, in <module>
        from gi.repository import Gtk
      File "/usr/lib/python2.7/site-packages/gi/importer.py", line 76, in load_module
        dynamic_module._load()
      File "/usr/lib/python2.7/site-packages/gi/module.py", line 240, in _load
        version)
      File "/usr/lib/python2.7/site-packages/gi/module.py", line 85, in __init__
        repository.require(namespace, version)
    gi.RepositoryError: Typelib file for namespace 'GdkPixbuf', version '2.0' not found
    Ouput of pacman -Qm:
    aacplusenc 0.17.5-1
    acroread 9.2-1
    alacarte 0.13.1-1
    amrenc 0.5.3-1
    archlinux-themes-gdm 1.4-1
    deskbar-applet 2.30.1-2
    draftsight beta1-2
    eggdbus 0.6-1
    firefox-beta-bin 5.0-1
    fontcacheproto 0.1.3-1
    gdm-old 2.20.10-2
    gentoo-bashrc 2008.0-2
    gnome-audio 2.22.0-1
    gnome-netstatus 2.28.1-1
    gtkpacman 2.3.1-1
    hamster-applet 2.30.2-1
    intellij-idea-ultimate-edition 10.0.2-1
    libgail-gnome 1.20.3-1
    libjpeg7 7-1
    libpng12 1.2.43-1
    libtracker 0.6.95-1
    libxfontcache 1.0.5-1
    libxxf86misc 1.0.2-1
    mintmenu 4.9.0-1
    mp4tools 0.6.8-1
    opera-devel 11.01_1160-2
    opera-static 9.64-1
    perl-xyne-arch 2010.07.17.1-1
    perl-xyne-common 2010.04.01.2-3
    picasa 3.0_5744.02-5
    seahorse-plugins 2.30.1-1
    teamviewer 6.0.9224-2
    virtualbox-ext-oracle 4.0.8-1
    virtualbox_bin 4.0.8-1
    wxgtk-2.6 2.6.4-3
    xampp 1.7.3a-1
    xf86miscproto 0.9.3-1
    xorg-res-utils 1.0.3-3

    That fixed the issue I hated to bug someone with this. Tried everthing I could think of. BTW this is the best documented distro I have ever used..Thanks. I was using an advanced copy of firefox for testing and just not removed it..Gone now though

  • Gnome-tweak-tool will not start

    I got following error when gnome-tweak-tool starts
    $ gnome-tweak-tool
    INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.desktop.interface>
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/titlebar_font> (--short-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/titlebar_font> (--long-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/titlebar_font> (--short-docs)
    INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.settings-daemon.plugins.xsettings>
    INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.desktop.background>
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /desktop/gnome/shell/windows/theme> (--short-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /desktop/gnome/shell/windows/theme> (--long-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/action_double_click_titlebar> (--short-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/action_double_click_titlebar> (--long-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/action_middle_click_titlebar> (--short-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/action_middle_click_titlebar> (--long-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/action_right_click_titlebar> (--short-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /apps/metacity/general/action_right_click_titlebar> (--long-docs)
    INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.shell.clock>
    INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.shell.calendar>
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /desktop/gnome/shell/windows/button_layout> (--short-docs)
    INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /desktop/gnome/shell/windows/button_layout> (--long-docs)
    INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.settings-daemon.plugins.power>
    (gnome-tweak-tool:4176): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
    (gnome-tweak-tool:4176): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
    (gnome-tweak-tool:4176): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
    (gnome-tweak-tool:4176): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
    process 4176: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file dbus-message.c line 2526.
    This is normally a bug in some application using the D-Bus library.
      D-Bus not built with -rdynamic so unable to print a backtrace

    wonder wrote:
    you used pacman -Sf
    reinstall python2-gobject
    That worked! Thank you!

  • [Gnome 3] gnome-tweak-tool crashes after update

    Todays update apparently adds config to edit the window borders as well as checking for 2 folders for themes / icons: ~/.themes and ~/.icons.
    These folders were not available by default on my gnome 3 installation, shouldn't these directories be provided by metacity?
    [stefan@pcsteef ~]$ gnome-tweak-tool
    Traceback (most recent call last):
    File "/usr/bin/gnome-tweak-tool", line 81, in <module>
    MainWindow()
    File "/usr/bin/gnome-tweak-tool", line 46, in __init__
    model)
    File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 38, in __init__
    self._model.load_tweaks()
    File "/usr/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 97, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
    File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_windows.py", line 72, in <module>
    WindowThemeSwitcher(size_group=sg),
    File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_windows.py", line 43, in __init__
    [(t, t) for t in self._get_valid_themes()],
    File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_windows.py", line 53, in _get_valid_themes
    for t in os.listdir(thdir):
    OSError: [Errno 2] No such file or directory: '/home/stefan/.themes'
    the related commit:
    http://git.gnome.org/browse/gnome-tweak … e8b78b367e
    *edit*
    related bugreport is already open:
    https://bugzilla.gnome.org/show_bug.cgi?id=648735
    Last edited by stefanwilkens (2011-04-27 08:04:55)

    Probably should, but those two directories weren't there on my clean install.  I just created .themes and .icons and restarted the application, and it worked.  (Saw the bug report)
    ...and the fix has already been released per bugzilla.
    Last edited by caseyjp1 (2011-04-27 11:08:39)

  • No option to change Window Title Bar Font in gnome-tweak-tool

    Hey there,
    did a fresh install today on a Haswell-PC. But there's no option to change Window Title Bar Font in gnome-tweak-tool anymore? All the other options are there.
    Is there a way to set the Window Title Bar Font elsewhere? Does someone know why this option was removed or is it due to my system somehow? I also don't see this option in the dconf-editor.
    Gnome 3.8, all the latest updates, Intel Core i5 with Intel HD 4600 Graphics
    Thanks,
    oSIRus
    Last edited by lohmeyer (2013-07-18 18:27:24)

    b4nk4i wrote:I thought that maybe this is gnome-tweak-tool obsolete. But if you say few days ago you solved the problem again, than the version of gnome-tweak-tool should work. strange...
    Hi,
    Didi you solve this issue? I have a similar problem.
    Thanks,

  • Gnome-tweak-tool logo fix[commited upstream] alternate logos too

    Hi everyone,
    EDIT:  Gnome has commited this icon upstream, so this is fixed. however, if you would like to use another one of my logo's for gnome-tweak-tool, just follow the guide using the correct .png file
    I was mildy troubled by the logo in gnome-tweak-tool. the icon clearly was created on a white background, rather than using layers and transparency. because of this, if you are using any bg_color, other than white for your theme you end up with nasty white edges (how 1992 web experience - ish...lol). It's funny, because you are not really supposed to design logos, icons, or anything do do with a desktop/applications this way. - Especially, with transparency being pretty much a standard, everywhere...odd, but easily fixed
    this is what i mean:
    http://imageshack.us/photo/my-images/23/beforelogo.png
    See, how even there are "stray - white - pixels" just below the image. yuck! hehehehe.
    As I am using the Atolm-gtk3 theme - i really wanted to fix this, as it is an eye-sore and looked very unprofessional and dirty. So, i spent a few minutes to do just that! My revision of the Welcome Logo should now look good regardless of your color scheme.
    Here is the after shot;
    http://img818.imageshack.us/img818/2612/afterlogo.png
    EDIT:  look below at the next reply, as i have several versions, the one in this example still has white in the face, however, i have totally transparent one's as well...
    How to Install
    1. download my fixed logo, and save it to your desktop;
    http://img8.imageshack.us/img8/2076/welcomefixed.png
    2. Replace the original which you can do like so;
    a. open a terminal, and type the following;
    sudo cp '/home/*your-user-name*/Desktop/welcomefixed.png' '/usr/share/gnome-tweak-tool/welcome.png'
    i'll probably pass this on to gnome too.
    cheerz and enjoy
    jordan
    Look below, for my custom color version of the logo.
    Last edited by triplesquarednine (2011-05-11 04:26:43)

    triplesquarednine wrote:
    Hi everyone,
    I was mildy troubled by the logo in gnome-tweak-tool. the icon clearly was created on a white background, rather than using layers and transparency. because of this, if you are using any bg_color, other than white for your theme you end up with nasty white edges (how 1992 web experience - ish...lol). It's funny, because you are not really supposed to design logos, icons, or anything do do with a desktop/applications this way. - Especially, with transparency being pretty much a standard, everywhere...odd, but easily fixed
    this is what i mean:
    http://img23.imageshack.us/img23/8504/beforelogo.png
    Uploaded with ImageShack.us
    See, how even there are "stray - white - pixels" just below the image. yuck! hehehehe.
    As I am using the Atolm-gtk3 theme - i really wanted to fix this, as it is an eye-sore and looked very unprofessional and dirty. So, i spent a few minutes to do just that! My revision of the Welcome Logo should now look good regardless of your color scheme.
    Here is the after shot;
    http://img818.imageshack.us/img818/2612/afterlogo.png
    Uploaded with ImageShack.us
    How to Install
    1. download my fixed logo, and save it to your desktop;
    http://img8.imageshack.us/img8/2076/welcomefixed.png
    Uploaded with ImageShack.us
    2. Replace the original which you can do like so;
    a. open a terminal, and type the following;
    sudo cp '/home/*your-user-name*/Desktop/welcomefixed.png' '/usr/share/gnome-tweak-tool/welcome.png'
    i'll probably pass this on to gnome too.
    cheerz and enjoy
    jordan
    Moderator: [ewaller] Please read the Forum Etiquette rules on posting pictures
    If you want, go ahead and provide thumbnails inside your links rather than the entire image
    will do, and sorry...
    jordan

  • Gnome-tweak-tool changes which file?

    i can't change gnome3 window theme through  ".config/gtk-3.0/settings.ini" and "/etc/gtk-3.0/settings.ini"
    but gnome-tweak-tool could do it.
    but which file had it changed ?

    The settings are stored in a database for faster and safer access. You can edit them with the gsettings program. For example, to display the current value of the theme settings:
    gsettings get org.gnome.desktop.wm.preferences theme
    To set a new value:
    gsettings set org.gnome.desktop.wm.preferences theme 'Adwaita'
    Last edited by thebluesgnr (2012-09-16 14:29:03)

  • Gnome Tweak Tool - User theme

    Upgrade Gnome-Tweak-Tool
    Can't change Theme, because user theme extension is now "[email protected]"
    and not "[email protected]"
    It's fix in the file : gtweak/tweaks/tweak_shell.py whith
    THEME_EXT_NAME = "[email protected]"
    Thanks

    trusktr wrote:@alexcortes and @Unia, Is it just me or do things seem a little discombobulated now with both gconf-editor and dconf-editor in the mix? Why not just keep one *-editor? It seems like this and many other little "issues" would be easier to catch with just one *-editor. What's the point of two?
    Well yea I agree, but atm it's not going to happen. Anyway, since GS won't work with Catalyst for now I resorted to DWM and try to avoid all the gconf/dconf stuff. Works quite well

  • Gnome tweak tool

    While I know how to use the gnome-tweak-tool. I am curious as how I can remove the installed themes? currenlty I have a user .themes folder, but it seems that when I use the automatic install of a theme it installs to a different folder somewhere in usr/share (possibly)? If you might have any idea where these installations are added, that would be great. Thanks, Jon.

    What do you mean the 'automatic install of a theme'? Do you mean installing a theme via pacman? or from some other tool?
    From our Gnome wiki
    /usr/share/themes/Adwaita/
    /home/$USER/.themes/Adwaita
    Looks like some GTK themes are in /usr/share/themes
    you could also list the files installed by a theme package for example, (to see where its put the themes)
    soif you did install a theme from pacman:
    from our pacman wiki:
    'To retrieve a list of the files installed by a package:'
    pacman -Ql package_name
    Last edited by jrussell (2013-09-28 07:09:53)

  • Gnome-tweak-tool 3.12 not launching

    output of journalctl is
    [mxiia@snsvtop gtweak]$ journalctl -b _PID=1227
    -- Logs begin at Tue 2013-11-05 22:30:07 EST, end at Wed 2014-04-16 13:35:29 EDT. --
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: Traceback (most recent call last):
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/app.py", line 39, in do_activate
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: self.win = Window(self, model)
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 45, in __init__
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: titlebar = self.titlebar()
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 77, in titlebar
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: right_header.props.decoration_layout = ":" + tokens[1]
    Apr 16 12:29:05 snsvtop gnome-tweak-tool.desktop[1227]: IndexError: list index out of range
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: Traceback (most recent call last):
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/app.py", line 39, in do_activate
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: self.win = Window(self, model)
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 45, in __init__
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: titlebar = self.titlebar()
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 77, in titlebar
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: right_header.props.decoration_layout = ":" + tokens[1]
    Apr 16 12:39:29 snsvtop gnome-tweak-tool.desktop[1227]: IndexError: list index out of range
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: Traceback (most recent call last):
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/app.py", line 39, in do_activate
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: self.win = Window(self, model)
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 45, in __init__
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: titlebar = self.titlebar()
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 77, in titlebar
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: right_header.props.decoration_layout = ":" + tokens[1]
    Apr 16 12:40:40 snsvtop gnome-tweak-tool.desktop[1227]: IndexError: list index out of range
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: Traceback (most recent call last):
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/app.py", line 39, in do_activate
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: self.win = Window(self, model)
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 45, in __init__
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: titlebar = self.titlebar()
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 77, in titlebar
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: right_header.props.decoration_layout = ":" + tokens[1]
    Apr 16 12:44:50 snsvtop gnome-tweak-tool.desktop[1227]: IndexError: list index out of range
    tweakview.py looks like this
    # This file is part of gnome-tweak-tool.
    # Copyright (c) 2011 John Stowers
    # gnome-tweak-tool is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    # gnome-tweak-tool is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with gnome-tweak-tool. If not, see <http://www.gnu.org/licenses/>.
    import os.path
    import logging
    import datetime
    from gi.repository import Gtk, Gdk, GObject
    import gtweak.tweakmodel
    from gtweak.tweakmodel import TweakModel
    from gtweak.widgets import Title
    class Window(Gtk.ApplicationWindow):
    def __init__(self, app, model):
    Gtk.ApplicationWindow.__init__(self,
    application=app)
    self.set_size_request(950, 680)
    self.set_position(Gtk.WindowPosition.CENTER)
    self.set_icon_name("gnome-tweak-tool")
    self.hsize_group = Gtk.SizeGroup(Gtk.SizeGroupMode.HORIZONTAL)
    main_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
    left_box = self.sidebar()
    right_box = self.main_content()
    separator = Gtk.Separator(orientation=Gtk.Orientation.VERTICAL)
    titlebar = self.titlebar()
    self.set_titlebar(titlebar)
    main_box.pack_start(left_box, False, False, 0)
    main_box.pack_start(separator, False, False, 0)
    main_box.pack_start(right_box, True, True, 0)
    self.load_css()
    self._model = model
    self._model.load_tweaks(self)
    self.load_model_data()
    self.connect("key-press-event", self._on_key_press)
    self.add(main_box)
    def titlebar(self):
    header = Gtk.Box()
    left_header = Gtk.HeaderBar()
    left_header.props.show_close_button = True
    right_header = Gtk.HeaderBar()
    right_header.props.show_close_button = True
    left_header.get_style_context().add_class("titlebar")
    left_header.get_style_context().add_class("tweak-titlebar-left")
    right_header.get_style_context().add_class("titlebar")
    right_header.get_style_context().add_class("tweak-titlebar-right")
    layout_desc = Gtk.Settings.get_default().props.gtk_decoration_layout;
    tokens = layout_desc.split(":", 2)
    if tokens != None:
    right_header.props.decoration_layout = ":" + tokens[1]
    left_header.props.decoration_layout = tokens[0]
    self.title = Gtk.Label("")
    self.title.get_style_context().add_class("title")
    right_header.set_custom_title(self.title)
    icon = Gtk.Image()
    icon.set_from_icon_name("edit-find-symbolic",Gtk.IconSize.MENU)
    self.button = Gtk.ToggleButton()
    self.button.add(icon)
    self.button.connect("toggled", self._on_find_toggled)
    self.button.props.valign = Gtk.Align.CENTER
    self.button.get_style_context().add_class("image-button")
    left_header.pack_start(self.button)
    lbl = Gtk.Label(_("Tweaks"))
    lbl.get_style_context().add_class("title")
    left_header.set_custom_title(lbl)
    header.pack_start(left_header, False, False, 0)
    header.pack_start(Gtk.Separator(orientation=Gtk.Orientation.VERTICAL), False, False, 0)
    header.pack_start(right_header, True, True, 0)
    self.hsize_group.add_widget(left_header)
    return header
    def sidebar(self):
    left_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
    self.entry = Gtk.SearchEntry(placeholder_text=_("Search Tweaks..."))
    self.entry.connect("search-changed", self._on_search)
    self.searchbar = Gtk.SearchBar()
    self.searchbar.add(self.entry)
    self.searchbar.props.hexpand = False
    self.listbox = Gtk.ListBox()
    self.listbox.get_style_context().add_class("tweak-categories")
    self.listbox.set_size_request(200,-1)
    self.listbox.connect("row-selected", self._on_select_row)
    self.listbox.set_header_func(self._list_header_func, None)
    scroll = Gtk.ScrolledWindow()
    scroll.set_policy(Gtk.PolicyType.NEVER,
    Gtk.PolicyType.AUTOMATIC)
    scroll.add(self.listbox)
    left_box.pack_start(self.searchbar, False, False, 0)
    left_box.pack_start(scroll, True, True, 0)
    self.hsize_group.add_widget(left_box)
    return left_box
    def main_content(self):
    right_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
    #GRR why can I not put margin in the CSS of a GtkStack
    self.stack = Gtk.Stack()
    self.stack.get_style_context().add_class("main-container")
    self.stack.props.margin = 20
    right_box.pack_start(self.stack, True, True, 0)
    return right_box
    def load_css(self):
    css_provider = Gtk.CssProvider()
    css_provider.load_from_path(
    os.path.join(gtweak.PKG_DATA_DIR, 'shell.css'))
    screen = Gdk.Screen.get_default()
    context = Gtk.StyleContext()
    context.add_provider_for_screen(screen, css_provider,
    Gtk.STYLE_PROVIDER_PRIORITY_USER)
    def load_model_data(self):
    def _make_items_listbox(text):
    lbl = Gtk.Label(text, xalign=0.0)
    lbl.set_name('row')
    row = Gtk.ListBoxRow()
    row.get_style_context().add_class("tweak-category")
    row.add(lbl)
    return row
    groups = self._model._tweak_group_names.keys()
    groups = sorted(groups)
    for g in groups:
    row = _make_items_listbox(g)
    self.listbox.add(row)
    tweakgroup = self._model.get_value(
    self._model.get_tweakgroup_iter(g),
    self._model.COLUMN_TWEAK)
    scroll = Gtk.ScrolledWindow()
    scroll.add(tweakgroup)
    self.stack.add_named(scroll, g)
    widget = self.listbox.get_row_at_index(0)
    self.listbox.select_row (widget)
    def _list_filter_func(self, row, user_data):
    lbl = row.get_child()
    if lbl.get_text() in user_data:
    return row
    def _list_header_func(self, row, before, user_data):
    if before and not row.get_header():
    row.set_header (Gtk.Separator(orientation=Gtk.Orientation.HORIZONTAL))
    def _on_key_press(self, widget, event):
    keyname = Gdk.keyval_name(event.keyval)
    if keyname == 'Escape':
    self.button.set_active(False)
    if event.state and Gdk.ModifierType.CONTROL_MASK:
    if keyname == 'f':
    self.button.set_active(True)
    def _on_list_changed(self, group):
    self.listbox.set_filter_func(self._list_filter_func, group)
    selected = self.listbox.get_selected_row().get_child().get_text()
    if group and not selected in group:
    index = sorted(self._model._tweak_group_names.keys()).index(group[0])
    row = self.listbox.get_row_at_index(index)
    self.listbox.select_row(row)
    def _on_search(self, entry):
    txt = entry.get_text().decode("utf-8","ignore").lower()
    tweaks, group = self._model.search_matches(txt)
    self.show_only_tweaks(tweaks)
    self._on_list_changed(group)
    def _on_select_row(self, listbox, row):
    if row:
    group = row.get_child().get_text()
    self.stack.set_visible_child_name(group)
    self.title.set_text(group)
    def _on_find_toggled(self, btn):
    if self.searchbar.get_search_mode():
    self.searchbar.set_search_mode(False)
    self.entry.set_text("")
    else:
    self.searchbar.set_search_mode(True)
    self.entry.grab_focus()
    def show_only_tweaks(self, tweaks):
    for t in self._model.tweaks:
    if t in tweaks:
    t.show_all()
    else:
    t.hide()
    app.py
    # This file is part of gnome-tweak-tool.
    # Copyright (c) 2011 John Stowers
    # gnome-tweak-tool is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    # gnome-tweak-tool is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with gnome-tweak-tool. If not, see <http://www.gnu.org/licenses/>.
    import os.path
    from gi.repository import Gtk
    from gi.repository import Gio
    import gtweak
    from gtweak.tweakmodel import TweakModel
    from gtweak.tweakview import Window
    from gtweak.utils import SchemaList
    from gtweak.gshellwrapper import GnomeShellFactory
    from gtweak.utils import DisableExtension
    class GnomeTweakTool(Gtk.Application):
    def __init__(self):
    Gtk.Application.__init__(self,application_id="org.gnome.TweakTool")
    self.win = None
    def do_activate(self):
    if not self.win:
    model = TweakModel()
    self.win = Window(self, model)
    self.win.show_all()
    self.win.present()
    def do_startup(self):
    Gtk.Application.do_startup(self)
    self.builder = Gtk.Builder()
    assert(os.path.exists(gtweak.PKG_DATA_DIR))
    filename = os.path.join(gtweak.PKG_DATA_DIR, 'shell.ui')
    self.builder.add_from_file(filename)
    appmenu = self.builder.get_object('appmenu')
    self.set_app_menu(appmenu)
    reset_action = Gio.SimpleAction.new("reset", None)
    reset_action.connect("activate", self.reset_cb)
    self.add_action(reset_action)
    disable_extension_action = Gio.SimpleAction.new("disable_extension", None)
    disable_extension_action.connect("activate", self.disable_cb)
    self.add_action(disable_extension_action)
    help_action = Gio.SimpleAction.new("help", None)
    help_action.connect("activate", self.help_cb)
    self.add_action(help_action)
    about_action = Gio.SimpleAction.new("about", None)
    about_action.connect("activate", self.about_cb)
    self.add_action(about_action)
    quit_action = Gio.SimpleAction.new("quit", None)
    quit_action.connect("activate", self.quit_cb)
    self.add_action(quit_action)
    def reset_cb(self, action, parameter):
    dialog = Gtk.MessageDialog(self.win,0, Gtk.MessageType.QUESTION,
    Gtk.ButtonsType.OK_CANCEL, _("Reset to Defaults"))
    dialog.format_secondary_text(_("Reset all tweak settings to the original default state?"))
    response = dialog.run()
    if response == Gtk.ResponseType.OK:
    s = SchemaList()
    s.reset()
    dialog.destroy()
    def help_cb(self, action, parameter):
    print "This does nothing. It is only a demonstration."
    def disable_cb(self, action, parameter):
    ds = DisableExtension()
    ds.disable()
    def about_cb(self, action, parameter):
    aboutdialog = Gtk.AboutDialog()
    aboutdialog.set_title(_("About GNOME Tweak Tool"))
    aboutdialog.set_program_name(_("GNOME Tweak Tool"))
    _shell = GnomeShellFactory().get_shell()
    if _shell is not None:
    aboutdialog.set_comments(_("GNOME Shell v%s (%s mode)") % (_shell.version, _shell.mode))
    else:
    aboutdialog.set_comments(_("GNOME Shell not running"))
    aboutdialog.set_copyright("Copyright \xc2\xa9 2011 - 2013 John Stowers.")
    aboutdialog.set_logo_icon_name("gnome-tweak-tool")
    aboutdialog.set_website("http://live.gnome.org/GnomeTweakTool")
    aboutdialog.set_website_label(_("Homepage"))
    aboutdialog.set_license_type(Gtk.License.GPL_3_0)
    AUTHORS = [
    "John Stowers <[email protected]>"
    aboutdialog.set_authors(AUTHORS)
    aboutdialog.connect("response", lambda w, r: aboutdialog.destroy())
    aboutdialog.show()
    def quit_cb(self, action, parameter):
    self.quit()
    I've tried a pacman -Rn and reinstalling it.
    Running gnome-tweak-tool from terminal shows no output.
    Any suggestions?
    Last edited by MXIIA (2014-04-16 17:41:20)

    Is GTK is up to date?
    Have you tried commenting the offending line in tweakview.py?
    Have you tried to make it print Gtk.Settings.get_default().props.gtk_decoration_layout right before the offending line, in order to check that it contains at least two elements?

  • Gnome-tweak-tool - energy - lid close

    ...there is no option to adjust anything anymore...right?
    http://i43.tinypic.com/nqv961.png

    Right. The option has been removed.
    Last edited by Thorsten Reinbold (2013-11-29 16:03:17)

  • Python error in blender [SOLVED]

    Hello.
    I get a python error when i try to extrude a polygon in blender 2.64a-6
    I have latest arch on 64bit architecture with python 3.3.0-1 (as python package) and python 2.7.3-2 (as python2 pacakge) installed.
    I am running gnome 3.6.2. Maybe someone knows what is wrong?
    Last edited by anptr (2012-12-11 18:26:53)

    Bug disappeared in latest blender version 2.65.0

  • Gnome-globalmenu-git make errors

    [root@sparky globalmenu]# git clone git://github.com/gnome-globalmenu/gnome-globalmenu.git
    Cloning into 'gnome-globalmenu'...
    remote: Counting objects: 13188, done.
    remote: Compressing objects: 100% (3944/3944), done.
    remote: Total 13188 (delta 9209), reused 13106 (delta 9127)
    Receiving objects: 100% (13188/13188), 7.73 MiB | 2.57 MiB/s, done.
    Resolving deltas: 100% (9209/9209), done.
    [root@sparky globalmenu]# cd gnome-globalmenu
    [root@sparky gnome-globalmenu]# git checkout gnome-3
    Branch gnome-3 set up to track remote branch gnome-3 from origin.
    Switched to a new branch 'gnome-3'
    [root@sparky gnome-globalmenu]# cp ../gnome-globalmenu-0.9.alpha5/src/{module.c,header.h,header-gtk2.h} ./src
    [root@sparky gnome-globalmenu]# autoreconf -force -install -verbose
    autoreconf: unrecognized option '-orce'.
    autoreconf: Try '/usr/bin/autoreconf --help' for more information.
    [root@sparky gnome-globalmenu]# autoreconf --force --install --verbose
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: creating directory autotools
    autoreconf: running: libtoolize --copy --force
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
    libtoolize: copying file `autotools/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `autotools'.
    libtoolize: copying file `autotools/libtool.m4'
    libtoolize: copying file `autotools/ltoptions.m4'
    libtoolize: copying file `autotools/ltsugar.m4'
    libtoolize: copying file `autotools/ltversion.m4'
    libtoolize: copying file `autotools/lt~obsolete.m4'
    libtoolize: Consider adding `-I autotools' to ACLOCAL_AMFLAGS in Makefile.am.
    autoreconf: running: /usr/bin/autoconf --force
    autoreconf: running: /usr/bin/autoheader --force
    autoreconf: running: automake --add-missing --copy --force-missing
    configure.ac:17: installing 'autotools/compile'
    configure.ac:21: installing 'autotools/config.guess'
    configure.ac:21: installing 'autotools/config.sub'
    configure.ac:7: installing 'autotools/install-sh'
    configure.ac:7: installing 'autotools/missing'
    Makefile.am: installing './INSTALL'
    src/Makefile.am: installing 'autotools/depcomp'
    src/Makefile.am:3: warning: 'VALAFLAGS' is a user variable, you should not override it;
    src/Makefile.am:3: use 'AM_VALAFLAGS' instead
    autoreconf: Leaving directory `.'
    [root@sparky gnome-globalmenu]# ./autogen.sh -prefix=/usr
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal -I autotools
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize --copy
    libtoolize: Consider adding `-I autotools' to ACLOCAL_AMFLAGS in Makefile.am.
    autoreconf: running: /usr/bin/autoconf
    autoreconf: running: /usr/bin/autoheader
    autoreconf: running: automake --add-missing --copy --no-force
    src/Makefile.am:3: warning: 'VALAFLAGS' is a user variable, you should not override it;
    src/Makefile.am:3: use 'AM_VALAFLAGS' instead
    autoreconf: Leaving directory `.'
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a ustar tar archive... gnutar
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking whether gcc and cc understand -c and -o together... yes
    checking for valac... /usr/bin/valac
    checking /usr/bin/valac is at least version 0.12.0... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... no
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking whether NLS is requested... yes
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.16.1
    checking for XML::Parser... ok
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.16... yes
    checking for gobject-introspection... yes
    checking for GLIB... yes
    checking for GTK3... yes
    checking for GTK2... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating extension/Makefile
    config.status: creating src/Makefile
    config.status: creating po/Makefile.in
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing po/stamp-it commands
    [root@sparky gnome-globalmenu]# make
    (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/globalmenu/gnome-globalmenu/autotools/missing --run autoheader)
    rm -f stamp-h1
    touch config.h.in
    cd . && /bin/sh ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    make all-recursive
    make[1]: Entering directory `/root/globalmenu/gnome-globalmenu'
    Making all in src
    make[2]: Entering directory `/root/globalmenu/gnome-globalmenu/src'
    gcc -E -P -C -DGTK_VERSION=2 -o client-gtk2.vala - < client.vala
    <stdin>:252:25: warning: missing terminating " character [enabled by default]
    <stdin>:267:4: warning: missing terminating " character [enabled by default]
    gcc -E -P -C -DGTK_VERSION=2 -o gtk-menubar-gtk2.vala - < gtk-menubar.vala
    gcc -E -P -C -DGTK_VERSION=2 -o superrider-gtk2.vala - < superrider.vala
    make all-am
    make[3]: Entering directory `/root/globalmenu/gnome-globalmenu/src'
    rm -f libglobalmenu_gtk2_la_vala.stamp && echo stamp > libglobalmenu_gtk2_la_vala.stamp-t
    CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --internal-header header-gtk2.h -D GTK_VERSION=2 --pkg gtk+-2.0 --pkg gdk-x11-2.0 --pkg gio-2.0 -C client-gtk2.vala superrider-gtk2.vala gtk-menubar-gtk2.vala
    client-gtk2.vala:257.3-257.47: warning: unhandled error `GLib.Error'
    uiman.add_ui_from_string(uidef, uidef.length);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Compilation succeeded - 1 warning(s)
    mv -f libglobalmenu_gtk2_la_vala.stamp-t libglobalmenu_gtk2_la_vala.stamp
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-client-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-client-gtk2.Tpo -c -o libglobalmenu_gtk2_la-client-gtk2.lo `test -f 'client-gtk2.c' || echo './'`client-gtk2.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-client-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-client-gtk2.Tpo -c client-gtk2.c -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-client-gtk2.o
    client-gtk2.c: In function 'menu_get_widget':
    client-gtk2.c:1103:13: warning: assignment from incompatible pointer type [enabled by default]
    mv -f .deps/libglobalmenu_gtk2_la-client-gtk2.Tpo .deps/libglobalmenu_gtk2_la-client-gtk2.Plo
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-module.Tpo -c -o libglobalmenu_gtk2_la-module.lo `test -f 'module.c' || echo './'`module.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-module.Tpo -c module.c -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-module.o
    module.c: In function 'hook':
    module.c:13:3: warning: passing argument 1 of 'menu_has_registered' from incompatible pointer type [enabled by default]
    In file included from module.c:5:0:
    ./header-gtk2.h:133:10: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
    module.c:14:4: warning: passing argument 1 of 'menu_register' from incompatible pointer type [enabled by default]
    In file included from module.c:5:0:
    ./header-gtk2.h:131:6: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
    mv -f .deps/libglobalmenu_gtk2_la-module.Tpo .deps/libglobalmenu_gtk2_la-module.Plo
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-superrider-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-superrider-gtk2.Tpo -c -o libglobalmenu_gtk2_la-superrider-gtk2.lo `test -f 'superrider-gtk2.c' || echo './'`superrider-gtk2.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-superrider-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-superrider-gtk2.Tpo -c superrider-gtk2.c -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-superrider-gtk2.o
    superrider-gtk2.c: In function 'superrider_get_class':
    superrider-gtk2.c:144:4: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    superrider-gtk2.c: In function 'superrider_member_pop':
    superrider-gtk2.c:674:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    superrider-gtk2.c: In function 'superrider_member_peek_super':
    superrider-gtk2.c:702:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    superrider-gtk2.c: In function 'superrider_member_finalize':
    superrider-gtk2.c:848:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    mv -f .deps/libglobalmenu_gtk2_la-superrider-gtk2.Tpo .deps/libglobalmenu_gtk2_la-superrider-gtk2.Plo
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Tpo -c -o libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo `test -f 'gtk-menubar-gtk2.c' || echo './'`gtk-menubar-gtk2.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -DGTK_VERSION=2 -g -O2 -MT libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo -MD -MP -MF .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Tpo -c gtk-menubar-gtk2.c -fPIC -DPIC -o .libs/libglobalmenu_gtk2_la-gtk-menubar-gtk2.o
    mv -f .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Tpo .deps/libglobalmenu_gtk2_la-gtk-menubar-gtk2.Plo
    /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -module -avoid-version -o libglobalmenu-gtk2.la -rpath /usr/lib/gtk-2.0/modules libglobalmenu_gtk2_la-client-gtk2.lo libglobalmenu_gtk2_la-module.lo libglobalmenu_gtk2_la-superrider-gtk2.lo libglobalmenu_gtk2_la-gtk-menubar-gtk2.lo -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
    libtool: link: gcc -shared -fPIC -DPIC .libs/libglobalmenu_gtk2_la-client-gtk2.o .libs/libglobalmenu_gtk2_la-module.o .libs/libglobalmenu_gtk2_la-superrider-gtk2.o .libs/libglobalmenu_gtk2_la-gtk-menubar-gtk2.o -lgmodule-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -O2 -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,libglobalmenu-gtk2.so -o .libs/libglobalmenu-gtk2.so
    libtool: link: ( cd ".libs" && rm -f "libglobalmenu-gtk2.la" && ln -s "../libglobalmenu-gtk2.la" "libglobalmenu-gtk2.la" )
    rm -f libglobalmenu_gtk_la_vala.stamp && echo stamp > libglobalmenu_gtk_la_vala.stamp-t
    CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --internal-header header.h -D GTK_VERSION=3 --pkg gtk+-3.0 --pkg gdk-x11-3.0 --pkg gio-2.0 -C client.vala superrider.vala gtk-menubar.vala
    client.vala:285.3-285.47: warning: unhandled error `GLib.Error'
    uiman.add_ui_from_string(uidef, uidef.length);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Compilation succeeded - 1 warning(s)
    mv -f libglobalmenu_gtk_la_vala.stamp-t libglobalmenu_gtk_la_vala.stamp
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-client.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-client.Tpo -c -o libglobalmenu_gtk_la-client.lo `test -f 'client.c' || echo './'`client.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-client.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-client.Tpo -c client.c -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-client.o
    client.c: In function 'menu_get_widget':
    client.c:1102:13: warning: assignment from incompatible pointer type [enabled by default]
    mv -f .deps/libglobalmenu_gtk_la-client.Tpo .deps/libglobalmenu_gtk_la-client.Plo
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-module.Tpo -c -o libglobalmenu_gtk_la-module.lo `test -f 'module.c' || echo './'`module.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-module.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-module.Tpo -c module.c -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-module.o
    module.c: In function 'hook':
    module.c:13:3: warning: passing argument 1 of 'menu_has_registered' from incompatible pointer type [enabled by default]
    In file included from module.c:3:0:
    ./header.h:133:10: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
    module.c:14:4: warning: passing argument 1 of 'menu_register' from incompatible pointer type [enabled by default]
    In file included from module.c:3:0:
    ./header.h:131:6: note: expected 'struct GtkMenuShell *' but argument is of type 'struct GObject *'
    mv -f .deps/libglobalmenu_gtk_la-module.Tpo .deps/libglobalmenu_gtk_la-module.Plo
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-superrider.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-superrider.Tpo -c -o libglobalmenu_gtk_la-superrider.lo `test -f 'superrider.c' || echo './'`superrider.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-superrider.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-superrider.Tpo -c superrider.c -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-superrider.o
    superrider.c: In function 'superrider_get_class':
    superrider.c:144:4: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    superrider.c: In function 'superrider_member_pop':
    superrider.c:674:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    superrider.c: In function 'superrider_member_peek_super':
    superrider.c:702:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    superrider.c: In function 'superrider_member_finalize':
    superrider.c:848:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
    mv -f .deps/libglobalmenu_gtk_la-superrider.Tpo .deps/libglobalmenu_gtk_la-superrider.Plo
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-gtk-menubar.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-gtk-menubar.Tpo -c -o libglobalmenu_gtk_la-gtk-menubar.lo `test -f 'gtk-menubar.c' || echo './'`gtk-menubar.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng15 -DGTK_VERSION=3 -g -O2 -MT libglobalmenu_gtk_la-gtk-menubar.lo -MD -MP -MF .deps/libglobalmenu_gtk_la-gtk-menubar.Tpo -c gtk-menubar.c -fPIC -DPIC -o .libs/libglobalmenu_gtk_la-gtk-menubar.o
    mv -f .deps/libglobalmenu_gtk_la-gtk-menubar.Tpo .deps/libglobalmenu_gtk_la-gtk-menubar.Plo
    /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -module -avoid-version -o libglobalmenu-gtk.la -rpath /usr/lib/gtk-3.0/modules libglobalmenu_gtk_la-client.lo libglobalmenu_gtk_la-module.lo libglobalmenu_gtk_la-superrider.lo libglobalmenu_gtk_la-gtk-menubar.lo -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
    libtool: link: gcc -shared -fPIC -DPIC .libs/libglobalmenu_gtk_la-client.o .libs/libglobalmenu_gtk_la-module.o .libs/libglobalmenu_gtk_la-superrider.o .libs/libglobalmenu_gtk_la-gtk-menubar.o -lgmodule-2.0 -lrt -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -O2 -Wl,--export-dynamic -pthread -pthread -Wl,-soname -Wl,libglobalmenu-gtk.so -o .libs/libglobalmenu-gtk.so
    libtool: link: ( cd ".libs" && rm -f "libglobalmenu-gtk.la" && ln -s "../libglobalmenu-gtk.la" "libglobalmenu-gtk.la" )
    rm -f gnome_globalmenu_manager_vala.stamp && echo stamp > gnome_globalmenu_manager_vala.stamp-t
    CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --pkg gio-2.0 -C manager.vala
    manager.vala:15.2-15.47: error: field type `GLib.Datalist<KnownBusName?>` is less accessible than field `Manager.known_bus_names`
    public Datalist<KnownBusName?> known_bus_names;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    manager.vala:17.21-17.44: error: The name `get_data' does not exist in the context of `Manager.known_bus_names'
    KnownBusName? k = known_bus_names.get_data(sender);
    ^^^^^^^^^^^^^^^^^^^^^^^^
    manager.vala:24.6-24.37: error: The name `remove_no_notify' does not exist in the context of `Manager.known_bus_names'
    known_bus_names.remove_no_notify(sender);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    manager.vala:27.4-27.27: error: The name `set_data' does not exist in the context of `Manager.known_bus_names'
    known_bus_names.set_data(sender, k);
    ^^^^^^^^^^^^^^^^^^^^^^^^
    manager.vala:87.3-87.25: error: The name `foreach' does not exist in the context of `Manager.known_bus_names'
    known_bus_names.foreach(
    ^^^^^^^^^^^^^^^^^^^^^^^
    manager.vala:67.3-67.25: error: The name `foreach' does not exist in the context of `Manager.known_bus_names'
    known_bus_names.foreach(
    ^^^^^^^^^^^^^^^^^^^^^^^
    Compilation failed: 6 error(s), 0 warning(s)
    make[3]: *** [gnome_globalmenu_manager_vala.stamp] Error 1
    make[3]: Leaving directory `/root/globalmenu/gnome-globalmenu/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/root/globalmenu/gnome-globalmenu/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/globalmenu/gnome-globalmenu'
    make: *** [all] Error 2
    Any ideas on how to fix this?

    Snowman wrote:
    to compile:
    qmake
    make
    thanks for replying. I added the following to the end of the PKGBUILD above:
    msg "GIT checkout done or server timeout"
    qmake
    make
    package() {
    make DESTDIR=$pkgdir PREFIX=/usr install
    And changed the dependencies after pursuing some error messages:
    depends=('gnome-globalmenu-xfce4' 'qt-appmenu' 'appmenu-qt')
    makedepends=('git' 'qt-private-headers')
    and ran makepkg -s (I updated the PKGBUILD in the OP to reflect the changes). The output is more than before but it doesn't get very far before exiting:
    g++ -c -m64 -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o qx11menubarimpl.o qx11menubarimpl.cpp
    In file included from qx11menubarimpl.cpp:10:0:
    qx11menubarimpl.h:9:54: fatal error: QtGui/private/qabstractplatformmenubar_p.h: No such file or directory
    compilation terminated.
    make: *** [qx11menubarimpl.o] Error 1
    The only hits google recognises for "QtGui/private/qabstractplatformmenubar_p.h"  are for a package Fedora names 'libqt4-private-dev' and Ubuntu's 'qt-devel-private'. From what I can it tell, qt-private-headers should be the corresponding package in Arch (and is included in the dependencies for that reason) but I can find no trace of the missing file in my system after having installed it.
    Kinda stuck from here. :-/
    Last edited by b9anders (2011-10-22 14:55:32)

  • [Solved]gnome-system-tools You are not allowed access to sys config

    I did a FTP install of i686 Arch Linux on a friend's machine.  I could not get gnome-system-tools to work, keep getting:
    The configuration could not be loaded
    You are not allowed access to the system configuration
    So, I tried gnome-system-tools on an i686 Arch install on my machine, and gnome-system-tools worked.  Then I did a pacman -Syu  and fully updated the system.  The updates included udev which now prints how long udev events took on boot up.  After the updates, gnome-system-tools no longer works.  Same symptoms as the new install.
    Both machines have stbd in the /etc/rc.conf DAEMONS line.  Both the user and root in both machines are part of the stb-admin group.  Using gksu or launching as root in a terminal window results in the same problem.  The problem seems to be in system-tools-backends which works in conjuntion with dbus as I get this error:
    (time-admin:7607): Liboobs-WARNING **: There was an unknown error communicating with the backends:
    Process /usr/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl exited with status 127
    gnome-system-tools and system-tools-backends are part of the community group, so as far as I know, writing a bug report is out.  Both gnome-system-tools and system-tools-backends are out of date in community.  system-tools-backends is version 2.4.1 and the current version is 2.6.0.  I tried using makepkg to compile the new 2.6.0 version of system-tools-backends but it fails saying it needs dbus >= 1.1.2 but version of dbus is 1.0.2.  So it appears that dbus is out of date also.  That is a far as I got.
    I know this has been a problem in the past, but I got it working until this latest update. 
    Anyone got any ideas on this?
    Pudge
    Last edited by Pudge (2008-03-23 15:35:29)

    Pudge wrote:
    When I entered the Original Post, I had rebuilt gnome-system-tools as this had fixed the problem the last time.  When I went to rebuild system-tools-backends, I had decided I needed to try and build the latest version of it, which didn't work as stated above.  By this time the lateness of the hour, and the current frustration level caused me to quit for the night and write this thread.  I am fairly sure I did NOT rebuild the current system-tools-backends.
    Anyway, deleting gnome-system-tools and system-tools-backends, then rebuilding the current version of both gnome-system-tools and system-tools-backends fixed the problem.   Be sure to follow the post installation comments from system-tools-backends.
    I wrote a bug report in the AUR.
    Bug Report
    Thanks for everybody's help and suggestions.
    Pudge
    I've had the same problem with my users-admin and users-time... I've tried all the fixes from most of these posts... except for that string of code that someone wrote in this post: http://bbs.archlinux.org/viewtopic.php?id=42910
    for file in `pacman -Ql gnome-system-tools | grep desktop | cut -d" " -f2`; do cat $file | sudo sed 's/\(^Exec=\)\(.*-admin\)/\1gksudo \2/g' | sudo tee temp.desktop.tmp; sudo mv temp.desktop.tmp $file; done
    I wasn't sure what this string actually would do, so I haven't tried it yet. I figured there would be an easier way of fixing this problem. Like a simple edit in the SystemToolsBackends.pl file.....
    any help would be cool.

Maybe you are looking for