gtk

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

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 application via flatpak. While installing I see …

Total answers: 1

How can I customize the GTK desktop title bar?

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 see which VM I’m using at the top of the screen, along …

Total answers: 1

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

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 applications refuse to follow the GTK theme. The discrepancies extend to the mouse …

Total answers: 1

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

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 Building dependency tree… Done Reading state information… Done Some packages could not be installed. …

Total answers: 1

GTK bindings for Fortran

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 of GTK or a separate library. And would it be compatible with the GTK releases (GTK-4) …

Total answers: 2

Identical `.desktop` files in different directories

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.desktop both exists in directories /usr/share/applications/ and ~/.gnome/apps/. The content of the two files are as follow: /usr/share/applications/bluetooth-sendto.desktop [Desktop Entry] …

Total answers: 1

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

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 themes (I had to define my own based on others with the …

Total answers: 1

Ubuntu-frame on Ubuntu Server

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.ubuntu.com/t/run-ubuntu-frame-on-your-device/29377 https://mir-server.io/docs/run-ubuntu-frame-on-your-desktop I was setting display:0 and WAYLAND_DISPLAY=wayland-0 but nothing helped. Because the display was gray (ubuntu-frame default screen), I connected …

Total answers: 2

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

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 natively. Please try to not load it. How do I get rid of this error message? There …

Total answers: 2

Gtk desktop app delayed on first launch (20.04)

Gtk desktop app delayed on first launch (20.04) I have a Gtkmm desktop app that requires root access. It worked fine on 18.04 using Lxqt-sudo but after upgrading to 20.0.4, it takes ~30 seconds to open only the first time after booting. In addition, it will skip the splash screen that’s supposed to show for …

Total answers: 2

How does GTK theming work?

How does GTK theming work? Running 22.04 LTS. I have installed gnome-extensions and gnome-tweaks, and I can get various applications as well as the GNOME shell to change their appearance. However, not all applications or windows respect the changes to the themes. For instance, nautilus just seems to use some kind of a default theme, …

Total answers: 1

How to set GTK theme on Ubuntu 22.04 LTS (like you could in 20.04)?

How to set GTK theme on Ubuntu 22.04 LTS (like you could in 20.04)? I have just switched from 20.04 to 22.04 LTS, and I am having issues with my previous GTK theme. I was using the gnome-tweaks app and the place where I set my GTK theme before (used to be called "applications") is …

Total answers: 1

Theming gtk2 pcmanfm or any gtk2 app

Theming gtk2 pcmanfm or any gtk2 app I’m using PCManFM and I want to change the sidebar to a grey color. I know there’s a Gtk 3 version but I don’t want to add another repository. I’m also learning the Gtk+ UI toolkit and how Gtk theming works so I’d like to learn with this …

Total answers: 1

Not able to compile GTK files

Not able to compile GTK files I installed gtk manually through source and everything was correct but when I try to run my gtk C files. It gives an error saying that the <gtk/gtk.h> are not found. So far I understood that it’s because of my PATH because when I change the line:#include <gtk/gtk.h> to …

Total answers: 1

How to run a graphical application as another user?

How to run a graphical application as another user? Let’s an user A (userA) wants to run in his graphical session a graphical application as user B (userB). How is it done it on a modern GNU/Linux system? Asked By: Scrooge McDuck || Source Short answer Install the run-as scripts and run: run-as -X <user> …

Total answers: 1

Error With gtk-launch: Unable to find terminal required for application

Error With gtk-launch: Unable to find terminal required for application I tried to use the following command: gtk-launch nvim file.txt But it gave me this error: gtk-launch: error launching application: Unable to find terminal required for application How am I supposed to set the terminal required for application? I already set my $TERM and $TERMINAL …

Total answers: 2

Ubuntu 22.04, iBus Chinese input doesn't work with Nvidia driver

Ubuntu 22.04, iBus Chinese input doesn't work with Nvidia driver In Ubuntu 22.04, with the default Nouveau driver, iBus Chinese input works fine. But with Nvidia driver (510 and 470 tested, maybe all of them), I can only input Chinese in Qt based applications and gnome shell. While in all the GTK based apps(like gedit, …

Total answers: 2

How to add QT_QPA_PLATFORMTHEME=qt5ct environment variable in Arch Linux?

How to add QT_QPA_PLATFORMTHEME=qt5ct environment variable in Arch Linux? I am using a standalone tiling window manager QTile. In QTile I want to organize my GTK and QT Themes. For GTK theme I used a program named "lzappearance" and it works perfectly fine. But, for Qt I am using a program named as "qt5ct". On …

Total answers: 3

how to change google chrome colors from a gtk theme

how to change google chrome colors from a gtk theme I am currently using the dracula theme in gnome, but it has the problem that the active google chrome tab is the same color as the rest There are other gtk themes that manage to change the title bar color, but I am not succeeding. …

Total answers: 2