gjs Questions

1

Solved

I have checked : https://www.gtk.org/docs/language-bindings/python https://gitlab.gnome.org/GNOME/pygobject/ https://pygobject.readthedocs.io/en/latest/ https://python-gtk-3-tutorial.readthedocs.io...
Feldspar asked 13/7, 2023 at 5:35

2

Solved

Answer to a similar question suggests that I cannot import Shell stuff in a standalone mode. However, as I understand it, St is a separate library written in C. Yet I still cannot import it in gjs....
Tunstall asked 22/12, 2012 at 12:5

1

Solved

I'm working on Gnome shell extension recently. I looked at some code, like this: const Lang = imports.lang; const extension = new Lang.Class({...}) I can't find any information about Lang in GJS....
Fattish asked 13/7, 2021 at 5:25

2

I am writing a simple extension to open browser by clicking the extension button. I would like to know if there is a function which can execute passed shell command as argument. Also, it'd be reall...
Margeret asked 11/4, 2017 at 22:41

6

Solved

EDIT Oct 2016: Please note this question was asked in 2012. Every month or so someone adds a new answer or comment that refutes an answer, but doesn't really make sense to do so as the question is ...
Barry asked 15/5, 2012 at 0:29

1

I have written a small GNOME Shell extension, that I want to distribute to some collegues. For this I created a RPM. After the installation a restart of GNOME-Shell is needed to make the extension...
Cafard asked 8/6, 2020 at 15:28

1

Solved

When I try to run the GJS GNOME Example application from GNOME Builder 3.32.4 (Flatpak'ed), I get the error: bwrap: execvp <application-id>: No such file or directory I tried "Clean" and "...
Lactoscope asked 25/8, 2019 at 11:13

1

Gnome Shell has great shortcuts, however, I don't find a way to call them programmingly Assume that I want to use a GJS script to start Google Chrome, move it to workspace 1, and maximize it, then ...
Knapp asked 13/2, 2014 at 8:25

1

Solved

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 rec...
Inbreeding asked 22/1, 2016 at 13:15

1

I am trying to create simple gtk application for gnome-shell using gjs. Its window contains Gtk.TextView only and I want to process events when user is typing. Here is my code: #!/usr/bin/gjs v...
Selectee asked 4/6, 2015 at 22:56

0

I am trying to develop my own GNOME Extension. I have read several articles: gnome-shell-extensions-getting-started gnome-whiteboards-hello-ide and the official one. StepByStepTutorial#fromScrat...
Randeerandel asked 27/4, 2014 at 21:47

2

Solved

If I'm looking at Gjs code and see this line near the beginning: const Gio = imports.gi.Gio; How can I know what methods, constants, events, etc. are on 'Gio' (without doing a Google search)? Is...
Tomi asked 22/9, 2013 at 18:39

2

If I have a bus name, an object path, and an interface, how do I call DBus methods from Gjs (in a gnome-shell extension)? I'm looking for the equivalent of the following python code: import dbus ...
Thrave asked 18/7, 2012 at 15:20

1

Solved

I'm starting on my first javascript GTK app and I want to download a file and track it's progress with a Gtk.ProgressBar. The only docs I can find about http requests are some example code here: h...
Liguria asked 11/2, 2013 at 6:27

2

As i could see, the Gjs imports, loads only /usr/share/gjs-1.0 and /usr/lib/gjs-1.0 by default. I want to modularize an application, like we can do with node, but i must find modules relative to th...
Sela asked 10/4, 2012 at 17:0

1

Solved

I'm currently building a simple application on Gjs, which should change the background-image of my gnome-shell. A solution on how this can be done using the gsettings-tool can be found here. Since...
Crissman asked 2/4, 2012 at 23:19
1

© 2022 - 2024 — McMap. All rights reserved.