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

learn more… | top users | synonyms

22
votes
2answers
49k views

Failed to load module “canberra-gtk-module” … but already installed

Gtk-Message: Failed to load module "canberra-gtk-module" but I already have the libcanberra-gtk-module and libcanberra-gtk3-module installed. (i.e. I tried this solution, but it is already ...
0
votes
0answers
7 views

How to use multiple Python-Gtk-Glade Entries and Button values?

Here's my code snippet: self.filechooserbutton1 = self.builder.get_object("filechooserbutton1") self.filechooserbutton2 = self.builder.get_object("filechooserbutton2") def ...
1
vote
1answer
21 views

Xubuntu: How to reset a menu accelerator?

I'm running Xubuntu 15.10 and I recently discovered GTK menu accelerators (http://docs.xfce.org/faq) and find them incredibly useful. I can easily set them and I know that hitting Backspace will clear ...
0
votes
0answers
86 views

Can't install Project Prey on Ubuntu 14.04

When trying to install Project Prey 1.4.2 on Ubuntu 14.04 I get the following error: (gksu:4076): Gtk-WARNING **: cannot open display: :0.0. Prey unfortunately doesn't have a forum to ask for help so ...
0
votes
1answer
23 views

Can't change Theme Kubuntu

I have tried to install Kubuntu 15.10 and Ubuntu using the netinstaller, everything is working fine. The problem is, KDE uses only one Theme, which is the GTK+ theme. Meaning I can't change them ...
0
votes
1answer
40 views

Run Unreal tournament on ubuntu 15

this guide https://help.ubuntu.com/community/Games/Native/UnrealTournament seems to be out of date : it says in the Troubleshooting category, under "Error loading shared libraries" which is the error ...
0
votes
0answers
45 views

Gtk-WARNING from gedit

Is my gedit or ubuntu installation to blame for these warnings? If so, what is the repair procedure? gedit:14294): Gtk-WARNING **: GtkScrolledWindow 0x13c2880 is mapped but visible child ...
4
votes
4answers
2k views

Strange font issues on Ubuntu 14.04 Unity

somehow the fonts on my ubuntu machine started looking really strange: I tried reinstalling the unity light theme, but that didn't change anything unfortunately. Do you have an idea how to fix this ...
2
votes
1answer
19 views

Installed headers don't exist according to GCC

I want to compile Pike with the GTK library. To do this, I need the gtk headers installed. $ tee test.cpp test.c #include<gtk/gtk.h> #include<gtk/gtk.h> $ g++ test.cpp; gcc test.c ...
2
votes
1answer
4k 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: ...
1
vote
2answers
26 views

How do I refresh the icon cache?

First of all, I'm not 100% positive that the main question I've written here is actually the problem, but I have a hunch that it is. I've wrote a simple Gtk# application in Mono awhile ago, and gave ...
0
votes
0answers
14 views

Errors on compiling a gtk2.0 program

I have these errors after compiling this gtk program on ubuntu 15.04 /tmp/ccGYN7PA.o: In function `main': /home/trodrige/Desktop/hello.c:8: undefined reference to `gtk_init' ...
3
votes
0answers
54 views

Transparent backgrounds are black with GTK+

GTK+ was giving me a few issues with large black borders around some windows, I created a CSS file to modify this to remove the box shadow around the window and the border. There is still a tiny but ...
6
votes
3answers
5k views

How do I create and use keyboard shortcuts in a Gtk app that I am developing?

I am creating an application for the Ubuntu App Showdown in Python + Gtk with quickly. I am calling it Discvur. I would have liked to include some keyboard shortcuts. Searching the web, I found this ...
0
votes
0answers
10 views

efax-gtk cuts faxes

last saturday I was in needing to send some faxes so decided to configure my USR5637 modem on Trusty 64. Everything went OK: modem was recognized by my system on ttyACM0 port, no problems (apparently) ...
0
votes
1answer
40 views

Is it bad to have Qt apps on a GTK evironment?

I'm using Xubuntu 14.04, it has XFCE environment, GTK3 engine and themes, and all my apps use GTK. But I would like to use a particular program (spyder) that demands Qt. Is it bad to have Qt apps on a ...
1
vote
1answer
25 views

