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

learn more… | top users | synonyms

2
votes
1answer
2k views

Gtk-Message: Failed to load module “unity-gtk-module” Ubuntu 14.04

I installed Ubuntu 14.04 recently on my computer. After I followed this link to install Adobe pdf reader, ever time I use xdg-open to open a pdf file, there are tons of message showing on my screen: ...
0
votes
1answer
33 views

How to fix Numix theme on Ubuntu 14.04

I'm using the Numix-bluish-3.16 theme on Ubuntu 14.04. However, the visual experience is not very consistent. Some examples: Is it an incompatibility issue with my GTK version?
1
vote
1answer
27 views

Python NameError: gloabal name 'resolution' is not defined

I'm working on developing a python application for Ubuntu that enables a user to have their desired resolution without requiring graphics drivers. In order to do this I've been using xrandr. However ...
1
vote
0answers
23 views

What are the advantages of using GTK3 and GTK+3 over GTK-2?

I'm creating a utility program for Ubuntu in Python using GTK-2 and have been told by several people to use GTK3. Why would I want to do so, and would are the advantages of using it instead of GTK-2? ...
1
vote
0answers
26 views

Gtkterm: Control signals read: Input/output error

I am an Ubuntu newbie and I just installed GtkTerm. I get this error message as soon as I open GtkTerm via the Terminal: Control signals read: Input/output error It would be great if someone could ...
3
votes
0answers
67 views

Corrupted Fonts

I just installed 14.04.2 and certain glyphs are corrupted in Firefox. It only happens at certain zoom levels. If I use Ctrl-mouse-wheel to zoom the page I can make the corruption appear and ...
2
votes
1answer
4k views

How do you update GTK+ and/or Gnome on Ubuntu 14.04 LTS?

I found a theme that I wish to run, and it says that is is meant to run on Gnome 3.12. It says "Important note: This theme is designed for Gnome 3.12. May or may not work with other versions of ...
0
votes
0answers
93 views

How to upgrade GTK 3.10 to GTK 3.14 on Ubuntu 14.04?

How to upgrade GTK 3.10 to 3.14 on ubuntu 14.04? Most of the discussions provide an answer in which they replace the Unity desktop with the GNOME desktop. I want to do this upgrade without adding any ...
0
votes
0answers
11 views

KDE gtk theme problem

I have just installed KDE 4.14.2. My problem is that nemo and synaptic file manager look horrible: I tried to install kde-config-gtk-style and tweak the GTK2 - GTK3 themes like this: but, after ...
0
votes
1answer
154 views

Missing characters after update ubuntu 14.04

today i have installed on my new Lenovo L450 ubunut 14.04, everything was fine.. after update i rebooted the PC and characters are missing in GTK apps (netbeans, unity is ok, anything else is wrong) ...
0
votes
0answers
36 views

pkg-config not updating installed libs

