tophat
tophat copied to clipboard
Error loading tophat extension: Clutter typelib file not found
Description
When attempting to access the settings of the tophat
extension, an error is thrown related to the Gnome Shell's Clutter library. It seems that the typelib file for Clutter is not found, which is required for the extension to function properly.
Error Message
The following error message is displayed: Error: Requiring Clutter, version none: Typelib file for namespace 'Clutter' (any version) not found
Stack Trace
The issue can be traced back to the following stack trace: require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28 @gi://Clutter:3:25 _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
Steps to Reproduce
- Install the
tophat
extension from the Gnome Extensions website or via the Gnome Tweak Tool. - Attempt to open the settings for the
tophat
extension. - The error message appears and settings cannot be accessed.
Expected Behavior
The settings dialog for the tophat
extension should open without any errors.
Actual Behavior
An error message is displayed and the settings cannot be accessed due to a missing Clutter typelib file.
System Information
- Gnome Shell Version: 45.2
-
tophat
Extension Version: Current - Distribution: Ubuntu 23.10
- Installation method of extension: Gnome Extensions website
Please let me know if you need any further information or if there are any known workarounds for this issue.
Thank you for your assistance!
sudo apt install gir1.2-gtkclutter-1.0
sudo apt install gir1.2-gtkclutter-1.0
Which package to install for Fedora ? I'm getting the same issues on Fedora 40
On Fedora 40:
sudo dnf install clutter-gtk
After installing, it needs a restart in order to work.
Can a GNOME extension declare external dependencies like this? If so, it would be very neat to have that.
If not, maybe tophat could somehow catch this error and add its own message that either links to this issue or suggests the clutter installation command-lines for a few common distros