Why do I have two versions of gtk installed?

Using following command to see what version of gtk my system is using: apt-cache policy libgtk2.0-0 libgtk-3-0 It says: libgtk2.0-0: Installed: 2.24.27-0ubuntu1 Candidate: 2.24.27-0ubuntu1 ...
3
votes
1answer
129 views

Why only three themes are available in Ubuntu 15.10

I am using Ubuntu 15.10 desktop version. In system Appearance setting I can see three themes installed viz. Ambiance, Radiance, and High Contrast. While under /usr/share/themes directory, I can see ...
0
votes
0answers
16 views

Gray borders formed when using Gnome apps outside of Gnome 3.x

Hello everyone reading this question. This problem is really annoying to me and to everyone else who is using other Desktop Environments like LXDE, XFCE, ... because this is really ugly and takes up ...
3
votes
4answers
20k 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 ...
1
vote
1answer
3k views

Gtk-Message: Failed to load module “pantheon-filechooser-module”

Once upon a time, I've installed Pantheon desktop on Ubuntu 14.04. And then I decided to use vanilla desktop, Unity. So I've removed all things related with Pantheon. I can't remember the exact ...
0
votes
0answers
129 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 ...
6
votes
1answer
550 views

Resetting GTK Settings: Ambiance Menu Colors

Whenever I use either Ambiance, or a theme that is based off of Ambiance (Ambiance-Colors for example), the menu text for the unity menus as well as all drop down menus is dark, like so: . The ...
1
vote
0answers
42 views

GTK3 and GTK2 tooltip background color difference

I changed the tool tip background color setting in my current theme Ambiance for gtk-2 and gtk-3.0. Even though I used the same color code #f5f5c5 the tool tip background color in eclipse and ...
1
vote
2answers
1k views

What does “Gtk-ERROR **: GTK+ 2.x symbols detected.” mean?

When starting gparted, it crashes with the error: Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported I already opened LP bug #1094354 for this. ...
0
votes
0answers
40 views

Critical failure on a clean 14.04.3 while using `gedit`

On a clean installation of 14.04.3 plus more than 300MB of updates to 2016 January 2 is the following file: brian@dell:~/Documents$ ls -lat SystemRestorationNotes.txt -rw-rw-r-- 1 brian brian ...
0
votes
1answer
24 views

How to prevent graphical applications from being started with sudo

I am persuaded that I should never use sudo to start a graphical application. How can I prevent it from ever happening? Getting more sleep might be the correct solution but I want a better one.
5
votes
2answers
3k views

How to get “smooth scrolling” system-wide?

I found an amazing extension for Google Chrome called SmoothScroll. It makes scrolling webpages extraordinarily visually appealing, just like in opera. I was wondering if I could find something like ...
0
votes
0answers
30 views

Ugly looking window after dist-upgrade

I was trying to install the gnome-builderfor coding and programming. At first, I tried to build it from the source, but it gave me errors like require gtk+-3.0 >= 3.18.6 while my version is like ...
25
votes
4answers
17k views

Why is Canonical choosing QT over GTK for Unity's next generation?

So much has been written that I'm kind of confused, but if I'm not mistaken Canonical is building the next generation of Unity for mobile devices with Qt, and in the near future the desktop will also ...
12
votes
3answers
1k 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 ...
0
votes
0answers
45 views

Ubuntu Gnome shell theme destroys system

I am running Ubuntu Gnome 15.10 Okay, so apparently, my system doesn't boot anymore. It just shows a bunch of messages in text (Stopping user manager for UID 1000 and Removing slice from user ...
1
vote
2answers
545 views

Emerald on Ubuntu 15.10

Is anyone else having issues installing emerald on Ubuntu 15.10? Added a few repositories but having trouble finding the packages? Does anyone have any pointers for this?
1
vote
1answer
37 views

What is the difference between libgtk2.0 and libgtk2.0-0 when using apt-get?

It seems like for gnu-smalltalk, I will need libgtk2.0... but for some reason, it is not automatically installed when I used sudo apt-get install gnu-smalltalk (1) Is that a bug? (2) When I ...
1
vote
1answer
32 views

GTK theme, Window theme, and icon theme for Guest Account

