Questions tagged [gnome]
For questions about code that uses any of the GNOME libraries.
gnome
1,429
questions
-2
votes
0
answers
16
views
How to remove the Dragon symbol from Kali linux Gnome Version? [closed]
I love Kali Linux, but I just want a sober version of it.
I think it's a very stupid and niche question. But how do I remove the dragon symbols from Kali Linux Gnome version on the Application ...
0
votes
1
answer
17
views
How to Simulate Concurrency in GJS?
I am trying to use aosd_cat to visually label each accessibility element on the linux desktop. I can spawn this command synchronously no issue, but cannot find a way to spawn this command in many ...
0
votes
0
answers
43
views
Ubuntu 24.04 sudo apt-get update error after gnome3 installation
Have installed gnome3 on an AWS Ubuntu 24.04 release (along with XRDP and appropriate security rules for the AWS instance) and I am able to remote desktop from a windows machine without any problem.
...
0
votes
0
answers
114
views
"The GNOME 44 runtime is no longer supported" [closed]
Today, the command flatpak update started throwing the following warning:
The GNOME 44 runtime is no longer supported as of March 20, 2024. Please ask your application developer to migrate to a ...
0
votes
1
answer
343
views
DaVinci Resolve 19.0b1 will not start on Ubuntu 24.04
After installing DaVinci Resolve 19.0b1 on Ubuntu 24.04, nothing happens when you try to run the desktop app.
Attempting to run the application in a terminal gives the following error message and then ...
-3
votes
0
answers
11
views
Error: gnome.h: No such file or directory even after installing libgnomeui and its dependencies
when upgrade linux os from 16.04 to 22.04 I am getting gnome error for gtk program with folloing logs
fatal error: gnome.h: No such file or directory
24 | #include <gnome.h>
| ^~~~~~~~~
...
-1
votes
0
answers
27
views
VSCode requires login on start each time a new window is open
VSCode requires login on start each time a new window is open, it says "You're running in a GNOME environment but the OS keyring is not available for encryption. Ensure you have gnome-keyring or ...
0
votes
1
answer
54
views
GLib Object failed to create derivable type object, getting "GLib-GObject-CRITICAL: invalid unclassed type"
I try to create a simple derivable type but i seem to miss something.
When i try to call the virtual method, "MY_ITEM_CLASS(result)" throws the critical error.
Compile with
gcc `pkg-config ...
0
votes
0
answers
15
views
Why the gnome icon I set does not work for JetBrains IDE
The system I am currently using is Arch Linux. The desktop environment is GNOME.
I installed JetBrains Toolbox through AUR, and then used it to install many IDEs. However, the icons of these IDEs did ...
1
vote
0
answers
78
views
In fedora Linux, Waydroid opens in fullscreen mode, but in gnome the top panel is not hidden [closed]
image
I tried dash to panel, but it breaks the interface. The icons in the application menu have a jerky animation. I do not know why this is happening.
Is there any extension that hides the top bar ...
0
votes
0
answers
22
views
Do Qt based applications run better on KDE Plasma than on Gnome with Qt installed as a dependency?
As KDE Plasma Linux Desktop Environment is built on Qt and therefore Qt baked into the system. Are there any extra overheads and extra complexities by running a Qt application on Gnome with Qt ...
1
vote
1
answer
73
views
Callback function doesn't modify widget
I am trying to make a GTK 4 app written in C. I want to make a callback function that reacts to newly selected item from dropdown widget and updates the entry widget with the value of selected item.
...
0
votes
1
answer
42
views
ValueError: Namespace Xdp not available
I want to import Xdp in the Gnome Builder python template called "GTK4 Application".
Adding this:
gi.require_version("Xdp", "1.0")
from gi.repository import Xdp
results ...
0
votes
1
answer
35
views
Simple Example of AdwViewSwitcher from libadwaita
I can't get AdwViewSwitcher to show anything. I don't get any sort of errors, but nothing shows. This is my code:
PRIVATE GtkWidget *window = NULL;
PRIVATE GtkWidget *pref = NULL;
PRIVATE GtkWidget ...
0
votes
1
answer
121
views
How I can send Ctrl-l key input to the GNOME file chooser dialog with at-spi2?
I want to control chromium file chooser dialog without any human intervention on Linux.
I am trying to achieve it with at-spi2 and python. (at-spi2 python binding that made by gobject-intropection)
I ...
1
vote
1
answer
2k
views
How to configure XRDP to work with Gnome on Ubuntu 22.04?
I want to connect to my Ubuntu 22.04 computer with a remote desktop app just like how I connect to my Windows PC. Now XRDP promises to do that, and it is easy to install. However, configuring it so ...
0
votes
0
answers
14
views
gnome-search custom provider for a specific user
I'd like to create a gnome-search provider that is specific for the installing user. I'm creating all of the required files in ~/.local/share but I don't see the search paths for these local overrides ...
0
votes
1
answer
37
views
Is there any difference between actions in GTK and using signals directly?
It seems that actions and signals are very similar. Is there any difference between them? Actions are higher level than signals?
For example, I want to press a button to do something,
I can use action:...
0
votes
0
answers
33
views
libxml2: Fixed/default attributes in XSD
I would like to use fixed/default attributes in XSD validation with libxml2, to “apply” to an xml document fixed attributes only defined in the schema but not in the real xml content.
I see that if I ...
-5
votes
1
answer
51
views
Not able to build gnome-calendar on builder [closed]
I am getting this error when building gnome-calendar using the builder tool provided in Gnome.
The state dir (/home/abhinavgorantla/hdd/code/opensource/gnome-calendar/.flatpak-builder) is not on the ...
0
votes
0
answers
43
views
Position Selenium Firefox driver
I'm trying to start up several Selenium Firefox driver windows side by side. I have successfully changed the size of the window using any of these methods:
options = selenium.webdriver....
0
votes
0
answers
25
views
Python 3: How do I assert that the value of a gobject.GParamSpec is of a particular type?
I'm writing GIMP 2.99 python plugins. All of the arguments in a Gimp Procedure are held as an array of GParamSpec instances. I want to assert that each argument value is the type I expect. My problem ...
0
votes
1
answer
77
views
Change border color of GtkButton when focused
I want to set the border color of a GtkButton when it has focus. I tried the following CSS, but it didn't work.
.toggle-button:focus {
outline-width: 2px;
border-color: #000000;
}
Do I need to ...
0
votes
2
answers
227
views
Writing a Custom GTK widget with template UI files
I am writing a custom widget which will be displayed within an AppWindow (AdwApplicationWindow) using AdwOverlaySplitView for the utility pane.
However, when I placed my custom widget which contains a ...
-1
votes
1
answer
277
views
What is the correct syntax for using 'docker compose' when writing a script?
attempting to run
sudo /usr/local/bin/docker compose exec -T ...
in order to backup a database file
however when referencing documents I see that docker-compose is typically what was there for v1
for ...
0
votes
0
answers
21
views
GTK/GDK/X11 Issue With Window Titles Larger Than Window on Ubuntu 16.04
I am using GTK 3.20.8 on (admittedly old) Ubuntu 16.04 using X11 as the window manager. When there is a window title larger than the size of the window, the title completely disappears, unless the ...
0
votes
0
answers
33
views
GEGL Library Installation on Windows
I am new in image processing field, and I want to use GEGL to try things on Windows, I clone these libraries from Gnome:
gegl.
babl.
glib.
When I opened the examples in GEGLE "hello-world.c&...
1
vote
0
answers
933
views
How to set GTK4 to use system theme?
I compiled and launched simplest GTK4 demo from official GTK documentation using libgtk-4-dev with
#include <gtk/gtk.h>
Somehow, it's considered by my GNOME environment as "legacy" and ...
0
votes
1
answer
29
views
How to maintain a gnome-extension collaboratively?
The gnome-shell-extensions site supports only personal accounts for uploading. How can i do collaborative development with multiple maintainers for an extension, without sharing account credentials?
...
0
votes
2
answers
71
views
How to deiconify and raise Tk window when using GNOME as desktop environment
The program below creates a window that contains a button. When the button is clicked, the window is iconified (minimized). After 3000 milliseconds, the window is supposed to deiconify and raise ...
0
votes
1
answer
48
views
Why does my app crash when adding a valid keyboard accelerator to an action in GTK?
When I add a keyboard accelerator such as "<Ctrl>n" to an action in GTK using gtk_application_set_accels_for_action, the app crashes immediately:
// "app" & "handler&...
0
votes
0
answers
134
views
How to kill from GNOME an application that is stuck and doesn't want to end (here: IntelliJ)?
After some tests running, I was willing to look at the failsafe reports they created.
I did a File/Open that made the box below appearing, and I've opened the target folder to list its sub-folders.
...
0
votes
0
answers
24
views
Disable touchpad while typing on external keyboard
gsettings set org.gnome.desktop.peripherals.touchpad disable-while-typing true
the above tweak disables my laptop's internal keyboard while typing. But this doesn't work same for the external ...
0
votes
0
answers
141
views
How to point Epiphany to a new URL when it was launched in application mode?
GNOME's default browser, Epiphany has a a handy feature that lets you turn any website into what acts like an independent application. In reality all it does is create a .desktop in ${HOME}/.local/...
0
votes
1
answer
63
views
How does one GNOME extension know whether another GNOME extension is installed or not
These are the two GNOME extensions (Dash to Dock and Gnome 4x UI Improvements). If both of them are installed on a system together, then a particular function of the Gnome 4x UI Improvements needs to ...
0
votes
1
answer
62
views
How can I make the GtkSource.View adapt to the dark mode?
I'm facing the problem that GtkSource.View does not change the theme based on the user's selected theme (light/dark mode). Here is a screenshot: Screenshot.
Interestingly, this works perfectly fine ...
0
votes
2
answers
130
views
How can I make the Gtk.TextView render correctly in a Gtk.Box without requiring the user to resize the window first?
Whenever I have a Gtk.Box with a Gtk.TextView inside, the text view is not displayed correctly until I resize the window.
Here are screenshots of an example:
Before resizing window
After resizing ...
-1
votes
1
answer
39
views
Create Gnome Clocks alarm using gsettings
I am trying to create an alarm in Gnome Clocks using the terminal. I am trying to use gsettings, but no alarms are created.
Create an alarm using the user interface
Inspect the value using gsettings
...
0
votes
1
answer
158
views
tkinter: sync geometry() and GNOME 3
For some tkinter app wanted to save/restore windows configurations. Was using geometry() method. Getting the results I have failed to comprehend, I composed an example below to illustrate the problem.
...
1
vote
1
answer
107
views
Attempting to upload or update sketch or firmware always fails
My host is popOS and I suspect that matters here.
I plug in my Arduino and see the device show up:
$ ls /dev | grep -i -E 'acm|usb'
ttyACM0
usb
The default sketch is working as the power LED and ...
0
votes
0
answers
55
views
Debugging a .desktop file for launching Spyder within venv in Debian 12
I need help debugging a .desktop file I've created for launching the Spyder IDE within a virtual environment in Debian 12. Here are the contents of my spyder.desktop file.
[Desktop Entry]
Name=Spyder ...
0
votes
0
answers
230
views
Gdbus wayland: get size and position of a window
I cannot find any examples on how to use gdbus to get the position and rect size of a window.
I am able to get the window's pid using code from other stackoverflow questions, but there is no way to ...
0
votes
0
answers
31
views
PyGObject Scroll to bottom of ScrolledWindow() after adding row to child TreeView
I am building a GUI program that features a "history" that consists of an expanding list containing text entries for every action. I display this using a TreeView whose model is updated ...
0
votes
1
answer
12
views
Programmarically selecting a particular HdyPreferencesPage in libhandy
In GNOME libhandy, I got a HdyPreferencesWindow which contains some HdyPreferencesPage instances (that display as tabs).
How do I programmatically select/show a particular tab? There seems to be no ...
0
votes
0
answers
289
views
Chrome remove titlebar through CLI
Trying to setup a kiosk using gnome-kiosk-mode Wayland on Fedora 38 but when I run the kiosk script:
sleep 15s
if [ ! "\$(pidof eog)" ]; then
/usr/bin/chromium-browser --force-device-...
0
votes
0
answers
17
views
How to Use the Text Copy Feature of Sushi for Ubuntu 22.04 on Ubuntu 20.04
In Ubuntu 22.04's Gnome Sushi, I can copy text while previewing.
In Ubuntu 20.04's Gnome Sushi, I cannot copy text while previewing.
I would like to use Ubuntu 20.04, but I want to use copy text while ...
-1
votes
1
answer
89
views
Xlib window manager not receiving ButtonPress event for xterm window
I have developed a window manager using Xlib, where I handle ButtonPress events to set the InputFocus on clicked windows. However, when I open an Xterm window within my window manager, I do not ...
0
votes
0
answers
282
views
Suspend after screen lock in GNOME on Xorg
I'm using GNOME 43.4 version on Xorg, along with gdm3.
GNU/Linux System Debian 12.
I want to disable the option for the system not to suspend when I lock the screen (Super+L).
By gnome-tweaks and ...
0
votes
0
answers
652
views
With poetry and a pyproject.toml file, how do I distribute/install files outside site-packages, e.g. .desktop files or icons?
This question also asks, what I'm looking for but it's quite old and there hasn't been Poetry yet.
In the documentation I didn't find a way to tell Poetry to create packages which upon installation ...
1
vote
0
answers
70
views
In Gnome + wayland is it possible to paste primary selection with a keyboard that doesn't have an insert key?
I use gnome with wayland and I don't have an insert key on my laptop. Is there any way to paste the primary selection without using an insert key from the keyboard? I don't like having to reach for ...