GTK4 is a graphical user interface toolkit.
Questions tagged [gtk4]
13 questions
8
votes
4 answers
How to apply system theme to flatpak apps that use GTK4?
I use one of default themes - Yaru-dark Gtk Theme. I installed it via flatpak as well. The application id is org.gtk.Gtk3theme.Yaru-dark. Some apps that I installed via flatpak follow it, but others do. I noticed, that apps that do not follow it use…
matusf
- 351
6
votes
1 answer
How to compile a GTK4 application in Ubuntu 21.10?
I am trying to compile a C GUI application using GTK4. I was previously told here that both Ubuntu 21.04 and 21.10 would have both GTK3 and GTK4. However, when I installed Ubuntu 21.04 only GTK3 was present. I then did a dist-upgrade to 21.10 and…
Leigh K
- 363
5
votes
2 answers
How to make GTK Inspector changes permanent?
The "new" Text Editor in Ubuntu 22.10 / 23.04 / 23.10 (and I am not talking about the old gedit tool) has large top margin in the edit area (just above the first line) as shown below:
Today, I came across the GTK Inspector which can be activated…
FedKad
- 13,420
5
votes
3 answers
Hide Top Bar in overview
What I want to do:
Hide the GNOME Panel while Overview/App Grid is open, but show it on the desktop. So when I go to my activities overview or look at my apps, the panel is not there. But when I am looking at the desktop, it is there, and I can…
Zany_Zachary1
- 900
3
votes
0 answers
Ubuntu 23.04: Weird white windows on some applications (GTK4)
I recently upgraded to Ubuntu 23.04 and have noticed that some applications are displaying a white border instead of applying the system theme. I suspect this may be related to the update to GTK4.
I would greatly appreciate any insights or…
Philipp
- 777
2
votes
1 answer
Need to update GLib library but the current version is assumed as the newest (it's not)
So I tried creating my first GTK 4 program using example-0.c using https://docs.gtk.org/gtk4/getting_started.html#basics guide, but I got the later-described error regarding G_APPLICATION_DEFAULT_FLAGS.
So I'm assuming my GLib version is older than…
Gimper
- 51
2
votes
0 answers
GTK4 app fonts very large in other window managers
When I open gtk4 gnome apps (ex. calculator) in other wm's (ex. openbox) the interface font is very large.
Any way to make it smaller? I'm on Ubuntu 22.10.
Thanks.
vaskark
- 393
2
votes
1 answer
Will Ubuntu 22.04 Carry GTK4?
I am not sure if Ask Ubuntu is the right place for this question, or if I should be asking this at https://discourse.ubuntu.com/, but I am looking ahead to the next LTS release and hoping that it will contain GTK4. I develop GTK applications and…
Leigh K
- 363
1
vote
0 answers
How to upgrade GTK4 to specific version
I've recently started my journey with Python and GTK library.
First Glade and GTK3 now I've updated to GTK4 and Cambalache.
However..
Developing new UI and trying to run my first initial draft of UI, threw up and error:
gi.repository.GLib.GError:…
gunhasiz
- 11
1
vote
0 answers
How do you interact (close, minimize, maximize windows) with Files Windows in Ubuntu 22.10?
In Ubuntu 22.04, you could use wmctrl to interact with Files windows. In Ubuntu 22.10, wmctrl no longer works. How can one interact with Files windows in Ubuntu 22.10?
Ubuntu 22.04
userabc@apollo:~$ wmctrl -lp
0x05000008 0 44604 apollo Downloads …
Chris A.
- 55
- 5
0
votes
0 answers
Gnome theme doesn't change (only terminal appearance)
I tried to apply Sweet - New Flavor - GTK3/4 Themes, but I used this command (by terminal) in ~/themes folder. (not .themes folder, my bad)
gsettings set org.gnome.desktop.interface gtk-theme Sweet
gsettings set org.gnome.desktop.wm.preferences…
milliekitten
- 11
- 1
- 3
0
votes
1 answer
Problem with theme after upgrading Ubuntu 22.04 to 22.10
After upgrading Ubuntu 22.04 to 22.10 the dark theme stopped working for GTK4 apps. Nautilus, settings etc. have default light theme no matter what I change.
When i change dark/light theme in settings>appearance, older apps change appearance but…
0
votes
0 answers
22.04 file chooser automatically resizing in snap apps
The open and save file dialog windows in Firefox or Brave enlarge themselves in 1 second intervals until they take up the entire screen and do not respond correctly to input, automatically reopening. It is possible to close the misbehaving app from…