Page 1 sur 1

[Gnome] Gnome-tweak-tool (résolu)

Publié : sam. 07 mai 2011, 00:15
par Goda
[EDIT MODO]Ca ne se fait pas de réediter un titre pour rouvrir un sujet.
Le soft a évolué, une mise à jour a eu lieu, le problème de ce sujet est résolu et surtout le problème initiale ne correspond pas à "Gnome 3.2" comme indiqué dans le titre (avant édition) !!![/EDIT]

Bon, pour continuer le topic originel qui avais dérivé...( ici : http://forums.archlinux.fr/post68449.html#p68449 )

Pour paramétrer Gnome3 tout le monde dit de se servir de Gnome-tweak-tool mais voila, il ne se lance pas...

En simple user :

Code : Tout sélectionner

[godax-ctk@ctkarch ~]$ gnome-tweak-tool
Aucun schéma connu pour « /desktop/gnome/shell/windows/theme »
INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /desktop/gnome/shell/windows/theme> (--short-docs)
Aucun schéma connu pour « /desktop/gnome/shell/windows/theme »
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.desktop.background>
INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.desktop.interface>

GLib-GIO-ERROR **: Settings schema 'org.gnome.shell.clock' is not installed

aborting...
Abandon
[godax-ctk@ctkarch ~]$
et en root pour voir :

Code : Tout sélectionner

[root@ctkarch godax-ctk]# gnome-tweak-tool 
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Traceback (most recent call last):
  File "/usr/bin/gnome-tweak-tool", line 84, in <module>
    MainWindow()
  File "/usr/bin/gnome-tweak-tool", line 47, 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 71, in <module>
    WindowThemeSwitcher(size_group=sg),
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_windows.py", line 45, in __init__
    **options)
  File "/usr/lib/python2.7/site-packages/gtweak/widgets.py", line 166, in __init__
    _GConfTweak.__init__(self, key_name, key_type, **options)
  File "/usr/lib/python2.7/site-packages/gtweak/widgets.py", line 160, in __init__
    self.gconf.schema_get_summary(),
  File "/usr/lib/python2.7/site-packages/gtweak/gconf.py", line 48, in schema_get_summary
    return self._run_gconftool("--short-docs") or self._key.split("/")[-1].replace("_"," ").title()
  File "/usr/lib/python2.7/site-packages/gtweak/gconf.py", line 42, in _run_gconftool
    self._cmd_cache[command] = "ERROR: %s" % stderr.strip()
AttributeError: 'NoneType' object has no attribute 'strip'
[root@ctkarch godax-ctk]# 

Re: [Gnome3] Gnome-tweak-tool

Publié : sam. 07 mai 2011, 20:35
par kamui57
http://bbs.archlinux.pl/viewtopic.php?pid=8753#p8753

Je pense qu'il dit de réinstaller gnome et gnome-shell.

Re: [Gnome3] Gnome-tweak-tool

Publié : sam. 07 mai 2011, 22:01
par tuxce
Le schéma fait partie de gnome-shell

Code : Tout sélectionner

$ grep -l org.gnome.shell.clock /usr/share/glib-2.0/schemas/*.xml
/usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml
$ pacman -Qo /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml appartient à gnome-shell 3.0.1-3
il n'y a pas besoin de réinstaller, juste relancer:

Code : Tout sélectionner

glib-compile-schemas /usr/share/glib-2.0/schemas
en root (bon il peut être intéressant de voir pourquoi ça a pas fonctionné à l'installation.)

Je te conseille de pas lancer ce genre d'applications, au pire, ça te cassera ton profile, au mieux, ça te donnera une indication sur les permissions que tu peux très bien avoir avec un ls ou un find.

Re: [Gnome3] Gnome-tweak-tool

Publié : mar. 10 mai 2011, 17:26
par Goda
@tuxce : Non ça ne fonctionne pas, tes deux premières cmd ne renvoient rien et la 3eme ne fait apparemment rien...ou en tout cas elle ne règle pas le problème.
Merci quand même

Re: [Gnome3] Gnome-tweak-tool

Publié : mar. 10 mai 2011, 17:30
par tuxce
Si la première ne retourne rien, c'est ou bien que gnome-shell n'est pas installé ou alors pas bien installé.
La 2ème retourne une erreur au minimum.

La 3ème n'était valable que si la 1ere fonctionnait et c'est normal qu'elle ne retourne rien.

Re: [Gnome3] Gnome-tweak-tool

Publié : mar. 10 mai 2011, 17:52
par Goda
Tu a tout juste...
Je n'ai pas souvenir d'avoir eu des erreur à l'install mais il faut croire qu'il y en a eu car j'ai fait

Code : Tout sélectionner

yaourt -S gnome
et tout est rentré dans l'ordre...