Error opening Notorious installed by flatpak
I'm getting this error out of nothing when running Notorious. I tried to uninstall and install again, all through flatpak and the error persists.
$ flatpak run org.gabmus.notorious
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
File "/app/bin/notorious", line 64, in <module>
__main__.main()
File "/app/lib/python3.7/site-packages/notorious/__main__.py", line 151, in main
application = GApplication()
File "/app/lib/python3.7/site-packages/notorious/__main__.py", line 36, in __init__
self.window = AppWindow()
File "/app/lib/python3.7/site-packages/notorious/app_window.py", line 9, in __init__
super().__init__(**kwargs)
File "/usr/lib/python3.7/site-packages/gi/overrides/Gtk.py", line 521, in __init__
"Gtk couldn't be initialized. "
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
Environment:
Ubuntu 20.04
Flatpak 1.6.4