Hi I want to change only the gtk, window and icon theme for my guest account. I looked at the CustomizeGuestSession guide but the first section I did not understand how to apply it to my need and the ...
33
votes
2answers
153k views

How can I install GTK themes on Ubuntu?

How can I install themes in ubuntu 12.10 ? For example, how can I install the following themes on ubuntu: GrayDay Elegant+Eggplant
0
votes
1answer
48 views

VLC 2.2.1 using Qt dialog

When I upgraded from 15.04 to 15.10, this included a new version of VLC, as well as a newer Qt. VLC now uses the Qt file open dialog, but I want the GTK one back. I have already checked VLC themes and ...
0
votes
0answers
55 views

Borders of windows panels gone, after customizing gtk(Numix) theme

so I have been trying to customize the colors of of a gtk theme to my taste, but after I tweaked the files and set the colors to my taste, the 1 px white border of the windows panels gets removed. I ...
1
vote
0answers
28 views

Unwanted super thick borders in Xubuntu 15.10

I have recently updated to Ubuntu (Xubuntu) 15.10. After this update, I see super thick borders around some windows. This seem to plague only Gtk+ applications: Why? Can I fix it? Note: I do not ...
1
vote
0answers
144 views

error Failed to load module “overlay-scrollbar”/“unity-gtk-module” on program run

I just installed Ubuntu 15.10 yesterday and when i run a program I got the following errors: error: libgcrypt.so.11: cannot open shared object file: No such file or directory Gtk-Message: Failed to ...
10
votes
5answers
2k views

Why do most GNOME developers prefer Python over Java for GTK+ programming? [closed]

I only know C and Java. And I really don't want to learn another language when I can work with what I already know. I haven't ever written a GTK+ application, but I am planning to start with an ...
1
vote
0answers
73 views

qt apps stopped inheriting gtk themes

After a fresh installation of Ubuntu Gnome 15.10, qt apps like qpdfview or QuiteRSS suddenly stopped to inherit the global gtk theme, in my case Numix. The same is also true for the default Adwaita ...
19
votes
2answers
19k views

what is KDE, GTK, GTK+, QT, and/or GNOME?

I'm new to Ubuntu (and linux in general). Some times when looking at programs in the Ubuntu Software Center, I see things about the programs being 'for the GTK+ environment', or 'for GNOME', or a ...
3
votes
1answer
386 views

Unable to detect the current GTK+ theme

I've recently downloaded the app from Copy.com (a Dropbox clone). When I run it on Ubuntu 12.10 from the terminal, I get the following message/warning: Expanded string ~/.copy /home/USERNAME/.copy ...
0
votes
0answers
153 views

Gtk-CRTICAL […] errors when starting 'nautilus' or 'evince' from the Terminal

when I am starting evince or nautilus from shell I am receiving those error-messages. Does anyone know how to fix them? I tried to reinstall both programs but the error continues. ...
0
votes
1answer
34 views

Dpkg broken pipe error when using os.popen in Python [closed]

I'm experimenting with Gtk+ 3 and I'm creating a program which gets the output of the dpkg --get-selections command and displays it into a Gtk+ 3 TextView. When I run my program I get the following ...
0
votes
1answer
103 views

redshift-gtk crashes on start, ImportError: No module named 'xdg' [closed]

I'm getting the following error whenever I try to run redshift-gtk: Traceback (most recent call last): File "/usr/bin/redshift-gtk", line 26, in <module> from redshift_gtk.statusicon ...
0
votes
1answer
28 views

ubuntu indicator applet that has a dynamic menu item

I'm working on a simple indicator in Ubuntu with python and I want the menuitem to display the return of a function and refresh every "n" second. Here is what I have: def build_menu(): menu = ...
0
votes
0answers
19 views

Can't create any file using gedit [duplicate]

Every time when I am creating any file this message is coming again and again.... Gtk-Message: Failed to load module "overlay-scrollbar" ** (gedit:6374): WARNING **: Couldn't connect to ...
3
votes
0answers
36 views

Why did Canonical choose to use the Qt toolkit for Ubuntu Touch and not Gtk? [duplicate]

I recently came across a question on Quora: What are future plans for Gtk? Is there plan for smartphone or tablet? Gnome focus on touch devices but Gtk software can not run on it? On Quora, ...