Questions tagged [gtk]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

how to change gtk default font in xfce4?

I'm not sure if this is Debian 12 issue or an xfce4 (4.18) issue or a GTK (3.24) issue: various applications let you choose fonts for this or that, but, particularly in pop up dialogue boxes, there ...
Ray Andrews's user avatar
  • 2,349
0 votes
0 answers
16 views

GTK why call to gtk_widget_queue_draw does not work from inside the fucntion? [closed]

g_idle_add((GSourceFunc)gtk_widget_queue_draw, drawing_area); When I do this it works (I know it is UB as gtk_widget_queue_draw does not return value), but I have 100% processor time because of UB. ...
gulpr's user avatar
  • 109
0 votes
0 answers
18 views

Do GTK API calls translate to Qt commands on KDE?

AFAIK latest GTK has multiple rendering engines (Cairo, OpenGL, Vulkan...). Now on KDE (which uses Qt and not GTK) when I run a GTK program does it translate GTK API calls to Qt calls? Or does GTK ...
zomega's user avatar
  • 972
0 votes
0 answers
123 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
2k views

How to globally set dark mode for GTK-4 apps?

I am trying to set nautilus to dark mode but with no luck. I tried: run this command: gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' setting color scheme in ~/.config/gtk-4.0/...
Jan Černý's user avatar
  • 1,381
0 votes
0 answers
80 views

How to print stream of stdout to a window using zenity or yad?

Tools like zenity and yad are gtk-based dialog makers used to create user-interfaces from shell scripts. How to print the live stream of the output of piped commands to a window using those tools? I ...
Zeta.Investigator's user avatar
0 votes
0 answers
108 views

GTK window will not show up: [xcb] Unknown sequence number while processing queue

I have a GTK4 application GTKConsole which worked fine on another Debian bullseye system that was upgraded to bookworm. I made a fresh bookworm install on a different pc, and it refuses to work,...
Cheetaiean's user avatar
0 votes
0 answers
43 views

How to let text editors (or Gtk text view component) respect my font settings for leading whitespace for correct indentation?

In the MATE desktop environment (Debian Linux 12), the width of the rendered leading spaces seems to be different according to different languages, in rich text like components. Including the text ...
Lenik's user avatar
  • 563
0 votes
0 answers
184 views

Garuda Linux application style not changing in some apps when global theme changed

I tried to change the default Garuda theme to other themes such as Orchis, WhiteSur, Material Dark KDE, etc. and almost everything was working fine, however, I noticed that some applications like ...
deadclown09's user avatar
0 votes
0 answers
85 views

<exec command> vs gtk-launch <exec command>

These days I noticed that there is one game called Four-in-a-row which opens through GNOME GUI when it is clicked but it doesn't open when I type in terminal the command gtk-launch org.gnome.Four-in-a-...
theEarlyRiser's user avatar
0 votes
0 answers
336 views

Fixing the Gtk-WARNING "Unable to locate theme engine" on CentOS 7 when using gvim

On CentOS 7, this is the below warning when I open any file using gvim: (gvim:48476): Gtk-WARNING **: 14:51:18.971: Unable to locate theme engine in module_path: "hcengine",
flash 's user avatar
2 votes
1 answer
655 views

Can I somehow use a different file picker dialog than GNOME/GTK's own?

I use the Cinnamon desktop environment on my Devuan Daedalus GNU/Linux machine. I like Cinnamon well enough (better than the other DEs available obviously), but - I'm not a fan of GTk, and most ...
einpoklum's user avatar
  • 9,515
2 votes
0 answers
764 views

Failed to load module "appmenu-gtk-module"

I keep getting this error in the terminal whenever a GUI App or popup appears Gtk-Message: 17:55:00.609: Failed to load module "appmenu-gtk-module" I used to have "appmenu-gtk-module&...
mintkat's user avatar
  • 21
2 votes
2 answers
4k views

Is there an easy way to install GTK on Linux?

Ive been trying to install gtk version 4 on my debian system just to try it out but it seems extremely complicated. There is always some library or headerfile missing. On the official website there is ...
Kauabanga's user avatar
0 votes
1 answer
114 views

Unable to use GTK on Debian, due to having libraries always be missing

Due to my laziness, I have downloaded precompiled binaries for GTK programmes (rather than compiling them which would have been a drag considering how time-wasting it is). EDIT:using sudo apt get, ...
haruhisuzumiya's user avatar
1 vote
0 answers
125 views

RHEL 9 stuck trying to compile LXapearance. gtk +- 2 not found 2.12.0 installed (i think)

