Bug#785124: Gnome Tweaks Crashes With AutoStart .Desktop Files
Craig Prevallet
penguintx at hotmail.com
Mon Dec 15 18:08:35 GMT 2025
Your are very likely correct.
I seem to remember playing around with this in the past to get gnome-
tweaks to load (I'm on Sid) and didn't consider the additional impact.
Thanks for the clarification and insight.
--
Craig Prevallet <penguintx at hotmail.com>
On Sun, 2025-12-14 at 11:20 +0000, Simon McVittie wrote:
> 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 wher
> e 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