9

I have used ubuntu 20.04 since the day it was published and everything worked nice, but recently (I did not notice exactly when) GNOME Tweak Tool cannot be launched. I tried to remove --purge and reinstalling it but it did not help.

When I try opening it in the Terminal I get a strange response:

Failed to register: Timeout was reached
pomsky
  • 68,507

2 Answers2

10

I used top to see the open processes and yes, there was a gnome-tweaks running.

So I used killall gnome-tweaks to close it, it did work and I now have my gnome-tweaks back

1

In my case I couldn't kill gnome-tweaks with killall, so I killed it by PID with kill.

After that, I started gnome-tweaks over the command line and it throwed an UnicodeDecodeError error. This seems to be a known issue. To fix that, you have to find out which file inside ~/.config/autostart is causing the error.

In my case the culprit was org.moson.matray.desktop and others reported vivaldi-stable.desktop. But probably you have to find that out on your own like this:

Move all files from ~/.config/autostart to another folder. gnome-tweaks should start now. To find the culprit, copy them back on by one and each time start gnome-tweaks, until it throws the error again. To fix it, remove that file or fix its encoding.

Thomas
  • 111