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

learn more… | top users | synonyms

0
votes
1answer
1k views

ImportError : No module named gtk & Python-2.7.8

As a newbie to Ubuntu 14.04 LTS, as usual with other linux builds, I installed Python 2.7.8 for compatibility issues and out of sudden I got: File "/usr/bin/bleachbit", line 41, in < module > ...
1
vote
1answer
193 views

Ubuntu loads wrong icons theme and fonts

Sometimes ubuntu loads default icon theme instead of Faenza icons and fonts look weird: But when I do setsid unity Icons are fixed and when I do nautilus -q Fonts are fixed Where is ...
0
votes
1answer
16 views

Unclickable links in GTK3 apps

I can't open link in any gtk3 app by left clicking (for example web link in Ubuntu software center or local link in Gnome disks). I am able to do it via right click, then click in submenu "open link". ...
2
votes
1answer
179 views

RDAQ under Ubuntu 14.04

I try to install RQDA R package under Ubuntu 14.04 which comes with GTK 3 or so. I know that in order to get the RDQA running it needs the GTK 2 development package. I found the following terminal ...
0
votes
1answer
23 views

Why GNOME3 apps close such long? [closed]

For example system monitor and calculator. It takes about 1 second after clicking close for app to vanish from my screen. Why it is so long. Or it is only my personal bug? PS using Xubuntu 14.04; some ...
8
votes
1answer
14k views

Gtk-Message: Failed to load module “overlay-scrollbar”

I am using Xubuntu 14.04 (Ubuntu + xubuntu-desktop), The following Message shown many times (such as executing mousepad , zenity etc). $ mousepad Gtk-Message: Failed to load module "overlay-scrollbar"...
5
votes
1answer
6k views

How to work around Eclipse Luna/GTK bug 339174 (change to not use oxygen)

The bug is described here: https://bugs.kde.org/show_bug.cgi?id=339174 For me it fails with: java: /build/buildd/oxygen-gtk3-1.0.2/src/animations/oxygencomboboxdata.cpp:87: void Oxygen::ComboBoxData::...
2
votes
1answer
271 views

How to make a Openbox dockapp with GTK?

I'm using Openbox and I want to make a dock-app (NOTE: not a dock like plank/docky but a dock-app like stalonetray or lal) in GTK+. How do I get the simple app I have written to sit in the dock area? ...
7
votes
2answers
695 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 ...
2
votes
1answer
105 views

File Chooser - Can't Clear Folder Selection

How to clear selection on folder in GtkFileChooser? The shortest way I can find is by going to upper / parent directory from current directory and coming back to it. It is annoying when we need to ...
0
votes
1answer
518 views

software-properties-gtk no working

Hi Guys i am a newbie at Ubuntu and am having a problem... i managed to get everything working like a dream including, unfortunately after my latest upgrade/update, my software-properties-gtk ...
1
vote
1answer
373 views

Lost GUI after installed GTK. Gets warning-“System running in low graphics mode”

am using ubuntu 14.4.0 64 bit. yesterday i installed GTK, Glibc and it's dependencies. including, libffi-dev, libcairo2-dev, libtiff-dev, flex, bison, xorg-dev, libatk-bridge2.0 finally ...
6
votes
1answer
6k views

Terminal Transparency in Ubuntu GNOME Malfunctions

I recently installed ubuntu GNOME and I have done all the updates and upgrades. When I try to add transparency to my terminal it don't work. It only goes dark-black to white. Transparency set to none:...
0
votes
0answers
14 views

Failed to load module “canberra-gtk-module” [duplicate]

I just installed Ubuntu Saucy with unity on an Acer C720. I downloaded Software Center from Synaptic and when I type in gksu software-center I get the error, Failed to load module "canberra-gtk-...
3
votes
0answers
622 views

Backend for python3 module matplotlib

