Questions tagged [gtk]

Questions about the GTK+ graphical user interface toolkit. Used by desktops such as Cinnamon, GNOME, XFCE, Budgie, Mate, and Unity.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
33 views

Nautilus GTK Themes / Nordic

I am new, I think I've tried everything possible but there is no way Nautilus, Settings should look like this (in my oppinion).
Marius-Valentin Văduva's user avatar
3 votes
1 answer
126 views

Can running gtk app in kde via flatpak cause issues in KDE?

I am very new to linux so this is probably a silly question. I am getting used to the various desktop environments, and different frameworks around linux. I am using KDE (on kubuntu) and installing an ...
Leshy's user avatar
  • 43
0 votes
1 answer
53 views

How can I customize the GTK desktop title bar?

How can I customize the GTK title bar for the Gnome/Unity desktop, in Ubuntu 22.04? I have several VMs running under VirtualBox, all in fullscreen mode (which shouldn't be significant) and I want to ...
Jeff Learman's user avatar
0 votes
1 answer
111 views

QT Applications Not Adhering to GTK Theme After Upgrading to Ubuntu 23.10

Hello Ubuntu community, I recently upgraded my system from Ubuntu 22.04 to 23.10 and encountered an issue with QT applications. Despite installing Kvantum and attempting to change the theme, these ...
Ali's user avatar
  • 31
5 votes
1 answer
482 views

How to prevent GTK inspector from opening when opening an app from the terminal?

Very often, when I open an app through the terminal, the GTK inspector also gets opened for that app. Firefox doesn't seem to and VS Code usually closes it on its own. But otherwise, running ~$ vlc or ...
Wade Cheng's user avatar
4 votes
2 answers
1k views

Meaning of GTK critical stderr message

Only slightly worried about this, but I don't like the word critical.I uninstalled Evolution and reinstalled it, got it to work by removing 4 files in the /.conf folder. Everything is working fine but ...
cooked's user avatar
  • 63
0 votes
1 answer
109 views

GTK2 applications broken after upgrade to 22.04

After I upgraded to Ubuntu 22.04 the rendering of GTK2 applications (e.g. GIMP & Chromium) is totally broken. GTK3 applications on the other hand are working fine. This is gtk-demofrom gtk2.0-...
apbr's user avatar
  • 13
0 votes
1 answer
162 views

How to install gtk-recordmydesktop?

I've upgraded Linux to the newest version recently, and re-installed recordmydesktop, but I want to install gtk-recordmydesktop, the one that allows you to pause it and select what part of the screen ...
GlowstoneLove Pad's user avatar
0 votes
0 answers
274 views

gnuradio-companion will not run due to gtk_init error

My issue is very similar to this issue, however I am running gnuradio on Ubuntu local to my windows machine, rather than docker. When I enter the command gnuradio-companion &, I get the following ...
Cameron Tenkel's user avatar
0 votes
1 answer
113 views

Changing GTK Theme From Within GTK Application

I have an application written in GTK and I was just playing around with theme changes via GTK Inspector. I even explored other themes available from GitHub. Is it possible to give an end user of my ...
Leigh K's user avatar
  • 303
1 vote
0 answers
80 views

Warnings when saving a figure with `matplotlib`

I have a simple matplotlib script: import matplotlib.pyplot as plt plt.plot([1, 2], [1, 2], c="b") plt.savefig("./fig.png") When I run the script, the image is saved okay, but I ...
Jake Levi's user avatar
  • 111
0 votes
0 answers
34 views

Identify cflag, libs for a make

I'm trying to build a package from sourceforge that made use of GTK2+. I'm running Ubuntu 22.04 which has GTK4 installed. I've changed the references to GTK2+ to GTK4. But I cannot figure out what ...
taf's user avatar
  • 1
0 votes
1 answer
127 views

Problems with libgtk-3-dev and libgtk-4-dev

I recently installed the libgtk-3-dev/libgtk-4-dev apt packages on my machine. When using the <gtk/gtk.h> header in my C code and compiling, GCC throws an error saying that it cannot find the ...
Renegade's user avatar
0 votes
1 answer
229 views

Installing libgkt-4-dev on Ubuntu 23.10 results in libxfixes3 version mismatch

I'm trying to learn gtk4 application development, but even after a bunch of various attempts to fix it, sudo apt install libgtk-4-dev still returns the following output: Reading package lists... Done ...
grizeldi's user avatar
0 votes
0 answers
56 views

Customize ".config/gtk-3.0/gtk.css" file based on individual applications

Is it possible either to have different gtk.css files to be loaded when different applications launches (e.g. Gedit, Gnome-terminal, Nautilus, etc.), or have specific tags in the file .config/gtk-3.0/...
Nicholas Redi's user avatar
0 votes
0 answers
42 views

How can I let the file date be formatted according to ISO 8601 also in load/store dialogues

I am using Xubuntu 22.04. I have added a line alias date='date -Iseconds' to /etc/bash.bashrc in order to let file dates be formatted according to ISO 8601 (YYYY-MM-DDThh:mm:ss) Further I have ...
Adalbert Hanßen's user avatar
0 votes
0 answers
123 views

How to activate/install scrollbar steppers 22.04

Scrollbars used to have steppers that could be enabled with widget.non-native-theme.gtk.scrollbar.allow-buttons True in the appropriate file. I cannot find any way to do this in 22.04 . I can ...
Yasha Karant's user avatar
  • 1,061
1 vote
0 answers
190 views

Why is KDE's GTK theme overriding Microsoft edge's theme?

I am currently dual booting windows 11 and kubuntu and the problem arises in kubuntu. If you go into the appearance tab of ms edge settings. You can see 3 options: GTK, Light and Dark. I am using a ...
Sagnik Taraphdar's user avatar
0 votes
0 answers
197 views

Dark theme in applications not consistent with chosen custom theme - Ubuntu 22.04

So I like to use a custom theme. But I also like to switch between light and dark themes depending on the room illumination level to preserve my eyes. So I use "Materia-dark-compact" for the ...
Dmitry Orlov's user avatar
0 votes
0 answers
67 views

Web Browser and Ubuntu Software not picking up gtk theme

I am using Ubuntu 22.04.3, and I tried to switch the default theme to "this theme". Other than my web browser and the Ubuntu Software application it seems to be quite consistent elsewhere. ...
Dex's user avatar
  • 1
0 votes
1 answer
360 views

Firefox and other non-gtk applications do not adopt gtk theme

I applied a GTK 3.20 theme by EliverLara github repo following all the instructions. The theme was applied, but Firefox, and probably other non-GTK apps, do not adopt this theme. EliverLara also has ...
ABID HOSSAIN's user avatar
5 votes
2 answers
1k views

GTK bindings for Fortran

Have seen that GTK has binding for different language preferences - C, C++, Python. Does it have bindings for Fortran though ? Have come across gtk-fortran library, but do not know whether it is part ...
Gavat's user avatar
  • 63
0 votes
0 answers
81 views

App status icon not showing on 20.04

I have a test app built on Ubuntu 22.04 using gtk3 that basically does this to create a status icon with an attached menu: #include <gtk/gtk.h> //#include <glib/glib.h> static void ...
complexmath's user avatar
0 votes
0 answers
22 views

How to install gtkesc,gtklev and gtk4dg?

I want to install rw05 in my ubuntu. In the readme file they are recommending this packages over other version. Is there any way to find them or to compile them?
LazyQuercus's user avatar
1 vote
0 answers
87 views

Changing font styles of lightdm-gtk-greeter

I can change my font using the following option in lightdm-gtk-greeter.conf: font-name = ... But I'm not sure how to change the size or weight. I tried putting the following CSS in my GTK theme: #...
what the's user avatar
  • 121
1 vote
0 answers
384 views

Ubuntu 23.04 MySQL Workbench CTD - Gtk-CRITICAL Errors

System Information Operating System: Kubuntu 23.04 GTK 3.24.37-1ubuntu1 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-26-generic (64-bit) Graphics ...
Artillery's user avatar
  • 356
0 votes
0 answers
84 views

Icons not loading for visualboyadvance-m in kubuntu

Trying to run visualboyadvance-m on kubuntu (KDE) which starts however all the icons for the settings do not show, all the letters just show as squares, when running it from the terminal I get the ...
zero's user avatar
  • 1
1 vote
0 answers
272 views

Some XWayland apps become quickly unusable after installing to Ubuntu 23.04

I recently installed Ubuntu 23.04 from scratch, using GNOME Shell. I still use some ~GTK2~ Xwayland apps (e.g. Synaptic and Audacity / Tenacity ~via wx~). The behavior they present is quite strange. ...
Ignacio Carrera's user avatar
1 vote
1 answer
738 views

Ubuntu 23.04 fixing thick window title bar on gtk.css won't work

I used xorg than Wayland on Ubuntu 23.04 Does anyone know why editing the .config/gtk3.0/gtk.css does not work and will not affect nautilus, VSCode and other app title bar/headerbar thickness on 23.04?...
TheNewBeeeee's user avatar
1 vote
0 answers
1k views

Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it

I keep getting this message when running proxychains and my proxies arent even connected when the browser launches. I am using Ubuntu 22.04. The command below did not work and I have updated, there ...
mwilddunber's user avatar
0 votes
0 answers
21 views

Gtk-Message: Failed to load module "gail", "atk-bridge", "canberra-gtk-module", Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: [duplicate]

I have all these libraries installed: fontconfig is already the newest version (2.13.1-4.2ubuntu5). fontconfig-config is already the newest version (2.13.1-4.2ubuntu5). libatk-bridge2.0-0 is already ...
Enoch's user avatar
  • 1
0 votes
0 answers
265 views

Gtk-Message: Failed to load module "gail", "atk-bridge", "canberra-gtk-module"

I am trying to vessel with this command vessel sources and I am getting the following errors. I installed these packeges: sudo apt-get install libatk-adaptor:i386 sudo apt-get install libcanberra-gtk-...
Enoch's user avatar
  • 1
0 votes
0 answers
115 views

How to listen to global application window focused event in Gnome Shell

I want to have a global event listener for application window-focused events, for Gnome Shell/GTk/GObject. For Example: global.stage.connect("window-focused", (app) => log(app.get_id()))
DG_'s user avatar
  • 101
1 vote
0 answers
85 views

Nautilus auto refresh issue

After update to last version of Ubuntu, Nautilus not work correct. It not automatically refresh, if I delete or replace file. It need press CTRL+R to correct display. On video I press „delete“ and ...
Matej's user avatar
  • 11
0 votes
1 answer
53 views

Identical `.desktop` files in different directories

I'm using Ubuntu 22.04 LTS (GNOME 42.5) and messing around with application icons. I noticed that there are some almost identical .desktop files in different files. For example, file bluetooth-sendto....
Yiyang Yan's user avatar
0 votes
0 answers
895 views

How to install a GTK theme?

newbie here. I'll keep it short. I've been trying to install this GTK theme https://www.gnome-look.org/p/1436585but But it won't let me choose it no matter how much I tried. I've done the following: ...
Mirko's user avatar
  • 1
0 votes
1 answer
399 views

How change color of titlebar buttons on inactive windows using css?

So I wrote my own gtk.css in ~/.config/gtk-3.0 to override the installed theme, But now i want to change the color of buttons in inactive windows. button.titlebutton { min-height: 16px; min-width: ...
dEEpZoneD's user avatar
1 vote
1 answer
828 views

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 ...
Gimper's user avatar
  • 41
1 vote
1 answer
837 views

How does Firefox detect light/dark theme change on KDE systems?

I have a few cron jobs which switch between light and dark themes automatically on my KDE system (for those interested, there's the lookandfeeltool where I simply switch between global light and dark ...
J-Cake's user avatar
  • 179
0 votes
2 answers
847 views

Ubuntu-frame on Ubuntu Server

I installed ubuntu-frame on Ubuntu server, but when I tried to run a gtk GUI app (gnome-mastermind) then I got this error: gtk cannot open display: I followed these tutorials: https://discourse....
Grabowsky's user avatar
3 votes
0 answers
263 views

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 ...
Philipp's user avatar
  • 777
0 votes
0 answers
37 views

Make Firefox's "System theme" darker

I managed to get the close button of Firefox to look like my Ubuntu's (22.04) Yaru-dark. However, it's a bit lighter than the system's dark theme (especially the toolbar). Would there be a way to ...
pahohu's user avatar
  • 101
4 votes
2 answers
2k views

Inconsistent dark theme for GTK apps on 23.04

I have encountered the following issue with using Flatpak apps on Ubuntu 23.04. Basically, some (parts of) programs will pick up the dark mode I have selected in the settings, while others will not. ...
Gregory Khvatsky's user avatar
0 votes
0 answers
421 views

Why won't Chromium use dark mode?

I have totally ran out of ideas as to why Chrome/Firefox both won't use my GTK theme which is set to dark. I've been messing around with trying to add --force-dark-mode --enable-features=WebUIDarkMode ...
BrodyStone21's user avatar
3 votes
0 answers
195 views

How to enable accessibility for GTK applications running as root?

I have a graphical application on Ubuntu 20.04 that is run with pkexec to properly get necessary root access. Many users will need the on-screen keyboard for this app, however I noticed that GTK apps ...
Mdurks's user avatar
  • 81
2 votes
0 answers
150 views

Gnome on-screen keyboard not working with GTK app [20.04]

After upgrading from 18.04 to 20.04 the OSK stopped displaying for focused entries in my GTK Desktop app. It still works fine for other GTK apps like firefox, but I'm not sure where to look for a ...
Mick's user avatar
  • 23
0 votes
1 answer
238 views

Preview Pane on ubuntu (jammy) in Nautilus

I like the feature in Windows (Preview pane) but I want this feature in Ubuntu (jammy) in Nautilus File Manager too. If there is any plugin (Kindly share that). Anything through which I can enable the ...
apoorv gupta's user avatar
5 votes
1 answer
11k views

When launching firefox, get error Not loading module "atk-bridge"

If I run firefox in terminal then firefox works just fine, but I get the error message: Gtk-Message: 10:54:24.330: Not loading module "atk-bridge": The functionality is provided by GTK ...
aras's user avatar
  • 153
1 vote
2 answers
932 views

google-chrome and chromium file picker don't pick the correct gtk theme

I still wonder why this happens and does anyone have managed to find any workarounds for this issue. It's very annoying. File picker or save dialog on google-chrome (111.0.5563.146) and chromium (111....
fsevenm's user avatar
  • 743
1 vote
1 answer
275 views

will gtk4 apps run on ubuntu20.04

I think Ubuntu22.04 is shipped with gtk4. But I could not find information about compatibility of gtk3/gtk4. Does a gtk4 app run on a older OS that ships with gtk3? Does a gtk3 app run on Ubuntu22.04 ...
GGinside's user avatar

1
2 3 4 5
24