I am trying to install GTK+-3.16 and I have installed all the dependencies but when I finally try to configure GTK, it gives the following errors: configure: error: Package requirements (glib-2.0 ...
0
votes
0answers
13 views

Strange Colors in Select GTK Applications/ Certain Applications Transparent in Ubuntu 15.04 with Gnome Shell [closed]

Edit: I reset my computer again and now the issue is gone. I'm still wondering if anyone else has had this issue in the past and knows why this was a problem. I disabled the overlay scroll-bar as ...
11
votes
5answers
1k views

How do I add a border around windows but keep the current theme?

I seem to live my life in the terminal - many terminals in-fact. I also love the Ambiance theme - but the new borderless windows does not provide the visual differentiation I'm used to (the same ...
0
votes
0answers
28 views

Create my own panel plugin - Xubuntu

I've installed Xubuntu 14.04. In my panel I can add a lot of plugins. For example that show CPU load and RAM usage... But what about the temperature of each core? I've found the files that contains ...
8
votes
1answer
754 views

After 15.04 update: Aliased/choppy icons

Just updated to 15.04, and my icons are all aliased/choppy looking now. I tried purging and reinstalling my icon themes, and I keep seeing this warning: gtk-update-icon-cache: The generated cache ...
4
votes
2answers
61 views

How to uninstall a theme without knowing its name?

I'm new here so I'll try to make this concise. I recently installed a dark theme for inkscape and just realized it applied to my whole ubuntu system. Unfortunately, I don't recall the name ...
4
votes
2answers
2k views

[Kubuntu 14.04][Eclipse] ADT crashes at button OK from Project properties

Since i upgraded to kubuntu 14.04, my Eclipse crashes at different situations. Mostly i can "simulate" it when going to project properties and press ok. Then it always crashes. My system: ...
0
votes
0answers
27 views

.desktop-file two part exec line

I am trying to get bleachbit to run. Unfortunately I get the error, that it could not import gtk. It seems that this is due to me having python 2 & 3 installed. Starting bleachbit over the console ...
0
votes
0answers
40 views

Error while running synaptic

I installed synaptic package but I am not able to run "synaptic" command. While running the command, I am getting the following error:- (process:1231): Gtk-WARNING **: Locale not supported by C ...
0
votes
0answers
19 views

Glade-3.18.3 crash

I have installed Glade-3.18.3 on my Ubuntu 14.04. But when I'm try to open it it shows the following message and the gladeUI window just flashed. Please help me fix the problem. I already have ...
2
votes
1answer
2k views

Can't launch JD-GUI on Ubuntu 12.10 64bits

When I try to open JD-GUI via the terminal it gives me the following error error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory So ...
1
vote
1answer
432 views

Zenity from command line Linux installation

I have a command line installation of Linux, i.e. when I was installing it, I chose to install a command line version. I want to make use of zenity from the command line to popup dialog boxes etc. ...
1
vote
1answer
207 views

How to change pgadmin3 theme

Currently I'm using Ambiance-Dark theme, pgadmin look very bad when using this theme (and maybe other dark theme). How to change pgadmin3 theme?
0
votes
1answer
32 views

How can I disable “selection by clicking ” on GTK treeview [closed]

I have this code where I get a treeview and a sign when I click or move the up / down over the lines. For my application I need to disable the selection when the user clicks on a row, further I wonder ...
1
vote
0answers
14 views

Icon size inside an application is too large

Whenever I uses a software that uses gtk as Its source for its viewscreen, the icons on buttoms and some are about the twice the size of icon on my unity launcher I'm using a Ununtu 15.04 with ...
0
votes
1answer
4k views

gtk problem in ubuntu 12.04

I installed ubuntu 12.04 64-bit I have python 2.7 with some additional packages. When I try to use simple command in python like for example help('modules') I have an error and python terminates. ...
2
votes
1answer
37 views

Get rid of white highlight in Dolphin with mouse over

Hello I'm trying to get rid of the white highlight in Dolphin that happens when you go over something with your mouse. I tried editing sudo gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc, but can't ...
1
vote
2answers
319 views

Google Chrome won't Start - Unable to locate theme engine in module_path: “adwaita”

Google Chrome won't start after a recent apt-get upgrade. I can't figure out what I'm missing, and google doesn't turn up many results for these errors: $ google-chrome ...
4
votes
1answer
142 views

Remove black line from (15.04 - Vivid) Files/Nautilus sidebar

Is there a way to remove the black line from the sidebar of the latest Ubuntu? It sticks out and always causes me to lose focus when I'm working, because it stands out way too much compared to the ...
0
votes
1answer
37 views

Ubuntu & XFCE - Guake transparency

I have Guake installed on Ubuntu with XFCE, problem with transparency. Instead windows below I see desktop wallpaper, what I can do with this problem?
1
vote
1answer
49 views

Link button to application in Glade

I'm new to Glade and I just love the possibilities this program has for (beginner) GUI developers. I started making an application with some text and buttons and I would like to assign a button to ...
0
votes
1answer
21 views

How can I use --gdk-debug with GTK2 programs?

I want to view the GDK events received by a GTK 2 program (Xournal) for debugging purposes, which should be possible by passing the option --gdk-debug=events). However, the option apparently is passed ...
6
votes
3answers
294 views

How to enable mnemonics in 12.04 and/or 14.04 GTK3?

Word on the street is that "gtk-enable-mnemonics" has been deprecated since version 3.10, and I am not at all sure how to get my application to display mnemonics. They will only display if I press ...
0
votes
0answers
30 views

Inkscape keeps crashing when typing text

I'm using Lubuntu 15.04 and I tried using Inkscape and it seems to be crashing when I try to edit text. After typing about ten characters, the program crashes. I found a way around the issue here in ...
0
votes
1answer
369 views