I'm trying to use python3 to plot graphs. The only backend for matplotlib that seems to work is tkAgg (Tkinter), however this looks like it has been designed in the Stone Age. So I was trying to find ...
2
votes
1answer
210 views

Preserving GTK theme with gksudo

I have a computer with two (non simultaneous) users who are both in the sudo group. Is there a way to preserve the user's GTK theme with gksudo, for instance when running the update manager? By ...
2
votes
1answer
5k 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: ...
8
votes
1answer
2k views

Eclipse Luna displaying regular scrollbars instead of overlay scrollbars - how to change?

I've recently switched to using the new Eclipse Luna, but for some reason it stopped displaying the overlay scrollbars, and now shows the regular ones that are in e.g. Firefox. Kepler had them. Since ...
5
votes
2answers
3k 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: DISTRIB_ID=...
2
votes
1answer
60 views

Delete Line GTK Keybinding

How do I bind a key combination (alt-backspace) to delete the current line of text? For example, bind "<alt>Left" { "move-cursor" (display-line-ends, -1, 0) }; in gtk-keys.css moves the cursor ...
4
votes
0answers
343 views

Kde uses Gnome notification system instead of knotify

I tried to install kubuntu-active on the Kubuntu Trusty and it failed to start. So, I removed it and many packages has "active" in it name related to KDE Active. KDE runs ok now but one issue: It uses ...
1
vote
0answers
137 views

Which .css theme file changes the buttons on top of nautilus?

This is what I am talking about: I'm making a theme and I don't know what I should be looking for, but I think it is somewhere in the gtk.css file. Edit: I know its in the gtk-widgets.css file, ...
2
votes
3answers
4k views

Skype doesn't work anymore

Today I got an update to Skype 4.3. I was really happy to see that and I immediately update it from 4.2 through software update program (default in Ubuntu). After the update I tried to start Skype but ...
13
votes
2answers
7k 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
1answer
549 views

How to get the gtk-config script in Ubuntu 14.04?

