I've created a custom GJS extension to connect into VPN. Basically it's a wrapper around a shell script, which is controlled from taskbar. There is a one issue, that after PC goes into suspend mode and back, extension is still displaying, that is…
I am writing my first gnome shell extension to update desktop background to Microsoft Daily Wallpaper by making and running a shell script
Here's the shell script, it loops every 15 minutes
while :
do
result=$(curl -s -X GET --header "Accept: */*"…
I work in an environment where we have to have a security classification banner displayed at the top of each monitor on our Gnome Desktops. Currently, I am using a Perl/Tk window to display the classification of the system. However, that window…
So in regards to my last question, I am currently struggling with expanded notifications clogging up the notification tray. The problem is, that the vertical ScrollBar of the notification tray does not show up when it needs to when e.g. too many…
I am currently designing an extension to make the notifications in the notification section of the calendar expendable. The goal is to make the noficiation expand like the initial notification on the desktop does. I have changed the type of…
I want to write a simple gnome extension that prints some text on my top bar from a text file. I managed to print the text but i'm having trouble with updating it every 60 seconds. Is it even possible with gjs?
this is what i came up with:
const…
Is there a way to toggle the Gnome Extension Top Icons Plus in Tweak Tool in a script?
Currently I am unable to find any APIs provided by Tweak Tool or Top Icons Plus.
So I am trying to call a google API in a GNOME extension and am wondering why if I try to enable my extension it crashes Manjaro Linux. If I am doing something fundamentally wrong please inform me as I am quite new to this even though I have been…
So I'm making a gnome shell extension, and I can't figure out how to make one part of my extension normal font weight. Here is my extension.js file:
'use strict';
const { St, Clutter } = imports.gi;
const Main = imports.ui.main;
let…
Most of the code is borrowed, JS is not my way, but an extension needs to be created.
Can you tell me how to use g_resolver_lookup_by_name() to return IP within the given code?
g-resolver-lookup-by-name
const Main = imports.ui.main;
const St =…
I have certain global shortcuts to update the microphone sound input level. Therefore, I was creating a gnome extension that adds a label in the top bar, displaying the current microphone sound percentage.
The code in extension.js is something like…
I'm creating my own extension for GNOME Shell and I run into problem while searching for some documentation of Dash.
I need to find width, height, visibility and position of Dash. But I have been unsuccesful to find some doc at…
I want to access environment variable from a Gnome-Shell extension.
Some context: I want to create an extension adding "Xorg" or "Wayland" to the panel, based upon the environment variable $XDG_SESSION_TYPE. I have to do this because I frequently…
In my Gnome Extension I would like to call GLib.convert. Sadly it does not work with strings but wants a ByteArray. Now I wonder how to convert a Javascript String into a UTF-16 Byte Array.
Bonus points if this uses some part of the Gnome bindings…
How to get OS name while writing gnome-extensions..
for example:
GLib.get_real_name()
I have gone through this post How can my GNOME Shell extension detect the GNOME version?