Questions tagged [gtk]
GTK+ (GIMP Toolkit) is a cross-platform framework for creating graphical user interfaces.
315
questions
1
vote
0
answers
23
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 ...
0
votes
0
answers
7
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 ...
1
vote
0
answers
29
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
65
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
43
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
15
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 ...
1
vote
1
answer
36
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
vote
0
answers
109
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
70
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" ...
1
vote
1
answer
34
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
287
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 ...
0
votes
0
answers
38
views
Can a debugged Linux program communicate with its GDB debugger?
For the RefPerSys project (on Linux/x86-64 desktop, GPLv3+ licensed, multi-threaded, source code on github; it generates some C or perhaps C++ code at runtime then compile it as some dlopen-ed plugin),...
0
votes
0
answers
23
views
GTK installer causing very repeatable system freezes
I am running Parabola GNU/Linux (variant of Arch) on a MacBook Pro. I am trying to install a game (FTL) via a GOG.com installer (Linux native); however, the installer seems to be causing the whole ...
0
votes
0
answers
153
views
Wine GTK3 themming: My GTK3 theme doesnt apply when activating GTK3 themming
OK, so this problem append to me even before GTK3 was enabled in wine-staging (Yes, I was compiling wine just for this). Hard to explain so i made a video.The video
I know it is not a lot. Even after ...
1
vote
1
answer
4k
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, ...
0
votes
0
answers
24
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-...
1
vote
0
answers
136
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
0
votes
0
answers
13
views
eog core dump on apparently-valid .png files
eog seems to be crashing all the time on me, for instance the following file opens fine in gimp but the usually handy eog barfs:
jeremy@jeremy-Blade:~/Dropbox/$ file KRT20024020000003509_mark.png
...
0
votes
1
answer
271
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 ...
1
vote
0
answers
61
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 ...
0
votes
0
answers
8
views
xsession-errors full of unresolved symbol and no gtk loads
Can I get some advice?
Out of nowhere, many of my graphical programs like qalculate-gtk fail with the following error:
symbol lookup error: /usr/lib/x86_64-linux-gnu/libgdk-3.so.0: undefined symbol: ...
0
votes
0
answers
13
views
Why are identifiers for the id attribute of gtksourcview language and context tags failing?
A perplexing problem.
Unlike the documented conventions for id identifiers of gtksourceview only some of the constructs "work". Various identifiers following the rules of engagement failed ...
0
votes
0
answers
56
views
How do apps switch to a window on another workspace in Gnome Shell?
In Gnome Shell, certain apps can switch workspace to another window. For example, if you have Firefox windows on two workspaces and you type the URL of a tab already open in another workspace, it ...
1
vote
1
answer
44
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?
1
vote
1
answer
2k
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 ....
0
votes
1
answer
250
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 ...
1
vote
1
answer
15
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
239
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 (...
0
votes
1
answer
223
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 ...
0
votes
0
answers
31
views
how to signal widget flags in glade C++
I have a small C++ glade application that opens up full screen. It has a button on the main window that when clicked it opens another independent C++ glade blank form with exit button. My problem is ...
0
votes
0
answers
126
views
How to set options for "Print to LPR" in the gtk print dialog?
The question is how to set options, e.g. -o fit-to-page, for the lpr command (seems to be the default) or lp, if possible, while using the GTK printing dialog:
I have tried:
Set the options in .cups/...
1
vote
1
answer
27
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, ...
1
vote
0
answers
387
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....
2
votes
1
answer
96
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" "<...
3
votes
0
answers
133
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 ...
0
votes
1
answer
567
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 ...
0
votes
0
answers
305
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
611
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
173
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
vote
1
answer
692
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 = {
...
0
votes
1
answer
814
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 ...
1
vote
1
answer
114
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
49
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 ...
2
votes
2
answers
983
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
299
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.
...
2
votes
3
answers
2k
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, ...
0
votes
1
answer
717
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 ...
2
votes
0
answers
36
views
How does RDP client on Linux work, such as widgets rendering?
I am curious how the widget rendering is implemented in a Linux RDP client, such as Remmina, on a high level. If RDP protocol transmit semantics as much as possible rather than bitmaps, then the ...
3
votes
1
answer
493
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;
...
2
votes
0
answers
3k
views
Evince: Unable to init server: Could not Connect: Connection refused
When running
$ evince a.pdf
I receive the following error message.
No protocol specified
Unable to init server: Could not connect: Connection refused
Cannot parse arguments: Cannot open display:
I ...