As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
1 answer
13 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
46 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
0 answers
11 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
0 votes
1 answer
37 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
  • 31
1 vote
1 answer
113 views
+50

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
  • 175
0 votes
2 answers
87 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
-1 votes
0 answers
103 views

Ubuntu 23.04 - Flatpak GTK Theme problem

All flatpak apps I installed use GTK3 theme instead of GTK4/Libadwaita theme after I updated to Ubuntu 23.04 from 22.10, and they don't respect the system theme (always use light theme, even though I ...
HannorSmith's user avatar
1 vote
0 answers
87 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
  • 757
0 votes
0 answers
13 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
  • 1
2 votes
1 answer
322 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
90 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
0 votes
0 answers
177 views

How do fix "(mousepad:1215): Gtk-WARNING **: 12:13:19.730: cannot open display: :0" error?

When I tried to run this command "sudo mousepad /boot/config.txt" then analog@analog notice an error like this "(mousepad:1215): Gtk-WARNING **: 12:13:19.730: cannot open display: :0&...
Công Minh Đặng's user avatar
3 votes
0 answers
63 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
81 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
32 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
2 votes
1 answer
2k 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
  • 123
1 vote
2 answers
178 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
  • 693
1 vote
1 answer
84 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
0 votes
0 answers
24 views

How to customize GTK file picker display order on KDE?

We use Dolphin normally - but some apps use the GTK picker and forcing the KDE picker doesn't work out well - so instead I'm wondering if it's possible to just change the ordering in the GTK picker? ...
Slbox's user avatar
  • 182
0 votes
1 answer
99 views

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,...
Mick's user avatar
  • 23
1 vote
1 answer
68 views

Using GTK4 to build a small window app [closed]

Once the small program is compiled, I run it by double clicking the executable in Nautilus. When I have a second but completely different windowed app and double click on it while the first windowed ...
JamworksPro's user avatar
1 vote
1 answer
193 views

Ubuntu 22.04 change scrollbar width

In Ubuntu 22.04 I have tried to edit the Yaru-blue theme gtk.css file to make the scrollbar wider. I entered sudo gnome-terminal to open a second terminal as root. In that root terminal I entered cd /...
Barry's user avatar
  • 131
1 vote
0 answers
76 views

How to force a application to use the right GTK version save dialog box

I am running Ubuntu 22.04.2, the long term support version, with unity/lightdm, and Chromium browser from the debian archives. Everything works great except for a couple of native integrations, for ...
Dave Ankin's user avatar
-1 votes
1 answer
42 views

Installing chromeOS theme on ubuntu not working

