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

learn more… | top users | synonyms

15
votes
2answers
9k views

What is difference between GTK and QT applications?

Many packages available with GTK and QT versions. So, What is difference between them? Is there any difference in performance or working method?
11
votes
5answers
6k views

Reduce eclipse tab size with GTK theming

In Eclipse on Fedora, these controls/widgets take up too much space: How can I make those bars thinner with a gtk-rc file or GTK3 CSS theming? UPDATED : I found ...
10
votes
3answers
6k 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 ...
10
votes
3answers
1k views

Disable “Recently used” in GTK file/directory selector

Can I completely disable "Recently Used" feature in GTK's file / directory selector? Sometimes programs default to this but since it's not useful in my work-flow and with the way I organize my ...
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 ...
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: ...
6
votes
1answer
914 views

Thunar keyboard shortcut to change tab

Currently in Thunar, to shift to the next tab, Ctrl+Alt+PageDown is to be used. I want to change it to either Ctrl+Tab or Ctrl+PageDown. Now, ~/.config/Thunar/accels.scm is where all the shortcuts ...
6
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 ...
5
votes
1answer
630 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 ...
5
votes
3answers
224 views

Interacting with X applications programmatically

I have an application which is built using GTK+. The application has a very simple interface. When started, the same window always opens, with a few input controls. We want to write a script to fill ...
5
votes
1answer
2k views

How do I update IcedTea?

I've only been using Linux for about a month. I'm running Mint 13. I'm trying to use www.goproblems.com but it tells me that my IcedTea is out of date. I hoped there was a package but I can't find ...
4
votes
2answers
466 views

Compiler cannot find header file, do I add the directory to PATH?

I am trying to work with gtk which is located at /usr/include/gtk-3.0/gtk/ .., but all of the header files in the toolkit have #include <gtk/gtk.h>. Aside from adding /usr/local/gtk-3.0 to ...
4
votes
1answer
2k views

How to prevent the auto creation of the “Desktop” folder? [duplicate]

Possible Duplicate: Which application should I blame for compulsively creating a directory again and again? When I upload files via Firefox, the Open File dialog appears and the Desktop ...
4
votes
2answers
4k views

What is this .gtkrc file?

I was going through Tim Pope's dotfiles and I happened to notice that he had a .gtkrc file. What does this configuration file do? And how can I make one of those?
4
votes
2answers
266 views

Is there a command which lists installed applications based on whether they use GTK2 or GTK3?

I'm using Lubuntu 12.10 and I know of two ways to tell if a specific program uses GTK2 or GTK3: I can make changes in ~/.themes/theme_name/gtk-2.0/gtkrc, for example, and see if a specific ...
4
votes
1answer
201 views

Will GNOME and GTK libs bloat up my KDE?

I want to use Shutter. I installed it previously under Kubuntu and it needed a lot of libs. What bothered me most was that Kubuntu wanted me to restart, that is rare for OS's nowadays and in general ...
4
votes
1answer
487 views

Any tool for inspecting GTK3 elements?

gtkparasite is great for GTK2, but unfortunatelly it can't do GTK3 applications. Is there any alternative?
4
votes
1answer
941 views

Archlinux & openbox - greyish win 95 applications

I have just installed Archlinux & openbox but i have to say i am a bit dissapointed that the applications have this dull greyish (win 95) look: On the picture there are two programs open which ...
4
votes
3answers
1k views

How to make Compose work in GTK and Qt apps?

I used Gnome for a long time, but preferred vanilla X input method (xim) over the default GTK behaviour. I just set GTK_IM_MODULE and QT_IM_MODULE enviroment variables to xim, and didn't have any ...
4
votes
2answers
3k views

How to install GTK3 in Centos 6.2

I have Centos 6.2 and I want to install GTK3 to be able to install gitg. I looked up on Google, and couldn't find anything useful. The thing is people suggest I need to install GTK3 by manually ...
4
votes
2answers
56 views

Prevent the Gtk file dialog from listing mount points

When I open the Gtk file dialog, there is a box called “Places” on the left-hand side which lists “Search”, “Recently Used”, a bunch of directories, and several things that appear to be volumes. I ...
4
votes
1answer
65 views

What is the CSS selector for GtkSearchBar?

I've been trying to customize the Elementary GTK3 theme (I'm using elementary OS), and would like to have different padding each for GtkEntry and GtkSearchBar. I set the padding for all GtkEntry type ...
4
votes
1answer
160 views

show filesystem instead of “places” in gtk file chooser

In almost any program, when I click on open, a file chooser dialog opens as shown below. This dialog shows recently used files Desktop and so on. This is extremely annoying. I would like to see my ...
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 ...
3
votes
4answers
315 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?
3
votes
2answers
763 views

How to prevent a Qt/GTK app (Calibre) from using colors defined in .Xresources?

I have colors defined in .Xresources. They look lovely on urxvt, and utterly ghastly on Calibre. Calibre does not appear to have any way to disable or override those colors, so is there any way I can ...
3
votes
1answer
1k views

Terminal resizes itself

