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

learn more… | top users | synonyms

1
vote
2answers
876 views

How can I change the default background color of all windows in X?

I've noticed nearly every window, pop-up, right-click menu, and button all take on this same shade of gray. In the attached picture, you see PCManFM, Leafpad, and Audacity all use this color for their ...
1
vote
1answer
314 views

Themes app not showing preview for installed GTK themes (Window borders and Controls) in Cinnamon

I have installed Cinnamon in Ubuntu using a ppa. The problem I have is that newly installed GTK themes won't show previews in Themes application. Here are the screenshots. .As you can see the Window ...
2
votes
0answers
166 views

Increase GTK+ 2 icon size?

For use with a HiDPI screen, I would like to increase toolbar and menu item icons in GTK+ 2, possibly to 48×48 px. For the Gimp, I am able to increase tool icons by specifying in the theme's gtkrc: ...
0
votes
1answer
39 views

GTK Theme Foreground color not working

I am using a GTK3 theme called Numix. It looks very nice, but the foreground color in dialogs is almost exactly the same as the background color. I have tried editing various lines in the theme file, ...
5
votes
2answers
156 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 ...
3
votes
2answers
312 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): ...
0
votes
1answer
548 views

No GTK settings in Opensuse 13.2, KDE Plasma 5

I remember that in KDE 4 (at least in Kubuntu) and also in other KDE 5 environments I tested, there were some appearance settings for GTK applications. I have installed Opensuse 13.2 with Xfce ...
0
votes
1answer
93 views

Start GTK apk based on Python

How to start application based on Python + Glade? startx python apk.py is not working. I can run application like Firefox from text mode: startx firefox
2
votes
1answer
3k views

Qt5 applications don't use gtk style on Liux Mint

Qt4 applications use the gtk theme by default, but Qt5 applications need to be started using -style gtk, or they don't look like gtk applications. Is there a way to make Qt5 applications use the gtk ...
4
votes
3answers
1k 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), ...
1
vote
0answers
175 views

Is there a way to disable mouse scrolling on a combobox in GTK/Gnome and Qt/KDE?

I'm scrolling a window content and it happens the mouse pointer place over a combo box and it begins to scroll its content. This is annoying. I experienced it in KDE and Gnome and I'm wondering is ...
5
votes
1answer
435 views

Setting environment variables for Gnome on Wayland session only

I'm testing GNOME 3.14 on Wayland on ArchLinux and I would also like to test GTK+ on Wayland. To do so, I can set the following two env variables from terminal export GDK_BACKEND=wayland ...
3
votes
1answer
2k views

Where may I find a reference scheme for GNOME 3 theming (e.g. Adwaita)?

I upgraded to Fedora 21, which spotlights GNOME 3.14 (plus the relevant GTK+ material). Unfortunately it seems that this particular update mangles a lot of my older themes, written for now-aging ...
4
votes
2answers
2k 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 ...
0
votes
0answers
980 views

How to install the GTK+2 or GTK+3 tookliks for Python 3 development on Debian?

I want to make a GTK+2 or GTK+3 application in Python 3. For GTK+2, I tried installing PyGTK, but I cannot find any version of PyGTK for Python 3 within Debian's repositories. For GTK+2, I followed ...
0
votes
1answer
286 views

Why is Gnome 3.14 window decoration inconsistent

I am using debian testing with gnome 3.14. despite trying googling around why that happened, I didn't find a solution. My question is: Why is my terminal and sublime text not consistent with the ...
1
vote
1answer
114 views

gtk-2.0 theme: is it possible to change inactive slider?

I'm doing some slight modification of an existing theme, and I want to have the sliders be different colors in active and inactive windows. Here is an example of the slider code in the gtkrc file ...
1
vote
1answer
289 views

Theme not applying correctly

I just switched from Parabola running GNOME 3.14 to Debian Sid running GNOME 3.14, and the same theme that worked fine on Parabola now isn't applying correctly. The scroll bars among other elements ...
1
vote
1answer
184 views

float.h library not found when compiling gtk+3/vte app with Homebrew

I get the following error when I try to compile my application. I have installed all dependencies using Homebrew, looked at output from "brew doctor", nothing clear on how to solve this problem. I ...
1
vote
1answer
732 views

Install latest GTK without building myself

I'm using GTK3.4 and I need to update to > GTK3.10 for a theme editor I would like to use. I've never built something like that from source and the task looks a bit daunting. I've looked at what's ...
0
votes
1answer
281 views

Fedora 20 problem: opening Putty via terminal as a non-root

From my perspective: [test1@localhost ~]$ putty (putty:8996): Gtk-WARNING **: cannot open display: Gtk-WARNINGs also appear while trying to open at least a few other applications. Those warnings ...
2
votes
2answers
2k views

Cannot run JD-GUI with 64-bit shared libraries, needs 32-bit libraries

