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

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, ...
0 votes
0 answers
12 views

Run Gtk.Spinner() and os.system() after pressing Gtk.Button() in Python

I have a Gtk application in Python. I would like to run os.system() when a button is pressed. However, if I press Gtk.Button() and os.system() is run, the whole application gets stuck and can't do ...
0 votes
0 answers
23 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', ...
0 votes
1 answer
32 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, ...
  • 135
1 vote
1 answer
53 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 ...
  • 489
0 votes
3 answers
893 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 ...
  • 18.7k
0 votes
1 answer
179 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 (...
0 votes
1 answer
290 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'...
0 votes
0 answers
22 views

Changing an application's menu shortcuts in Ubuntu?

On MacOS it is possible to change shortcuts for any application (at least which I guess conform to some specification), see here. I was discussing with a colleague that in all likelihood, something ...
  • 445
0 votes
0 answers
39 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",...) ...
  • 183
1 vote
1 answer
497 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?
0 votes
0 answers
1k 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 ...
  • 279
0 votes
1 answer
844 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 ...
  • 111
1 vote
0 answers
62 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 ...
  • 11
0 votes
0 answers
15 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 ...
  • 11
1 vote
0 answers
39 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 ...
1 vote
1 answer
604 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....
1 vote
1 answer
200 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 ...
0 votes
1 answer
455 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 ...
  • 101
1 vote
1 answer
133 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 ...
  • 1,016
2 votes
0 answers
901 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, ...
1 vote
1 answer
442 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" ...
  • 822
1 vote
1 answer
96 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 ...
0 votes
1 answer
2k 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 ...
  • 131
2 votes
1 answer
17k 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, ...
1 vote
0 answers
452 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
  • 11
1 vote
2 answers
1k 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 ...
  • 489
2 votes
0 answers
139 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 ...
  • 121
1 vote
1 answer
68 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?
  • 111
1 vote
1 answer
5k 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 ....
1 vote
1 answer
638 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 ...
  • 919
1 vote
1 answer
17 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 ...
1 vote
1 answer
375 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 (...
  • 113
0 votes
2 answers
607 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 ...
1 vote
1 answer
57 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
0 answers
541 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....
  • 19
2 votes
1 answer
122 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" "<...
  • 173
5 votes
0 answers
249 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 ...
  • 151
0 votes
1 answer
1k 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 ...
  • 145
0 votes
0 answers
447 views

Change the theme of Gtk applications in a running session after KDE hijacking

I'm in an X11 session on Ubuntu 20.04. I'm not using a desktop environment. My window manager is Sawfish. All of a sudden, running Gtk applications changed their appearance to what I've determined to ...
0 votes
1 answer
1k views

Chromium apps doesn't follow system font settings in Manjaro KDE

I have changed my font settings for both qt and gtk but chromium based apps like chrome, vs code and slack seems to be not following font settings. Here is a screenshot of the problem I'm having. ...
1 vote
1 answer
292 views

Open SUSE Tumbleweed KDE suddenly enabled "reduced motion". How to disable?

Both Firefox and Brave act on the prefers-reduced-motion CSS media query. I found out that gtk-enable-animations=false is in nano ~/.config/gtk-3.0/settings.ini This file does not even has a message ...
  • 1,017
1 vote
1 answer
2k views

How to set a system-wide gtk theme in NixOS?

Is there a way to set system-wide default GTK theme to "HighContrast" in the same manner, one can set font DPI on a system level? Here is the snippet I use for the font DPI: fonts = { ...
  • 556
0 votes
1 answer
1k views

How to detect `gtk_application_prefer_dark_theme` in flatpak

When installed normally, my application detects if the system chose dark variant from checking gtk_application_prefer_dark_theme property from Gtk.Settings. But when it is packaged with Flatpak, it ...
  • 123
1 vote
1 answer
193 views

Debian Mate Desktop Eclipse scoll bar slider button size huge

I am on Debian Buster, Mate Desktop theme Menta, OpenJdk 11.0.9.1, eclipse 2020-06. My scroll bar sliders in eclipse are huge. I tried resizing them by a custom gtk-3 css file but this did only ...
0 votes
1 answer
144 views

How to send messages to a window

I've got a hung window "Set Title" in Ubuntu mate-terminal that doesn't react to input. I can move the window, but it doesn't render properly (with text box and "Ok" button), nor ...
3 votes
2 answers
2k views

netscape on linux in 2020

How can I get netscape on linux running in 2020? It's for a project of mine and also nostalgia. I have downloaded the latest netscape navigator 9.0 i386 and extracted it, but I am unable to start it. ....
2 votes
2 answers
448 views

Cannot install some packages with Pacman/Octopi - Suspicious execution method

When installing many packages with Pacman (through Octopi), I get the following error message: Installing selected packages... QApplication: invalid style override 'gtk' passed, ignoring it. ...
  • 509
2 votes
3 answers
5k views

Where is the system-wide dark mode setting in Linux?

I'm using the Raspberry Pi version of Debian, which has both GTK and KDE programs, as well as bygone era programs like xpdf that still work just fine. If I wanted to tell apps that I prefer Dark Mode, ...
  • 167
0 votes
1 answer
916 views

Install OpenCV on Arch Linux for C++ and Python using `pacman`

I want to install OpenCV (with GTK) latest stable version on my Arch Linux. I know how to manually build and install the library, but I don't want to go through all that. Is there a way to get it via ...

1
2 3 4 5
7