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
1
vote
0answers
27 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 ...
0
votes
0answers
20 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 ...
1
vote
0answers
28 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 ...
0
votes
0answers
15 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 ...
0
votes
0answers
27 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 '...
0
votes
1answer
20 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 ...
0
votes
0answers
21 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:...
0
votes
0answers
30 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 ...
1
vote
0answers
18 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 ...
-1
votes
1answer
286 views

Will Ubuntu 22.04 Carry GTK4? [closed]

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 ...
1
vote
0answers
22 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 ...
0
votes
0answers
105 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-...
0
votes
1answer
233 views

Why aren't my themes showing up in Ubuntu 20.04 Tweaks?

I recently installed Ubuntu 20.04.2 LTS. I have not upgraded from a previous LTS version, it's a completely fresh install. I downloaded dconf and all its extensions, and in Tweaks, my user theme ...
1
vote
1answer
42 views

Shutter shows a broken icon on Ubuntu Mate 20.04

An issue has been reported about a GTK app (Shutter) not showing a tray icon on Ubuntu Mate 20.04 with some icon themes (most probably those which don't provide a corresponding icon themselves so the ...
1
vote
1answer
37 views

How to use software-properties-gtk --enable-component=ENABLE_COMPONENT?

I would like to enable or disable certain options in the application software-properties-gtk via command-line. Examples of the options that I am interested to control via command-line are shown below: ...
1
vote
2answers
328 views

how to change google chrome colors from a gtk theme

I am currently using the dracula theme in gnome, but it has the problem that the active google chrome tab is the same color as the rest There are other gtk themes that manage to change the title bar ...
2
votes
0answers
230 views

gvim: Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

When I try to run gvim from a shell I get the following error: (gvim:9528): Gtk-WARNING **: 09:34:43.359: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime ...
1
vote
2answers
1k views

Gtk-WARNING **: Could not load a pixbuf from icon theme

Whenever I start firefox, steam, and some other gui programs from the terminal, I see this error. I have searched for possible solutions to this problem, the most common one I found was sudo update-...
3
votes
2answers
140 views

Opening Jupyter-Notebook in terminal opens Telegram Desktop!

I'm on Ubuntu 20.04.2 LTS. When I want to open Jupyter-Notebook in terminal, the telegram desktop app opens. The Jupyter-Notebook is actually opened in background. So I can open the browser and use it....
1
vote
1answer
128 views

Nicotine+ Problem in Ubuntu 18.04

When I launch Nicotine Plus, I get the following message: Gtk-Message: 21:10:30.657: Failed to load module "canberra-gtk-module" lun 21:10 Disabled UPnP support due to errors: Failed to ...
0
votes
0answers
83 views

Cannot execute ANY graphical program from terminal

First of all this only happens if try to launch applications from the terminal. If i execute startx nautilus from a TTY it's able to nautilus is able to init. The $DISPLAY env var it's ok, it is set ...
2
votes
1answer
101 views

How can I revert from using GTK 3 to GTK 2 on Kunbuntu 20.04?

I am using OpenCPN 5.2.4 with OpenGL (required for overlaying radar over charts) under Kubuntu 20.04. A tracked OpenCPN bug related to using GTK3 prevents OpenCPN from scaling the display ...
1
vote
1answer
56 views

Icons are not being displayed correctly

I can change basically any section from Tweaks → Appearance → Themes properly, except for the Icons, which doesn't seem to be applied for most of the options. Here's my Home folder using Yaru for ...
0
votes
1answer
110 views

How to get a Pure Black Ubuntu Theme

I need a pure black theme for Ubuntu Gnome. The themes that I am finding are greyish-black. Please recommend some pure black theme that I can use with Ubuntu.
1
vote
0answers
91 views

cannot change theme of modelio - GTK_THEME variable doesn't work

I use Ubuntu 18.04 and have set my default application theme to adwaita-dark. however Modelio looks awful in this otherwise wondeerful theme - for instance doesn't show a lot of things - as you can ...
4
votes
1answer
1k views

How to fix "GLib-GIO-ERROR Settings schema 'org.gtk.Settings.FileChooser' is not installed"?

After updating my ubuntu 20.04 installation first inkscape "Save as" led to a crash of the program complaining about the FileChooser. While trying to fix the problem, now also nautilus . ...
0
votes
0answers
542 views

eog, unable to init server: Could not connect: Connection refused

I know that there are a billion questions about this same problem, but nothing seems to work for me. I am running Ubuntu 18.04 in a VirtualBox. When I try using eog to open an image, it gives me this ...
0
votes
0answers
178 views

'software-properties-gtk' not opening in Ubuntu 21.04

Recently I updated to Ubuntu 21.04 from 20.10. After the update was complete for few days it was all okay. I was getting system update notification and security updates etc. But few days back I was ...
-1
votes
2answers
1k views

Plank is not working after upgrade to Hirsuite Hippo

I've used Plank before installing 21.04 Hirsuite Hippo. But now it is not working. And after uninstallation, I've reinstalled Plank. But I get this output in terminal: $ plank (plank:12385): Gtk-...
1
vote
0answers
91 views

Ubuntu 20.04 LTS - OpenJDK 11: GTK theme for Java app

I am modifying the Arduino Snap because it looks ugly. I want the same GTK font and look like the rest of the applications in Ubuntu; light gray instead of orange for focused item menu. The ...
0
votes
0answers
134 views

Failed to load module "canberra-gtk-module" from gnome-system-monitor

i ran gnome-system-monitor from command line and i got this error Gtk-Message: 21:17:18.579: Failed to load module "canberra-gtk-module" i tried sudo apt-get install libcanberra-gtk3-...
0
votes
3answers
322 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 "...
0
votes
1answer
31 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
117 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
vote
0answers
76 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 ...
1
vote
0answers
168 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
913 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
548 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
184 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
28 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
687 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 ...
1
vote
1answer
116 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
120 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
31 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
48 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
29 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
2answers
907 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
21 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=...
1
vote
0answers
1k 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
13 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()==...

1
2 3 4 5
22