Questions tagged [gtk3]
GTK+ (GIMP Toolkit) is a cross-platform framework for creating graphical user interfaces. GTK3 is version 3.
118
questions
0
votes
0
answers
34
views
cc linker error
I'm writing a C application based on GTKlibrary on Debian 12.
The program is build by a Makefile, generated from cmake.
The compile phase of the source files is correct but when the linker is fired I ...
0
votes
0
answers
18
views
Naming inconsistency in GNOME `.directory` and `.application` files
I'm using Debian 11 with GNOME 3.28 and I noticed that there are a lot of naming inconsistencies in .directory and .application files.
For example, the name field of Utility.directory is Accessories ...
0
votes
0
answers
204
views
Failed to load /usr/share/icons/Adwaita/24x24/status/image-missing.png
I cannot start xfce thunar, got error of "Failed to load /usr/share/icons/Adwaita/24x24/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)":
Gtk:ERROR:../../...
0
votes
0
answers
97
views
How to manually "add" GTK+-3.0 libraries for ARM on a i386 Debian Stretch 32?
I'm working on this old PC running a Debian Stretch 32 bit: some years ago there was the need to compile wxwidgets for arm-gnueabi-hf and was tried to use multiarch to install GCC and GTK2. Something (...
0
votes
0
answers
43
views
Weird Artifacts on Thinkpad T60/Mobility Radeon X1400
I'm Running Arch (Kernel 5.15.86-1-lts) on my Thinkpad T60 with an AMD ATI Mobility Radeon X1400 GPU with the Radeon drivers installed. I'm using the Mate Desktop environment, but I've also ...
0
votes
1
answer
166
views
GTK app and serial port handlers
I’m writing a GTK C application for Linux OS on an embedded board.
The first main window opens a serial (virtual) port for receive the data from a bar-code reader.
I’m using standard open() function (...
1
vote
0
answers
83
views
Guake (GTK3) started switching tabs on mouse scroll within terminal -- what causes this, where can this be (un)configured?
I use the quake drop-down terminal a lot.
Recently, it started to switch between tabs when I use my mouse wheel anywhere in a terminal.
Usually, I use the mouse wheel to scroll within the terminal, ...
1
vote
0
answers
155
views
how to change scrollbar slider color in a theme
Running Debian 11 and xfce, I'm trying to figure out how to change the default scrollbar slider colors, the dull grey just doesn't do it for me.
Edit: Ok, this works:
scrollbar
{
-XfceTasklist-min-...
0
votes
1
answer
496
views
Can't theme programs in Qtile
I followed this guide:
https://github.com/antoniosarosi/dotfiles.
Programs like Thunar, Firefox, and qbittorent don't seem to follow the theme. I installed lxappearance, kvantum, and qt5ct and tried ...
1
vote
0
answers
210
views
KDE ruined Xfce settings
I'm on Archlinux and I recently installed KDE. I use Xfce, but I thought I'd try it to see what's new (still hoping for a KDE3-like with up-to-date Qt). I installed the plasma-meta package, it worked, ...
2
votes
1
answer
229
views
gsettings commmands and their gconftool-2 alternatives
I installed a package gsettings-desktop-schemas that installs databases/schemas used by a lot of new GTK apps. It also installs a tool gsettings that we can use to tweak the schemas in order to affect ...
2
votes
0
answers
390
views
GTK3 - How to set Font on a per-application basis?
I have seen this question about setting a GTK3 theme on a per-application basis. However that question is about changing the theme but no mentions about the font/font size.
Is it possible to change ...
1
vote
0
answers
1k
views
Select GTK theme in Wine-staging under Plasma 5
I am using Plasma 5 with the dark default theme and would like to have dark-themed apps under Wine as close as possible to the main one. I had some success by using msstyles with winecfg, but I have ...
1
vote
2
answers
2k
views
After installing Eclipse and I get a "Please ensure that WebKit with its GTK 3.x bindings is installed" error when running it
On RHEL 8 I just installed Eclipse 2021-09 from the standalone install archive eclipse-jee-2021-09-R-linux-gtk-x86_64.tar.gz.
When running it, the application opens up with the default window, but ...
1
vote
0
answers
61
views
Run graphical program without rendering graphics
I would like to run a 3d game, but I wouldn't like to spent time rendering it. The idea would be that as I'm not limited by the rendering, I could run simulations a lot faster.
I'm pretty sure that at ...
1
vote
2
answers
863
views
Why GVim doesn't use dark theme?
I want to make the interface of GVim to use dark theme. I have the following line in my ~/.config/gtk-3.0/settings.ini:
[Settings]
gtk-application-prefer-dark-theme=1
All my GTK apps use dark theme ...
0
votes
1
answer
1k
views
How to get python to recognize pip modules
I attempted to import a module that I installed using pip into my gtk code, but once I run it I only get an error “ModuleNotFoundError”. It seems that it does not recognize that I even installed the ...
0
votes
1
answer
85
views
liferea / webkit: GTK coilor theme ignored after minor version upgrade
I am using liferea on Debian 10.
After executing regular upgrade of these 2 packages:
apt-get update && apt-get upgrade
2 packages have been upgraded to newer version:
libwebkit2gtk-4.0-37, ...
0
votes
1
answer
2k
views
How to use different GTK theme in chrome and System?
I want to use the Arc-Darker theme in chrome and Arc-Dark in my system but when I click on use GTK+ in chrome then it uses the default system theme (Arc-dark) but I want it to use a different one.
I ...
0
votes
1
answer
476
views
How do I enable gtk theming in wine when the checkbox is greyed out
I have installed wine-staging 6.1 from the aur on arch.
When I open winecfg and go to the "staging" tab, the checkbox to enable gtk theming is grayed out
Is there a way to fix this like a ...
1
vote
2
answers
967
views
List only pointers with xinput
I'm trying to write a GUI tool to restrict a pointer to a specific monitor (e.g. a touchscreen pointer should map onto its own screen and not across the union of all monitors). The tool is in Python (...
1
vote
1
answer
1k
views
Chrome on Linux tiny menus, toolbar and default (100%) page size
On my Lenovo I am running Debian and XFCE and I have a quite high resolution screen but it being 15", I have to resize everything otherwise it's too small. Now on Chrome everything, tabs, search ...
2
votes
1
answer
252
views
Control+t (C-t) does not work in some distros
This article is about the keyboard key combination 'Control + t' (smallcase 't') and emacs.
This problem is exclusive to the gui version and does not come up while using the terminal.
I am using ...
2
votes
1
answer
71
views
GNOME Materia Theme Help
I've been using Manjaro for a few months and it's been great so far. I'm using GNOME and the Materia GTK theme for my desktop.
However, while the Materia Light Theme works perfectly, I can't switch to ...
3
votes
2
answers
2k
views
GTK3 programs not launching with correct theme or settings (even with config files)
Currently all my gtk3 apps launch in the standard Adwaita theme. I have been, so far unsuccessfully, trying to get them to launch in the dark variant.
I know this should work beacue when I do ...
3
votes
2
answers
6k
views
List / folder of all GTK icons and their names
I am working on a GUI. I use the gi module in Python. I want to add some icons to my GUI but I couldn't find a list of all icons with their corresponding names.
Where can I find such a list? Is there ...
4
votes
3
answers
1k
views
Traditional scrollbars in GTK2 applications
To enable traditional scrollbars with scroll buttons in GTK3 applications I have added the file ~/.config/gtk-3.0/gtk.css with the content
scrollbar {
-GtkScrollbar-has-backward-stepper: true;
...
5
votes
2
answers
9k
views
How to change the color of an active window title bar in GNOME?
I found on StackExchange how to change the color of the title bar of an inactive window (in GNOME 3):
~/.config/gtk-3.0/gtk.css:
headerbar.default-decoration {
background-color: #c00; /* red */
}
...
1
vote
0
answers
988
views
KDE Plasma Colors are not changing correctly
I installed KDE Plasma Version 5.12.9 on Linux Mint 19.3
It's working fine excpet the colors
After a few problems with themes I managed to get them working, but not all colors are correct.
The System ...
1
vote
0
answers
113
views
GTK/QT File Chooser: automatically search in subfolders
is there a way to let these two file choosers automatically look in subfolders?
Up until a few months ago, I could be in the gtk3 file chooser in /home/me and type 'stock' and it would suggest /home/...
1
vote
1
answer
2k
views
Is there a way to upper-case a selected text?
I use gedit text editor;
in this application I can easily change the case of a selected text:
all UPPER case
all lower case
invert case
title case
(screenshot)
The question is: is there a ...
1
vote
1
answer
2k
views
How to resize titlebar buttons?
I am trying to resize the close, minimize, maximize buttons. I do it like this:
.titlebar.default-decoration button.titlebutton {
min-height: 36px;
min-width: 36px;
-gtk-icon-transform: scale(1....
1
vote
0
answers
194
views
How do I remap a set of hotkeys only when a certain window is in focus?
Is there a way to remap keys on the keyboard to an alternative configuration on a window-by-window basis?
I don't know how it works on Linux but on Windows I can detect a window by its title and ...
1
vote
1
answer
555
views
Can't link to gtk+3.0 after update of the GCC compiler
On my Debian 9 system with Code::Blocks IDE I used to compile and link fine my gtk+3.0 application. But after update to the newest Debian 10 the linker cannot link to gtk+3.0 correctly.
Here are the ...
0
votes
2
answers
657
views
How to use GTK_DEBUG to MATE Caja?
I'm working on a GTK3 theme and I use GTK_DEBUG=interactive to test changes in the CSS.
I start an application with the gtk inspector attached, I launch it with:
$ GTK_DEBUG=interactive <name>
...
2
votes
0
answers
264
views
How to stop GTK3 applications from hiding or shrinking the scrollbar?
I notice that many GTK3 applications hide the scroll bar, or made it shrink so it is so small as to be barely visible. Is there any way to customize these settings so this behavior is not present? I ...
2
votes
1
answer
581
views
GTK3 gsettings usage
As background: Electronics engineer, follow suckless philosophy (where posible), no knowledge about X and and any kind of toolkits (GTK or Qt), using arch linux, cannot stand GNOME.
It bothers me ...
0
votes
1
answer
640
views
C program does not run on buildroot
I work for buildroot. My purpose work GUI on my buildroot with Gtk3.0 and Gstreamer1.0. I use Olinuxino A13 so I wrote GUI code(Gtk3.0 hello world example) on this with codeblocks. I use Debian wheezy....
1
vote
0
answers
597
views
Tool to inspect desktop theme elements?
I just purchased a HiDPI monitor and though I've been able to fix the bulk of problems following the Arch HiDPI guide, there are still many problems to fix and I can't identify some of the desktop ...
0
votes
1
answer
172
views
vala-appmenu does not hide non-global menu for Eclipse
vala-appmenu does not hide non-global menu for Eclipse:
Everything is okay for other GTK2/3 apps (Eclipse is SWT, which is backed by GTK3).
DE: xfce 4.12
Distro: Arch Linux
vala-appmenu: 0.7.1.r19....
1
vote
0
answers
98
views
Cairos's configure output: Is it enough for Firefox?
I intend to compile Firefox from the source. For that, I do need to compile GTK. And for that, I do need to compile Cairo.
After solving some of Cairo's dependencies, I was able to run the configure ...
0
votes
0
answers
151
views
Make GTK3 applications use the GTK2 dialog for font selection?
I prefer the user interface of the font-selection dialog of GTK2 to that of GTK3. How can I make GTK3 applications use the GTK2 dialog?
EDIT: Unfortunately, Gnome doesn't let me take screenshots of ...
1
vote
1
answer
24
views
On clicking Show Application in docker start hanging
I changes my theme by following youtube video. Now after changing theme my app launcher has started freezing and hanging and also background image has became fuzzy and so to reset i have executed
...
5
votes
3
answers
6k
views
GTK+3 change text color in a label (raspberry pi)
I am trying to change the color of text in a label on the fly at runtime. I've tried applying a css style, I've tried two depreciated methods, and none of it works. Can it even be done, and if not, ...
2
votes
2
answers
269
views
GTK3 Folder Name dialog is white on white
Since browsers on Xubuntu started using GTK3 instead of GTK2, and when saving a file, the dialog for entering a new folder name is white on white and hence unreadable.
I gather this might be changed ...
3
votes
1
answer
3k
views
Setting up the dark Greybird theme on Xubuntu 18.04
I have read that Xubuntu 18.04 has a dark theme, but I could not find it anywhere. I have manually upgraded to the newest version from 16.04. Perhaps this is the reason why I could not find it, or do ...
1
vote
2
answers
5k
views
GTK3 Icon theme and window decorator per-application basis
I found here :), I can set a particular GTK3 theme per-application basis :
GTK - Enable/set dark theme on a per-application basis
Now I want to force :
A particular icon theme per-application basis
...
0
votes
0
answers
117
views
No titlebar and no scrollbars in a gtk3 app in Plasma desktop
I'm using a GTK3 app called Tilix. It's a terminal app.
I have 2 computers with KDE Neon based on Ubuntu 16.04 LTS.
In one of them, Tilix works ok. In the other one, no title bars and no scrollbars ...
0
votes
0
answers
618
views
Roboto font not working with Openbox GTK3 applications while other fonts do
I am using Debian Stretch with Openbox window manager and I am trying to set the uniform look for GTK2, GTK3, QT4, QT5 widgets. Everything went smoothly except for GTK3 that partially ignores ~/....
2
votes
3
answers
640
views
How to run jhbuild as root
I have installed jhbuild and set the PATH variable to $PATH:~/.local/bin. Now when I run jhbuild command I get error: You should not use jhbuild as root user and when I change the user to non-root and ...