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
0answers
17 views

Failed to load module “canberra-gtk-module” from gnome-system-monitor

i ran gnome-system-monitor from command line (if i went to search bar to find it works) and i got this error Gtk-Message: 21:17:18.579: Failed to load module "canberra-gtk-module" i ...
0
votes
3answers
114 views

Steam doesn’t load beacause of missing GTK modules

Steam doesn’t load anymore. To see what was the problem, I opened a terminal and typed steam. I got this: Loaded SDL version 2.0.15-6484190 Gtk-Message: 18:06:27.386: Failed to load module "...
-3
votes
1answer
47 views

Raspberry pi 3 gtk window in Raspberry Pi OS [closed]

I got the above errors when I try to run the codes I wrote in the gtk window. For distance measurement, I am using hcsr-04.
0
votes
1answer
17 views

How to disable log when start application in desktop from terminal [duplicate]

I need open new tab in chromium, in other display, from script terminal. When I open, my terminal receive logs from Xorg or GTK (I don't know who print it). I used the command: DISPLAY=:0 chromium-...
1
vote
1answer
35 views

Starting Matlab with error “Failed to load module ”canberra-gtk-module"

When I start Matlab (R2021a) on Ubuntu Focal Fossa I receive the error "Failed to load module "canberra-gtk-module" Re-Installing canberra-modules does not help.
-1
votes
0answers
21 views

KDE desktop lagging after closing applications and applying settings

I am using KDE neon 5.21 with Ubuntu 20.04 LTS on a HP Elitebook. The system is running pretty smooth but there is one major inconvenience: The desktop sometimes becomes extremely laggy. The mouse is ...
0
votes
0answers
28 views

How to enable MPRIS control of a GTK application in KDE Plasma?

I came across a GTK application (Blanket), which can be controlled with a laptop's play/pause button in GTK based DEs like GNOME, XFCE and Cinnamon (tested in Ubuntu 20.04, Xubuntu 20.04, and Linux ...
0
votes
0answers
89 views

How to solve GTK warning messages / how to restore Ubuntu system files without reinstalling everything

I am asking this question as it seems that this problem poses significant issues for several programs that I'm using. Originally, this issue stemmed from me having to reinstall the whole Ubuntu Budgie ...
3
votes
2answers
771 views

Display the contents of an HTML file on my desktop

I found a very old post on Display the HTML content on desktop as a widget. This is an updated answer with the help of these two answers Answer-1 and Answer-2. I tried to run this as a python script &...
1
vote
2answers
87 views

Gnome control center not opening from command line as root user

I am trying to open user settings to unlock the user's ability to edit their user settings When I try to open the Gnome control center with my root account I get the following error root@penguin:~# ...
1
vote
2answers
75 views

dependency not found

I am trying to install crossover for linux, on my Ubuntu 20.04 Mate installation, but the dependency python-gtk2 is missing. sudo apt-get install python-gtk2 Reading package lists... Done Building ...
0
votes
0answers
15 views

How can I debug gtk file-chooser widget used from a QtQuick application?

I have issues with the file-chooser native window dialog that become unresponsive in some conditions in my app. I would like to see what the file-chooser is logging and where are the settings linked ...
0
votes
2answers
58 views

How to make snap apps use my gtk theme?

Snap now has GTK theming support - wonderful! So I just installed a snap app but when I opened it - it was using the Adwaita theme instead of my default Ubuntu 20.04 Yaru theme. I looked around and ...
0
votes
1answer
47 views

Select file instead of searching in Ubuntu 20.04 “Open File” dialog

When using the "Open File"-dialog in Ubuntu (e.g. in a text-editor like vscode or sublime), I'm used to being able to navigate and select folders/files by typing. Since updating to Ubuntu 20....
0
votes
0answers
31 views

I am new to GTK3 CSS. Is there a way to have different headerbar textures for specific applications?

I am attempting to modify a theme named "Poppy OS X" to recreate Mac OS X Mountain Lion. I am trying to get custom textures on the headerbar of certain windows (Leather textures on Notes, ...
0
votes
0answers
28 views

Settings cannot be modified LightDM GTK+ for Lubuntu 18.04

I installed Lubuntu 18.04 on an old 32 bits computer. I do not like the default UI and its weird icons (including those for Firefox and other famous ones) eg for gnome's but the LightDM GTK+ settings ...
2
votes
1answer
27 views

Can 'Save as' in Atril be configured to open the file chooser with most recent directory selected instead of /home/Documents for downloaded PDFs?

For downloaded PDF files opened in Atril, the 'Save as' file chooser dialogue defaults to the /home/Documents directory, which is not what I want to use 100% of the time. Ideally I would like to be ...
1
vote
1answer
16 views

Missing libs for building firefox

I'm trying to build Mozilla Firefox by myself. Actually I'm getting these errors. 0:10.13 DEBUG: configure:7936: checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.42 gobject-2.0 ...
0
votes
1answer
164 views

Where are GTK_IM_MODULE and GTK_MODULES set?

When starting Eclipse for the first time in my Ubuntu 20.04, I got a warning (which actually seem to be 2 warnings) ***WARNING: Detected: GTK_IM_MODULE=xim. This input method is unsupported and can ...
0
votes
0answers
18 views

What should I write in snap.yaml file for python glade project

I have written an app using python 2.7 and glade 3. What should I add to the snap.yaml, for the app to be installed properly. Here is the desktop file: [Desktop Entry] Version=1.0 Terminal=false Type=...
0
votes
0answers
389 views

Cannot launch any Ubuntu app and icons missing - Gtk Warning

I am currently running into a major issue with my Ubuntu 20.04.2 installation, where I cannot use any Ubuntu-native program (such as the Software Center, file manager and so on) and no icons are ...
0
votes
0answers
10 views

using pkexec makes slow to open new instance of the same gui application

I am working on a project where I need pkexec for the privilege elevation. The below is the get_privilege function is use to run the app with root permissions. # function get_privilege if os.getuid()==...
2
votes
1answer
195 views

Moving the menu bar to top bar ubuntu 20.10

Is it possible to move the menu bar up in Ubuntu 20.10 to save useful space on the screen and make the application look much better? For example: I tried this solution, but nothing happens when I run ...
0
votes
1answer
19 views

checkbox bug - any help?

After a fresh install, I installed some gtk3 themes and change the icon settings, resulting this checkbox bug. Is there a way to solve this?
1
vote
0answers
43 views

Kubuntu 20.04 has several GTK Issues

I did a fresh Kubuntu 20.04 install and I could already solve some little issues. But I can't figure out how to solve the following issues with two necessary GTK programs. phpStorm (version 2018.3) ...
0
votes
0answers
137 views

How to locally edit GTK themes like Mojave Dark in Ubuntu where .CSS file has some web link?

Previously, I was able to edit any theme that has some content in the .css file. Mostly it was changing colors and I changed the .css file of gtk3 and it would bring the required change in color to ...
0
votes
0answers
96 views

20.04 LTS current — unity or appmenu?

20.04 LTS current. I keep seeing the diagnostic Failed to load module "appmenu-gtk-module" Failed to load module appmenu-gtk-module + canberra-gtk-module suggests sudo apt install appmenu-...
0
votes
0answers
30 views

Solved: Annoying UDisks2VolumeMonitor/GUI behaviour (udev, dbus, gtk)

I am dealing with a 20.04.1 system (mainly Ubuntu Server + Xubuntu Core). I am trying to set up an "IT" external SSD (USB3), so that when I insert it, some maintenance actions will be ...
0
votes
0answers
26 views

Firefox titlebar doesn't follow gtk.css .titlebar:backdrop instruction

I'm using a pretty standard ubuntu. I wanted to have a way to easily see which window is active and found a way to change the color of the titlebar. I created a gtk.css file, that sets the .titlebar ...
0
votes
1answer
803 views

QEMU -display gtk and -display sdl not available | Ubuntu 20.04.1 LTS

Starting a VM with qemu-system-x86_64 (...) -display gtk produces error Display 'gtk' not available. This is a standard desktop installation (i. e. no modifications to qemu version). How do I get QEMU ...
0
votes
1answer
95 views

Spotify dosen't open Ubuntu 20.10

I've had spotify working on 20.04 but it doesn't start after upgrade to 20.10. The terminal shows : (base) dark@Asassin:~$ spotify /snap/spotify/43/bin/desktop-launch: line 51: /home/dark/.config/user-...
5
votes
0answers
3k views

How to get GTK4 in Ubuntu 20.04?

GTK4 was released quite recently, and the demo codes don't run in Ubuntu 20.04 because GTK4 is not available on the system. Traceback (most recent call last): File "gtkapp.py", line 3, in &...
0
votes
0answers
48 views

How do I remove non-existant printers from my system print dialogue?

Due to flaky support from Canon, it took me several tries to get my printer installed. For every failed attempt, however, I now have an entry to a printer in my gtk system print dialogue. Only one ...
2
votes
1answer
222 views

libexpat1-dev and libgtk2.0-dev (No package 'gtk+-2.0' found)

I am trying to install lablgtk via the following: opam install lablgtk It gives me following error: ┌─ The following actions failed │ λ build lablgtk 2.18.11 └─ ╶─ No changes have been performed <...
0
votes
0answers
447 views

Error with GTK+ 2 and GTK+ 3 - Ubuntu 18.04

Several of my applications (Gnome Desktop, Gazebo, ROS) cause my terminal to spit the following GTK warning error: ~~~ (gnome-desktop-item-edit:2646): Gtk-WARNING **: 16:17:50.194: GTK+ module /usr/...
0
votes
1answer
286 views

How to install gtkmm4?

I would like to start using gtkmm4 ASAP! My development environment is Ubuntu 18.04 and Windows 10. I'm trying to follow the guides, but they are incomplete/broken/composed of separate parts and it's ...
1
vote
0answers
25 views

How to see all window's controls. I need something like a GTK theme preview

I'm trying to make my own GTK theme for Xubuntu. I have no problem with customization GTK settings. But I don't know how to see all interface's elements. Something like this: Yaru theme Ubuntu Is ...
0
votes
0answers
57 views

Any Suggestions for Acer Nitro 5 single boot Ubuntu users?

I installed Ubunutu on my Acer Nitro 5 || 8GB DDR4 || 1TB NVME SSD || i5-9300H || 4GB GTX 1650 laptop replacing windows. Have I made the right choice? Switching to Linux I think there are many ...
0
votes
0answers
34 views

Disable GUI login buttons

How to hide or disable the buttons (Next, Sign in..) used by the user in the Login Screen? Or just make GUI login unavailable until reboot? Or is it a way to prompt message to a user without the use ...
0
votes
1answer
556 views

Trying to change scroll bar width in Ubuntu 20.14

I have found numerous suggestions on how to do this by editing the gtk.css file in the Theme folders. However, when I try to edit the files, they are read-only and appear to be in a read-only disk. ...
3
votes
1answer
348 views

GTK theme does not work properly on Qt Startup Applications

Setup When a Qt app (KeePassXC, AntiMicroX) is started automatically (via autostart), the GTK theme is not applied. All apps are installed via standard apt packages (I am aware of snap theming issues)...
1
vote
0answers
70 views

Can't start spotify snap

I have the problem that my spotify doesn usually not start. When I do spotify in the terminal, I get the following errors: Gtk-Message: 17:35:09.563: Failed to load module "gail" Gtk-Message:...
1
vote
1answer
831 views

How do I fix the new snap release of Chromium so that it launches?

Ubuntu 20.04.1 LTS Focal Fossa Chromium 87.0.4280.66 Problem I recently upgraded Ubuntu 18.04.5 to 20.04.1 in place, i.e. Software Upgrader wrote the new version of all app files over their ...
0
votes
0answers
46 views

LibreOffice 6.03 failed to start in Ubuntu 1804

I installed LibreOffice 6.03 in Ubuntu 18.04 i386. When I click it's menu entry it's splash window pops up but not long after that it disappears. When I i fire it from the command line in a shell ...
0
votes
0answers
70 views

Developing/Customizing Gnome (or Gtk ?) window animations

I use a Gnome Desktop (Ubuntu 20.04). I'd like to learn how to customize the windows animations (i.e. animation on opening, on minimizing, on closing, and so on). I'm aware that there are few Gnome ...
3
votes
1answer
938 views

VMWare Installer unable to load gtk: No module named gtk, falling back to console

I'm new to Ubuntu (20.10) and just installed it on my Raspberry Pi 400. I have my VMWare-Horizon-Client-2006-8.0.0-16522670.x64.bundle in the home directory. I'm following this guide Install or ...
0
votes
0answers
53 views

Add border around windows (Ubuntu Mate

I'm on Ubuntu Mate 20.10 and I like to use black themes b/c they are easier on my eyes, but the problem is all the black themes have black borders and make all the windows blend together. This ...
2
votes
2answers
377 views

Kubuntu 20.04: How to change icons for GTK applications?

Hi everyone please I have a quite simple looking question. I don't know how to change icons for GTK2/3 applications in Kubuntu 20.04. I looked on kde.org where is screenshot from System Settings, but ...
3
votes
1answer
211 views

how to get all applications/windows in the current workspace in the view of the user programatically ( in python )

Lets say i have applications A, B, C in the current workspace. A and B are beside each other (assume Application A is on focus ) and C is not visible on the screen ( it may [minimized] or [not be ...
0
votes
0answers
40 views

Unity GTK CSS problems with calendar

I am using Unity on Ubuntu (both 18.04 and 20.04). I have problems with many GTK themes concerning calendar popup. All the days with events do not show up in the calendar. I tried to change the css ...

1
2 3 4 5
22