I am developing a Gnome extension. As such, I have an extension.js where all my code resides.
Now I have some other code I want to use, which lives in a file foo.js and sadly does not yet use strict mode. How can I load this foo.js?
I tryed install gnome extesions. But i always recive the message 'Unable to locate GNOME Shell settings or version. Make sure it is installed and running.'.
I installed the gnome-shell-extensions and chrome-gnome-shell but no working.
I restart the…
I'm writing a very simple gnome extension for personal use (in javascript).
To run console commands I use GLib.spawn_command_line_sync("command");
GNOME Shell version 3.36.2
WHAT I NEED
I need to run only one command but with root privileges, how…
I am learning to use APIs, so I am making a Gnome Shell Extension consisting of buttons in the top bar in Ubuntu to control Spotify's player (next, play, pause, previous) by doing calls to Spotify's API. Until now, I was getting my token manually,…
How do you run Gnome-Shell from inside Docker?
I'm trying to create a simple continuous build process for a Gnome Shell Extension, just to simulate and test installation. In order to make it easier to test the build for various flavors of Linux, I'd…
I wrote a PanelMenu.Button-derived class for shell 3.36 by following the tutorial at:
https://wiki.gnome.org/Projects/GnomeShell/Extensions/Writing
Everything works (after a few 3.36-related tweaks I had to do) but now I would like to have a single…
I'm developing my first gnome-shell-extension currently. In the extension, I want to execute a simple shell command and use the output afterwards, for which I use Gio.Subprocess like it is used in this wiki:…
I want to run a loop inside a GNOME extension. after a DBus service method call, but gnome shell freezes
I have learned that extensions run in the GLib's Main Loop and I should use GTask API, but I cannot find a way to use it, nor a clear example.
I…
Is there a way to change the clutter perspective for a given container or widget?
The clutter perspective controls how all the clutter actors on the screen are displayed when rotated, translated, scaled, etc.
What I would really like to do is to…
I followed the tutorial here to install all the necessary packages to use gnome extensions on Firefox, Ubuntu 18.04. However, when I opened the website, it returned an error Although GNOME Shell integration extension is running, native host…
I'm creating a helper GNOME extension for my theme. The helper extension was meant to be used to add some sounds when I click a button, however, I can't find a solution (and an extension) that shows how to add the sounds and how to call…
I'm creating a gnome shell extension and implementing the search provider. In the activateResult method I want to run some code like
GLib.spawn_command_line_sync('xdotool windowactivate ' + window_id);
GLib.spawn_command_line_sync('xdotool key…
My Ubuntu 18.04 doesn't allow me to log in with GNOME. Immediately after logging in, it seems that a crash occurs and I'm back at the log in page. If I try with a different user it works.
I found this in /var/log/syslog
Dec 10 10:13:38 y-server…
I have the following code: in a St.ScrollView I have added a St.BoxLayout . The St.Scrollview is added in a menu.box.Now I want to create a St.Button, to remove the St.BoxLayout from St.ScrollView and add another St.BoxLayout there.I have tried to…