1,425 questions
0
votes
0
answers
23
views
Why does the titlebar crossfade transition work one way and not the other using libadwaita?
In the first code example, there is a crossfade animation that happens between changes.
import sys
import gi
# Require specifically GTK 4.0 and Adwaita 1
gi.require_version('Gtk', '4.0')
gi....
0
votes
0
answers
65
views
Qt tray icon in Gnome
Why when I click on any item in Qt tray menu in Gnome the cursor becomes to busy shape even if it closes the app? How to fix this?
QMenu *menu = new QMenu();
QAction *closeAction = menu->addAction(&...
2
votes
1
answer
179
views
Undecorated JFrame freezes when setting background to transparent at runtime in java swing, gnome desktop
I'm basically trying to build my own custom undecorated JFrame where when I press the title JLabel, I show a custom matte border around the JFrame and make everything else on the JFrame transparent ...
0
votes
1
answer
141
views
Adwaitia preferences dialog that pops over the application window, rather than poping up within it
I have a GTK4 Adwaita application built with GJS. I'm trying to add a PreferencesDialog that pops up over the ApplicationWindow but blocks interaction with the window, similar to a lot of other ...
0
votes
0
answers
66
views
SMPlayer can't find and apply papirus theme/style
I am using archlinux, gnome version 48.1. My smplayer can't find and apply papirus theme/style. How can I sovle it :(
Some works I have tried:
I have installed smplayer-themes smplayer-skins via ...
1
vote
0
answers
1k
views
mutter unable to create virtual display in gnome wayland
I would like to create virtual display (extended to the actual display) then cast this display over wifi to another laptop (basically trying to use the display of another laptop as secondary monitor/...
0
votes
2
answers
70
views
JavaFX, dialog size in actual gnome
i have a problem with the dialog size. After the program-window, i open another dialogs. The dialogs has a size. This works with Windows, Linux with KDE and older Gnome (Ubuntu 22.04) but not with the ...
0
votes
1
answer
131
views
JavaFX App icon is not displayed in Dock on Ubuntu 24
My JavaFX application has stopped displaying the icon on Ubuntu 24, even though it worked perfectly on Ubuntu 22. JavaFX - 21. The icon is a 128x128 PNG and is set as follows:
public class MainFX ...
1
vote
0
answers
46
views
Launching modular java application in GNOME
I have a modular java application that I'm trying to launch via a desktop file in ~/.local/share/applications:
[Desktop Entry]
Type=Application
Name=Converter
Path=/home/craig/ca.footeware.converter
...
0
votes
1
answer
95
views
/usr/local/bin/xmllint: undefined symbol: xmlMemSize when compiling webkitgtk-2.46.3
During compilation of the latest stable release webkitgtk-2.46.3 I'm getting this error:
raphy@raohy:~/Downloads/webkitgtk-2.46.3$ cmake --build builddir/
[ 92%] Built target ...
8
votes
3
answers
10k
views
Anaconda Navigator Cannot initalize GLX
I use Fedora Nobara. I made an update to Nobara 40. Before that anaconda navigator was working perfectly and now it gives me this error
> conda activate TheWorld
> anaconda-navigator ...
0
votes
1
answer
153
views
Is there an example of pointer constraints for Gtk4 wayland windows?
I realized that Gtk does not have related API, I need to use Pointer constraints protocol according to
Locking mouse cursor to specific window
But I don't know how to use this protocol in my Gtk code.
...
1
vote
1
answer
140
views
Getting display/workspace dimensions in a GNOME Shell extension
I'm on Ubuntu 22.04 LTS using GNOME Shell 42.9. I've writen an extension that will position and resize a window based on its title, but I want to position the window in the horizontal center of the ...
0
votes
1
answer
58
views
Electron dialog.showOpenDialog doesn't respect filters on Linux
I want to filter when choose a file with showOpenDialog on Electron.
I would like to make user able to choose Markdown (md) only.
But it is not respected.
So now User can select a file of all type.
...
1
vote
1
answer
131
views
Write to a file from gnome extension
In order to write to a file from the gnome extension, I use replace_contents_bytes_async, as in the example here https://gjs.guide/guides/gio/file-operations.html
extension.js:
import { Extension } ...
1
vote
0
answers
289
views
Getting screenshots and title/application name of a window in ubuntu 22.04 wayland
There is a Linux application that collects activities in the current GUI session: once every time it takes a screenshot of the screen and writes down the name (title) of the window that is in focus ...
1
vote
0
answers
190
views
Fedora 40: ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process
I have an issue with running the `Insightfull.io` Workpuls app on my Fedora 40.
I've installed it as an executable file so all I did :
./Workpuls.AppImage
The application launched successfully but I ...
1
vote
1
answer
82
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 ...
1
vote
1
answer
458
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
280
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 ...
0
votes
1
answer
887
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
167
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
180
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
2
answers
1k
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 ...
3
votes
0
answers
2k
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 ...