Questions tagged [gnome-shell]

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

263 questions
1
vote
1 answer

Gnome Shell Extension: Resize and position a window on creation

I am trying to write a Gnome Shell extension that resizes and positions a window when it is created. I am using the move_resize_frame method provided by the Meta.Window object to set the window's size and position, and I've also tried move and…
jqno
  • 15,133
  • 7
  • 57
  • 84
1
vote
0 answers

Unable to enable Gnome system wide extension for QT Application (version GNOME Shell 40.10)

I am using a QT application which also shows an icon over panel but with latest gnome update the icon does not appear anymore. To show the notification icon, i’m trying to install and enable the extension : appindicatorsupport@rgcjonas.gmail.com I’m…
1
vote
0 answers

How to move entire PopupSubMenuMenuItem higher on aggregate menu

I'm curently working on some extension to the gnome-shell. I added a new Popup menu into aggregate menu in status area, but can't move it to the desired position. Tried menu.moveMenuItem(item, position), but it moves only the "main" item, not the…
1
vote
2 answers

Use `hyper` key in Gnome shortcuts

I am trying to use shortcuts in Gnome that involve the hyper-key. I can successfully add them as shown in the picture here: My hyper key is remapped from caps lock via setxkbmap -option "caps:hyper". Hyper works correctly in, e.g., Emacs. (When I…
Dominique Unruh
  • 1,248
  • 8
  • 23
1
vote
1 answer

Gnome software can't uninstall any software: no packages to remove

I'm on ubuntu 22.04 lts and I have a problem with gnome-software 41.5 and gnome-software-plugin-flatpak, the problem is that Gnome software is able to install software and update the system but when I press the uninstall button to uninstall a…
it 2000
  • 11
  • 3
1
vote
1 answer

How to add a slider to a gnome shell extension?

I am trying to add a slider to my extension's indicator, like they do in the sound chooser for example: I tried this code: class Indicator extends PanelMenu.Button { _init() { super._init(0.0, _('My Shiny Indicator')); …
Piero dS
  • 45
  • 8
1
vote
0 answers

how to import seed module in javascript gnome-shell extension

It's quite simple: My js is part of a gnome-shell extension and contains several import lines: [...] const Gettext = imports.gettext; const MessageTray = imports.ui.messageTray; imports.searchPath.push("/opt/tempmon/lib"); // append custom search…
Julian
  • 539
  • 3
  • 7
  • 20
1
vote
2 answers

JavaScript Glib.spawn_async stdout file descriptor

I want to spawn a process using spawn_async in the GLib bindings in javascript in a gnome3 shell-extension. I need something like the "standard_output=True" parameter in the python doc http://developer.gnome.org/pygobject/stable/glib-functions.html…
Julian
  • 539
  • 3
  • 7
  • 20
1
vote
1 answer

How to get key press work in St.Entry of gjs

I want to press the 'Enter' key to call a function; I test many codes in key-press-event part, but no one work. I also don't know which key_symbol is the right one between those Clutter.KEY_Escape KEY_ISO_Enter KEY_KP_Enter KEY_3270_Enter. other…
eexpress
  • 386
  • 1
  • 14
1
vote
1 answer

Will updating a gnome shell extension delete custom css in a separate file made by the user?

I would like to give the users of my extension the possibility to add custom css in a file called custom.css. This file is then imported in stylesheet.css: @import url("custom.css"); The question is: If I release a new version of the extension and…
raujonas
  • 117
  • 8
1
vote
2 answers

Call a function from another gnome extension

My question is simple, is that possible to call a function declared in another gnome extension from my own gnome extension ?
taharqa
  • 1,112
  • 1
  • 13
  • 19
1
vote
0 answers

Ubuntu 18.04.4 LTS crashes while browsing and while training with Tensorflow

I'm getting strange behavior in Ubuntu 18.04.4 LTS since the very begining I freshly installed it along with Windows in a dual boot config. While I'm using it, even if I'm browsing, coding or training Neural Networks with Tensorflow I'm getting…
1
vote
1 answer

How to start gnome's built in screen recorder via command line?

How to start gnome's built in screen recorder via command line? I have gone through this post the command I am using is gdbus call --session --dest org.gnome.Shell.Screencast --object-path /org/gnome/Shell/Screencast --method…
PRATAP
  • 127
  • 3
  • 17
1
vote
1 answer

ubuntu Run script with parameter - as keyboard shortcut gnome

How to make a keyboard shortcut under gnome run a shell script with parameter ? On terminal the following works fine: sbv.sh 50% It adjusts the volume of a speaker. The path of the script is /usr/bin. But when entered as a command for…
Joseph
  • 11
  • 2
1
vote
1 answer

How to run Gnome-Shell under Docker?

How do you run Gnome-Shell from inside Docker? I'm trying to create a simple continuous build process for a Gnome Shell Extension, just to simulate and test installation. In order to make it easier to test the build for various flavors of Linux, I'd…
Cerin
  • 60,957
  • 96
  • 316
  • 522