how to change title bar color in gnome flashback compiz Radiance theme in 14.04

I'm using the gnome-flashback session (with compiz) in Ubuntu 14.04, and I mostly like the Radiance theme. However, the title bar only changes subtly between the focused window and the unfocused ...
1
vote
1answer
1k views

gksu: Gtk-WARNING **: cannot open display: :0

All of the sudden gksu stopped working for me: ~$ gksu gparted (gpartedbin:24252): Gtk-WARNING **: cannot open display: :0 The same happens with gparted-pkexec: ~$ gparted-pkexec No protocol ...
8
votes
4answers
3k views

Numix removes borders and colors in unity launcher

I recently re-installed ubuntu 14.04, when i installed the numix gtk theme, the borders of all the icons in the unity launcher dissapeared along with the colors, i tried relogging, re-applying the ...
1
vote
3answers
13k views

“fatal error: gtk/gtk.h: No such file or directory” using make

I am trying to use make command to build. I am following this. I am compiling a code using GTK+2 and C language hp@ubuntu:~/amhello$ make make all-recursive make[1]: Entering directory ...
0
votes
1answer
96 views

Gtk-Message: Failed to load module “gtk-vector-screenshot” - Xubuntu 14.04

Above message appears when starting any GTK app from terminal after (supposedly) uninstalling gtk-vector-screenshot 0.3.2.1-1ubuntu1 via Software Center. (didn't support as many apps as I'd hoped, or ...
2
votes
1answer
49 views

How to use GTK/GNOME notifications services in Java?

I've started learning Java and to have some project to actually put knowledge to the practice, I decided to make a custom notifications service. I know that Java is not the best option, but that's ...
3
votes
4answers
1k views

GtkFileChooserButton 'Select Folder' mode returns no path

I have added a GtkFileChooserButton to my app via Glade. It is set to folder selection mode. When the widget is clicked it shows a dropdown list of Nautilus bookmarks with an 'other' option in the ...
1
vote
2answers
178 views

Always show menu in LibreOffice

I'd like to always see the application menu, but by default that's hidden until I mouse onto the top line of the screen. Perhaps this is aesthetically pleasing, but it sucks in terms of usability. I ...
1
vote
0answers
81 views

How to get true, correct font rendering on Ubuntu 14.04+

Font rendering has always been a huge problem on Ubuntu. I am hoping someone has a real solution to this problem. I have a laptop with a 17" (382x215 mm) display running at 1920x1080, approximately ...
4
votes
0answers
2k views

Could not open X display, XDG_Runtime_DIR Error:

Output from terminal from where i tried to run nautilus and read an external drive. Also, i got a terminal window before logging in that system is running under log graphics mode, i will have to login ...
0
votes
1answer
336 views

Failed to load module “pk-gtk-module” in host centos while ssh to ubuntu

When I am logging in via SSH to the Ubuntu 12.04 server from CentOS machine and running the gvim editor then I am getting the error: Gtk-Message: Failed to load module "pk-gtk-module" . If I am ...
0
votes
0answers
47 views

How to find GTK+ version used by a given application

This answer http://askubuntu.com/a/192138/112794 to the post How to change color AND width of non overlay scrollbars in Ubuntu 12.04 says that on a single machine we can install two versions of gkt+. ...
0
votes
1answer
29 views

Does 'g_thread_join' delete 'gpointer data'?

From the reference manual: "g_thread_join() consumes the reference to the passed-in thread . This will usually cause the GThread struct and associated resources to be freed." Does 'g_thread_join' ...
-1
votes
1answer
80 views

boot repair in terminal

(glade2script:7962): Gtk-CRITICAL **: _gtk_style_cascade_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed (glade2script:7962): Gtk-CRITICAL **: _gtk_style_provider_private_lookup: assertion ...
6
votes
2answers
1k views

How to stop gedit (and other programs) from outputting GTK warnings and the like in my terminal?

I am running awesome on trusty after having upgraded from raring. My desktop environment intentionally does not have all the Gnome / Freedesktop daemons running—I don't want them. When I execute ...
0
votes
0answers
50 views

Dropbox GTK issue

Experiencing GTK issue with latest dropbox on ubuntu 12.04 : in terminal it says : `Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion `GTK_IS_WIDGET (widget)' failed ` And then exits. ...