I've recently installed Linux Mint 12 ("Lisa", i.e. not the KDE or Debian version) on a Zotac Mini-PC (Which has an AMD Video card. I'm not using the proprietary drivers as they don't work very ...
3
votes
2answers
5k views

How can I change the GTK engine on Cinnamon >= 2.0?

I just upgraded to Cinnamon 2.0.14 on my LMDE laptop and in this new version I am unable to change the GTK engine used. Menus and widgets in general look very ugly: When they should look something ...
3
votes
1answer
4k views

How should one change the width of scrollbar?

I started using Linux Mint 13 Mate a few days ago and I can't find anyway to change the width of my scrollbar, no matter it is firefox, chrome or File Manager. I tried to search google with "Linux ...
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 ...
3
votes
2answers
212 views

GTK: Specify application foreground and background color on command line

In the old days, all X11 applications would take standard command-line arguments to specify things like foreground/background color. Is there a way to do that today for GTK applications? In particular ...
3
votes
1answer
134 views

GTK Frontend for locate

I am a heavy user of the locate tool, which is part of the findutils package. It's fine to use it on command line, but sometimes I would also like to search for a file (as fast as with locate) within ...
3
votes
1answer
460 views

Critical messages from gsm and gtk

After upgrading to Fedora 18, I am seeing the following critical messages on /var/log/messages whenever I log on to the computer: CRITICAL: gsm_manager_set_phase: assertion \`GSM_IS_MANAGER<br> ...
3
votes
1answer
2k views

Modifying menu color of a gtk 3.0 theme

I'm trying to integrate a GTK3.0 theme with xfwm4 theme, Now I need to change the menu background color, so I get the color value with gcolor and tried to grep for that value, nothing found under ...
3
votes
3answers
3k views

GTK+3 config Arch/LXDE

I use Arch + LXDE. I performed a full system upgrade and upgraded packages seems to have included GTK+3. Since the upgrade, my GTK+3 progs such as GEdit, Evince, etc. look somehow terrible (unusual ...
3
votes
1answer
819 views

Launch a GTK3 aplication without customized gtk settings?

In previous versions of gtk it was easy to launch one instance of an application with default gtk settings: GTK2_RC_FILES= epdfview But for version 3, it won't work anymore: GTK3_RC_FILES= evince ...
3
votes
1answer
751 views

Why do programs run with sudo not have system theme applied?

I am currently running Linux Mint 14 - Mate Version and I have noticed that whenever I run a program with sudo, the system applied GTK theme(applied in "Appearance") does not work properly. Therefore ...
3
votes
1answer
227 views

Suddenly I have troubles plotting with python

I have a code that I used yesterday to generate plots. Today, when I tried to use it (with the same input as yesterday), I get an error: QGtkStyle was unable to detect the current GTK+ theme. ...
3
votes
1answer
565 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 ...
3
votes
1answer
541 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 ...
3
votes
2answers
2k views

How to customize window decorator for a single non-GTK3 application window in Gnome3?

Is there a way to specify dark themes for the window decorator (Mutter) for just a single application? (Like Sublime Text). For example, on the screenshot below one window is customized to have a ...
3
votes
1answer
543 views

How to add gtk2 theme to KDE?

I'm trying to find a good GTK theme that I like for certain applications. Trouble is, I don't use Gnome-- I have OpenSUSE 12.2 x64 with KDE 4.9 only. So if I've downloaded a theme tarball, what can I ...
3
votes
1answer
682 views

GVim compiled from source does not use gtk2

I have two HP-UX machines say A and B with HP-UX 11.11 and 11.31 respectively. I'have compiled gvim 7.3 from source an B, and gvim 7.0 on A. On A, gvim uses "version with GTK GUI", Compilation with ...
3
votes
2answers
3k views

Gtk theme won't apply in Fluxbox

I installed my Arch Linux with Gnome 3 and Fluxbox on top of it, and I use Fluxbox as the default, but I have this weird problem that I can't manage to fix. I set my theme for Fluxbox and that is ...
3
votes
1answer
201 views

Some software runs only by root terminal

I'm facing this odd situation here, programs such as gparted, furiusisomount and Rstudio never run by clicking on their icons in the applications menu or by running them with terminal as a normal ...
3
votes
0answers
100 views

Theme looks different depending on location in FS?

I am noticing an annoying effect when copying GTK themes and I am unable to explain it. Copying a theme from /usr/share/themes to ~/.local/share/themes results in a new theme that looks different than ...
2
votes
1answer
2k views

Gtk2 Themes under Gentoo's Gnome 3

I have made it to get a nice gnome shell environment running under my new gentoo. It's all fine, except there are a whole bunch of programs built against gtk2 (Chromium, Pidgin, Thunderbird, Firefox), ...
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 ...
2
votes
2answers
237 views

How can I make text in meld readable?

A few months ago, meld started behaving oddly. Common lines are almost unreadable, and shown as dark grey text on a black background. Oddly enough, running it as root is fine (with kdesudo meld), ...
2
votes
3answers
894 views

Dead (compose) keys not working in GTK apps since upgrade

I'm running Kubuntu with KDE as my main desktop environment. A while ago I set up dead keys so I can type Chinese pinyin and other accented letters and special characters. As a side note, I use IBUS ...