From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohammed Sadiq Subject: bug#28541: Let gnome-tweak-tool and gnome-control-center have gnome-shell as input Date: Thu, 21 Sep 2017 21:17:51 +0530 (IST) Message-ID: <718254061.68749.1506008871823@webmail.mailhostbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dv3is-00041d-T9 for bug-guix@gnu.org; Thu, 21 Sep 2017 11:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dv3io-0004NU-RN for bug-guix@gnu.org; Thu, 21 Sep 2017 11:49:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dv3io-0004NO-Nd for bug-guix@gnu.org; Thu, 21 Sep 2017 11:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dv3io-0000pf-Fi for bug-guix@gnu.org; Thu, 21 Sep 2017 11:49:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dv3hu-0003xG-Qg for bug-guix@gnu.org; Thu, 21 Sep 2017 11:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dv3hq-000433-GN for bug-guix@gnu.org; Thu, 21 Sep 2017 11:48:06 -0400 Received: from us2-ob3-5.mailhostbox.com ([162.210.70.58]:45195) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dv3hq-00041Q-8C for bug-guix@gnu.org; Thu, 21 Sep 2017 11:48:02 -0400 Received: from 172.16.214.73 (unknown [172.16.214.73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sadiq@sadiqpk.org) by us2.outbound.mailhostbox.com (Postfix) with ESMTPSA id D6416CBC0B for ; Thu, 21 Sep 2017 15:47:51 +0000 (GMT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 28541@debbugs.gnu.org Hi, Currently gnome-tweak-tool and gnome-control-center doesn't have gnome-shell as input (in gnome.scm package definition). This results in issues when some new package with gsettings schemas is installed. without access to gnome-shell schemas, gnome-tweak-tool won't ever work, so it is mandatory. And for the case of gnome-control-center, the keyboard panel segfaults if gnome-shell schema isn't present. But since gnome-shell may not be used by all g-c-c user, it may not be good to have a hard dependency on gnome-shell, but if installed, the schemas of gnome-shell should too be added as input (is it possible to do so?) How to reproduce (hopefully gnome-shell is being used): 0. Install gnome-control-center and gnome-tweak-tool. 1. install some gnome application (eg: guix package -i gnome-calculator) It doesn't matter if you have already installed the package 2. run gnome-tweak-tool or run gnome-control-center and click Keyboard result: 0. gnome-tweak-tool: WARNING : Shell not installed or running WARNING : Shell not running None WARNING : Error detecting shell Traceback (most recent call last): File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell_extensions.py", line 279, in __init__ raise Exception("Shell not running or DBus service not available") Exception: Shell not running or DBus service not available Traceback (most recent call last): File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/app.py", line 41, in do_activate self.win = Window(self, model) File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweakview.py", line 58, in __init__ self._model.load_tweaks(self) File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 129, in load_tweaks mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0) File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell.py", line 98, in sw = StaticWorkspaceTweak(size_group=sg, loaded=_shell_loaded) File "/gnu/store/8cjmr5x8dxqkfcvlk20p3zc4si7q33jr-gnome-tweak-tool-3.24.1/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_shell.py", line 50, in __init__ default = self.STATUS.keys()[self.STATUS.values().index(self.settings[self.key_name])] ValueError: None is not in list ^C 1. gnome-control-center (gnome-control-center:25833): GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.keybindings' is not installed Trace/breakpoint trap Thanks