Bug#785124: Gnome Tweaks Crashes With AutoStart .Desktop Files

Simon McVittie smcv at debian.org
Sun Dec 14 11:20:48 GMT 2025


On Sat, 13 Dec 2025 at 11:08:22 -0600, Craig Prevallet wrote:
>On Sat, 13 Dec 2025 10:46:19 -0600 Craig Prevallet
><penguintx at hotmail.com> wrote:
>> I ran into this (10 year old!) bug as well.

I don't think you did. Instead, I think you ran into a different bug 
with the same symptoms. The 10 year old bug is probably obsolete.

>Ok, I couldn't help myself and had a deeper look.  The following allows
>gnome-tweaks to open for with items in the autostart folder.
>
>File "/usr/lib/python3/dist-packages/gtweak/utils.py", line 156
>156c156
><             self._desktop_file = appinfo.get_filename(appinfo)
>---
>>             self._desktop_file = appinfo.get_filename()

gnome-tweaks as packaged in testing/unstable does not contain 
"appinfo.get_filename(appinfo)". It does contain "self._desktop_file = 
appinfo.get_filename()".

I think what has happened is that you locally modified 
/usr/lib/python3/dist-packages/gtweak/utils.py with a short-term workaround 
for pygobject regression #1117444, and after #1117444 was fixed more 
correctly in pygobject, the workaround became harmful.

(The same workaround was proposed upstream in 
https://gitlab.gnome.org/GNOME/gnome-tweaks/-/merge_requests/173 where I 
asked for it to be rejected, because I could see that this would happen. 
As a result it was never applied upstream.)

     smcv



More information about the pkg-gnome-maintainers mailing list