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

learn more… | top users | synonyms

66
votes
1answer
30k 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?
51
votes
1answer
61k 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 ...
30
votes
1answer
94k 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
29
votes
5answers
4k 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 ...
28
votes
2answers
5k 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) ...
24
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?
22
votes
4answers
6k 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 ...
21
votes
8answers
2k 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?
21
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 ...
18
votes
3answers
10k views

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

So much has been written that I'm kinf 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 ...
17
votes
2answers
3k 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
3answers
10k 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 ...
15
votes
2answers
7k 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?
14
votes
5answers
6k 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, ...
14
votes
2answers
9k 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?
13
votes
3answers
15k 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?
13
votes
1answer
2k 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 ...
13
votes
1answer
631 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 ...
12
votes
3answers
3k 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 ...
12
votes
1answer
3k 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 ...
12
votes
3answers
10k 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
11
votes
4answers
1k views

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

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 ...
10
votes
2answers
7k views

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

I'm new to Ubuntu (and linux in general). Some times 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 ...
10
votes
4answers
7k 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 ...
10
votes
6answers
10k 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
5answers
2k 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 ...
10
votes
2answers
543 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
3answers
43k 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?
9
votes
3answers
4k 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, ...
9
votes
3answers
3k 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? ...
9
votes
2answers
803 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 ...
9
votes
1answer
3k views

How do I enable Emacs keybindings in 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 ...
9
votes
4answers
624 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. ...
9
votes
2answers
639 views

Does Quickly support GTK3?

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

How to remove the resize grip in gtk3 windows?

This question has already been asked and answered for GTK-2.0 here ( Disable resize gripper in windows? ) but I couldn't find a way to achieve this on GTK-3.0 (on Oneiric Ocelot). I've seen the ...
9
votes
1answer
534 views

How to highlight buttons in a GTK toolbar

I've written an application using Python and Glade. The app has got a toolbar with a dark background, and each toolbar button has got a custom image (i.e. no stock icons are used). I've noticed that ...
9
votes
1answer
730 views

How do I reduce the size of the menu bar?

I am trying to make a slim-looking radiance theme. I dont want to switch to linuxmint for slim interfaces, and I like the unity interface more. I have been able to reduce padding from almost all ...
9
votes
1answer
568 views

Make sniqt recognize all tray abilities (or create a working indicator in Qt)

There is this old thread of mine: How do I create a working indicator with Qt/C++? where I was suggested to use the QSystemTray library for making a tray icon in Ubuntu for my application. Sniqt is a ...
8
votes
2answers
5k 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 ...
8
votes
4answers
5k 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 ...
8
votes
1answer
9k 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 ...
8
votes
3answers
2k 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.
8
votes
2answers
1k 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 ...
8
votes
1answer
5k 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?
8
votes
1answer
128 views

How do I get HUD to work with GTK2 apps

I have a program which uses GTK2 that I want to integrate with HUD called Stata 12. The menus are correctly located in the appmenu, but the menus do not show up in the HUD. When I do use HUD and try ...
8
votes
1answer
238 views

Why does Radiance have GtkLabel while Ambiance doesn't?

I was looking at the gtk-widgets.css files in Ambiance and Radiance (/usr/share/themes/theme_name/gtk-3.0/) after the recent light-themes update. One difference I noted in the section titled notebook ...
8
votes
2answers
480 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 ...