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

learn more… | top users | synonyms

0
votes
0answers
21 views

Just installed Glade, but the interface is unreadable

I just installed Glade on Ubuntu 14.04, but the fonts on the interface are white, which makes it very difficult to read, and some items seem to be missing as well. Picture of the interface currently ...
0
votes
1answer
96 views

How do i make QtCreator to stop using both gtk+2.x and gtk3

I am trying to build an opencv project in QtCreator on an ARM board ( ODROID-XU4). Its a gui application but when i try to execute the code it throws an error "GTK+ 2.x symbols detected. Using ...
2
votes
0answers
40 views

Questions regarding AppIndicator

I am trying to build a JNI wrapper for using Ubuntu's AppIndicator in a Java application. I have some experience in C/C++, though no experience in GTK and Ubuntu development. I have already done some ...
0
votes
0answers
61 views

How to change Chrome selected color in Ambiance theme

Basically I want to change Chrome selected color(when you select text in a page or select text in the adress bar of the browser) from orange to grayish kind of color. I want to change it only for ...
0
votes
0answers
50 views

Ubuntu 14.04 with Gnome 3.9.90 theme issue

I just installed gnome on my ubuntu machine and have one issue regarding themeing for some reason the title bar is not getting changed with the theme, a good example is here http://imgur.com/zLBcH4U. (...
0
votes
0answers
81 views

GTK WARNING: Cannot open display on all applications

I am using Ubuntu 15.04. I ran a series of commands (apt-get autoremove, apt-get -f install, apt-get autoclean) when trying to install teamviewer and reinstall vlc and I managed to get my UI ...
0
votes
0answers
76 views

Make window backgrounds semi-transparent

I want to make window backgrounds semi-transparent while keeping the window elements such as text and icons and other stuff(like controls) on top of it opaque. Till now, I have stumbled upon ways to ...
0
votes
0answers
54 views

How to add asynchronous subprocess call for Python Gtk Glade Button on_click method?

I am new to Python and Gtk. I have created an ubuntu application using Quickly-create. I have added a button to run the adb pull command for my rooted android phone. I wish to add a spinner which will ...
1
vote
0answers
43 views

How to customize the “Save File” dialog

I can't remember exactly which configuration file I've modified, but the next time I booted my computer, I found that I unintendedly added the sources.list.d folder to the "Places" list of the "Save ...
1
vote
0answers
28 views

How to update nautilus bookmarks after changing user-dirs?

I change the user-dirs.dirs of xdg. However, those changed dirs like the Pictures bookmarks are missing, how to make the bookmarks shown again? Thanks.
0
votes
0answers
47 views

Problem when compiling program with gtkgl

I'm trying to compile a hello world cpp file with GTK with the following g++ `pkg-config --cflags --libs gtk+-3.0 gtkgl-2.0` main.cpp -o main but I'm getting main.cpp:8:24: error: ‘GtkGLArea’ ...
0
votes
0answers
54 views

sudo nautilus warning

Ubuntu 14.04 with current updates. This is what I get when I type this command "sudo nautilus" (nautilus:3803): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error....
0
votes
0answers
29 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
49 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
1answer
123 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
0answers
207 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 ...
2
votes
1answer
90 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 ...
0
votes
0answers
27 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' /home/trodrige/Desktop/...
1
vote
2answers
534 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
28 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) ...
-1
votes
2answers
171 views

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

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
78 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
319 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
36 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 ...
1
vote
0answers
421 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 gedit(...
0
votes
0answers
163 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
26 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.
0
votes
0answers
40 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 3....
0
votes
0answers
69 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 1000....
3
votes
0answers
72 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 ...
1
vote
1answer
70 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
3answers
212 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 ...
1
vote
1answer
51 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 ...
0
votes
0answers
82 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 ...
0
votes
1answer
102 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 ...
1
vote
0answers
311 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 ...
3
votes
1answer
289 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 ...
0
votes
1answer
72 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
299 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 ...
1
vote
1answer
127 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
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 ...
0
votes
1answer
46 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 = ...
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, ...
0
votes
0answers
212 views

glade import error as a gtk.glade [duplicate]

I am trying to port Python 2 to Python 3, but I am having trouble importing Glade: import gtk.glade ImportError: cannot import name glade, introspection typelib not found Any idea how to fix this? ...
0
votes
1answer
336 views

AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk'

I am porting python 2 to python 3. When running application giving below error: AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk' Any idea to fix this!! Thanks
1
vote
2answers
1k views

python3 is not supporting gtk module

I have Ubuntu 14.04 with python-2.7 and python-3 support. I am porting my python application from python-2.7 to python-3. I have example.py file which is importing below modules. and I #!/usr/bin/...
1
vote
0answers
45 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 ...
0
votes
1answer
33 views

How to customize windows frames(panels)

I want to learn to customize GTK themes. So far I have managed to learn how to change the background(accent) color, text color etc.. I can change colors by changing the values in the files in /usr/...
0
votes
1answer
159 views

Dark desktop theme with visible text fields [closed]

I think we all like to change a theme for our Linux Desktops, for several years I have tried dozens of theme. I personally prefer dark themes. Unfortunately, many theme that looks nice at a first ...
2
votes
2answers
254 views

How to tweak/customize GTK theme?

I installed Ubuntu with Unity desktop environment and then I installed GTK Theme, which is called Numix Dark. I really like the theme, but I would love to change some colors of the theme. I want to ...