GTK+ (GIMP Toolkit) is a cross-platform framework for creating graphical user interfaces.

learn more… | top users | synonyms

2
votes
1answer
2k views

gcc: -pthread: No such file or directory

Trying to compile following code in terminal i got gcc: -pthread: No such file or directory, what does this error means and how to eliminate it? file name: window.c code: #include ...
1
vote
0answers
136 views

GNOME / GTK app installed from source runs with default theme

I've installed a GNOME / GTK application from source (GitG 0.2.5 in Linux Mint 11) - after resolving all the dependencies, I successfully ran the application. The dependencies were also installed ...
1
vote
1answer
2k views

Xubuntu and gtk apps problem

After upgrade from Ubuntu 11.04 to Ubuntu 11.10 I got disappointed with "Unity". I wanted my old-style Gnome 2 back. That's why i purged "Unity" and installed Xfce4. But, now i have a problem: All my ...
2
votes
0answers
107 views

Use the system Compose database in Gtk applications [duplicate]

I'm using a X server which doesn't implement the XKB extension (it is VNC, but I don't think it matters, my vncviewer is running on Windows XP, I don't think it matters either). I've set up a ...
1
vote
0answers
74 views

White listing directories for GTK

Back in 2007 there was some work done to allow system admins to lock down GTK+ and Nautilus. File dialogs can only view white-listed directories. This won't create permission problems for programs, ...
3
votes
1answer
550 views

How to launch a GTK program centered on the screen?

I'm trying to launch xcalc from the command line, in my embedded Unix, and I would like it to start centered on the screen, is there a way? By the way, I'm using WindowMaker, if it makes any ...
4
votes
2answers
1k views

indistinguishable active tab in gnome terminal

I am running Gnome 2.30.2 and Gnome Terminal 3.0.1 on my Debian Sid and recently the active tab became almost indistinguishable from other tabs. It is actually the same colour. Changing the themes ...
10
votes
3answers
5k views

GTK - Enable/set dark theme on a per-application basis

Is there a way to set gtk-application-prefer-dark-theme for an application? This is normally set in the code by the application. Apps such as Eye of Gnome and Totem turn it on. I want to, as a user ...
3
votes
2answers
1k views

KDE theme manager in pure OpenBox WM?

I've setup a pure OpenBox system with no specific desktop environment like Gnome, KDE, or Xfce, etc... It works well, and I have been able to customise the desktop's appearance with software like ...
0
votes
1answer
833 views

Building monotools-server, gtk+, pango - bizarre path issues

I'm attempting to build the monotools-server app from source. After days of hunting down missing dependencies (and in one case (xsp) having to manually modify a generated Makefile to remove a ...
3
votes
1answer
537 views

How to get the icon for a MIME type?

How to get the icon for a MIME type? I don't want to use g_file_info_get_icon() because its input parameter is a file, not a MIME type. My use case: I have a wrapper file which embeds a media ...
7
votes
4answers
7k views

How can I run Firefox on Linux headlessly (i.e. without requiring libgtk-x11-2.0.so.0)?

I’ve got Dreamhost shared hosting, and I’m trying to run Firefox 3.0 on it headlessly for use with Selenium. When I try to run it (~/local/bin/firefox/firefox), I get the following error message: ...
8
votes
3answers
3k views

Where does GSettings store its files?

I would like to have a look at the files the dconf-editor uses to read/write settings, and I'm assuming that they are managed by gsettings. Where are these files stored on the system, and in what ...
1
vote
1answer
395 views

Gtk application (Gvim) rendering troubleshooting

When I switch from gvim to another application and then after some time switch back gvim window appears blank with cursor blinking in the middle. Sometimes toolbar and tabs look like a white space. ...
3
votes
4answers
314 views

Are there distros that still ship GTK+ 1?

GTK+ 1 has been deprecated some years ago, and I'm curious if there's still anyone shipping it and/or apps using it. Also, are there still actively-developed apps using it?
4
votes
1answer
253 views

Diacritics do not work in GTK+ applications running on Mac OS X Snow Leopard

I am using some GTK+ applications in Mac OS X Snow Leopard. My MacBook is configured for using the Brazilian layout, which allows it to enter diacritics as dead keys (so I can write á typing ' and ...
2
votes
4answers
2k views

Anacron job complains “Gtk-WARNING **: cannot open display”

I'm trying to make a simple weekly Anacron job that backs up my computer if I click yes on the dialog. The script I wrote works fine if run manually, but when Anacron runs it, nothing happens and I ...
5
votes
1answer
624 views

How do I execute a program in gnome and make it use another gtk theme other than the default one?

I use a dark theme and the program that I am trying to run hard-codes some color values that make it unusable with the dark theme settings. I want to run this program without the dark theme being ...
2
votes
2answers
4k views

How do I change Xfce 4 “theme” tab colors?

I recently switched over to Xfce and really enjoy it. However, when I went in to my settings to change the appearance, the theme that I liked best was "Xfce-dusk" with one exception: The default ...