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

learn more… | top users | synonyms

11
votes
2answers
1k 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?
9
votes
5answers
4k 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 ...
9
votes
2answers
749 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
2k 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
2answers
4k views

Set gtk-application-prefer-dark-theme as a user setting

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 ...
6
votes
3answers
6k 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
45 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 ...
5
votes
1answer
562 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
1answer
1k 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
144 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
3answers
136 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 ...
4
votes
1answer
165 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
397 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
592 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
1answer
432 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 ...
4
votes
2answers
2k 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
1answer
826 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 ...
4
votes
1answer
33 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
243 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
307 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
541 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
2answers
896 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
54 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
59 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
669 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
3answers
588 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 ...
3
votes
1answer
221 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
426 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
497 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
1answer
328 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
515 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
128 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
84 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
2answers
3k 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?
2
votes
1answer
1k 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 ...
2
votes
1answer
3k 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 ...
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
2k 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 ...
2
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 ...
2
votes
3answers
641 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 ...
2
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 ...
2
votes
1answer
1k 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
4answers
1k 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 ...
2
votes
1answer
344 views

My ~/.Xresources is disabling gtk antialiasing

When booting into my window manage (xmonad), gtk fonts are anti-aliased, but for some reason urxvt has problems with variable names in my ~/.Xdefaults (it fails to parse the variable names as colors ...
2
votes
1answer
233 views

Leafpad ignoring gtkrc

On a fresh install of Debian Wheezy, I have Leafpad 0.8.18.1-3. Following instructions I created a .gtkrc-2.0 in my home folder and put the commands to change the text area colors. This had no effect. ...
2
votes
1answer
320 views

Can Qt SDK be used for development on any Linux distro?

Fisrt of all I am a Windows developer guy but really like Linux. On Windows, Visual Studio provides an excellent IDE for C and C++ development. The only other IDE and toolkit I like is the Qt SDK and ...
2
votes
2answers
3k 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 ...
2
votes
1answer
488 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 ...
2
votes
1answer
397 views

GTK 3 apps text backdrop looks wrong, on any theme

I am having a problem with GTK 3 applications (GTK 2 apps work correctly): no matter which theme I choose, there are many places where colors are off. E.g. in the screenshot you can see that the ...