Questions tagged [gnome-shell]

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

263 questions
3
votes
1 answer

Avoid allocation errors with destroy() and async functions

The following is a simple scenario for some GNOME extension: Enable the extension. The extension is a class which extends Clutter.Actor. It creates an actor called myActor and adds it: this.add_child(myActor). Then it calls an…
3
votes
2 answers

gnome shell extension stylesheet not loading

i'm trying to develop a gnome shell extension and I've created the "Hello World" extension which is created automatically with gnome-shell-extension-tool --create-extension It creates 3 files: example.js, metadata.json, stylesheet.css. I reload…
ArtoAle
  • 2,939
  • 1
  • 25
  • 48
3
votes
2 answers

Move window to screen corners using keyboard shortcuts on Ubuntu 18.04

I'm looking for a way to move windows to screen corners (top-left, top, top-right, right, bottom-right, bottom, bottom-left, left, maximize) using keyboard shortcuts on Ubuntu 18.04 (Gnome Shell 3.28.3). What I tried that does not work: In…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
3
votes
1 answer

How can I test my GNOME Shell extension without risk of crashing the shell?

During development, I introduced an error to my extension that causes gnome-shell to crash upon trying to load the extension with the following rather broadly phrased error message: Execution of main.js threw exception: JS_EvaluateScript()…
raphinesse
  • 19,068
  • 6
  • 39
  • 48
3
votes
2 answers

gksudo replacement for gnome 3

gksudo doesn't support persistent sessions - normally the sudo command retains the privilege granted as a session which lasts 5 minutes or so. gksudo doesn't feature this, and requires the user to enter a password each time. While using gnome 3 (via…
Athan Clark
  • 3,886
  • 2
  • 21
  • 39
3
votes
1 answer

Is it possible to import the Gvc typelib outside of the Gnome Shell environment?

I'd like to use Gvc (libgnome-volume-control) as used in Gnome Shell GIR in GJS, but can't find a way to access it except within the Gnome Shell environment (eg. a Gnome Shell extension). Actually, I can't even figure out where it is. Is this…
3
votes
1 answer

How to list all active sessions in Gnome shell

(System: Ubuntu 17.04 x64, official Gnome flavor, GNOME Shell 3.24.2 Wayland) I have been experimenting with Gnome Shell extensions and some of them cause the session to crash. I have noticed that sometimes just a new session is generated as…
Erixun
  • 41
  • 1
  • 5
3
votes
1 answer

GNOME Shell Extension Button

I'm trying to write an extension with just using JavaScript. I wrote it with Python through Hello World! code. But, yet in the beginning, my button for menu items is not working. Also, I couldn't add menu item with Hello World! code. I think, I miss…
3
votes
1 answer

Grouping windows in tkinter

I have a tkinter application that has a main window (a Tk) and an additional window (a Toplevel). I want these windows to group together in the window manager (GNOME Shell). I believe it is necessary to have both the WM_CLASS resource and the…
Jim Hunziker
  • 14,111
  • 8
  • 58
  • 64
3
votes
0 answers

Catch move event in Clutter Actor but stay transparent for other interactions

I want to build a Gnome shell extension that highlights the mouse cursor. I have a working prototype of a Clutter Actor that draws above all other windows, but mouse movements are only tracked when no other windows are behind the test canvas. My…
tobias47n9e
  • 2,233
  • 3
  • 28
  • 54
3
votes
1 answer

CentOS 7 how to stop / start Gnome desktop from command line

I have remote server running under CentOS 7, usually it's enough to operate using SSH CLI - but sometimes I need a graphic access, so I installed Gnome Desktop there too. But how to stop or start Gnome Desktop ? Especially because gnome-shell eats…
Serge
  • 679
  • 1
  • 9
  • 23
3
votes
1 answer

How to grab keystrokes in Gnome Shell

I'm trying to write my first Shell extension and - as every blog post out there - I am too struggling with the lack of up-to-date documentation... Namely I am trying to grab all key strokes from the keyboard, and - looking at code online and old…
mac
  • 42,153
  • 26
  • 121
  • 131
3
votes
3 answers

Gnome Shell causes QMenu to display in incorrect position when using multiple screens

My Qt app's context menu is displayed in the incorrect position when using multiple monitors on Gnome 3. It would seem that perhaps the culprit here is Gnome Shell, rather than Qt itself, as I can't replicate the issue described below with Ubuntu…
Steve Lorimer
  • 27,059
  • 17
  • 118
  • 213
3
votes
1 answer

Python program with Notification in Gnome Shell doesn't work

I'm writing a python program that takes info from a webpage and show it on Notification in Gnome Shell. I'm using Arch, so I want to start this program at startup and if there is any change on the webpage, it will notify me. Here is my code: import…
mozart
  • 129
  • 11
3
votes
1 answer

How to show stacktrace for gnome-shell extensions in Gnome Shell 3.16.2?

Today, I upgraded from Debian Jessie (stable) to Stretch (testing), and many extensions I need to work are no longer marked as compatible. I'm quite sure it's no big deal for most of them (maybe just manifest.json to update). But my problem is that…
Bruno Duyé
  • 1,014
  • 11
  • 13