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

learn more… | top users | synonyms

0
votes
1answer
21 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 ...
-1
votes
0answers
11 views

Error when compiling gtk-sharp(Only <glib.h> can be included directly)

I ran "./configure" and it worked,then i ran "make" and I got this: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include ...
0
votes
0answers
87 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
0answers
19 views

How to create an installer for a python GTK3 application?

I have just finished developing a Python 2.7 application using Gtk3 for GUI. My question is, how can I now create an installer for Windows, Mac, and Linux (possibly three different installers) for my ...
2
votes
0answers
30 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 ...
2
votes
0answers
85 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
40 views

Ubuntu 14.04 cannot start after execute command 'sudo apt-get install gtk+-' and shutdown laptop

Well, a little while ago, i was installing a serie of apps, and one requirement was to have installed gtk+ 3.4, next, as can be expected, I googled how to install it and...I executed the command 'sudo ...
0
votes
0answers
12 views

How do I set a gtk default font?

I'm trying to set the gtk default font to DejaVu Sans 11. In ~/.gtkrc (and ~/.gtkrc-2.0) I have # ~/.gtkrc-2.0 style "all" { font_name="DejaVu Sans 11" } widget_class "*" style "all" ...
2
votes
1answer
7 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 ...
0
votes
0answers
22 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
17 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.
1
vote
4answers
686 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 ...
3
votes
1answer
88 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
6 views

How to expand Eclipse editor switcher?

I am running Eclipse Kepler on Ubuntu 12.04. When I have some source files open in the editor, I can hit Ctrl+e to obtain a drop down menu to switch between open files. As you can see, the menu is ...
0
votes
0answers
17 views

Firefox problem with dark themes: auto-complete items are illegible

It seems something changed in Firefox since the version 30 which makes auto-complete items illegible on dark themes with dark menus. There's no difference whether on Ambiance or Numix, for example. ...
0
votes
1answer
34 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 ...
0
votes
1answer
68 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
15 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
35 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 ...
0
votes
0answers
25 views

How to change color in gtk theme?

After upgrading from saucy to Trusty my favourite app ghex has become ugly (and some other apps too) The border color has become absolutely black (#000000). I want to set another color, but where? I ...
1
vote
1answer
141 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
1answer
91 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
351 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 ...
1
vote
0answers
16 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) ...
0
votes
1answer
64 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
88 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 ...
0
votes
1answer
64 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
41 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 ...
2
votes
0answers
166 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
30 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
176 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
49 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 ...
-2
votes
1answer
56 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
36 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
60 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
12 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 ...
0
votes
0answers
107 views

Gtk-CRITICAL **: gtk_widget_modify_bg: assertion `GTK_IS_WIDGET (widget)' failed

When running eog from console, many errors are being printed on the screen. One of them which keeps occuring is the following: (eog:9177): Gtk-CRITICAL **: gtk_widget_modify_bg: assertion ...
1
vote
0answers
38 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
0answers
17 views

Unable to get a widget name by Gtk.Buildable.get_name(obj)

I'd like to show and hide some windows and logging their names. But i'm unable to do it, so i printed some interesting facts: print Gtk.Buildable.get_name(menuitem) print menuitem.get_toplevel() ...
0
votes
0answers
217 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 ...
0
votes
0answers
30 views

C# Pango.Layout.GetPixelSize() returns wrong width in Ubuntu 14.04

I am using the following C# code to get the length of a figure space (U+2007): int width, height; Screen screen = Screen.Default; Pango.Layout layout = new ...
0
votes
0answers
100 views

Gnome Theme Tweaking

I'm making some tweaks to my desktop (Ubuntu 14.04 with Gnome-shell 3.9.90) and I want to get my title bar black. By title bar I mean the thing you double click on to maximize the window or drag it ...
0
votes
1answer
75 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 ...
3
votes
0answers
1k 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
146 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
1
vote
0answers
97 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 ...
1
vote
1answer
42 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 ...
1
vote
0answers
62 views

weird font size setting in different apps and random places

ever since the update from 13.10 to 14.04 i have a font-size issue. for example. With Evolution email the email will show in extremely large font-size (~18px) while the folders and menu's are ...
0
votes
0answers
40 views

GTK Warning Regarding

While downloading ns2.35 in Ubuntu 14.04 I have tried to execute this command sudo gedit linkstate/ls.h im getting this error (gedit:30857): Gtk-WARNING **: Calling Inhibit failed: ...
0
votes
1answer
51 views

how to find system parts version numbers?

LibreOffice help recommends me to install a higher version of LibreOffice than I can get from the Ubuntu Software Center. I can do it by direct installing from *.deb files. I know most of required ...