How do I switch windows programmaticly? I mean like Alt+Tab does but without any labels or something.
I tried to look through the documentation but it's too complicated for me ( you can say then not to do it, but I learned action script with help of…
I've just started fiddling with writing gnome-shell extensions, and would like to know how to get a list of contacts a user has.
I've tracked down some likely files: gnome-shell/js/ui/contactDisplay.js and gnome-shell/src/shell_contact_system.c.
Now…
I'm running Gnome 3 Classic desktop on Rocky 8. There is no longer a context-menu option to clean up the desktop. Is this option accessible, or if not is there a way to access the current icon locations and change them, preferably via scripting.
I was looking for signals using:
dbus-monitor --session > gnome-extension-log.txt
I have a signal like:
signal time=1684395360.751890 sender=:1.93 -> destination=(null destination) serial=971 path=/org/gtk/gio/DesktopAppInfo;…
I'm trying to create a GNOME Shell extension and draw a window on the screen using GJS. I have referred to the gjs guide, the official API documentation, and the gnome shell js source code.
However, I don't understand how to draw a window because…
I want to build a GNOME extensions. How do I integrate GNOME JavaScript (GJS) into my IDE (IntelliJ IDEA Ultimate)?
Currently, I create a new extension like described in the official developer guide:
gnome-extensions create --interactive
Opening…
When i launch the extension.js demo file that is provided by Gnome at https://gjs.guide/extensions/development/creating.html#a-working-extension
I get this error :
const St = imports.gi.St;
ReferenceError: imports is not defined
here is the code…
tl;dr
How do I create an empty window in a GNOME extension?
Context
I'm working on an extension that will manage several windows within one. One of the first things I'm trying to achieve is to create a new empty window.
What I've Tried
I've found an…
I am trying to add a button into my Extension that, when clicked runs sudo apt update and sudo apt upgrade but it keeps crashing/not doing anything.
I have tried:
Util.spawnCommandLine('gnome-terminal -- sudo apt update && sudo apt…
I created the appropriate folders for gnome extensions to load the extension. It is visible in Gnome Extensions. Here is the extension.js file which is the main file.
const St = imports.gi.St;
const Main = imports.ui.main;
const Soup =…
I'm working on a simple extension to color the Top Panel using a color specified in a local config file. I know that you can override Gnome Shell Styles by adding rules to stylesheet.css, however this seems to be for rules that are statically known…
I need to write a Gnome extension which can browse through the Evolution Calender events. User will select multiple dates in the calender, and by using the extension - a meeting chain will be created using a same universal ID. I have no prior…
I use Fedora 37 and extension Dash to Dock v75. I can't get it to display unread message badge from Discord. At the same time, it works great with Telegram. Does anyone else have a similar problem? Can it be solved? enter image description here
I…
On my laptop:
gdbus introspect --system --dest org.freedesktop.UPower --object-path /org/freedesktop/UPower/devices/DisplayDevice
returns a set of properties:
properties:
readonly s NativePath = '';
readonly s Vendor = '';
…
I am writing an extension / widgets for gnome-shell.So I want to show some information using text. Actually I want to put text in middle of the circle using pangoCairo but I can't figure out how can I put text using pangoCairo?
here is my code of…