I want to build avscan 5.1.1 (http://linux.softpedia.com/get/Security/AVScan-3636.shtml, project page is down, doesn't seem to be maintained any longer, but this should not be an issue and rather be ...
1
vote
3answers
1k views

How to enable global menubar for gtk apps on kubuntu 14.04

I am used to having the global menubar (i.e. app menus are not shown in the app window but in the top panel). In Kubuntu 12.04 this worked very well, however upon installing Kubuntu 14.04 the menubar ...
1
vote
0answers
49 views

how to approach legibility problem of light text in dark GTK theme

I'm working on a dark GTK theme for Ubuntu. This largely is going well, but I am not sure how to deal with certain scenarios such as instances of programs with a light colour scheme. A representative ...
0
votes
1answer
607 views

gtk header files libgtk2.0-dev package paths broken by install directory hierarchy

Ubuntu 14.04 Desktop I installed the gtk 2.0 dev package using apt-get. I see the header files in /usr/include are inside a directory gtk-2.0 (/usr/include/gtk-2.0) instead of the root include ...
4
votes
1answer
11k 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 Gnome-...
0
votes
1answer
951 views

GTK: Warning cannot display

I just upgraded from 13.10 to 14.04 and I am experiencing problems with my dependencies as follows sudo apt-get install gives You might want to run apt-get -f install to correct these. The ...
0
votes
1answer
3k views

Updating from 12.04 to 14.04 - Autolaunch error: X11 initialization failed

I'm attempting to upgrade my work machine from 12.04 to 14.04, but having issues. sudo update-manager -d: ** (update-manager:20416): WARNING **: Command line `dbus-launch --autolaunch=...
1
vote
0answers
26 views

About is not working in My Ubuntu App for desktop

I have developed the same app "mybrowser" told by Jono Bacon in his tutorial. But when I want to see About it is throwing the following error: Gtk.Window.__init__(self, type=type, **kwds) /usr/lib/...
1
vote
1answer
363 views

Restore qt integration after removing KDE

Restore GTK integration after removing KDE; this shows how to remove the kde-theme for gtk, and now I want to do the same for qt-applications. I have tried qt4-qtconfig, and it does not work. Here is ...
0
votes
1answer
951 views

Theme gnome panel handles in flashback session

I'm using the the gnome flashback session (metacity) in Ubuntu 14.04. The default theme is the ambient theme. If you set a gnome panel to not expand, the handles are looking ugly: How can I theme/...
0
votes
1answer
300 views

How to reset some packages in ubuntu 14.04

I was trying to install gnome-photos on my ubuntu 14.04 As a dependency package I installed gtk+-3.0 on my ubuntu (It is not available through synaptic or through default repos so I downloaded source ...
2
votes
0answers
164 views

Python GTK: How to stop a function from happening if a checkbox is checked

In my program I have one of those annoying popups that alerts the user to go check the settings. I have a checkbox that if checked, is supposed to never show the popup again. I have no idea how to do ...
3
votes
1answer
912 views

How to disable GTK+ 3.12 client side decorations?

I've updated my Ubuntu 14.04 with GNOME/GTK 3.12 (because I want to test drive GNOME and play with some recent GNOME applications), but as a result, all GNOME application now use client side ...
1
vote
1answer
98 views

White text on some system windows

I get white text on most windows, (it switches to its regular color when the said window loses focus). I'm using a windows dual boot xubuntu 12.04 with xfce, xfwm, and a GTK theme 'zukiwi'. Can ...
0
votes
2answers
779 views

When reading a text file, how to get rid of “\n” when extracted in python [closed]

I am writing a program where you have to extract bits of text from a text file. The specific bit of text is the save directory where I would like to save the files produced by my program. Here is my ...
0
votes
2answers
74 views

How to block certain characters from a string in Python [closed]

I am writing a program that takes the text written in a text document called datafile.txt, then prints what is in the file. The text that is in the file is is "Hello World", but the text that prints ...
-1
votes
1answer
233 views

Python: How can I store a variable changed by the user? [closed]

I am writing a program where basically you type information, and the information is saved in a text file. The program has to know where to save that specific text file. I have added a menu button that ...
-1
votes
1answer
78 views

Python: How to have to change a variable once, and never change it again [closed]

flub = raw_input("Where would you like your save directory to be?) SaveDir = flub Hello ubuntu, I am writing a python program. My question is, how can I make it so a raw_input asks me a question ...
2
votes
1answer
2k views

How to convert a .glade file to a .py file

I have been using gtk a lot to make my python programs have a graphical interface, and it's pretty awesome. I recently discovered Glade which is a hassle-free way of making a GUI for your programs. I ...
1
vote
0answers
28 views

gtk changes all ss to ß gtk themes not saved on restart

I am using Kubuntu 14.04 and have the following problem: All GTK apps (thunderbird, Polly, Gimp and so on are changing all ss to ß) locale is de_DE this happens in all Menus lists and so on. Is ...
2
votes
1answer
205 views

Consistency of GTK2 toolbars with GTK3

One of the reasons why I don't like Ubuntu's default theme Ambiance is the unacceptable inconsistency between GTK2 and GTK3 toolbars as seen in LibreOffice and Chromium/Chrome web browser. This is ...
0
votes
1answer
768 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
2answers
588 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 ...
4
votes
0answers
3k 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 ...
1
vote
1answer
1k views

ImportError: cannot import name Gdl from gi.repository

Trying to import the Gnome Docking Library I get the exception: ERROR:root:Could not find any typelib for Gdl ... from gi.repository import Gtk, Gdk, Gdl ImportError: cannot import name Gdl
2
votes
1answer
943 views

Unable to re-size cursor on 14.04

I have a computer running Ubuntu 14.04 using Unity. I have 3 monitors, 2 externals and a internal. All are 1080p (so the same resolution). I am unable to resize my mouse cursor to be larger. I have ...