Comments (14)
from gnome-shell-extension-blyr.
@Frowny looks like the package gir1.2-gtkclutter-1.0 is missing on your system.
from gnome-shell-extension-blyr.
Hi @Frowny and @yozoon , I got the same "Requiring GtkClutter" on Ubuntu 17.10 and installing gir1.2-gtkclutter-1.0 solved it. But I don't remember if I installed it when I was on "Ubuntu GNOME" 16.04. Probably it's ship by default on "Ubuntu GNOME", but on the Ubuntu 17.10 (which uses GNOME now as everyone knows) we'll probably need to install it by our hands. Maybe an advice on gnome-shell extensions Webpage warning less skilled users about it...
from gnome-shell-extension-blyr.
In the newest version of the extension I implemented a fallback mode, which should make all settings accessible, even if the (gtk)clutter initialisation fails. Please test with the current master branch and report your results here :)
from gnome-shell-extension-blyr.
@patrickpcs91 it was never the objective to remove the reliance on the ClutterGtk Bindings, as the Preferences dialog needs them to embed the blur effect (Clutter) preview box in the Gtk prefs window. The original bug reported in this issue thread was a crash of gtkclutter on Fedora 26 directly after the initialisation was called in the preferences dialog. As this bug doesn't seem to exist in Fedora 27 I'll close this issue now.
from gnome-shell-extension-blyr.
What version of clutter-gtk is installed on your system?
from gnome-shell-extension-blyr.
1.8.2
Forgot to mention, it was on Wayland session, if that matters.
from gnome-shell-extension-blyr.
On Wayland session, I get the same Clutter-Gtk-ERROR. However, on x11, I get this following error as well when trying to launch preferences.
(gnome-shell-extension-prefs:2331): GLib-GObject-WARNING **: cannot register existing type 'ClutterBackend'
(gnome-shell-extension-prefs:2331): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gnome-shell-extension-prefs:2331): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(gnome-shell-extension-prefs:2331): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gnome-shell-extension-prefs:2331): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
I'm on clutter-gtk 1.8.2 as well.
λ ~/ dnf list installed | grep clutter
clutter.x86_64 1.26.2-1.fc26 @anaconda
clutter-gst2.x86_64 2.0.18-2.fc26 @anaconda
clutter-gst3.x86_64 3.0.24-1.fc26 @anaconda
clutter-gtk.x86_64 1.8.2-2.fc26 @anaconda
chrome-gnome-shell.noarch 9-1.fc26 @region51-chrome-gnome-shell
gnome-shell.x86_64 3.24.2-1.fc26 @anaconda
gnome-shell-extension-alternate-tab.noarch
gnome-shell-extension-apps-menu.noarch 3.24.2-1.fc26 @anaconda
gnome-shell-extension-background-logo.noarch
gnome-shell-extension-common.noarch 3.24.2-1.fc26 @anaconda
gnome-shell-extension-launch-new-instance.noarch
gnome-shell-extension-places-menu.noarch
gnome-shell-extension-user-theme.noarch
gnome-shell-extension-window-list.noarch
gnome-shell-theme-adapta.noarch 3.91.0-1.201707111515git652efc0.fc26
λ ~/ screenfetch
/:-------------:\ chyran@chyran-fedora
:-------------------:: OS: Fedora 26 TwentySix
:-----------/shhOHbmp---:\ Kernel: x86_64 Linux 4.11.8-300.fc26.x86_64
/-----------omMMMNNNMMD ---: Uptime: 10h 33m
:-----------sMMMMNMNMP. ---: Packages: 1837
:-----------:MMMdP------- ---\ Shell: zsh 5.3.1
,------------:MMMd-------- ---: Resolution: 1920x1080
:------------:MMMd------- .---: DE: GNOME
:---- oNMMMMMMMMMNho .----: WM: GNOME Shell
:-- .+shhhMMMmhhy++ .------/ WM Theme: Flat-Plat
:- -------:MMMd--------------: GTK Theme: Flat-Plat [GTK2/3]
:- --------/MMMd-------------; Icon Theme: Paper
:- ------/hMMMy------------: Font: Roboto 11
:-- :dMNdhhdNMMNo------------; CPU: Intel Core i7-7700HQ @ 8x 3.8GHz [25.0°C]
:---:sdNMMMMNds:------------: GPU: Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2)
:------:://:-------------:: RAM: 2962MiB / 7707MiB
from gnome-shell-extension-blyr.
I experimented with the prefs.js file on Fedora 26. So far I've figured out that gnome-shell-extension-prefs on Fedora doesn't like it, when you initialize Clutter or GtkClutter inside the prefs.js script - unfortunately both of them are a requirement for the preview widget. I also wrote a small GJS program to test Clutter.init(null) in combination with GtkClutter.init(null) , but this standalone application worked as expected, so I'm guessing the observed errors originate from the way gnome-shell-extension-preferences parses the prefs.js file on Fedora (interestingly it's working as expected on Ubuntu and Arch).
from gnome-shell-extension-blyr.
I tested the extension preferences on Fedora 27 under both, the wayland and the xorg session. I didn't get any Clutter-Gtk errors, and using the xorg session, the preferences dialog worked as expected. But I observed some strange behavior using the wayland session: after launching the preferences from the gnome-tweak tool the panel went black and system monitor said that an instance of the extension-prefs was running even though no window/ application symbol showed up. Further investigation showed that this behaviour can be circumvented by launching the gnome-shell-extension-prefs directly from the command line with an additional environment variable: export GDK_BACKEND=x11 gnome-shell-extension-prefs [email protected]
I found this fix on the redhat bugzilla
Can anyone confirm those results?
from gnome-shell-extension-blyr.
Does this problem still persist on Fedora 27? Otherwise I will close this issue, as my inspections showed that it is related to the way Fedora 26 handles the ClutterGtk bindings, which I can't directly influence.
from gnome-shell-extension-blyr.
Hi @yozoon, sry I'm a little late ^^'. Unfortunately even using the latest master branch, I'm not able to get to the preference screen without "gir1.2-gtkclutter-1.0" installed. I didn't tried on a wayland session because of the NVIDIA drivers. I still running on Ubuntu 17.10 (all up to date).
Error: Requiring GtkClutter, version none: Typelib file for namespace 'GtkClutter' (any version) not found
Stack trace:
@/home/patrick/.local/share/gnome-shell/extensions/[email protected]/prefs.js:43:7
Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:246:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:402:5
@
BTW, I enjoyed the new features :D
from gnome-shell-extension-blyr.
@yozoon I just installed Gnome Shell onto my fresh kubuntu install. When I tried to run Blyr preferences I got the same Clutter error as everyone else. But Is should have clutter installed etc.
from gnome-shell-extension-blyr.
Agree with @patrickpcs91, doing a sudo apt-get install gir1.2-gtkclutter-1.0 fixed the clutter issue in the gnome extension preferences.
from gnome-shell-extension-blyr.
Related Issues (20)
- blyr doesn't let the panel show correctly when this is moved to the left side HOT 4
- Blur doesn't refresh on slideshow
- Unable to show settings HOT 2
- [Multiple displays] Panel blur is shown incorrectly on primary display, but correctly if secondary display is default HOT 4
- Panel is not affected HOT 3
- Cannot open blyr settings HOT 1
- Cant enable the extension shows "typeError : src is null"
- Broken lock screen (bug) HOT 1
- Add Support for Dash-to-dock extension HOT 1
- Add blur to semi-transparent windows (Feature Request) HOT 2
- Settings can't be displayed HOT 1
- Blur effect disappears when turning display off/on HOT 2
- Error Gnome 3.38 HOT 21
- No adaptation of dynamic Wallpaper
- Weird bug on top pannel HOT 4
- App folders still darken the screen
- [INFO] Extension: blur-my-shell
- ImportError: No JS module 'prefs' found in search path
- No JS module 'tweener' found in search path HOT 6
- Blur effect not applied when using multiple monitors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-shell-extension-blyr.