Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [gtk]

Questions about the GTK+ graphical user interface toolkit. Used by desktops such as Cinnamon, GNOME, XFCE, Budgie, Mate, and Unity.

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

How to hide active window border?

I realize this was asked and answered already here How to hide window borders? but I cannot make that python script work. I spent almost 2 hours trying to install the gtk module. How to make it work? ...
user avatar
  • 113
0 votes
0 answers
13 views

GLib-GIO-ERROR Settings schema 'com.ubuntu.SoftwareProperties' does not contain a key named 'ubuntu-pro-banner-visible'

I was trying to clean up old repositories in my system (20.04.4) in order to finally get read of the errors about old repos not having release files. I discovered that when using Synaptic that I ...
user avatar
0 votes
0 answers
144 views

Default Shell theme overridden in ubuntu 22.04

I have recently switched to ubuntu 22.04 and I installed the BigSur GTK shell theme. But after installing this theme, when I change my shell theme to default, it always uses this Bigsurr theme and not ...
user avatar
1 vote
1 answer
46 views

How to disable mnemonic shortcuts in 22.04?

As far as I understand this is not distribution based issue, but something that happens with newer GTK versions, and thus all newer Ubuntu releases after 20.04. So whenever I have a toolbar in an app ...
user avatar
0 votes
0 answers
45 views

Themes broken after update?

After updating, my themes broke. If I use the default orange with light, it gets mixed between dark and light. If I use a different color, it will use the default gtk3 theme on gtk3 apps. If I use the ...
user avatar
0 votes
1 answer
54 views

Notifications and popup windows still in light mode Ubuntu 22.04

So I installed gnome tweaks and also the Dracula theme. In this version it seems that it only allows legacy application swapping. Almost everything works fine except notifications and when I right ...
user avatar
0 votes
1 answer
50 views

Ubuntu MATE - Window Border changes to default after reboot

I have recently installed a few themes on Ubuntu MATE 22.04, specifically Midnight. I am using Midnight-Blue for the interface and Midnight-BlueNight for the window borders. Recently, I found that ...
user avatar
0 votes
1 answer
33 views

software-properties-gtk only runs with sudo (20.04)

I have a problem where software-properties-gtk will error out when I try to open it: Traceback (most recent call last): File "/usr/bin/software-properties-gtk", line 100, in <module> ...
user avatar
  • 146
1 vote
1 answer
391 views

Ubuntu 22.04, iBus Chinese input doesn't work with Nvidia driver

In Ubuntu 22.04, with the default Nouveau driver, iBus Chinese input works fine. But with Nvidia driver (510 and 470 tested, maybe all of them), I can only input Chinese in Qt based applications and ...
user avatar
  • 33
0 votes
0 answers
22 views

Add more emojis to keyboard picker in 20.04 LTS

In Ubuntu 18.10 and later, the Emoji Choice popup appears if you hit Control-Shift-E, then press Space. Where is this dialog getting its list of emojis and keywords? I'd like to add more keyword-to-...
user avatar
  • 111
0 votes
0 answers
20 views

When opening file in default dialog and searching, how to sort by Modified?

When I open default file choose dialog (in gtk), files are properly sorted by modified date descending. I start typing "yaml", because I want to see only yaml files, but sort order changes ...
user avatar
  • 17
0 votes
0 answers
12 views

Is using call_soon_threadsafe and GLib.idle_add together the correct way to safely call GTK code from asyncio, or is it overkill?