I was trying to use JD-GUI, a free Java decompiler program, on my Fedora 20 laptop today, but I was running into an error when trying to execute the program. $ ...
-2
votes
1answer
287 views

Is it possible to install gtkdialog on solaris system

Is it possible to install GTKDIALOG on Solaris system?? If somebody has it, let me know
2
votes
1answer
127 views

Browser in Xwayland unresponsive (incl. video)

I use wayland with xwayland and weston and run X11 applications from an xserver that is running in wayland/weston. This includes my browsers, Firefox and Chromium, as they currently cannot run ...
2
votes
1answer
5k views

How to set GTK icon theme in i3?

How to change icon theme in i3? If this matters, I'm working on Arch Linux. I googled, but I can only find info about GTK theme, not icons.
2
votes
1answer
264 views

gtk-window-decorator takes up too much memory, and is it safe to restart it?

I would like to restart the gtk-window-decorator process, because it takes up 600MB memory. Will that affect other processes? From my experiences, after killing it, all other programs will lose their ...
4
votes
1answer
107 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 ...
3
votes
2answers
485 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 ...
1
vote
1answer
621 views

chrome ui issues with mint 17

I did install Mint 17 (Qiana) today and I seem to have problems with the window title bars such as chromium title bar. I have limited knowledge of tool kits such as qt or gtk. From what I read so ...
0
votes
0answers
3k views

GTK3+ and C++ on OSX - “No GSettings schemas are installed” error

I'm trying to run a C++ example with GTK3+ and GStreamer components on OSX. I can gcc compile the source with: gcc -o basic5 basic-tutorial-5.c 'pkg-config --libs --cflags gstreamer-1.0 ...
0
votes
1answer
158 views

gnome-session error on rhel (canberra-gtk-module error)

When starting cppeclipse in gnome-session via vnc it appears following error on rh6 canberra-gtk-module not found, module is present in /usr/lib/x64/ also fails when LD_LIBRARY_PATH=/usr/lib/x64/ is ...
4
votes
1answer
398 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 ...
21
votes
2answers
20k 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?
2
votes
1answer
136 views

GTK Icons for special files

Does named pipe for instance have it's icon, I have a theme for GTK and when I've create named pipe it give icon from gtk-file.svg file or symlinks that point to that: application-x-empty.svg ...
1
vote
0answers
67 views

Menu not shown in GTK applications

The menu bar is hidden for all my GTK applications (LXTerminal, Leafpad, Thunar...). How can I show it? I have the issue with OpenBox, and with Gnome-shell.
3
votes
1answer
267 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
1answer
257 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 ...
1
vote
1answer
294 views

lxappearance, FreeBSD and normal user

I set pure Openbox desktop on FreeBSD 10 and I am usingn lxappearance for theme, font and icon changes. but if i do $ > lxappearance I can't install icon themes or GTK+ themes. if i do $ > sudo ...
1
vote
0answers
57 views

Prevent pressing the alt hotkey from focusing menu in Gtk 3

The behavior of Alt changed in a subtle manner between gtk2 and gtk3. In gtk2, pressing Alt then releasing it did nothing. In gtk3, pressing Alt then releasing it focuses the first item of the first ...
2
votes
1answer
690 views

glade gtk+2 and gtk+3

I have Gtk+3 already installed as it was with the distro. I need to use gtk+2 and glade. How do I use glade with gtk+2 and still have both gtk2 and gtk3 installed on my linux box? I have Glade ...
1
vote
0answers
55 views

Change the size of a specific context menu entry?

Is there a way to change the size of one specific context menu entry of GTK+ applications? Preferably without requiring superuser privileges. Why? In some applications, I use one specific context ...
5
votes
2answers
7k 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
2answers
1k views

GTK applications don't get the icon theme selected in KDE

I changed my KDE icon theme to KFaenza (but it doesn't matter: happens with any other icon theme I choose) and would like to have consistent icons across both KDE applications and GTK applications. ...
2
votes
1answer
980 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 ...
9
votes
1answer
2k 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 ...
1
vote
0answers
1k views

GConf-WARNING **: Client failed to connect to the D-BUS daemon: Unable to autolaunch when setuid

I am encountering a strange error whenever I run certain commands, for example, sudo apt-get install ______ and I receive the following error: (process:28847): GConf-WARNING **: Client failed to ...
1
vote
1answer
209 views

Why are certain menus unreadable when using a new GTK+ theme with Nautilus?

I installed a new GTK theme for both GTK 2.0 and 3.0, and now there are certain windows that have unreadable text in Nautilus. The text color is black on a light background, I made sure of this with ...
0
votes
1answer
732 views

Skype - not using GTK+

I am on a x64 Archlinux running openbox DE and have been strugling for some time now to configure Skype to use my GTK+ theme which i set to Oxygen. I have tried following this wiki as well as this ...
4
votes
1answer
1k 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 ...
3
votes
2answers
3k 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 ...