Skip to main content

Questions tagged [gtk3]

GTK+ (GIMP Toolkit) is a cross-platform framework for creating graphical user interfaces. GTK3 is version 3.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

Where to store shareable application data for home user?

I'm working on a project that uses ags (with gtk-layer-shell) to provide a top bar similar to waybar. I'm also building a gui app with pyGtk that'll be used to change that bar's appearance and ...
Abir Halder's user avatar
2 votes
1 answer
137 views

How to inspect GUI elements (buttons, fields, forms) in Linux and automate, control them from Python script?

There are some tools to simulate users actions (moving mouse, clicking buttons, filling forms and so on) in Linux, like we do it in Windows with Python and pywinauto or pyautogui libraries. On Linux ...
Anton Makarov's user avatar
1 vote
0 answers
16 views

dh_auto_test Error (Lubuntu)

I am trying to restore typeahead behavior in my file picker by using this tutorial: https://blobfolio.com/2019/restoring-gtk3-typeahead-in-ubuntu-19-10-eoan-ermine/ I got the patch, and the gtk3 ...
Shadow's user avatar
  • 11
0 votes
0 answers
44 views

Debian 12 + Cinnamon - Weird issue with UI displaying, GTK, it doesn't render unless hovered over

I have been a long-time linux user in general, about 8 years now so I am not a complete noob, usually when something like this happens I can just reinstall the DE but I really want to actually fix ...
Kato's user avatar
  • 1
0 votes
1 answer
243 views

How to apply custom color scheme for xfce mousepad

How to apply custom style for Mousepad 0.5.10 in Debian 12? I created a copy of classic.xml and modified the content of the copy as you can see below. But if I run Mousepad, then the new color-scheme ...
Murmulodi's user avatar
  • 1,216
0 votes
0 answers
33 views

How to change colours of text & lines in header rows/columns in LibreOffice Calc?

In LibreOffice Calc, how does one change the colours of the text in the header rows and columns? I'm referring to the "A", "B", "C", ... and "1", "2"...
Amazon Dies In Darkness's user avatar
0 votes
1 answer
80 views

Some GTk3 applications aborting with BadAccess when DISPLAY=:0 but not DISPLAY=hnam.local:0 or even DISPLAY=unix:0

I've had some issues with my XQuartz environment not starting due to a bit of a freak reason that was a rather hard to figure out. It's (mostly) working again but I must have caused another regression ...
RJVB's user avatar
  • 254
0 votes
0 answers
157 views

Old version of Adwaita-dark

Is it possible to get the old (less flat) version of the Adwaita-dark theme for use in Ubuntu 22.04 + Cinnamon?
Sam's user avatar
  • 43
0 votes
1 answer
302 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 (...
SteMMo's user avatar
  • 197
1 vote
0 answers
118 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, ...
Golar Ramblar's user avatar
1 vote
0 answers
271 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-...
Ray Andrews's user avatar
  • 2,587
0 votes
1 answer
783 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 ...
Yousef's user avatar
  • 111
1 vote
0 answers
270 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, ...
a concerned citizen's user avatar
2 votes
1 answer
322 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 ...
71GA's user avatar
  • 1,226
3 votes
0 answers
468 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 ...
Amazigh_05's user avatar
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 ...
cipricus's user avatar
  • 1,659
1 vote
2 answers
4k 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 ...
halloleo's user avatar
  • 619
1 vote
0 answers
80 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 ...
Enzo Dtz's user avatar
  • 111
2 votes
2 answers
1k 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 ...
Mathemagician's user avatar
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 ...
AndThePanda's user avatar
0 votes
1 answer
116 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, ...
Martin Vegter's user avatar
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 ...
Unnat's user avatar
  • 155
0 votes
1 answer
548 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 ...
Jonathan Blackwood's user avatar
1 vote
2 answers
1k 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 (...
preferred_anon's user avatar
1 vote
1 answer
2k 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 ...
user6329530's user avatar
2 votes
1 answer
293 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 ...
user9111001's user avatar
2 votes
1 answer
79 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 ...
JS4137's user avatar
  • 185
3 votes
2 answers
3k 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 ...
plezehalp's user avatar
3 votes
2 answers
9k 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 ...
SaKu's user avatar
  • 33
5 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; ...
August Karlstrom's user avatar
6 votes
2 answers
11k 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 */ } ...
MaxGyver's user avatar
  • 329
1 vote
0 answers
1k 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 ...
Daniel's user avatar
  • 111
1 vote
0 answers
119 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/...
Conifer's user avatar
  • 11
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 ...
mattia.b89's user avatar
  • 3,328
1 vote
1 answer
3k 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....
congard's user avatar
  • 121
1 vote
0 answers
233 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 ...
Zhro's user avatar
  • 2,759
1 vote
1 answer
612 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 ...
Pekov's user avatar
  • 195
0 votes
2 answers
779 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> ...
Zhro's user avatar
  • 2,759
2 votes
0 answers
321 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 ...
Village's user avatar
  • 3,897
2 votes
1 answer
665 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 ...
Upgrade's user avatar
  • 23
0 votes
1 answer
837 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....
Faruk's user avatar
  • 103
2 votes
0 answers
731 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 ...
akovia's user avatar
  • 103
0 votes
1 answer
177 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....
username.ak's user avatar
1 vote
0 answers
101 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 ...
user2752471's user avatar
0 votes
0 answers
164 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 ...
Eleno's user avatar
  • 1,859
1 vote
1 answer
26 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 ...
Nasiruddin Saiyed's user avatar
5 votes
3 answers
7k 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, ...
Scott M's user avatar
  • 365
2 votes
2 answers
287 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 ...
Serge Stroobandt's user avatar
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 ...
user avatar
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 ...
brouillon's user avatar