Bug#1117035: gnome-tweaks fails to start on a wayland gnome session in sid

Giacomo Mulas giacomo.mulas at inaf.it
Thu Oct 2 16:05:20 BST 2025


Package: gnome-tweaks
Version: 49.0-1
Severity: normal

Dear Maintainer,

gnome-tweaks fails to start on my gnome wayland session on sid, with the following python stack trace:

gmulas at capitanata:~$ gnome-tweaks 

(process:17380): Gtk-WARNING **: 16:59:08.077: Unknown key gtk-modules in /home/gmulas/.config/gtk-4.0/settings.ini

(process:17380): Gtk-WARNING **: 16:59:08.087: Theme parser error: gtk.css:6366:21-28: Expected a valid color.

(process:17380): Gtk-WARNING **: 16:59:08.087: Theme parser error: gtk.css:6371:21-28: Expected a valid color.

(process:17380): Gtk-WARNING **: 16:59:08.088: Theme parser error: gtk.css:6524:21-28: Expected a valid color.

(process:17380): Gtk-WARNING **: 16:59:08.088: Theme parser error: gtk.css:6530:21-28: Expected a valid color.
Traceback (most recent call last):
  File "/usr/bin/gnome-tweaks", line 100, in <module>
    from gtweak.app import GnomeTweaks
  File "/usr/lib/python3/dist-packages/gtweak/app.py", line 13, in <module>
    from gtweak.tweakview import Window
  File "/usr/lib/python3/dist-packages/gtweak/tweakview.py", line 20, in <module>
    from gtweak.tweaks.tweak_group_startup import TWEAK_GROUP as StartupApplicationTweaks
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_startup.py", line 348, in <module>
    TWEAK_GROUP = AutostartTweakGroup()
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_startup.py", line 243, in __init__
    self._startup_dapps = self._get_startup_desktop_files()
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/gtweak/tweaks/tweak_group_startup.py", line 327, in _get_startup_desktop_files
    if not AutostartFile(dappinfo).is_start_at_login_enabled():
           ~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/gtweak/utils.py", line 156, in __init__
    self._desktop_file = appinfo.get_filename()
                         ~~~~~~~~~~~~~~~~~~~~^^
TypeError: GioUnix.DesktopAppInfo.get_filename() takes exactly 1 argument (0 given)

I had not tried to use it for a while, so I don't know exactly since when this problem arised. It looks very much like some underlying python api was changed under its feet and it was not updated to match it. Please let me know if there is some additional information I can provide, or test I can perform, to ease solving this.

Thanks in advance, best regards
Giacomo Mulas

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.9+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-tweaks depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.49.0-1
ii  gir1.2-adw-1                                 1.8.0-1
ii  gir1.2-gdesktopenums-3.0                     49.0-1
ii  gir1.2-glib-2.0                              2.84.4-3
ii  gir1.2-gnomedesktop-4.0                      44.4-1
ii  gir1.2-gtk-4.0                               4.20.1+ds-2
ii  gir1.2-gudev-1.0                             238-7
ii  gir1.2-notify-0.7                            0.8.6-2
ii  gir1.2-pango-1.0                             1.56.3-2
ii  gnome-settings-daemon                        48.1-2
ii  gnome-shell-common                           48.5-2
ii  gsettings-desktop-schemas                    49.0-1
ii  mutter-common                                48.5-1
ii  python3                                      3.13.7-1
ii  python3-gi                                   3.50.0-7
ii  user-session-migration                       0.5.0

gnome-tweaks recommends no packages.

Versions of packages gnome-tweaks suggests:
ii  gnome-shell-extension-manager  0.6.4-1
ii  gnome-shell-extension-prefs    48.5-2

-- no debconf information



More information about the pkg-gnome-maintainers mailing list