hello so my configure file yields me the following result. configure: error: Package requirements (gtk+-2.0 >= 2.12.0 gthread-2.0) were not met: Package 'gtk+-2.0', required by 'virtual:world', ...
Nic Tanghe's user avatar
0 votes
1 answer
132 views

gtk disable sounds on <esc>-keypress

Since a few days, everytime I do something "invalid" in a gtk application, like pressing esc, when there is nothing to "escape from", or pressing backspace in an empty input field, ...
laalsaas's user avatar
  • 155
3 votes
1 answer
399 views

How can I paste full path strings in the GNOME File Selection Dialog on RHEL?

I have a remote RHEL machine which I use via X11. On that machine when I open a new file in, say, VS Code or in the Firefox browser (both apps are on teh remote machine), then I get teh following File ...
halloleo's user avatar
  • 567
4 votes
3 answers
5k views

Change border color around window (edit GTK theme)

I am using a fairly recent version of Cinnamon (5.4.12), with desktop theme Adwaita-dark (and Adwaita sometimes). When I start a gnome-terminal window, it has a very thin (1px?) white border all ...
Totor's user avatar
  • 20.1k
1 vote
1 answer
699 views

Switch between dark mode and light mode to GTK don`t work in xorg server

I'm trying to switch between dark mode and light mode to the gtk applications on my computer, in real time, from the terminal. I use the arch linux, on xorg server (X11) without graphical environment (...
Fco Javier Balón's user avatar
0 votes
1 answer
803 views

Not able to compile GTK files

I installed gtk manually through source and everything was correct but when I try to run my gtk C files. It gives an error saying that the <gtk/gtk.h> are not found. So far I understood that it'...
Ahmad Raza Khan's user avatar
1 vote
0 answers
70 views

Which GTK libgio API's will allow a GATT client to read/write a characteristic?

I would like to connect with multiple similar BLE devices simultaneously, with one task (thread) accessing each device. I do: g_dbus_connection_signal_subscribe(...,"InterfacesAdded",...) ...
John Klug's user avatar
  • 323
1 vote
1 answer
1k views

How to run a graphical application as another user?

Let's an user A (userA) wants to run in his graphical session a graphical application as user B (userB). How is it done it on a modern GNU/Linux system?
Scrooge McDuck's user avatar
3 votes
2 answers
4k views

Error With gtk-launch: Unable to find terminal required for application

I tried to use the following command: gtk-launch nvim file.txt But it gave me this error: gtk-launch: error launching application: Unable to find terminal required for application How am I supposed ...
Amarakon's user avatar
  • 333
2 votes
2 answers
2k views

Rounded corners from gtk theme have black background

I am using i3wm on Manjaro Linux. My gtk theme has rounded corners for menus, but they still have a sharp black background. I am using picom compositor, and I think the issue is something related to ...
dnaik's user avatar
  • 155
1 vote
0 answers
99 views

Why Is My Panel Icon Miscolored?

I am using Debian 11 with XFCE and Adwaita theme and Adwaita icons. I am not a fan of the symbolic panel icons, mainly because they are symbolic and the nm-applet icon is not, and it looks strange and ...
Matt C.'s user avatar
  • 11
3 votes
0 answers
84 views

If it is possible to track the "text input state" system-wide? How?

Is it possible to track that system is currently in "text-input state" := when the window that has text input field (or "text input possibility" to be more general) is open now and ...
shegeley's user avatar
2 votes
1 answer
1k views

Failed to load module "colorreload-gtk-module" Simple Screen Recorder

Just recently, when I run: simplescreenrecorder, I get this error message: Gtk-Message: 00:44:36.847: Failed to load module "colorreload-gtk-module" Cannot mix incompatible Qt library (5.15....
SingularisArt's user avatar
2 votes
1 answer
375 views

Is there a way to change GTK theme for one session in ANY desktop environment?

When I search for a way to change the gtk theme in Linux, I find that there is a different way to do it for every desktop environment. The only one I found that worked on all desktop environments was ...
person the human's user avatar
0 votes
1 answer
494 views

Xsetroot output truncation?

I've been working on a config for dwm 6.3 with a bunch of patches (on GuixSD, if it matters). Most of them haven't been updated to work on 6.3, so it's been a lot of effort to get everything sorted ...
Duncan W's user avatar
  • 101
2 votes
1 answer
265 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,106
3 votes
0 answers
1k views

Prevent LibreOffice from using system theme

I recently started using Linux Mint 19.3 Cinnamon. I understand that LibreOffice automatically uses the system colour theme---my preferred system theme is dark so LibreOffice uses it as well. However, ...
Karthik Thrikkadeeri's user avatar
1 vote
1 answer
795 views

GTK CSS tweak: how do you change appearance of urgent windows?

Platform: Debian 11 (Bullseye) with Xfce. I've created ~/.themes/Adwaita-Rosuav/gtk-3.0/gtk.css to try to create a variant of the Adwaita theme. It correctly shows up in the "Appearance" ...
rosuav's user avatar
  • 830
1 vote
1 answer
194 views

seeking example source code for GTK4 sourceview editor

To port Bismon to GTK4, I need examples of working GTK4 source handling multi-font text, keypresses, etc. This is for Linux/x96-64 only And Bismon is GPLv3+ licensed (some kind of static source code ...
Basile Starynkevitch's user avatar
0 votes
1 answer
5k views

How to change Qt/Gtk theme using CLI

I can change the theme using lxappearance and everything works. This includes pcmanfm, gnome-disks, firefox, and qalculate-qt themes being changed. Using gsettings set org.gnome.desktop.interface ...
Brandon's user avatar
  • 143
9 votes
3 answers
37k views

How to add QT_QPA_PLATFORMTHEME=qt5ct environment variable in Arch Linux?

I am using a standalone tiling window manager QTile. In QTile I want to organize my GTK and QT Themes. For GTK theme I used a program named "lzappearance" and it works perfectly fine. But, ...
Anuj Tambe's user avatar
1 vote
0 answers
627 views

i3 GTK & Qt theming problem

Applications that use Qt and GTK look different how can I fix this, i’m using i3 is there any software to theme Qt? PS: I’ve heard about lxappearance but it only works for GTK
i3guy77's user avatar
  • 11
1 vote
2 answers
3k 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
  • 567
2 votes
0 answers
174 views

In gnome some for applications the window shadow counts as resize area

I have an Arch Linux installation with gnome 40.4 and gtk2 (2.24.33), gtk3 (3.24.30) and gtk4 (4.4.0) installed. (Graphicbackend is X11 if that's relevant) For some applications - probably those that ...
t.niese's user avatar
  • 121
1 vote
1 answer
160 views

How to determine what GUI library a program is using?

For example, I need to know what GUI library Synergy uses so I can configure the correct config files (such as ~/.config/gtk-3.0/settings.ini for GTK3 programs). How would this be accomplished?
Zweih's user avatar
  • 111
1 vote
1 answer
8k views

how to install themes/icons themes with lxappearance

In lxappearance there is a git "+ install" button but it only accepts .tar.gz files. When downloading a theme/icon theme, the file is a .tar.xz, and when I try to turn the .tar.xz into a ....
nobody48sheldor's user avatar
1 vote
1 answer
1k views

How to install gtk 1.2 on new system?

I try to install gtk 1.2 on Ubuntu 21.04 to run old c program. After succesfull installing glib 1.2 ( with help of experts ) I have installed gtk 1.2 using modified files provided by Knud sudo apt ...
Adam's user avatar
  • 989
1 vote
1 answer
21 views

Weird graphical effects on colored text with asus eeepc

I have an old Asus eeePC 1000H netbook with a weird graphical bug in the window-manager. 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics ...
Stretchdude's user avatar
0 votes
1 answer
448 views

Install gtk-common-themes on Raspberry Pi Offline

I am trying to install "gtk-common-themes" for Snap offline on a Raspberry Pi 2B. It is imperative the device stays offline. On another Raspberry Pi 3 (online) machine, running the same OS (...
EllipticalInitial's user avatar
1 vote
2 answers
952 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
98 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
0 answers
965 views

Ubuntu 20.04: File explorer takes very long to open

For about one month now I have the problem that all tasks related to opening the file explorer in Ubuntu 20.04 (Gnome) take very long. Whether I directly try to use the file explorer or via a menu (e....
Chris's user avatar
  • 19
2 votes
1 answer
134 views

gtk name for [, ] and /

I am trying to change my xfce4 terminal keybindings by editing the accels.scm file. One of the changes I lines I wrote is (gtk_accel_path "<Actions>/terminal-window/next-tab" "<...
soap's user avatar
  • 173
6 votes
0 answers
440 views

Is it possible to get the contents of the system tray via command line command?

After seeing how many custom status bar implementations like Polybar seem to use some existing widget for displaying system tray icons I'm not too hopeful with this but would it be possible to get the ...
Tumetsu's user avatar
  • 161
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

1
2 3 4 5
7