Questions tagged [gnome]
For questions about code that uses any of the GNOME libraries.
1,421
questions
0
votes
0
answers
22
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
107
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
17
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
44
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
37
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
56
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
11
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
59
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
41
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
29
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
51
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
25
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
152
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
56
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
35
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
81
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
27
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
114
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
14
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
50
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
126
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
308
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 ...
0
votes
0
answers
41
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 ...
0
votes
0
answers
16
views
Why, in a folder in gnome, is the common gesture - right-click ... create new file of <type> - not readily available?
Why does gnome not support the gesture ?
Is it a design choice?
UI efforts have discovered this behavior that humans like and have come to expect as a matter of a basic of the human/computer ...
0
votes
1
answer
52
views
How does gnome put a system to sleep on inactivity and wake it on keypress (or other activity)? And where is the code for it?
Where are the documents that describe Linux system's sleep/wake process (note, not the states but the process) and where is the code that implements entering and exiting them?
Wake-On-Keypress is ...
0
votes
0
answers
237
views
How to stop gnome-remote-desktop from command line?
The 'gnome-remote-desktop' takes up about 0.5G GPU memory, so I want it to be stopped.enter image description here
I hope it is just being temporarily stopped, not uninstalled, in case if sometime I ...
0
votes
0
answers
24
views
alternate to gnome-terminal command in windows
In our internal tool, there a command to start wilfly server . But this will work only with linux
gnome-terminal --window --maximize -- /bin/sh -c $var_wildflyHome/bin/standalone.sh &
Is there any ...
0
votes
0
answers
48
views
Show dynamic text in gnome topbar, In a NodeJS App
I am working on an electron application, a time management application. Gnome is my primary desktop environment.
I want to show a countdown timer, in my Gnome top bar. So far all my online search has ...
0
votes
0
answers
124
views
How to use `ctrl+c` in Nvim if GNOME terminal SIGINT call was remaped to ctrl+x?
GNOME terminal SIGINT call was remaped to ctrl+x using stty intr ^X, and ctrl+c was maped to be 'copy'. In Neovim config I have vim.keymap.set("v", "<C-c>", "\"+y&...
1
vote
0
answers
42
views
Connecting to gnome.mediakeys dbus signal
i have this c++ code that tries to connect to the org.gnome.SettingsDaemon.MediaKeys dbus service and listen to its MediaPlayerKeyPressed signal to get notified when a media key is pressed using qt ...
0
votes
0
answers
50
views
How can I split to firefox full screen with awesome window manager
I am using awesome window manager and ubuntu 20.04.
When I set firefox to full screen (F11 button), the screen is split, but it becomes one screen.
I want to split firefox into top and bottom full ...
0
votes
0
answers
750
views
Fedora 38 multimedia playback requires changing audio device in system control center to start playback - How can I fix this?
I'm having a problem with my Fedora 38.
Quite strange behavior occurs when trying to play multimedia.
When opening a video on YouTube, or a song on Deezer/Spotify web, it doesn't play, it stays on ...
0
votes
1
answer
105
views
How to extract values from a dbus signal and write it to a file?
I was looking for signals using:
dbus-monitor --session > gnome-extension-log.txt
I have a signal like:
signal time=1684395360.751890 sender=:1.93 -> destination=(null destination) serial=971 ...
0
votes
0
answers
73
views
Vncserver not connect /.vnc/xstartup: 13: gnome-settings-daemon: not found in EC2
I am trying to add GUI to my Ubuntu 22.04 EC2 instance.
I was following this guide here.
When I run
vncserver :1
I get this error
New Xtigervnc server 'i- xxxxx.ec2.internal:1 (xxxx)' on port 5901 ...
0
votes
1
answer
37
views
GTK4 Library Build fails to include dialog functions
I am trying to build a version of GTK4.4.2 on my Pi4/Bullseye that includes Vulkan support. I have downloaded GTK4.4.2 from gnome.org. I believe I have installed all its dependencies (glib, vulkan, ...
0
votes
0
answers
23
views
How do I add checks for my command script in PySimpleGUI
I am writing a simple GUI which runs a set of git hub commands in terminal. I was wondering how I can add checks for each command script before moving on?
For example: git fetch; CHECK if git fetch is ...
0
votes
0
answers
44
views
gtkmm 3 Xorg TreeView inside a box inside a ScrolledWindow does not render icons correctly
I am trying to design a widget where a tree view and other widgets share a vertical box inside a scrolled window:
The tree view has a text column and an icon column. The icon column stops rendering ...
0
votes
1
answer
30
views
How manage error of xmlReadMemory (libxml Gnome) in a multithreaded environment?
I use the libxml2 Gnome in a multithreaded environment.
When I call xmlReadMemory() I use xmlGetLastError() to have the detail of error message.
However this function, according to the doc, returns ...
1
vote
1
answer
325
views
Can not access xterm via Gnome-Terminal [closed]
Our client wants to somehow call xterm from gnome-terminal and plans to do it on a remote server with a single ssh command.
I can access xterm when I ssh to remote server with -X and call gnome-...
0
votes
0
answers
18
views
How to detect focus of any text fields in any applications?
I need to detect the focus of a text field on the screen programmatically. Like a virtual keyboard would. I've tried to look a little on the side of Gnome, without success. Also, if the solution could ...
1
vote
1
answer
308
views
Why does QFileDialog.getOpenFileName ignore the dir argument on gnome w wayland?
I used to be able to set an initial directory for the native open-file dialog in PyQt5, PyQt6, PySide2 etc. using code like this:
QtWidgets.QFileDialog.getOpenFileName(
self,
'Open file',
'...
0
votes
0
answers
327
views
How to disable client-side window decorations with GSettings overrides in Gnome (Wayland)?
I would like to hide all client-side decorations in Gnome, by setting a GSettings override.
I am aware of one SO answer, which is unsuitable because it targets extension developers.
I am also aware of ...
0
votes
0
answers
71
views
gnome-terminal and tty not typing anymore
Today, I booted on ubuntu (22.04.2). I worked a while, but when I tried to execute my compiled code, terminal didn't show anything (not even printing username/path).
It seems that all applications (...
0
votes
0
answers
140
views
Can't connect to wifi from rust
I'm learning Rust and trying to connect to wifi networks through the code. But, when I try to connect to a network with an incorrect password, I receive the default GNOME connect pop-up, like if I'm ...
0
votes
0
answers
152
views
msgfmt: cannot locate ITS rules when building gnome desktop
Here is the output of jhbuild build:
*** Building accountsservice *** [36/246]
ninja -j24
[2/7] Generating data/org.freedesktop.accounts.policy with a custom command
FAILED: data/org.freedesktop....
0
votes
0
answers
79
views
GNOME contacts - Evolution Data Server: How to get the Object path of the Subprocess in DBus?
I want to add contacts to the addressbook of gnome-contacts from a python application via DBus.
Thus I want to call the method CreateContacts(string[] vcards, uint32 opflags) of the interface org....
0
votes
0
answers
208
views
Problem while launching simple Gnome extension on Ubuntu
When i launch the extension.js demo file that is provided by Gnome at https://gjs.guide/extensions/development/creating.html#a-working-extension
I get this error :
const St = imports.gi.St;
...
0
votes
1
answer
435
views
virt-manager gnome guest, auto-resize after login does not work if I previous set manual display resolution
This is a Ubuntu 22.04 guest, gnonme, wayland session although the problem exists for the xorg session too.
To reproduce:
1 start with a working gnome session, that is, auto-resizing of guest is ...