sudo snap connect [other snap];gtk-3-themes chromeos-themes:gtk-3-themes error: snap "snap]" is not installed gtk-3-themes: command not found and when I entered this for i in $(snap ...
Gwhiz's user avatar
  • 1
0 votes
1 answer
140 views

GTK3 DrawingArea not rendering/updating other than when looking away and looking back

I am migrating some older code from gtk2 to gtk3 and encountering problems in refreshing/rendering/updating. So gtk3 has moved to use draw instead of the old expose_event and this has caused the ...
Ippa Seppälä's user avatar
0 votes
0 answers
23 views

Getting the dark window bar back; Folder path in file manager still white

The default themes on ubuntu 22.04 have retired the dark window bar with a light theme. I do however enjoy that combination and wish for it to be back. With Gnome Tweaks and the yaru-bark theme, I ...
sekthor's user avatar
  • 101
0 votes
0 answers
34 views

Help Installing "Python GTKGLExt" on Ubuntu 22.04 Jammy

I have been trying to figure out a way to install Python GTKGLExt on Ubuntu 22.04 for over an hour with no luck. I’m running on Ubuntu 22.04.1 LTS Jammy. Python GTKGLExt is not available in the APT ...
securetech's user avatar
0 votes
0 answers
111 views

How to debug GTK crashes?

Gramps is a Python/GTK application. It crashes when (GTK_MODULES is set AND XDG_RUNTIME_DIR) is set. If only one is set, there is no crash. The default value of GTK_MODULES has several colon-...
charmoniumQ's user avatar
0 votes
0 answers
26 views

Why do I get error Failed to load module "canberra-gtk-module" when trying to run gtkstresstesting on Ubuntu 22.04

I get this error running from command line. Using Launcher program starts but does not Display. Both 32 and 64 versions installed and I ran the link command. I did what others have suggested, it does ...
treyiii's user avatar
  • 71
1 vote
0 answers
45 views

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 ...
rustydomino's user avatar
0 votes
0 answers
52 views

Gtk-WARNING when running Gedit in WSL [duplicate]

I am getting this error whenever I try to open Gedit on WSL on Ubuntu terminal: (gedit:3271): Gtk-WARNING **: 00:10:01.110: cannot open display: Please suggest a fix to it. Thank you.
Ramit Bose 21BCE1316's user avatar
1 vote
1 answer
296 views

Cannot run an app that uses GTK without root

I wrote a very simple executable in C++, that uses opencv with gtk3 to load an image in jpeg format and show it, When I run it without sudo, I got error: Gtk-WARNING **: 21:58:36.172: Could not load a ...
shelper's user avatar
  • 131
0 votes
0 answers
47 views

Code::Blocks appearance problems

I am using Code::Blocks on Kubuntu with the system theme set to Breeze-dark. When I run code blocks, the color scheme makes it look very bad. I am trying to force light mode for just Code::Blocks and ...
Robert's user avatar
  • 1
0 votes
0 answers
150 views

Custom GTK theme + "symbolic" icons in gnome shell?

How to get the symbolic icon mechanism activated together with a custom GTK theme? Custom GTK theme I'm on Ubuntu 22.04 and made a custom variation of the built-in GTK 'HighContrast' theme for a ...
Anton S.'s user avatar
  • 219
0 votes
0 answers
206 views

Can't open gtk applications in Sway WM Ubuntu 22.10

I installed Sway, I'm used to using it. On my machine I started from Ubuntu Gnome 22.10. Once on Sway, I can't start GTK applications. In my terminal: ~ thunar thunar: symbol lookup error: /lib/x86_64-...
jessy's user avatar
  • 23
1 vote
1 answer
70 views

Launch .desktop file from bash script and await exit

I need to execute a .desktop file with a java version different from what I usually use. To do that, I decided to write a bash script that uses update-alternatives to set the java version to the ...
Solo's user avatar
  • 11
0 votes
1 answer
214 views

Trying to install WhiteSur

I was trying to install WhiteSur theme on my Ubuntu 18.04 I did ./install.sh in terminal after downloading theme pack it shows the following error: what's wrong here?
Abhinav Dharmesh's user avatar
0 votes
0 answers
23 views

How to add an specific command to desktop entry file? [duplicate]

This is my .desktop file : [Desktop Entry] Name=Scilab Exec=/home/bruno/Downloads/scilab-6.1.1/bin/scilab Terminal=false Icon=/home/bruno/Downloads/scilab-6.1.1/share/icons/hicolor/48x48/apps/scilab....
Bruno Duarte's user avatar
1 vote
0 answers
100 views

Transmission GTK errors - syslog contains millions (literally) of errors daily and in app labels and layouts regularly become confused

I have transmission running on this computer loading at startup. I am running Ubuntu 22.04 LTS and have installed latest updates. When I access the app to inspect torrent properties the labels on the ...
PeterMcN's user avatar
0 votes
0 answers
407 views

Incorrect theme in nautilus in Ubuntu 22.10

I was trying to install a theme. Successfully applied the theme through the gnome-tweaks application. After some time, I removed the theme using the command rm -rf ~/.themes/(theme name). But even ...
Kushagra Srivastava's user avatar
0 votes
0 answers
80 views

kde and gtk icon size different

I have an odd issue after a fresh install of Kubuntu 22.10. It seems Evolution is not obeying the icon size that every other app is using. Even non-kde apps such as Firefox and Libreoffice obey the ...
jmchenry110's user avatar
0 votes
1 answer
694 views

Adwaita on Xfce

I like the default theme of Ubuntu but want to keep Xubuntu because it is lightweight. Is it possible to install Adwaita theme on Xfce?
sudoer's user avatar
  • 82
0 votes
0 answers
1k views

How to make Ubuntu look more like Windows 10

I have had this question for a while now, and could never find a clean answer that I was satisfied with, so I am posting my findings here. I have been able to make Ubuntu 22.04 feel and act like ...
Jakedirtysox's user avatar
4 votes
1 answer
168 views

How to disable pre-edit text for accents and tildes?

I use Ubuntu 22.04 with a Spanish layout keyboard. When I type a spanish accent ´ or a carat ^, it is displayed with an underscore waiting for another key press similar to this (image borrowed from ...
GusSL's user avatar
  • 141
0 votes
1 answer
985 views

Window borders customization not affect all applications

[Ubuntu 22.04 - GNOME 42] I searched in the whole web, but I have not found a way to have every application to be managed by a window with a customizable border, both in terms of thickness and in ...
Nicholas Redi's user avatar
1 vote
1 answer
2k views

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 "...
Lizzie Hnatiuk's user avatar
0 votes
1 answer
167 views

Theming gtk2 pcmanfm or any gtk2 app [closed]

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 ...
xdaniel's user avatar
0 votes
0 answers
61 views

Audacity mount issue in Jelllyfish

Attempting to install audacity on Jammy Jellyfish via snap due to some previous issues with using ppa. I refreshed the snap, then purged and reinstalled audacity. However, the program does not run, ...
Pakxos's user avatar
  • 43
0 votes
0 answers
58 views

Ubuntu 18.04 Dracula theme not installing properly

I'm using ubuntu 18.04 and I want to install the dracula theme from https://github.com/dracula/gtk, when I open mate tweaks to install the theme and actually set it, it says I have to install the ...
pro_gamer007's user avatar
1 vote
0 answers
43 views

Client side decorations are not removed in some gtk apps

I'm using Ubuntu 20.04 with Unity desktop and also have gtk3-nocsd package installed. But some programs like bulky which I have downloaded from Linux Mint website work with this and show CSD instead. ...
Maksat Rsymbetov's user avatar

1
2 3 4 5
24