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

learn more… | top users | synonyms

2
votes
1answer
367 views

Gtk Textview: Pango Letter Spacing

I am desperatly trying to find some working solution on how to modify the Letter Spacing in a GTK TextView. I am using python with GTK 3.6 -- It seems that the solution is to somehow use Pango, but I ...
31
votes
1answer
106k 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
1
vote
1answer
215 views

writing note taking app, save and load text with tags from textbuffer written in python and glade

I am writing a note taking app with python and glade. I've been searching the web for the how to save and retrieve textbuffer with tags from simple app made with python and glade. I would like to get ...
1
vote
2answers
236 views

Opening a Gtk.Window that covers Launcher and Panel

I am trying to create a GtkWindow that would be on top of all the windows. This includes Unity's Launcher and Panel. I am working on Kazam screen recorder and one of the options of the program is ...
6
votes
1answer
16k views

Failed to load module “canberra-gtk-module”

Today I installed: Ubuntu 12.04 Oracle JDK 7 and 8 IntelliJ 11.1.4 I setup my JAVA_HOME path to point to JDK 7. When I run IntelliJ I get this message: Gtk-Message: Failed to load module ...
5
votes
2answers
5k views

A lot of `gtk-warnings` in terminal. Is this serious?

I had a lot of problems with my system and had to reinstall it. One of them was these very messages. After reinstalling the system and using the same icons, I get the warnings again and am wary of ...
2
votes
0answers
2k views

White screen for Hotot in Ubuntu 12.10 [closed]

I have got a problem when I use Hotot on Ubuntu 12.10 (GTK version). When I want to authorize Hotot to use my Twitter account, it displays me a white screen. I an it in a terminal and it displays this ...
1
vote
1answer
5k views

How do I change the GTK theme to those found on the page given in the description?

I've downloaded some GTK themes from http://ubuntu-art.org/index.php?xcontentmode=100&PHPSESSID=180c7cef6c965351b9d18e19e3d037e9 and I can't see any instructions on how to install them. For ...
1
vote
2answers
602 views

IntelliJ IDEA odd UI behavior in 12.10

Since I've updated to 12.10 I'm having a very bizarre behavior when running IntelliJ. Notice how the "File" menu is 2/3 of the screen down instead of where it's supposed to be? This is the case when ...
5
votes
0answers
2k views

Gnome-tweak-tool not working on Ubuntu Gnome Remix 12.10 [closed]

I'm experiencing some problems with Ubuntu Gnome Remix 12.10 64 bits. My gnome-tweak-tool doesn't apply themes properly. For the GTK themes, I noted that they are not fully applied. For example, I ...
3
votes
2answers
1k views

Font rendering issue in GTK based applications, (Firefox, GIMP)?

I am experiencing an issue with font rendering issue in GTK based applications (for example; Firefox, GIMP). I've read a bunch of Google answers about this, but haven't figured out yet what to do. It ...
3
votes
1answer
4k views

nomachine NX: Text missing on all gtk interface (Unity and Gnome Classic)

[EDIT] Just in case this could help someone... I have found a .... new solution? http://www.nomachine.com/preview/download-package.php?Prod_Id=14 I am guessing that's nomachine's next version of ...
1
vote
1answer
1k views

all gtk applications opened with warning “assertion `gdk_error_traps != NULL' failed” [closed]

When opening any gtk application in the gnome-terminal I see the same warning Gdk-CRITICAL **: IA__gdk_error_trap_pop: assertion `gdk_error_traps != NULL' failed Don't know how it comes. Anyone ...
1
vote
1answer
1k views

Ubuntu frozen on boot screen; boot repair fails due to X11 and gtk

I have a year-old HP Pavilion dv6 with Intel i7 processors and graphics card. I had Windows 7 but last week I dual booted Ubuntu. It was working fine until today. I did the following things: ...
1
vote
2answers
718 views

How do I change GTK theme of my app in run time?

I recently noticed that monodevelop, can change GTK theme in runtime . How do I add it in my quickly app?
0
votes
2answers
778 views

Gtk-WARNING: Failed to set text from markup due to error parsing markup (BIT.TRIP RUNNER)

I am trying to run a game I downloaded from the Ubuntu Software Center called BIT.TRIP RUNNER. Upon running it, the game immediately crashes. When running from terminal, I get this output: Fatal ...
0
votes
2answers
412 views

