Bug#785124: Gnome Tweaks Crashes With AutoStart .Desktop Files
Craig Prevallet
penguintx at hotmail.com
Sat Dec 13 16:46:19 GMT 2025
I ran into this (10 year old!) bug as well. I've got three autostart
desktop files in my autostart folder (/home/craig/.config/autostart)
removing them allows gnome-tweaks to start as a workaround.
I get the following Python traceback if someone wants to take the time
to troubleshoot:
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(appinfo)
--
Craig Prevallet <penguintx at hotmail.com>
More information about the pkg-gnome-maintainers
mailing list