I have an application that runs in an asyncio event loop and I want to add a feature that interacts with my Gnome Shell, in particular sending a notification. Since GTK has its own (incompatible, I ...
user avatar
  • 141
0 votes
2 answers
91 views

Open .desktop file from terminal [closed]

I have this application Tmolex19 which can be opened from the start menu, but I can not open it from the terminal. Even if I use the following commands, gio open TmoleX19.desktop gtk-launch TmoleX19....
user avatar
1 vote
1 answer
320 views

Applyin GTK themes to Dolphin?

Is there a way to apply GNOME GTK theme (I use GNOME 40.5 and Ubuntu 21.10) to Dolphin File manager? As Dolphin is QT, I guess I cannot apply the same exact theme used by GNOME on that, but if there ...
user avatar
0 votes
0 answers
18 views

Launch a GUI application for a logged in user while in SSH [duplicate]

How would I go about running a program from ssh, and have the GUI for that program pop up on a logged in users desktop environment? I have tried running it manually, but it says Gtk-WARNING **: 23:10:...
user avatar
0 votes
1 answer
115 views

Cannot change app theme even using GTK_THEME environnement variable

I am using a software called Logisim on my Ubuntu machine with a dark theme installed. I have some visual bugs with the app and I would like to use a light theme for it. I have already tried some ...
user avatar
1 vote
1 answer
3k views

Failed to load module "xapp-gtk3-module"

I was trying to open flameshot app in Ubuntu 20.04 and got this error Gtk-Message: 21:47:04.722: Failed to load module "xapp-gtk3-module" I checked many other posts but nothing worked so ...
user avatar
  • 11
1 vote
1 answer
35 views

Context menus visually corrupted with static-like appearance (picture included)

Whenever I open a context menu in a few places, it is covered by corruption as shown in the picture: I am on Ubuntu 20.04.4 LTS, Gnome 3.36.8 and X11. Started all of a sudden, is consistently ...
user avatar
0 votes
0 answers
21 views

How do I disable a GTK Notification box for bluetooth?

I'm currently setting up a Jetson Nano to do some machine learning. There is a chunk of Python code where it establishes a bluetooth connection through the cmd line as well as sends the connected ...
user avatar
0 votes
0 answers
57 views

LightDM-GTK-Greeter external indicator

I've seen the "External library/service" indicator option in lightdm-gtk-greeter-settings, (which seems to put the indicator in lightdm-gtk-greeter.conf without a ~ prepended) and I am ...
user avatar
1 vote
2 answers
174 views

gnome-panel keeps dying

I'm on Ubuntu 21.10. I use gnome-flashback with Compiz. gnome-panel (version: 3.41.2) keeps crashing for me for some reason. Here's a log file but I can't seem to find what the problem is. Gtk-Message:...
user avatar
0 votes
0 answers
33 views

Please help edit Gtk pathway- Ubuntu 20.04.3 LTS Focal proxychain thru snap brave browser

I'm a newbie trying to install proxychain v4 on ubuntu 20.04. when I try to open proxychain via commandline-- proxychain brave www.duckduckgo.com -- i get a error message "Gtk-Message: Failed to ...
user avatar
  • 1
4 votes
0 answers
380 views

How to enable fractional scaling of GTK apps in KDE Plasma?

While Plasma supports fractional scaling of Qt apps very well, the fractional scaling does not apply on GTK apps. GDK_SCALE=2 appname can apply a scale factor 2, but it does not work for fractional ...
user avatar
1 vote
1 answer
233 views

Software & Updates not opening in Ubuntu 20.04 LTS

Software & Updates is not opening via any method, be it GUI or command line. On opening using click on icon nothing happens. If I execute sudo software-properties-gtk , the following error shows ...
user avatar
0 votes
1 answer
93 views

Where are 32 bit libraries installed?

I have canberra-gtk-module 64 and 32 bit versions installed, but the app I'm running can't find it. I find the 64 bit version here: /usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk3-module.so ...
user avatar
0 votes
0 answers
63 views

Desktop Widget Creation

am trying to write an application (gnome extension) that will function as a desktop widget (think Android Widget), always showing only on the desktop (not a typical application instance, no minimize, ...
user avatar
3 votes
2 answers
81 views

Weird right alignment/flipping issue with some applications in Kubuntu 20.04

The issue I am facing is that some apps (I suspect GTK apps) are right aligned. The issue with gimp (snap package): Flatseal: Then there's the issue with cursors in dialogboxes that start from the ...
user avatar
1 vote
0 answers
160 views

gimp no longer starts: Failed to load module "canberra-gtk-module"

What happened to my gimp? $ dpkg --list | grep gimp ii gimp 2.10.24-2 amd64 GNU Image Manipulation Program ii gimp-data ...
user avatar
  • 1,003
1 vote
1 answer
54 views

Preview images in dialog window

I'm searching for a solution to change the view of icons (images) within the Ubuntu built-in file manager in dialog windows. Image of dialog window: Example: Click on "upload images" on ...
user avatar
  • 21
0 votes
1 answer
48 views

How do I reveal hidden/obscured text in VMware Horizon Client (Linux)?

Description When I open certain menus in VMware Horizon (Linux), the text is hidden. It seems to me as if the text is falling into the white background due to my system using the Breeze Dark theme ...
user avatar
  • 47
4 votes
1 answer
189 views

Chromium - right click menus and system bar button do not render

I had been using Ubuntu 21.04 (GNOME) till now but a few days back when I upgraded to 21.10 I started getting these wierd error messages from chromium when launched from the terminal. I tried to ...
user avatar
0 votes
0 answers
37 views

gnome-extensions-app won't start if .XCompose file is present

On Ubuntu 21.10 I can't run the extensions app. Starting it via the Terminal I get a bunch of GTK warnings regarding the .XCompose file and afterwards these messages: Gtk:ERROR:../../../gtk/...
user avatar
0 votes
0 answers
82 views

Black text with Adwaita GTK+ theme

With Lubuntu 21.10, I'm unclear how I can customize much about the appearance of GTK applications. lxqt-config-appearance appears to be able to change some GTK settings if you check the "Set GTK ...
user avatar
1 vote
0 answers
53 views

Dead icons in Ubuntu Dock

I am using Glade to develop a Gtk-3.0 app, in which the exit button (e.g. the window delete-event) does not destroy the application (on purpose, so I can hide it instead and run it in the background). ...
user avatar
  • 43
0 votes
0 answers
21 views

Prey 1.9.13 does not work exept for the alarm on Ubuntu 20.4

As mentioned at the title, PreyProject (1.9.13) is not working for me at all, after getting a new and fresh installation of ubuntu 20.4. The first time running the Send Message function, the running ...
user avatar
0 votes
0 answers
509 views

How to fix unmet dependencies with libgtk-3-dev on Ubuntu 20.04? [duplicate]

I'm trying to install wxWidgets, and on the installation guide they mention on Ubuntu I'd need the libgtk-3-dev package. However, when I try to install it with sudo apt-get install libgtk-3-dev I get ...
user avatar
  • 1
0 votes
0 answers
93 views

Taking a buttons from another theme and putting them in another theme

I really like the Orchis-dark theme, however I think that it would just be perfect if it had the buttons of the sweet-dark theme. How do I do this? I've already tried modifying the gtk.css file in ...
user avatar
5 votes
1 answer
1k views

How to compile a GTK4 application in Ubuntu 21.10?

I am trying to compile a C GUI application using GTK4. I was previously told here that both Ubuntu 21.04 and 21.10 would have both GTK3 and GTK4. However, when I installed Ubuntu 21.04 only GTK3 was ...
user avatar
  • 209
1 vote
0 answers
36 views

Window Controls have mixed themes

So yesterday I started messing around with my own gtk theme or well just modifying really. I use the Dracula Theme but wanted my maximize button to appear purple as I saw it in another theme and ...
user avatar
0 votes
0 answers
93 views

Toolbars and their icons are too large

I'm not sure when this started, but now the toolbars and icons of GTK applications are embarassingly large. For example, below are Xournalpp and Abiword: That is in a clean environment (test user ...
user avatar
1 vote
0 answers
45 views

How can I run Photocollage on ubuntu 21.10?

Photocollage makes a bigger combined image from a number of specified inputs. Maybe not a straightforward program, but it used to work. Now, under Ubuntu 21.10 it segfaults immediately. The program is ...
user avatar
0 votes
0 answers
104 views

Lags in many apps (but not the others) when the GPU is 100% busy

I'm using Ubuntu 20.04 (default desktop install, i.e. with Gnome I suppose) and NVIDIA GeForce RTX 2080 GPU. When the GPU is 100% busy with a background process, some apps start lagging. Namely, those ...
user avatar
0 votes
0 answers
49 views

How can I make text in dialog windows selectable (for copying)?

Well, I mean more all windows rather than just dialog windows, but I can't think of a better term to start pointing in the direction of what I mean. To be more concrete: kdialog --title '...
user avatar
  • 341
0 votes
1 answer
68 views

How can I change Icon size in GTK applications?

I'm on a HiDPI display and I can easily change text size on my applications with gsettings set org.gnome.desktop.interface text-scaling-factor 40 But that doesn't change the icon size, which remain ...
user avatar
0 votes
1 answer
75 views

How to fix the X Window System error coming when running a c++ GTK program

I am getting an error while running a program written in c++ in GTK. The program stops when this error appear. I am a beginner and i have no idea what to do for this. The error is as follows. (main:...
user avatar
0 votes
0 answers
71 views

How to build a .deb package for the c++ gtk program

I created a c++ program using gtk and glade. I need to build a .deb package for this program. This program saves data to MySQL database and also it exports data to a excel file using libxlsxwriter ...
user avatar
1 vote
0 answers
24 views

Can you tell unison-gtk NOT to auto-rescan when you open/change a profile?

I want unison-gtk to do nothing when I change a profile. This way I can instead press A to detect updates and proceed without waiting. This is important in case I need to go do something else and just ...
user avatar
0 votes
1 answer
1k views

Will Ubuntu 22.04 Carry GTK4?

I am not sure if Ask Ubuntu is the right place for this question, or if I should be asking this at https://discourse.ubuntu.com/, but I am looking ahead to the next LTS release and hoping that it will ...
user avatar
  • 209
2 votes
0 answers
53 views

Alter GTK2 style (only) in Ubuntu 20.04

I know there's Qt5ct for tweaking the look of QT apps in Ubuntu, but I have a couple apps I use a lot (like gmusicbrowser) which are only stable in a gtk2 version. In the case of gmusicbrowser, the ...
user avatar
  • 455
1 vote
0 answers
312 views

Changing gtk.css files in /usr/share/themes/my-Yaru-dark doesn't change anything

I am trying to change the desktop icon font colour on ubuntu. I created a copy of the Yaru-dark theme named my-Yaru-dark. Then changed index.theme file as follows: [X-GNOME-Metatheme] Name=my-Yaru-...
user avatar

1
2 3 4 5
23