GUI and C coding gtk files?

I am trying to write a program in C and I need the gtk/gtk.h file, which I both currently don't appear to have nor am I sure how to get it. When I compile all I get is cannot find the file, how can ...
2
votes
2answers
892 views

Disable css warnings

Everytime I open a gtk application it outputs css warnings (lack of units assuming px etc). Can I disable this dreadful verbosity? example: $ gedit (gedit:19558): Gtk-WARNING **: Theme parsing ...
1
vote
1answer
293 views

Installing Ubuntu One on Ubuntu 11.10 server

I have installed "Ubuntu One" on an Ubuntu server 11.10 based on these instructions: How do I configure Ubuntu one on a 11.10 server? Everything went smooth during installation. However when I try ...
7
votes
1answer
839 views

How to update gtk-3.4 themes to the new gtk-3.6

Is it too complicated to achieve? if it's not could you tell me how, please. I have some basic knowledge about gtk and css. Also, is this going to continue happening each time gnome releases a new ...
2
votes
0answers
304 views

How to use a different gtk (gtk3) theme for some applications?

I want to use a custom theme for Nautilus and for some other applications but I want to keep the generic theme for the rest of the applications and system. I know it can be done in gtk2. For ...
1
vote
1answer
695 views

How to change menu hover text colour?

I have taken a look at Gtk Theme change menu bar hover color but it doesn't seem to work on 12.04, nor can I find those lines in 12.04. My menus look like the below when hovered over for some ...
0
votes
1answer
697 views

Can't center dialog window above main window when using Glade (Quickly)

I have a dialog opening when I press a button in my application and I want it to center above the application's main window, but I can't find a way to do this. I'm using Quickly (Python) and Glade. ...
2
votes
1answer
307 views

How to access parent window in dialog

I am using Quickly and created the main window and a dialog. In the main window I am setting access to database (u1db) in the finish_initializing method (self.db=...). After an action I open a dialog ...
2
votes
4answers
2k views

Is there any way to make a windows version of my python/gtk3 apps?

I've recently been doing quite a bit of coding using quickly and GTK 3. Its great and i'm happy with some of the results, but now i'd like to share my apps with people running windows or mac. Is there ...
1
vote
0answers
241 views

How to design non-windowed Gtk.Frame in Glade?

I'm building a ToDo app for personal purposes, and I'm using Quickly and Glade. I want it to display a list of the pending to-do elements. The problem I'm having is that I can't find the way to ...
6
votes
1answer
2k views

emacs keybindings in ubuntu 12.04 [duplicate]

I am trying to get Emacs-like Keybindings in GTK, Firefox, Chrome, etc. I have followed the directions recommended here (and in lots of places) but to no effect. In other words, I added ...
1
vote
1answer
516 views

Fade out Label / Button / Status Bar with GTK

What is the easiest way to fade out and fade in elements in Python / GTK 3? Coming from webdevelopment, my initial take on this problem was to call c = widget.get_style_context(), ...
0
votes
2answers
132 views

GTK Recent Chooser Menu callback not working

I am currently very puzzled why something so simple fails so hard: This is the source code for a very very simple recent chooser menu, but it fails. My output is this: Display name: ...
0
votes
1answer
251 views

Music not in sequential order with Banshee

I was looking in to Banshee Media Player as a all in one music / video player, and in general it works great (even HD films), except for one very annoying thing my music is not listed by track number ...
6
votes
1answer
1k views

What is the correct way to use g_signal_connect() in C++ for dynamic unity quicklists?

I want to make my application use dynamic unity quicklists. For building my application I am using C++ and the QtCreator IDE. When a menu action is triggered I want to be able to have access to a ...
1
vote
1answer
83 views

Can I directly use the Qt and GTK+ libraries I saw in the Update Manager?

I installed Ubuntu 12.04 on my laptop today, and when I was updating it using the Update Manager, I saw it downloading qt and gtk libraries. Does that mean I can use them directly? Or will I need to ...
0
votes
1answer
944 views

Synaptic Package Manager looking bad under Gnome Shell [Ubuntu 12.04]

