I am working with a gnome extension which has a toggle switch on its panel popup menu.
I have bound a keyboard shortcut to the same setting, so I want to change the state of the toggle to reflect what happens with the keyboard shortcut.
the toggle…
Original question: Multiple arguments in Gio.Subprocess
So currently I'm trying to execute multiple asynchronous commands in my gnome-shell-extension via Gio.Subprocess. This works fine, if I put all commands as only one chained command with && in…
First of all, I am sorry If this is not the rite place to ask.
Recently, I tried to upload the extension https://extensions.gnome.org/extension/2935/control-blur-effect-on-lock-screen/ to the extensions.gnome.org website.
this link says to make zip…
Trying to connect a StButton to a swipe signal, I get an error:
JS ERROR: Extension screensaver-dashboard@singularities.org: Error: No signal 'swipe' on object 'StButton
However, I can see the signal among Clutter Actions…
I'm making an extension with a list containing a checkbox with a text item (St.label) that change style when toggled.
I'm listening to the toggle event, and as the item is toggled, I set a new style for my text using set_style_class_name() on a my…
I am writing a gnome shell extension in java script.
I tried using asynchronous fetch() but it didn't work.
How can I fetch data from a server in JSON format and display it on my status bar?
const http = new XMLHttpRequest()
let data,button;
…
does anyone know if there's a way to disable the automatic request 'feature' in the ubuntu 19.10 software application manager that requests a json list of available extensions from extensions.gnome.org every time the application is brought to the…
I'm trying to enhance the gTile extension by allowing it to resize a fullscreen window to a tiled area of the screen. That's a pretty common thing to do when tiling and it's pretty handy since some windows will hide some chrome when in fullscreen…
I'm writing an extension for GNOME Shell to check whether VPN is connected with this command:
ifconfig -a | grep tun
This is my extension.js file:
const St = imports.gi.St;
const Main = imports.ui.main;
const Mainloop = imports.mainloop;
let…
How can I parse XML in GJS code? Specifically, in a gnome shell extension? I haven't found anything, and there doesn't seem to be a GJS XML library. Also, GJS doesn't appear to be compatible with nodejs, so I can't use xml-js or the like?
Am I…
I'm trying out a 43Inch screen and I'm using the gnome shell extension gTile, and I can't figure out how to:
have a preset to bring all windows to center with predfined dimensions, i.e. 70%x50%
have a hotkey to bring the current window to center…
I am working on an extension for gnome, in which there is a popupmenu with menuitems.One of the menuitems is called "Log out" .I have managed to display next to "Log out" the real name of the user with this code:
let username =…
I got a problem after an system upgrade.I chosen some config yes. And here,I lost my desktop icon.I cannot change system settings such as key map shutcut.I cannot neither change themes nor enable extensions with gnome-tweak-tool.
I've tried…
I'm trying to make a GNOME extension that functions similarly to a dock, except it shows you status info (time, battery, etc). What I'm stuck on here is, how do I get the info to show up when the cursor enters a specific pixel area? Like, if the…
Just as the following image, can not remove extension Topicon,
After I remove the folder in the gnome extension directory, it still show error.
➜ extensions pwd
/home/honhe/.local/share/gnome-shell/extensions
➜ extensions ll
total 32K
drwxrwxr-x…