Questions tagged [gnome-shell]

GNOME Shell is the core user interface of the GNOME desktop environment starting with version 3.

263 questions
1
vote
2 answers

Connecting a 'clicked' signal to the indicator

I wrote a PanelMenu.Button-derived class for shell 3.36 by following the tutorial at: https://wiki.gnome.org/Projects/GnomeShell/Extensions/Writing Everything works (after a few 3.36-related tweaks I had to do) but now I would like to have a single…
Andrej Prsa
  • 551
  • 3
  • 14
1
vote
1 answer

Battery Indicator not displaying on Ubuntu Gnome 18.04 Top Bar

I installed Ubuntu Gnome two days ago and everything is working fine besides the battery indicator. For some reason in the top bar it does not show even when using gnome tweaks to turn it on. I have used the command: upower -i…
user12368065
1
vote
1 answer

Display AboutDialog from GNOME Shell Extension

I'm trying to display a Gtk.AboutDialog from my GNOME Shell extension. I wrote the following function: _showAbout: function() { var authors = ["Ralf"]; // Create the About dialog let aboutDialog = new Gtk.AboutDialog({ title: "About…
Ralf
  • 1,773
  • 8
  • 17
1
vote
1 answer

Should I use ES6 or Lang classes when developing Gnome Shell and Extensions?

I'm deving a simple gnome shell extension and in the HACKING.md of gnome shell repo, it says that we should use new Lang.Class() language framework to initializing a class. But, when I check the official gnome-shell extensions repo examples, every…
1
vote
1 answer

Can't debug KDevelop with KDevelop in Gnome shell

This problem may sound quite funny, but it's actually quite annoying. It happens when I start debugging the KDevelop source code in KDevelop: when the debugged app hits the breakpoint and stops, I go to the main app and start working, but soon it…
vchslv13
  • 73
  • 7
1
vote
1 answer

Clutter.Text's set_editable() doesn't seem work

I'm trying to create an editable multi-line text box by using the Clutter.Text's set_editable() method: let label = new St.Label({ text: 'My dummy example.' }); label.clutter_text.set_editable(true); label.clutter_text.set_activatable(true); But it…
luvejo
  • 347
  • 2
  • 9
1
vote
1 answer

How do I detect clicks on the GNOME AppMenu?

I am trying to disable the GNOME app menu (the widget on the left, to the right of the "Activities" button in the top panel), so that clicks on it go through it to the underlying panel, so one would be able to drag the window from maximized state…
Valentin Radu
  • 629
  • 1
  • 11
  • 26
1
vote
1 answer

Docs for developing gnome shell extensions

I need to know when inFullscreen of monitor object is set to true, I wanna make sure it's not set to true when window is maximized. I can't find any docs for imports.ui.main nor any imports.ui.*. That's simple (but still annoying) I can hold alt and…
Sassan
  • 2,187
  • 2
  • 24
  • 43
1
vote
2 answers

Get window pid in Looking Glass extenstion of Gnome Shell

Looking Glass debugger of Gnome Shell provides Windows tab that lists all opened windows. Instance of such windows can be referenced from Evaluator tab after clicking, for example: [object instance proxy GType:MetaWindowX11 ...] How can be process…
czerny
  • 15,090
  • 14
  • 68
  • 96
1
vote
1 answer

How do I create a global key-binding in a gnome-shell extension

I'm running Ubuntu Gnome, gnome shell version 3.24.2. I'm trying to create a gnome shell extension, and am using Javascript. In my extension and in Javascript, how do I create a global key binding that is recognized from anywhere in Gnome? I want to…
1
vote
0 answers

How to change windows order in gnome?

For example: List the windows being managed by the window manager. wmctrl -l 0x1 blabla1 0x2 blabla2 0x3 blabla3 0x4 blabla4 Swap window 1 with window 4. $magic_command 1 4 What I want: wmctrl -l 0x3 blabla4 0x2 blabla2 0x3 blabla3 0x1…
Big Shield
  • 612
  • 5
  • 15
1
vote
1 answer

Gnome Shell Extension Override C API?

This may be a question where the answer can be a url to a descent gnome shell extension tutorial because I'm not finding one. The Problem I have, which I want to solve with a Gnome Extension In the gnome settings daemon (see…
Adergaard
  • 760
  • 10
  • 24
1
vote
1 answer

How to create title bar menu in Gnome shell from a Gtk Application

Is is possible to create a title bar menu from inside a Gtk Application? And is it possible with C or Python or does one need to launch GJs and create the menu similar to a gnome shell extension? The picture shows the menu I am talking about (in…
tobias47n9e
  • 2,233
  • 3
  • 28
  • 54
1
vote
1 answer

Soup - POST request with authentication

I'm working on a Gnome-shell extension, and I'm stuck in using Soup to contact a server. Basically, I want to send a POST request which can be performed after authentication. If authenticated, the response if a JSON content, and if not…
1
vote
1 answer

Unable to set keyboard shortcut for opening Xonsh shell

What am I supposed to put as the command while setting a keyboard shortcut to open xonsh in Linux? Putting xonsh as the command does not seem to work although subl launches sublime. (I am using Kali 2.0).
Souvik Sen
  • 23
  • 1
  • 5