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
0 answers
8 views

Themes having different colors

There is a theme I really like on KDE. But I want to have everything minimal and I am currently on Xfce4 with bspwm. I have 2 PCs and both are installed Xfce4. On the system that was previously ...
user avatar
  • 11
1 vote
1 answer
40 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 ...
user avatar
  • 816
0 votes
0 answers
55 views

Netlink socket send hangs when using SCHED_FIFO and Gtk3 filechoosers

I am seeing a problem where if I create a thread which utilizes 100% of a CPU core while being in SCHED_FIFO, and then I open any application that instantiates a Gtk3 file chooser, then any ...
user avatar
  • 41
1 vote
0 answers
65 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 ...
user avatar
0 votes
0 answers
32 views

Is there a difference between .gtk_bookmarks of GTK 3.0 and previous versions?

What i have done on my machine is to link home directory .gtk_bookmarks to the place where GTK 3.0 uses it: $ ls -l .gtk-bookmarks lrwxrwxrwx 1 va va 25 Dec 3 10:43 .gtk-bookmarks -> .config/gtk-...
user avatar
  • 363
1 vote
0 answers
404 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 ...
user avatar
  • 1,037
0 votes
0 answers
20 views

Getting nmcli to work with g_spawn command

Working on a simple gtk c project and I’m needing a nmcli command which would be easy to trigger using the g_spawn_command_line_sync command but it doesn’t work. For some reason g_spawn doesn’t ...
user avatar
0 votes
2 answers
349 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 ...
user avatar
  • 335
1 vote
0 answers
26 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 ...
user avatar
  • 111
0 votes
0 answers
33 views

How to make xfce panel plugin with vala?

Is it possible to make to make an xfce panel plug-in using vala? They are vala bindings for xfce but they haven’t been updated in a while and I don’t know if xfce still supports them. Any help would ...
user avatar
0 votes
0 answers
14 views

Change displayed name of home folder in gtk3 file chooser

In the gtk3 file chooser the left side is reserved for my xdg user dirs and bookmarks. The entry for my home folder is correctly localized as "Persönlicher Ordner" (personal folder). I find ...
user avatar
0 votes
1 answer
268 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 ...
user avatar
  • 133
0 votes
0 answers
28 views

Xfce panel applet that closes and opens window

I’ve made a few gtk apps using vala and python, and I’m wondering if it is possible to make a xfce panel applet that when clicked would open up an app and when clicked again close it. Any help would ...
user avatar
0 votes
1 answer
140 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 ...
user avatar
1 vote
1 answer
29 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, ...
user avatar
0 votes
1 answer
680 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 ...
user avatar
  • 145
0 votes
1 answer
356 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 ...
user avatar
1 vote
2 answers
434 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 (...
user avatar
1 vote
1 answer
335 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 ...
user avatar
2 votes
1 answer
130 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 ...
user avatar
2 votes
1 answer
48 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 ...
user avatar
  • 155
2 votes
2 answers
990 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 ...
user avatar
2 votes
2 answers
2k 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 ...
user avatar
  • 23
3 votes
1 answer
542 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; ...
user avatar
2 votes
2 answers
4k 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 */ } ...
user avatar
  • 217
1 vote
0 answers
508 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 ...
user avatar
  • 111
0 votes
0 answers
80 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/...
user avatar
0 votes
1 answer
952 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 ...
user avatar
  • 2,518
1 vote
1 answer
1k 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....
user avatar
  • 121
1 vote
0 answers
92 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 ...
user avatar
  • 2,175
1 vote
1 answer
420 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 ...
user avatar
  • 185
0 votes
2 answers
435 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> ...
user avatar
  • 2,175
2 votes
0 answers
72 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 ...
user avatar
  • 5,437
2 votes
1 answer
400 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 ...
user avatar
  • 23
0 votes
1 answer
383 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....
user avatar
  • 103
1 vote
0 answers
405 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 ...
user avatar
  • 93
0 votes
1 answer
143 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....
user avatar
1 vote
0 answers
86 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 ...
user avatar
1 vote
0 answers
134 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 ...
user avatar
  • 1,789
0 votes
1 answer
16 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 ...
user avatar
4 votes
3 answers
5k 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, ...
user avatar
  • 325
2 votes
2 answers
180 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 ...
user avatar
2 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
  • 287
0 votes
2 answers
3k 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 ...
user avatar
0 votes
0 answers
106 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 ...
user avatar
0 votes
0 answers
480 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 ~/....
user avatar
  • 816
2 votes
3 answers
553 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 ...
user avatar
  • 5,424
1 vote
3 answers
6k views

Error message in Debian Stretch: Failed to load module "canberra-gtk-module"

I'm using Pycharm IDE on the Linux Debian 9 stretch OS and getting the following error when I try to install the python Debugger extension (Cython). The error I get is the following one: Gtk-Message:...
user avatar
1 vote
1 answer
15k views

How to install gtk3 in CentOS?

I have gtk2 installed on my ec2 machine instance. In order to install the latest google-chrome/mozilla-firefox version, it requires libgtk3 to be installed in the machine Will there be any ...
user avatar
0 votes
1 answer
2k views

Some gtk apps have black border in Plasma

Now I'm using KDE plasma as my DE, and I really like the style of elementaryOS. So I use a theme inspired by elementaryOS. But in some gtk apps, it has black border and some circle buttons are out of ...
user avatar
  • 31