GNOME Bugzilla – Bug 696683
gnome-tweak-tool won't run without GNOME Shell
Last modified: 2013-03-29 10:44:29 UTC
I'm attempting to run gnome-tweak-tool 3.7.4 on Ubuntu 13.04 (Raring). It crashes on startup: gi._glib.GError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface `org.gnome.Shell' on object at path /org/gnome/Shell I'm running Ubuntu Unity, not GNOME Shell. gnome-tweak-tool is very useful, and it would certainly be nice if it would run even in environments where GNOME Shell is not present. (See also the corresponding Ubuntu bug at https://bugs.launchpad.net/ubuntu-gnome/+bug/1159124 .)
Created attachment 239945 [details] [review] Don't crash if gnome-shell is not running/installed
Can you test this patch against master?
Thanks for the quick fix. I just tried the patch (on Ubuntu 13.04 with Unity) and it runs! I do see this on the console: === WARNING : Shell not installed or running WARNING : Shell not running None WARNING : Error detecting shell Traceback (most recent call last):
+ Trace 231690
raise Exception("Shell not running or DBus service not available")
INFO : GSettings missing key org.gnome.nautilus.desktop (key computer-icon-visible) === Regarding that last line (about org.gnome.nautilus.desktop), I'm running Nautilus 3.7.90. Perhaps the warning wouldn't occur with a different Nautilus version. In the tweak tool itself, the Shell section includes the options "Show date in clock" and "Whether the clock shows seconds", which have no effect in Unity. It might be nice to hide those options when GNOME Shell isn't running. But that's a small point; as it stands this patch is a great improvement over the current situation (i.e. not running at all).
Attachment 239945 [details] pushed as 30f0f84 - Don't crash if gnome-shell is not running/installed