I'm trying to display a Gtk.AboutDialog from my GNOME Shell extension. I wrote the following function:
_showAbout: function() {
var authors = ["Ralf"];
// Create the About dialog
let aboutDialog = new Gtk.AboutDialog({ title: "About…
I'm deving a simple gnome shell extension and in the HACKING.md of gnome shell repo, it says that we should use new Lang.Class() language framework to initializing a class.
But, when I check the official gnome-shell extensions repo examples, every…
More of a user question, I wanted to know where are stored Gnome Shell Extension parameters, I mean user-specific parameters for each extensions ?
To be more specific, here's an example: I installed Media Player Indicator on my former system and I…
I'm trying to create an editable multi-line text box by using the Clutter.Text's set_editable() method:
let label = new St.Label({ text: 'My dummy example.' });
label.clutter_text.set_editable(true);
label.clutter_text.set_activatable(true);
But it…
I am very new to GNOME extension development, and I am having a hard time working with it, due to a profound lack of documentation (or maybe my Internet is clandestinely censored) of the API. I started by modifying an existing extension, so that it…
I need to know when inFullscreen of monitor object is set to true, I wanna make sure it's not set to true when window is maximized. I can't find any docs for imports.ui.main nor any imports.ui.*. That's simple (but still annoying) I can hold alt and…
I'm working on a gnome-shell extension and I can't get the linear-gradient to work properly (or at all, in fact). The GTK documentation or this post state that we should be able to use something like this:
label {
background-image:…
I'm running Ubuntu Gnome, gnome shell version 3.24.2. I'm trying to create a gnome shell extension, and am using Javascript.
In my extension and in Javascript, how do I create a global key binding that is recognized from anywhere in Gnome? I want to…
I am not sure if this has been answered as I am not really sure of the problem. At least once (sometimes more) during the day I get a notice that Ubuntu crashed. The info says it's related to the chrome-gnome-shell(I have reinstalled…
This may be a question where the answer can be a url to a descent gnome shell extension tutorial because I'm not finding one.
The Problem I have, which I want to solve with a Gnome Extension
In the gnome settings daemon (see…
GLib's main loop supports scheduling callback functions for periodic intervals, using g_timemout_source_new and related functions. The callback will repeatedly be called after the scheduled interval, until it returns false.
I now want to modify this…
I'm trying to query github's api with a token. Github's api accepts generated tokens provided that they're sent as a basic auth header.
The API do not return HTTP 401 if the call is made without auth which means if one wants to query their api using…
the Shelltile-Extension for Gnome 3 (https://extensions.gnome.org/extension/657/shelltile/ where you also find a link to github) can group Windows such that they are treated as one by Gnome.
I would like to understand how this is done since it looks…
I'm working on a Gnome-shell extension, and I'm stuck in using Soup to contact a server.
Basically, I want to send a POST request which can be performed after authentication. If authenticated, the response if a JSON content, and if not…
I have a CSGL shader that declares this uniform...
uniform float Targets[6];
I'm writing a gnome extension that attempts to set this with the following code in extension.js...
let fx = new Clutter.ShaderEffect(
{ shader_type:…