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
0
votes
1 answer

gdbus call when click on panel extension icon

Is it possible to trigger gdbus call on click on the panel extension icon? In my concrete example I want to call the following command to change display brightness when clicking the extension icon. gdbus call --session --dest…
orschiro
  • 19,847
  • 19
  • 64
  • 95
0
votes
1 answer

Gnome 3 icon size and sorting windows 7/10 style

I would like a suggestion for a gnome extensions that let me sort icons on 'Files' like windows on 'Explorer'. It's been two days searching on google and browsing on gnome extensions site for a extension that allow me do this. I want to have some…
Mateus Silva
  • 756
  • 2
  • 8
  • 20
0
votes
0 answers

Gnome Shell Extension Programming DND library issue

I've been tinkering around with the code of the Arc Menu Gnome Shell extension. My goal is to give it the ability to drag programs to the desktop (if the user has it enabled, of course). The "vanilla" GNOME menu extension provides this feature and…
0
votes
1 answer

Native host connector is not detected. Refer to documentation for instructions about installing connector."

Actually, I'm trying to add some extension to my Ubuntu GNOME, but it is showing some error when I'm trying. The issue is like: "Although the GNOME Shell integration extension is running, the native host connector is not detected. Refer to…
Sanjit Gupta
  • 3
  • 1
  • 3
0
votes
1 answer

Gnome Shell Extension popupmenu within popupmenu

While trying to open a popupmenu from another popupmenu, I ran into a tiny problem. Both the menus close when I open the submenu. A temporary solution I'm using is closing the original menu on click and the submenu remains open then. I think they're…
varikas
  • 21
  • 5
0
votes
1 answer

gnome-shell-extensions drag and drop

While trying to add D&D support to a gnome-shell-extension that I'm writing I ran into a bit of trouble. I can create drop targets to any open window, but that's all I've managed to pull off. I can't differentiate between the windows. I tried to use…
varikas
  • 21
  • 5
0
votes
1 answer

Gnome Extension: Change St.Icon image on hover?

So task is simple, but not for me - green Gnome Extensions Development noob. Of course I googled this, but didn't find something that can be helpful here. extension.js: https://pastebin.com/TqDVp8Yz - because 'your post mostly…
DIES
  • 345
  • 5
  • 14
0
votes
1 answer

Parse ISO 8601 basic datetime format in javascript

I have a date, as returned from a JSON, in the following format: YYYYMMDDThhmmssZ and I want to parse it in Javascript. I found some resources that cataloge this format as ISO-8601 basic format, which is slightly different from the extended format…
Nakano
  • 45
  • 2
  • 9
0
votes
1 answer

addActor is not a function

I'm developing an extension to the gnome shell. My extension requires a slider bar to a indicator on the status area. I had some problems setting it, I was writing my code on this slightly outdated reference, the main problem was that the…
0
votes
2 answers

gjs/gnome-shell-extension: read remote jpg image from url and set as icon

I am trying to improve a gnome-shell-extension by allowing retrieving of remote image (jpg) and set as icon for a certain widget. Here is what I got so far, but it does not work, due to mismatch of data type: // allow remote album art url const…
Jerry Ma
  • 511
  • 4
  • 15
0
votes
1 answer

Consume a webservice with basic authentication using Soup

As part of a gnome-shell extension, I try to consume a webservice using xmlrpc. The webservice expects a basic authentication header. Using Soup, I got the following code (basically a blueprint from the great openweather extension): function…
L-Ray
  • 1,637
  • 1
  • 16
  • 29
0
votes
0 answers

how to store an array of array of strings in gsettings

I am using GSettings in my JS code to store some data. Now i need to store an array of array of strings, something like this: var arr1 = new Array(); for (var index in list) { arr1[index] = new Array(); …
0
votes
0 answers

Encrypt a string with JavaScript in a Gnome Applet

Is there a easy way to encrypt for example a string with AES in a gnome applet written in JavaScript? I can't find a solution in the gnome api reference [1]. I saw that libsecret has a AES implementation for testing purposes [2], but I don't know if…
Eich
  • 3,728
  • 1
  • 21
  • 34
0
votes
1 answer

After GNOME Shell extension's monkey-patching, this.parent is unexpected

For the raise-activated GNOME Shell 3.16 extension I'm trying to monkey-patch the AppSwitcherPopup._finish method. Like the original, the patched version calls this.parent: function _modifiedFinish(timestamp) { // ...monkey-patched code... …
Leif Arne Storset
  • 899
  • 1
  • 8
  • 19
0
votes
1 answer

How is modifying _init() affecting parent()?

I'm trying to update a Gnome-shell extension. In it, I override the _init method of an object, which I'm doing like this: function newInitAppSwitcherPopup() { this.parent(); ... } AltTab.AppSwitcherPopup.prototype._init =…
KrahnacK
  • 313
  • 2
  • 7
1 2 3
14
15