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
401 votes
4 answers
901k views

Failed to load module “canberra-gtk-module” .... but already installed

Gtk-Message: Failed to load module "canberra-gtk-module" but I already have the libcanberra-gtk-module and libcanberra-gtk3-module installed. (i.e. I tried this solution, but it is already installed....
cmo's user avatar
  • 6,348
56 votes
13 answers
70k views

How can one make Firefox ignore my GTK theme entirely?

I have a dark GTK theme installed in my Ubuntu 10.10 install and a persona installed for Firefox that I also like. The problem is that Firefox is using my dark GTK theme for items like buttons and ...
tamale's user avatar
  • 1,459
80 votes
1 answer
108k views

Gdk Gtk warnings and errors from the command line

In the newest version of Ubuntu (11.10) when I run from the command line Gtk complains loudly (over several lines) each time a window is opened. The problem is clearly with the theme - if I change the ...
Hooked's user avatar
  • 2,363
55 votes
2 answers
352k views

How can I install GTK themes on Ubuntu?

How can I install themes in ubuntu 12.10 ? For example, how can I install the following themes on ubuntu: GrayDay Elegant+Eggplant
Levan's user avatar
  • 10.9k
25 votes
6 answers
12k views

How do I add a border around windows but keep the current theme?

I seem to live my life in the terminal - many terminals in-fact. I also love the Ambiance theme - but the new borderless windows does not provide the visual differentiation I'm used to (the same ...
fossfreedom's user avatar
  • 173k
12 votes
1 answer
9k views

Qt apps stopped inheriting GTK themes

After a fresh installation of Ubuntu Gnome 15.10, Qt apps like qpdfview or QuiteRSS suddenly stopped inheriting the global GTK theme, in my case Numix. The same is also true for the default Adwaita ...
DMT's user avatar
  • 824
5 votes
1 answer
2k views

Illogical GTK theme behaviour on Ubuntu 18.04

I'm using X-Arc-White GTK theme in my freshly installed Ubuntu 18.04 desktop. I looks really amazing, but there's a problem with GNOME own applications, like system monitor or calculator. They are ...
Meiden's user avatar
  • 53
55 votes
6 answers
258k views

gksu: Gtk-WARNING **: cannot open display: :0

All of the sudden gksu stopped working for me: ~$ gksu gparted (gpartedbin:24252): Gtk-WARNING **: cannot open display: :0 The same happens with gparted-pkexec: ~$ gparted-pkexec No protocol ...
d_inevitable's user avatar
  • 1,902
16 votes
5 answers
16k views

How to change the theme of Snap Apps?

I am enjoying the new "snap" applications, but apps installed using this method doesn't seem to be using the system gtk theme I have set. Some use Adwaita or worse, Raleigh. How can I have them ...
Polygon6789's user avatar
2 votes
1 answer
14k views

Problem after update: blue screen with only the mouse cursor

My Ubuntu 12.04 was normally updated through the Update Manager, something about gtk. Then I rebooted and now all that shows after the splash screen is a blue screen that only shows the cursor.
user259302's user avatar
79 votes
2 answers
71k views

What is KDE, GTK, GTK+, QT, and/or GNOME?

I'm new to Ubuntu (and Linux in general). Sometimes when looking at programs in the Ubuntu Software Center, I see things about the programs being 'for the GTK+ environment', or 'for GNOME', or a ...
HellHarvest's user avatar
38 votes
5 answers
19k views

How do I enable Emacs keybindings in apps, such as Google Chrome?

Can anyone tell me how to enable Emacs keybind on Chrome? I found some links but they are either not clearly mentioning how to do so or not what I want (I don't want external tools to be run for this ...
IsaacS's user avatar
  • 1,106
34 votes
4 answers
79k views

How do I refresh the icon cache?

First of all, I'm not 100% positive that the main question I've written here is actually the problem, but I have a hunch that it is. I've wrote a simple Gtk# application in Mono awhile ago, and gave ...
soapergem's user avatar
  • 511
24 votes
8 answers
4k views

Where can I get themes and eye-candy for my desktop?

Apart from those themes in the repository and Gnome-look.org, are there other places to get themes for my Ubuntu Desktop? Also, are there any 3rd party repositories of themes and other eye-candy?
Richard Holloway's user avatar
14 votes
2 answers
12k views

Make firefox only use GTK theme on browser chrome, but ignore on websites

I have a dark GTK theme, I don't want firefox to ignore it all together, I only want the theme to effect Firefox's chrome (the buttons, address bar, bookmarks bar, etc., etc.), but I want the theme to ...
KoRnKloWn's user avatar
  • 817
11 votes
2 answers
3k views

Ubuntu: "Editable Menu Accelerators" (on a per app basis). Where is this option?

I keep seeing references to a config option calld Editable Menu Accelerators or Editable Menu Shortcut Keys. This is exactly what I need, but all the directions I've read about how to find that ...
Peter.O's user avatar
  • 24.7k
105 votes
3 answers
253k views

Failed to load module "canberra-gtk-module"

Today I installed: Ubuntu 12.04 Oracle JDK 7 and 8 IntelliJ 11.1.4 I setup my JAVA_HOME path to point to JDK 7. When I run IntelliJ I get this message: Gtk-Message: Failed to load module "canberra-...
user avatar
37 votes
3 answers
44k views

How can I get a java apps to use the GTK+ theme?

Is there a way to get java apps to use my gtk theme?
RolandiXor's user avatar
  • 51.5k
37 votes
6 answers
7k views

Can I stop apps from selecting "Recently Used" by default in file chooser dialogs?

In Ubuntu and Kubuntu 11.10 I see changes in behaviour of GTK file chooser dialog. When I try to open new file (second, third etc, not first in editor) dialog show "Recenty used" section. It is very ...
Dim_K's user avatar
  • 480
13 votes
2 answers
68k views

Dark GTK theme for Ubuntu 14.04

I am using the zonColor DarkNight theme on Ubuntu 13.10 and am quite pleased with it. I would like to have a similar theme for Ubuntu 14.04 but so far I could not find a single dark theme available. ...
Luís de Sousa's user avatar
76 votes
6 answers
192k views

Is there a way to know which GTK version is installed using the command line?

Is there a way to know which GTK version is installed using the command line? I am working on Ubuntu 11.10.
Black Block's user avatar
  • 4,991
34 votes
3 answers
53k views

Installing gtk development environment

Not new to Ubuntu or programming but I am new to programming in C and gtk. Have been using Quickly for the odd program. I want to play around with C and gtk. What gtk packages do I need to install to ...
cortexuvula's user avatar
15 votes
2 answers
4k views

How do I set the default sort order in open file dialog to "Name"?

Somehow the default sort order in open dialogues has changed to be sorted by Modified. It's changed in all programs, not just a specific one. This forces me to reach for the mouse and click the Name ...
user avatar
151 votes
1 answer
102k views

Difference between vim-gtk and vim-gnome

How are the packages vim-gtk and vim-gnome different from each other? I've tried both and the resulting Gvim feels the same (to me). If there is no difference, why are both packages maintained?
Owais Lone's user avatar
  • 7,372
36 votes
4 answers
26k views

Why is Canonical choosing QT over GTK for Unity's next generation?

So much has been written that I'm kind of confused, but if I'm not mistaken Canonical is building the next generation of Unity for mobile devices with Qt, and in the near future the desktop will also ...
opensas's user avatar
  • 3,187
23 votes
7 answers
10k views

Why are my file selection dialogs so big? How do I make them smaller?

When I use an external monitor, my file selection dialog boxes seem to be huge -- wider than my larger screen. I assume it is a nautilus issue since it happens whether I'm trying to open a file to ...
Amanda's user avatar
  • 9,363
22 votes
2 answers
3k views

What is the black header widget in some programs?

In some of the ubuntu programs (ubuntu control panel, system settings), but not e.g. in banshee, the top part of the window contains elements in dark tone (with the Ambience theme). But I cant find a ...
xubuntix's user avatar
  • 5,580
15 votes
4 answers
11k views

How can I theme my Qt app to resemble one written in Gtk?

Mark Shuttleworth recently blogged about the decision to include the Qt libraries in the 11.10 release, with a followup from Jono Bacon. The thing that puts me off Qt apps is that they don't blend in ...
user avatar
15 votes
2 answers
21k views

A lot of `gtk-warnings` in terminal. Is this serious?

I had a lot of problems with my system and had to reinstall it. One of them was these very messages. After reinstalling the system and using the same icons, I get the warnings again and am wary of ...
user avatar
12 votes
3 answers
12k views

Can gtk2 themes be converted to gtk3 themes?

I really don't like the stock gtk3 themes and have never found one I like. I do however have a few gtk2 themes I really like. Can these gtk2 themes be ported to gtk3 or made to work in 11.10?
Ruben's user avatar
  • 851
11 votes
2 answers
32k views

Can't Run GTK on WSL, Display Error [duplicate]

I'm using WSL on Windows 10. I've installed gtkwave through the terminal, but I am unable to run it. My system gives me the following error: Could not initialize GTK! Is DISPLAY env var/xhost set? ...
namila007's user avatar
  • 231
10 votes
3 answers
20k views

Gtk-Message: Failed to load module "overlay-scrollbar" Ubuntu 17.10

I run application in reinstalled Qt Creator 3.5.1 (opensource) Based on Qt 5.5.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 32 bit) And the building is successful. But also there are warnings: Gtk-...
zSakhalin's user avatar
  • 101
9 votes
1 answer
9k views

What GTK+ 3 engines are available?

With the switch to GTK+ 3.x, most theme engines no longer work, and I personally only know of 3 (Adwaita, Unico, and Solidity). What engines are available for use with GTK+ 3.x?
RolandiXor's user avatar
  • 51.5k
7 votes
4 answers
6k views

How do I get a matching theme when I run a program as root?

I use a Metacity theme in my Ubuntu installation. Unfortunately, it isn't activated for programs with GUI that are started as root user and some other other certain programs like gufw. When I start ...
NES's user avatar
  • 33.2k
7 votes
1 answer
2k views

How to move the lock window on the lock-screen?

Is it possible to move the window where you input your password on the lock screen away from the center, e.g. at the lower edge?
Psirus's user avatar
  • 130
7 votes
2 answers
3k views

What GTK widget is this?

Lately, I've seen the widget below appear in GTK applications. I can't find it in Glade. What is it?
Jo-Erlend Schinstad's user avatar
6 votes
1 answer
811 views

Increase the highlighted button bezel thickness (GNOME)

Is there any way to increase the visibility (e.g. thickness, contrast or colour) of bezel that surrounds the highlighted (aka selected) button in gnome window? TBH sometimes it is barely visible in ...
Marek Bocian's user avatar
6 votes
1 answer
9k views

How to work around Eclipse Luna/GTK bug 339174 (change to not use oxygen)

The bug is described here: https://bugs.kde.org/show_bug.cgi?id=339174 For me it fails with: java: /build/buildd/oxygen-gtk3-1.0.2/src/animations/oxygencomboboxdata.cpp:87: void Oxygen::ComboBoxData::...
Jakub Bochenski's user avatar
5 votes
2 answers
1k views

Google Earth and Skype theme

I use Google Earth and Skype since version Jaunty, and so far emulation Qt theme for GNOME runs perfectly, but when I use the default theme Ambiance and Radiance in Maverick, both applications look ...
squallbayu's user avatar
  • 3,054
5 votes
2 answers
22k views

How to solve old GLIB error

I am in the process of installing GTK+ but it needs various pre-requisites. These are glib - 2.0 >= 2.35.3 atk - >= 2.7.5 Pango- >= 1.32.4 gdk-pixbuf-2.0 >= 2.27.1 Now I upgraded my glib-2....
Hakim_Djzarie's user avatar
3 votes
2 answers
2k 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 &...
sai's user avatar
  • 33
3 votes
2 answers
520 views

Unreadable desktop text with theme

I'm using Ubuntu 18.04.1 LTS with unity user interface kernel 4.15.18-041518-generic gtk amd64 version 3.22 I installed two themes from b00merang: https://b00merang.weebly.com/windows-10.html -...
ExtrUnsk's user avatar
2 votes
1 answer
5k 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 ...
Leigh K's user avatar
  • 303
97 votes
1 answer
129k views

pkg-config not finding gtk+-3.0

States here that the package gtk+-3.0 was not found: karl@karl-ux303ln:~$ pkg-config --cflags gtk+-3.0 Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the ...
Karl Morrison's user avatar
32 votes
3 answers
19k views

What's the difference between GTK and QT?

Please bear with me as I'm a newcomer to Linux. I've been writing GUI programs in REALbasic on a Mac for several years. I'm trying to learn Python and I want to write GUI apps for Linux (primarily ...
Nootrino's user avatar
  • 657
24 votes
4 answers
40k views

error message when running zenity under 16.04: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged

Under ubuntu 16.04 I get the following message Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged when I open zenity with the command zenity --text-info --filename=&...
Leo Simon's user avatar
  • 1,529
21 votes
1 answer
61k views

Failed to load module appmenu-gtk-module + canberra-gtk-module

I have already tried : sudo apt-get install libcanberra-gtk-modul sudo apt-get install libcanberra-gtk-module:i386
Jan's user avatar
  • 319
21 votes
2 answers
21k views

How do I apply themes to gtk applications when I'm using Awesome WM?

No matter what I use, e.g. gtk-ctheme, and the other apps availible in the repos, gtk applications running under Awesome WM stay ugly. The same apps look fine when I use unity. Any thoughts?
Zachary Alex Stern's user avatar
20 votes
3 answers
27k views

Firefox not affected by gtk theme

How can I make firefox use Adwaita theme like all other apps do? Good: Bad: Preferably also make web pages darker as well.
Mislav Blažević's user avatar
18 votes
2 answers
42k views

Gtk-Message: Failed to load module "overlay-scrollbar"

I am using Xubuntu 14.04 (Ubuntu + xubuntu-desktop), The following Message shown many times (such as executing mousepad , zenity etc). $ mousepad Gtk-Message: Failed to load module "overlay-scrollbar"...
Pandya's user avatar
  • 35.8k