XWaylandを含むDebian 12:gnome-startup-applicationsとgnome-tweaksの問題

XWaylandを含むDebian 12:gnome-startup-applicationsとgnome-tweaksの問題

gnome-startup-applicationsより一般的には、Debian 12にアップデートした後に動作が停止gnome-tweaksしました。

$ gnome-tweaks
WARNING: Shell not installed or running

(gnome-tweaks:19742): dconf-WARNING **: 08:17:46.684: failed to commit changes to dconf: The connection is closed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gtweak/app.py", line 50, in do_activate
    self.win = Window(self, model)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/tweakview.py", line 58, in __init__
    self._model.load_tweaks(self)
  File "/usr/lib/python3/dist-packages/gtweak/tweakmodel.py", line 107, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_general.py", line 54, in <module>
    IgnoreLidSwitchTweak(),
    ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_general.py", line 28, in __init__
    GetterSetterSwitchTweak.__init__(self, _("Suspend when the laptop lid is closed"), **options)
  File "/usr/lib/python3/dist-packages/gtweak/widgets.py", line 469, in __init__
    sw.set_active(self.get_active())
                  ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_general.py", line 31, in get_active
    return not self._sync_inhibitor()
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_general.py", line 42, in _sync_inhibitor
    bus = Gio.bus_get_sync(Gio.BusType.SESSION, None)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-io-error-quark: The connection is closed (18)

ベストアンサー1

私はこの問題を次のように解決しました。 Debian では、下の画像のように初期ログイン画面の右下にオプションがあります。

ここに画像の説明を入力してください。

以前は、Debian 11ではこのオプションが右下に表示されてWaylandいましたX11。 Debian 12では、GNOMEGNOME Classicが表示されますOpenboxGNOME Classicandに切り替えましたが動作Openboxしません。しかし、私が戻ったとき、GNOMETweaksは再び仕事を始めました。

おすすめ記事