GNU bug report logs

#28541 Let gnome-tweak-tool and gnome-control-center have gnome-shell as input

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#28541; Package guix. (Thu, 21 Sep 2017 15:49:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mohammed Sadiq <sadiq@sadiqpk.org>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Thu, 21 Sep 2017 15:49:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Mohammed Sadiq <sadiq@sadiqpk.org>
To: bug-guix@gnu.org
Subject: Let gnome-tweak-tool and gnome-control-center have gnome-shell as input
Date: Thu, 21 Sep 2017 21:17:51 +0530 (IST)
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 <module>
    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




Information forwarded to bug-guix@gnu.org:
bug#28541; Package guix. (Fri, 06 Oct 2017 06:55:02 GMT) (full text, mbox, link).


Message #8 received at 28541@debbugs.gnu.org (full text, mbox, reply):

From: ludo@gnu.org (Ludovic Courtès)
To: Mohammed Sadiq <sadiq@sadiqpk.org>
Cc: 28541@debbugs.gnu.org
Subject: Re: bug#28541: Let gnome-tweak-tool and gnome-control-center have gnome-shell as input
Date: Fri, 06 Oct 2017 08:54:24 +0200
Hi Mohammed,

Mohammed Sadiq <sadiq@sadiqpk.org> skribis:

> 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?)

I suppose the problem doesn’t manifest when using
‘gnome-desktop-service’, because XDG_DATA_DIRS & co. are set such that
the gnome-shell schemas are found.

I would think that’s enough in practice, no?  I doubt these are used
outside of a pure GNOME setting.

Also, gnome-shell depends on gnome-control-center, so
gnome-control-center cannot depend on gnome-shell.

Thanks,
Ludo’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 11:46:14 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.