This is my first question and I really hope that is has not been answered anywhere, as I could not find it during the search I performed. I am working under Ubuntu 12.04 LTS and Gnome Shell (Gnome ...
8
votes
1answer
253 views

Why does Radiance have GtkLabel while Ambiance doesn't?

I was looking at the gtk-widgets.css files in Ambiance and Radiance (/usr/share/themes/theme_name/gtk-3.0/) after the recent light-themes update. One difference I noted in the section titled notebook ...
0
votes
2answers
351 views

Is there a GTK media player that can synchronize ID3 tags with directory structure?

I'm looking for a GTK media player which will keep the ID3 tags of my tracks synchronised with my library directory structure. That is, when I change the artist tag of a track from X to Y I'd like the ...
13
votes
1answer
3k views

What can be done to make Wine look more integrated into Unity?

Wine looks like an alien that says "Hello, I am definitely not part of your desktop environment". Many wine applications have no icons and wine itself runs on the ugly-looking windows 95 theme. Is ...
1
vote
2answers
58 views

How to display a “What's new” dialog on every new version of my app

I'd like to be able to present a dialog that runs at the start of my application and shows the new features this new version implements. This dialog should only run once, and not be showed again ...
1
vote
3answers
4k views

How to install GTK+ “clearlooks” and “murrine” to fix this problem on Ubuntu with MATE?

This message says that the theme will not work correctly until I install the GTK+ "Clearlooks" And this another message says that the theme will not work correctly until I install the GTK+ ...
1
vote
2answers
513 views

Error accessing Gio.Gsettings on application made in quickly

I am trying to develop an application using the quickly/pygtk stack. I got my Gsettings schemas all set up in ~/app-name-here/data/glib-2.0/schemas/net.launchpad.app-name-here.gschema.xml correctly ...
5
votes
2answers
185 views

How to rename an application while developing with Quickly

I've been developing an application using PyGI and Quickly, and I now need to rename it. Is there any quick way to change all of the app name references in a Quickly application, or will I just need ...
3
votes
1answer
1k views

How to reset my gtk theme's defaults?

I was trying to change the scrollbar's color's or contrast to make it more easily noticeable but after using this question's answers I got this effect on my windows this is my ...
1
vote
0answers
157 views

Ubuntu radial gradient desktop background [closed]

Is it possible to add radial gradient to the list of possible background gradients in Ubuntu 12.04?
1
vote
1answer
362 views

How can I edit the color of this button using a GTK theme?

Here is a screenshot of my current theme--Everything works but two things. Edit: I deleted the picture--Thunderbird had information that was probably not best to show online. Basically, the interface ...
3
votes
3answers
1k views

How can I create a GTK theme from a list of parameters?

It's a little difficult to find a good title for this... =/ Using dconf, I was able to edit the "gtk-color-scheme" in org -> gnome -> desktop -> interface. Using this, I was able to edit the ...
1
vote
1answer
7k views

Installing GTK dev environment with aptitude

I'm trying to install the GTK development environment on Ubuntu, and having difficulty simply get it installed. Basically, my goal is to simply compile a C file which includes the header file ...
0
votes
1answer
140 views

window creation issue Python Gtk via Quickly

I'm currently learning python and GTK so please forgive the noobish question, I have a program (created in quickly) that has two main windows, that is to say that depending on context one or the ...
1
vote
1answer
521 views

GTK2.0 Theme problem with button foreground

I have noticed that i can only change the foreground color of a gtk2.0 theme button with the "default" style. I did it like: style "default" { fg[NORMAL] = "#000000" fg[PRELIGHT] ...
3
votes
2answers
340 views

How can I programatically show/hide my app window with global shortcut key?

I'm writing a Notational Velocity clone for Gnome/Ubuntu using Quickly (PyGI) and I want to allow users to set a global shortcut key that will toggle the visibility of the app window when the app is ...
2
votes
1answer
1k views

Why can't I define the size of a Gtk.Entry embedded in a Gtk.Toolbar?

I have embedded a Gtk.Entry box into a Gtk.Toolbar, however changing the requested width of practically anything (i.e. the Gtk.ToolItem that contains the Gtk.Entry and the Gtk.Entry itself) doesn't ...
1
vote
1answer
575 views

How to get the default theme using python “Gtk” (not “gtk”)?

When writing a lens for Unity in python I got stuck at replacing "import gtk" with "from gi.repository import Gtk" because I can't find the equivalence for the funcion: gtk.icon_theme_get_default(). ...