cluster2a / gnome-shell-extension-elgato-light-control Goto Github PK
View Code? Open in Web Editor NEWGnome Shell Extension Elgato light control for Linux.
License: GNU General Public License v2.0
Gnome Shell Extension Elgato light control for Linux.
License: GNU General Public License v2.0
it would be great if this would work on GNOME 41 - it stopped working when I upgraded to Fedora 35 - the message says
Error: Requiring Vte, version none: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded
Stack trace:
@/home/abradshaw/.local/share/gnome-shell/extensions/[email protected]/prefs.js:21:54
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:216:33
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:128:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
i am running ubuntu 21.10 and i get this failure:
Error: Requiring Vte, version none: Requiring namespace 'Gtk' version '3.0', but '4.0' is already loaded
any quick fix for this?
elgato.js.txt
Nice extension! Looking at it, I wondered if the npm requirement and the need to install node modules could be avoided. It seemed to me that tallking to Avahi over D-Bus (should be installed on most Linux systems) would allow doing this natively in GObject code without having to resort to npm and mdns-js. I did some experiments with this.
I'll attach a script here that implements a persistent browser for Elgato lights on the network. (Run as gjs elgato.js
) I spent quite a bit more time on this than I expected to really try and get the corner cases right:
Details in a comment in the code. This could could be re-simplified to just do a single-pass scan, if something more like the current UI was desired, but I think its nice if the extension "just works" without having to go into the preferences and rescan if the light gets a new DHCP address or something.
Feel free to adapt this code to your purposes, and let me know if it doesn't work :-)
Hello, first of all thanks for this Gnome extension!
I've installed the extension, I've been able to add my Elgato Key Light and turn it on and off.
However, the controls for light temperature and brightness are not shown. You can see that from the screenshot below.
This is currently my setup:
Do you have any idea about what might be going on? Thanks again!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.