Bug#1117035: gnome-tweaks: also fails to start with autostart files removed -- workaround/patch

msp gamma4258 at mailbox.org
Fri Oct 3 21:16:54 BST 2025


Package: gnome-tweaks
Version: 49.0-1
Followup-For: Bug #1117035
X-Debbugs-Cc: Hi!, I am facing this bug in debian testing with exactly the same Traceback (except the Gtk-WARNING lines on top), and removing ~/.config/autostart does not resolve the issue., gamma4258 at mailbox.org

Hi!
  I am facing this bug in debian testing with the exact same
Traceback (except the Gtk-WARNING lines on top), and removing
~/.config/autostart does not resolve the issue.

However, patching the file
  /usr/lib/python3/dist-packages/gtweak/utils.py 
by changing the line
  self._desktop_file = appinfo.get_filename()
to
  self._desktop_file = appinfo.get_filename(appinfo)
appears to fix the issue.
      
I should add that I used ChatGPT as a quick way to find a solution and this is what it suggested.  So I am not sure whether this fix might have
side effects or whether updating to glib2.0 (>= 2.86) would make this fix redundant or conflict with it.

best,
   msp
   


-- System Information:
Debian Release: forky/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.8+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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

-- debconf-show failed



More information about the pkg-gnome-maintainers mailing list