Questions tagged [gnome-shell-extensions]

The Gnome Shell (Gnome 3) offers JavaScript bindings to customize and extend the shell behavior.

Extension-catalog

Developing

The JavaScript bindings are based on the Gjs project (see ), which has more documentation.

222 questions
1
vote
1 answer

Programming a Gnome extension to disable left edge drag gesture to show the app picker

My apologies to all, if this is in the wrong group. We’d like to use Fedora 23 in Kiosk mode, but there is was a recently added left edge swipe feature that was added to Gnome Shell (https://github.com/GNOME/gnome-shell)that cannot be disabled…
1
vote
1 answer

Asynchronuous call to GnomeKeyring using GObjectIntrospection

I am writing a gnome-shell extension that shows the current balance of prepaid-cards like phones (or electricity). As this needs credentials for the given services, I do not want to store the password in gsettings, but as entry in gnome…
1
vote
1 answer

How to Create Clutter events with GJS

I will receive {x,y} data from the network corresponding to a pixel coordinate. I would like to create clutter event or at least inform the system (clutter stage) there is a mouse move to the received {x,y} data. I had a look on the unofficial GJS…
Erwan Douaille
  • 553
  • 1
  • 10
  • 31
1
vote
0 answers

gnome shell extension animate actor size

I am trying to animate an existing actor in gnome-shell. I have tried in a few ways and each time I am able to change the actor location but I am unable to change the actor size. This is one of the ways I have tried and the actor is changing it's…
palaviv
  • 41
  • 5
1
vote
1 answer

How to start a GtkApplication from inside a gnome-shell-extension?

My goal is to start a new GtkApplication when the user presses a button in the topbar of Gnome. The button in the topbar can be done by a gnome-shell-extension, but I have difficulties opening up the GtkApplication. Therefore, for now the following…
JayStrictor
  • 468
  • 1
  • 4
  • 10
1
vote
1 answer

fetch the whole desktop/screen using gnome-extension?

I'm working on gnome-extensions (javascript) and i would like to know if it's possible to fetch/capture a desktop/screen object to apply modifications on it. For example getting a window i use this code: let app= app_system.get_running(); for(i = 0;…
1
vote
0 answers

Simple Gnome Chat: How to get modal dialog?

I've created a very simple chat (one to one chat) which works by just sending TCP-packets. The way it works at the moment is just by sending and receiving messages in the terminal. I would like to create a simple GUI that shows dialogs (modal i…
1
vote
1 answer

How to tell if a window is minimized using GJS?

The wrappers for GJS/Gnome don't seem to expose the "minimized" property. There is a get_maximized(), but this doesn't seem to return the information I need. Using the JavaScript bindings for Gnome Applets, is there a way to get whether a MetaWindow…
aikeru
  • 3,773
  • 3
  • 33
  • 48
1
vote
1 answer

Gnome-Shell Extension, observe changes on GSettings?

So I'm writing an extension, that has some preferences. I store the preferences in GSettings, using the convenience.js (as described here). The related code looks like this: const SETTINGS_APP_SORT_MODE = 'sort-mode'; this._settings =…
KrahnacK
  • 313
  • 2
  • 7
1
vote
1 answer

Getting error in modified GNOME extension code

Recently I am getting started with GNOME extensions development. By executing gnome-shell-extension-tool --create-extension in terminal I have created hello world extension but when I change the code to build a pop-up like extension I am getting…
Isham Mohamed
  • 2,629
  • 1
  • 14
  • 27
1
vote
1 answer

Gnome-shell extension puzzle: setting variables not working?

This must be some basic misunderstanding (on my side) on how gnome-shell extensions work. I struggled to find some documentation but, alas, it seems a bit sparse. I want to write a simple extension to toggle focus mode from FFM to click-to-focus…
Rmano
  • 377
  • 10
  • 25
1
vote
1 answer

gnome shell developement step by step debugger

Is there any way to have a step by step debugger and variable browser in gnome shell ? I had a look at the wiki page : https://wiki.gnome.org/GnomeShell/Extensions and I already tryed to find this in look glass :…
sylvain
  • 1,951
  • 2
  • 19
  • 34
1
vote
1 answer

How to get Empathy contact list in GNOME shell extensions?

I am trying to build a GNOME shell extension. How can I get Empathy contacts list in GNOME shell extensions?
nur
  • 161
  • 2
  • 11
1
vote
2 answers

unpacking GVariant in javascript

I have an array stored as a GVariant of type a(ss) in GSettings, that I want to use in a Cinnamon Applet. I can retrieve the value successfully using the following code: let schema = schema_source.lookup(SCHEMA_NAME, false); let settings = new…
simon
  • 15,344
  • 5
  • 45
  • 67
1
vote
1 answer

st_widget_get_theme_node errors on drag

I'm trying to implement a drag and drop system in the extension I'm developing but I'm running into a problem. As far as I can tell, dnd is implemented by making a draggable object like this let draggable = DND.makeDraggable(this.actor) where…
Kasper
  • 2,451
  • 2
  • 17
  • 19