Skip to main content

Questions tagged [gtk]

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

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

What is the provenance of .gtkrc-xfce?

I'm currently setting up a Linux Mint 21.3 Xfce Edition installation, and part of that is tidying up the dotfiles in the home directories. There aren't that many that can be moved in the base ...
EnronEvolved's user avatar
0 votes
1 answer
21 views

SWTError: No more handles [gtk_init_check() failed running web-app in Tomcat9 on RHEL9.4 with Xvfb

We are running a third-party Java web application in Tomcat 9.0.87 on RHEL9.4. When the web app starts it raises the following exception that we (working with vendor support team) can't seem to get ...
Chris Pudney's user avatar
0 votes
0 answers
12 views

QT apps have no text in Ubuntu Mate

I'm running a Mate session on Ubuntu 24.04.4, and noticed that text is missing from all QT applications. The widgets, geometry, theme, is there, but no text. It's not just text missing from menus, ...
MRule's user avatar
  • 210
0 votes
0 answers
14 views

draggable-border-width setting in GNOME not taking effect for any application

I am running a standard GNOME Shell 46.4 on Wayland on Arch Linux. I am trying to increase the width of window borders to make it easier to drag and resize windows. There is a dconf setting org.gnome....
crimson73's user avatar
0 votes
2 answers
36 views

gtksourceview: syntax highlight for language groff in gedit

Sciancisco and I developed a syntax highlighter for the Groff markup language to be used with Gedit, Pluma, Xed etc. I installed it in /usr/share/gtksourceview-4/language-specs/groff.lang and it ...
Daniel's user avatar
  • 373
1 vote
1 answer
67 views

Gedit Bracket match is out of range

Gedit matches brackets like { with } and tells us where the matching opening/closing bracket is. If it is more than 10000 characters, it says "Bracket match is out of range" instead. How ...
Some Student's user avatar
0 votes
0 answers
52 views

XIM doesn't work: "No IM module matching GTK_IM_MODULE=xim found"

I'm trying to get exwm-xim from Emacs EXWM work. I have done everything I needed to do, including setting the environment variables (GTK_IM_MODULES=xim and XMODIFIERS=@im=exwm-xim to be precise) and ...
Akib Azmain Turja's user avatar
1 vote
1 answer
82 views

How do I force GTK apps to use Wayland compositor borders

I'm using a "minimalist" wayland compositor (river) and I've configured it to draw a red border around focused windows and a black border around unfocused windows. For Qt and other non-GTK ...
cheezsteak's user avatar
0 votes
0 answers
22 views

VPN status icons in network-manager-applet missing

In the nm-applet tray menu missing icons which show status of VPN: is it connected or not. I'm pretty sure when I was using some awesomeWM theme they were there. Tray icon can be changed through GTK ...
Daniel Weissmall's user avatar
0 votes
1 answer
20 views

gtk scrollbar arrow sensitivity -- can I change it?

Following various ideas on the internet I did manage to modify my scrollbars by making various setting in file: /root/.config/gtk-3.0/gtk.css ... but one thing I haven't figured out how to do is make ...
Ray Andrews's user avatar
  • 2,547
0 votes
0 answers
22 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
81 views

What are the services that track the user's settings on Gnome (e.g. Dark mode)?

I have a installation of Fedora 40 with Gnome and I've installed i3 and started configuring it. On Gnome when I switch to dark mode my apps like the Chrome browser pick up this change automatically ...
Pierre's user avatar
  • 1,003
1 vote
1 answer
31 views

Evince UI is transparent, how to make it opaque

The UI of Evince on my OS is transparent. As you can see, the whole interface is 100% see-through. This makes working with the app very difficult. How do I make it appear opaque similar to other GTK ...
Meraj al Maksud's user avatar
2 votes
0 answers
23 views

Feed GTK File Chooser Dialogue with recently visited directories from zshz database

Often, I find myself performing tasks in the zsh shell and later needing to open or save a file using the GTK File Chooser dialogue in a GUI application, typically located in a directory I recently ...
student's user avatar
  • 18.6k
1 vote
0 answers
61 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,547
0 votes
0 answers
19 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
149 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
2 answers
3k 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,501
0 votes
0 answers
151 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
61 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
1 vote
0 answers
452 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
  • 11
3 votes
1 answer
938 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,828
2 votes
0 answers
1k 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
4 votes
2 answers
7k 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
  • 121
0 votes
1 answer
185 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
199 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
166 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
  • 165
3 votes
1 answer
528 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
  • 589
4 votes
3 answers
6k 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.4k
1 vote
1 answer
940 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
983 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
74 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
  • 343
1 vote
1 answer
2k 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
5k 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
112 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
93 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
441 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
507 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
298 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,186
3 votes
0 answers
2k 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
901 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
  • 840
1 vote
1 answer
218 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
6k 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
10 votes
3 answers
45k 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
649 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
  • 589
2 votes
0 answers
185 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
  • 131
1 vote
1 answer
174 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
2 3 4 5
7