I would like to create a shell extension for Ubuntu 20.04 that enables and disables the webcam but I don't know absolutely anything about JavaScript. Although, the extension is pretty simple: I would like to make a simple camera icon in the top bar…
The following is a simple scenario for some GNOME extension:
Enable the extension. The extension is a class which extends
Clutter.Actor.
It creates an actor called myActor and adds it:
this.add_child(myActor).
Then it calls an…
During development, I introduced an error to my extension that causes gnome-shell to crash upon trying to load the extension with the following rather broadly phrased error message:
Execution of main.js threw exception: JS_EvaluateScript()…
I'd like to use Gvc (libgnome-volume-control) as used in Gnome Shell GIR in GJS, but can't find a way to access it except within the Gnome Shell environment (eg. a Gnome Shell extension). Actually, I can't even figure out where it is. Is this…
I see in the GJS GObject overrides there are definitions for most types that correspond to Javascript types, but how should I define a property for a standard Array of strings? Some options that have occurred to me:
use TYPE_OBJECT and a GList, but…
I'm trying to write an extension with just using JavaScript. I wrote it with Python through Hello World! code. But, yet in the beginning, my button for menu items is not working. Also, I couldn't add menu item with Hello World! code. I think, I miss…
I want to build a Gnome shell extension that highlights the mouse cursor. I have a working prototype of a Clutter Actor that draws above all other windows, but mouse movements are only tracked when no other windows are behind the test canvas.
My…
I'm trying to write my first Shell extension and - as every blog post out there - I am too struggling with the lack of up-to-date documentation...
Namely I am trying to grab all key strokes from the keyboard, and - looking at code online and old…
I think D-Bus should be used. Basically, I want something like that — https://wiki.gnome.org/Gjs/Examples/DBusClient — but the other way round.
In the extension, there would be a function:
function f(s) { doSomethingWithS; }
And this function would…
Today, I upgraded from Debian Jessie (stable) to Stretch (testing), and many extensions I need to work are no longer marked as compatible.
I'm quite sure it's no big deal for most of them (maybe just manifest.json to update).
But my problem is that…
I'm trying to get the current keyboard modifiers state through gnome GDK or GTK library in aim to implement an accessibility gnome shell extension that shows that state.
I know how to get thier state using xlib, but there is not full binding for…
I have written a (very simple) gnome-shell extension to switch focus mode (gnome-shell 3.10 on Ubuntu 14.04). The extension is available on github; I am waiting to submit it because it has a very annoying bug --- which I am unable to understand and…
I am developing a gnome shell extension for Gnome 3.4. My extension needs to capture the window events if any editable text is focused in/out.
global.stage.connect('notify::focus-key', Lang.bind(this, this._myHandler));
did not work for me.
Here…
I'm looking to create a simple tool, which will integrate into gnome-shell. I want the tool to be integrated in the "top-right control bar":
I want to have an entry in the upper right panel and I need to customize the "Popup" (in the picture, the…
I was using a GNOME extension to disable multitouch gestures on ubuntu 20.04 but it doesn't work with ubuntu 22.04
Does anybody know how to disable this on Ubuntu 22.04?