Questions about the GTK+ graphical user interface toolkit. The Gnome desktop uses GTK+.

learn more… | top users | synonyms

102
votes
1answer
55k 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?
63
votes
1answer
82k 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 ...
35
votes
2answers
169k 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
33
votes
5answers
5k 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 ...
32
votes
4answers
38k views

How to know my GTK version?

I want to know my GTK version (i am working on Ubuntu 11.10) using a command line or any thing
31
votes
2answers
9k views

Connect WebKit WebView form to a Python callback?

I am writing a small Python and WebKit app; I am using WebKit as the UI for my app. What I want to do is to create an interactive element in WebKit (namely a combo box or a set of clickable regions) ...
29
votes
4answers
19k 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 ...
26
votes
5answers
4k views

Disable resize gripper in windows?

Is it possible to disable the the new resize gripper that shows up in Ubuntu Natty/11.04?
26
votes
2answers
58k 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 ...
25
votes
4answers
11k 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 ...
23
votes
2answers
21k 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 ...
22
votes
8answers
3k 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?
22
votes
3answers
18k 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?
22
votes
2answers
2k 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 ...
21
votes
3answers
23k 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 ...
18
votes
2answers
10k 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?
17
votes
3answers
117k views

How do I Install GTK+ 3.0?

How can I install GTK+ 3.0 on Ubuntu 11.10 and use that instead of GTK+ 2.24?
17
votes
4answers
20k views

Window title-bars missing occasionally in Unity

window (title and icon) sometimes doesn't appear. As a solution to this, I have to logout and login again. Is there something wrong with my system? How to make sure that this doesn't happen again?
17
votes
3answers
6k views

Differences between Qt and GTK programs?

Refering to this question, there are two different versions of the Autokey program: Autokey (Qt-based) and Autokey-GTK. What are the differences between a Qt-based program and the GTK one and are ...
17
votes
2answers
1k views

Are there still plans to implement transparency (RGBA) in Ubuntu's theme?

A while back there was a lot of talk about Canonical implementing subtle transparency in GTK for Ambiance and Radiance themes - Is this no longer on the agenda? Was there a hold up?
16
votes
1answer
15k 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.
15
votes
5answers
12k views

How to run asynchronous tasks in Python GObject Introspection apps

I'm writing a Python + GObject app that needs to read a non-trivial amount of data from disk upon start. The data is read synchronously and it takes about 10 seconds to finish the read operation, ...
15
votes
4answers
14k 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 ...
15
votes
3answers
7k 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 ...
15
votes
4answers
6k 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 ...
15
votes
2answers
3k views

Putting an arbitrary gtk.Widget into an appindicator.Indicator

Putting any gtk.Widget inside a gtk.Menu works, somewhat, by putting an empty gtk.MenuItem in first. It doesn't seem to be reliable - but it basically works. With an appindicator.Indicator, it doesn't ...
14
votes
5answers
10k views

make qt programs look good under XFCE?

I use xfce. My problem is - some programs look nice and some sort of ugly. AFAIK this is because XFCE is gtk and most programs use gtk theme, but some programs use qt and thus don't use gtk themes ...
14
votes
1answer
40k 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 ...
14
votes
2answers
4k views

What can be done to make Wine look more integrated into Unity?

Wine looks like an alien that says "Hello, I am definitely not part of your desktop environment". Many wine applications have no icons and wine itself runs on the ugly-looking windows 95 theme. Is ...
14
votes
4answers
1k views

After 15.04 update: Aliased/choppy icons

Just updated to 15.04, and my icons are all aliased/choppy looking now. I tried purging and reinstalling my icon themes, and I keep seeing this warning: gtk-update-icon-cache: The generated cache ...
13
votes
5answers
3k 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 ...
13
votes
2answers
7k views

How to stop gedit (and other programs) from outputting GTK warnings and the like in my terminal?

