Questions tagged [gtk3]
GTK+3 is a graphical user interface toolkit.
395
questions
1
vote
0
answers
13
views
In 22.04.03 LTS, Save & Open Dialog Reverts to Alphabetical Order When Doing a Text Search, Also Overrides Directory-First Order
In 22.04.03 LTS, Save & Open Dialog Reverts to Alphabetical Order When Doing a Text Search
I have noticed a major quality-of-life issue with the upgrade to 22, which is making it much more time-...
0
votes
0
answers
16
views
In 22.04.03 LTS, When Opening "Save As..." or "Open..." Dialogs from Browsers, Focus Remains in Original Window, Preventing Keyboard Navigation
In previous version of Ubuntu, I was able to use keyboard navigation when saving files in a "Save as...", and similarly when opening files.
However, as of the update to 22.04, whenever I ...
0
votes
1
answer
49
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 ...
0
votes
0
answers
95
views
How to install latest version of gtk+(3.24.38)
I am developing an application that runs on Windows but not on Linux.
On Windows (MSYS2) pkg-config --modversion gtk+-3.0 returns 3.24.38.
On Linux pkg-config --modversion gtk+-3.0 returns 3.24.33.
I ...
0
votes
0
answers
53
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()))
0
votes
1
answer
23
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....
0
votes
0
answers
93
views
Geany terminal icon is missing installed in Ubuntu 22.04
I have geany 1.38 installed on Ubuntu 22.04. The terminal button is missing, even though I installed libvte-2.91.so.0, which seems to be loading. There seems to be something in this snippit
er@Hertz:/...
1
vote
1
answer
151
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 ...
2
votes
1
answer
582
views
How can I add gtk+3.0 from launchpad to 20.04?
Sorry, fairly n00b with Ubuntu. I've searched and tried a few results but not sure how I could add the repo into my Ubuntu 20.04 in order to install gtk+3.0.
I've read:
https://www.jamescoyle.net/how-...
0
votes
1
answer
217
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 ...
0
votes
1
answer
957
views
How to install mingw-w64-x86_64-gtk3 in Ubuntu 22.04?
I am using MingW32 and am trying to install the package mingw-w64-x86_64-gtk3, however, that's not available via the apt install and it looks like you could only install it via pacman. Could someone ...
9
votes
1
answer
2k
views
snapd-desktop-integration flooding syslog
snapd-desktop-integration on my Ubuntu 22.04 desktop system is flooding my syslog here with these messages:
Dec 2 14:19:35 server1 systemd[65032]: snap.snapd-desktop-integration.snapd-desktop-...
0
votes
0
answers
46
views
Ubuntu session doesn't start with error message "Oh no, something went wrong"
Prior information: I've created a gtk.css file yesterday to modify the top bar appearance yesterday and saved it to /home/USERNAME/.config/gtk-3.0/gtk.css
After rebooting today, I've encountered "...
2
votes
0
answers
123
views
Is it possible to activate gtk3-nocsd in GNOME session?
I wanted to try gtk3-nocsd. According to the documentation, it is intended for non-GNOME desktops, but I wanted to try anyway if it will work under GNOME. (In case someone doesn't know, this package ...
0
votes
0
answers
104
views
Ubuntu WSL2 cannot find example files of GTK3
I am learning gtk3 from the documentation and it works fine until a code has example headers included in it like this:
#include "exampleapp.h"
#include "exampleappwin.h"
When I ...
0
votes
0
answers
41
views
My close window button is acting weird
I'm a beginner on GNU/LINUX environments.
I have "riced" my desktop environment a bit by following a tuto on youtube.
I installed among other things a GTK theme.
My problem is that since a ...
0
votes
0
answers
31
views
libglade2.0 version not compatible
I was trying to install phoebe-gui. When I'm trying to do. ./configure the error is showing "cannot find libglade2.0" Even though it is installed in my system. (I'm getting errors in fedora ...
1
vote
0
answers
64
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.
...
0
votes
1
answer
1k
views
Budgie - Panel, Dock mode; customization, modification
Please, is it possible to modify the corners of the panel in dock mode, but only the dock, keeping a top panel straight? Themes like Mojave or Plata seem to have this. If I create a gtk.css (with ...
1
vote
1
answer
485
views
How to disable mnemonic shortcuts in 22.04?
As far as I understand this is not distribution based issue, but something that happens with newer GTK versions, and thus all newer Ubuntu releases after 20.04.
So whenever I have a toolbar in an app ...
3
votes
2
answers
10k
views
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 ...
0
votes
0
answers
77
views
getting error Error: module pwquality: child process exited with code 1 while building gnome-control-center repository
I m new in GTK development with the meson build system and have built a gnome-control-center repository that is using meson build system and built-in c on my system's virtual machine but on a VPS it's ...
0
votes
0
answers
323
views
Nordic GTK3 Theme Ubuntu doesn't work properly
I installed the Nordic GTK3 theme, but it only applies to base software like Files, Calculator, and other default applications. It doesn't work with Discord, Spotify, etc.
I feel I should mention I ...
2
votes
1
answer
1k
views
Which package is pango that is needed to compile Qemu with --enable-gtk enabled?
I'm compiling Qemu with --enable-gtk enabled. .configure gives me the following error messages:
Run-time dependency gtk+-3.0 found: NO
../meson.build:1042:2: ERROR: Could not generate cargs for gtk+-...
1
vote
0
answers
171
views
Dead icons in Ubuntu Dock
I am using Glade to develop a Gtk-3.0 app, in which the exit button (e.g. the window delete-event) does not destroy the application (on purpose, so I can hide it instead and run it in the background).
...
1
vote
1
answer
138
views
Attempt to build gtk+3.0 from source fails
I am trying to apply a patch to the gtk+3.0 on Ubuntu 21.10 and failing. But more importantly, even without applying the patches, I am unable to build the package.
Here are the steps:
apt-get source &...
2
votes
1
answer
359
views
How to show progress in dock icon?
How can I show application progress in a dock icon?
My native GTK3 application which runs on Ubuntu has an icon that appears in the the Ubuntu dock when the application is running. The application ...
1
vote
0
answers
299
views
Gtk clipboard owner-change event: detecting whether the changer is me
It is easy to set the contents of the normal ctrl-C ctrl-V clipboard in Gtk 3 in a Python 3 app, with something like
clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)
clipboard.set_text("It ...
0
votes
0
answers
556
views
The deepin theme is not recognized by Cinnamon because the "gtk-3.20" folder is missing
I use Ubuntu 20.04.3 LTS 64-bit with "cinnamon-desktop-environment" installed.
The link to the theme is the following:
https://github.com/linuxdeepin/deepin-gtk-theme/issues/20
Is there a ...
2
votes
0
answers
61
views
No shadows on menus in Firefox 91
After upgrade to Firefox 91, the menus in Firefox no more have shadows around them. This looks ugly and makes the menus less visible on top of the webpage. Is there any way I can bring them back? ...
1
vote
0
answers
289
views
Can't change scrollbar color in a GTK3 theme without messing with it
I use GoldBars as my GTK3 theme.
Differently from the screenshots, at least for Firefox 89, the vanilla, gray scrollbar is displayed, although other elements of the theme are clearly in effect.
I ...
0
votes
1
answer
531
views
Can GTK themes and extensions access my personal files?
I would like to install third party gtk themes in my laptop running on Ubuntu 20.04. I would like to know of there's any security issues in doing so.
By security issues I meant privacy issues and ...
1
vote
1
answer
1k
views
"--enable-gtk" for qemu configure gives me 'Install gtk3-devel' message. (on ubuntu 18.04, arm64 machine)
I've been using this command to configure qemu-5.1.0 on another machine (ubuntu 20.40, amd64)
../configure --target-list=aarch64-softmmu --enable-debug --enable-gtk
--extra-ldflags="-Wl,--no-as-...
1
vote
0
answers
304
views
cannot change theme of modelio - GTK_THEME variable doesn't work
I use Ubuntu 18.04 and have set my default application theme to adwaita-dark. however Modelio looks awful in this otherwise wondeerful theme - for instance doesn't show a lot of things - as you can ...
0
votes
1
answer
99
views
.profile suddenly doesn't like comments [duplicate]
I'm running Xubuntu 20.10 on a MBA 2012. I wanted to use my GTK theme on a QT program, so I did a little searching and ended up with adding export QT_QPA_PLATFORMTHEME=gtk2 to my ~/.profile. That ...
0
votes
1
answer
101
views
Is it possible to read Python GObject Introspection API documentation offline using already installed packages and files?
On my Ubuntu MATE 20.04 LTS system I see many packages named gir1.2....
For example I want to develop some new functionality on Python using gir1.2-gtk-3.0 and gir1.2-caja-2.0.
Such packages usually ...
1
vote
0
answers
415
views
I am new to GTK3 CSS. Is there a way to have different headerbar textures for specific applications?
I am attempting to modify a theme named "Poppy OS X" to recreate Mac OS X Mountain Lion. I am trying to get custom textures on the headerbar of certain windows (Leather textures on Notes, ...
4
votes
1
answer
1k
views
GTK 3 How to enter file location manually in open/save dialog permanently
In GTK 3 based applications like Sublime or Firefox I have to press Ctrl+L in Open/Save dialog windows each time, to be able enter path manualy.
How do I store this settings permanenlty, to not press ...
3
votes
2
answers
1k
views
Why are all button and menu icons gone?
Using Ubuntu 20.04 I found that - opposed to some other distributions - none of the menu icons or buttons icons are shown.
Is this another "tweak" of the Gnome team?
There has been a ...
0
votes
0
answers
233
views
Having trouble with my Firefox shadows from GTK3 theme
I customized my GTK 3 theme, but Firefox does not show the window border from the theme. What could be the problem? Sorry for the stupid question, but I’m not sure how to resolve this:
I think I ...
4
votes
3
answers
16k
views
How can I customize my GTK theme?
I would like to create a custom theme. Actually, this would be a modified Yaru theme.
I could change the headerbar main color, but I couldn't change the color of its buttons.
Original Yaru theme:
...
0
votes
1
answer
433
views
How to fix incorrect font in Eclipse IDE on wayland without installing GNOME settings daemon?
Currently Eclipse is almost unusable on Xorg due to the bug in SWT: https://bugs.eclipse.org/bugs/show_bug.cgi?id=568859
The only workaround I've deduced is trying the Wayland KDE session. But all the ...
5
votes
1
answer
346
views
mate-panel clock applet non monospace font causes wiggling in notification area
I'm running Ubuntu 20.04 mate desktop. I am customizing the mate-panel. I wanted to use the following digital font and I added the following style to ~/.config/gtk-3.0/gtk.css
#clock-applet-button....
6
votes
1
answer
3k
views
How to install GTK widget factory via Apt?
The GTK widget factory is useful for visualizing and creating GTK themes.
Search engine has led me to some websites1,2 which suggest building it from sources or
adding a PPA. Isn't there a package in ...
1
vote
1
answer
204
views
Xubuntu: LibreOffice dispays no menu icons
I face an issue while using LibreOffice on Xubuntu: LO does not display the icons in the menus.
I don't know if the problem is specific to the gtk3 VCL but I don't have the problem with x11 and qt5 ...
3
votes
1
answer
157
views
Is there (anymore) a keybinding for creating a new folder in the GTK3 File chooser?
In GTK 2, it's possible to create a new folder via shortcut Ctrl+Shift+N. In GTK 3, the shortcut doesn't trigger any behavior.
I've checked the API page, but I can't find the event.
Did the GNOME team ...
1
vote
1
answer
1k
views
Python 3 can't find 'gi' module
This issue began when I was trying to run redshift-gtk. I installed the program manually and it runs fine via just redshift, but I want it to run with the indicator. I always get the following output:
...
3
votes
2
answers
4k
views
PlayOnLinux not working with on wxPython 4.1.0 - ImportError: No Module named wxversion, needs to be wx.version instead
The latest version of wxPython doesn't support the wxversion module. Instead the information is available as wx.version.
Is there any suggested work around to this? Thanks!
My environment is Ubuntu ...
0
votes
2
answers
2k
views
g++ not detecting gtkmm [duplicate]
I have installed gtkmm using apt-get install libgtkmm-3.0-dev. When I try to compile using g++ test.cpp 'pkg-config gtkmm-3.0 --cflags --libs', I get error saying g++: error: pkg-config gtkmm-3.0 --...
0
votes
1
answer
136
views
How can I repair these icons
Look at the top bar, the icons are missing, can someone help me on how to repair this