I am running awesome on trusty after having upgraded from raring. My desktop environment intentionally does not have all the Gnome / Freedesktop daemons running—I don't want them. When I execute ...
13
votes
1answer
642 views

Will it be possible to use GTK3.2's HTML5 extension in 11.10?

Does anybody know wether or not it willbe possible to use the GTK3.2's new HTML5-extension in Ubuntu 11.10? They announced that GNOME3.2 will be included, but will they build the GTK packages with the ...
13
votes
0answers
260 views

Change the opacity of a cut selection (nemo.css)

I am trying to find what I need to edit in a GTK theme (specifically Ambiance) to change the opacity of a cut file. A selected file is orange and when I cut it, it is a little opaque - I 'd like it to ...
12
votes
2answers
2k 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 ...
11
votes
2answers
49k 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. ...
11
votes
3answers
6k views

what is the difference between a GTK theme, Metacity theme, and Emerald theme?

I keep seeing themes as being labelled as metacity or GTK or Emerald. From reading in other places, I gather that Metacity is a window manager and changes the window borders, so what is a GTK theme? ...
11
votes
5answers
2k views

Why do most GNOME developers prefer Python over Java for GTK+ programming? [closed]

I only know C and Java. And I really don't want to learn another language when I can work with what I already know. I haven't ever written a GTK+ application, but I am planning to start with an ...
11
votes
3answers
4k views

What app tests all of GTK's UI elements?

I've seen it in screenshots before. What application provides a window that contains all of GTK's UI elements? I need an answer applicable to GTK+2 and GTK+3.
11
votes
6answers
3k 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 ...
11
votes
2answers
1k views

Is there some way to get a more usable file chooser dialog?

On other operating systems the file chooser dialog in applications lets you do things like: see a larger preview of images in the current directory create a new folder change the view of the current ...
10
votes
3answers
6k views

Can I hide the title bar of MPlayer in gnome?

I'm on a 10.04 machine with MPlayer, version SVN-r1.0~rc3+svn20090426-4.4.3. When you invoke MPlayer from the command line to show a file, it displays the file within a window. This bar has a title, ...
10
votes
7answers
14k views

GTK+ in Kubuntu apps look bad

I have installed Evolution email client on Kubuntu 11.10 and it's not so cute as expected. Eclipse also looks bad. I have the GTK+ Appearance plugin in KDE System Settings and already tried QTCurve ...
10
votes
4answers
4k views

Numix removes borders and colors in unity launcher

I recently re-installed ubuntu 14.04, when i installed the numix gtk theme, the borders of all the icons in the unity launcher dissapeared along with the colors, i tried relogging, re-applying the ...
10
votes
4answers
936 views

What is the recommended widget toolkit for Ubuntu desktop?

As I understand it, Qt - C++ and QML - or HTML5 are recommended for writing Ubuntu for Phones applications. Also, correct me if I'm wrong, but Python is the preferred language for Ubuntu Desktop. ...
10
votes
2answers
666 views

Does Quickly support GTK3?

Simple question: can Quickly use GTK2 only or also GTK3 for GUI?
10
votes
2answers
2k 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 ...
10
votes
2answers
604 views

Quickly application with ListStore as preference

I'm starting to write a program with 'quickly'. A list of desired languages will be one prefereces. Example: languages = ["en", "de"] The (automaticly created) quickly code that handles the ...
9
votes
2answers
9k views

Why can't I import “pygtk” with Python 3.2 from PyDev?

I have installed Eclipse + PyDev + Python 3.2. Now I have two Python interpreters in PyDev: Python 2.7 and Python 3.2. If I try to execute command import pygtk with 2.7 interpreter it works fine, but ...
9
votes
2answers
1k views

Why do the GNOME symbolic icons appear darker in a running application?

I'm creating an application that uses symbolic icons from the default theme. However, there are a few icons that I need that cannot be represented by those from the default theme, so I'm creating my ...