Hot answers tagged

7 votes
Accepted

GTK-error while running a pyplot-application

Pantheon Files (the default file manager) contains a custom GTK+ module called pantheon-filechooser-module. It's shipped on up-to-date systems, but it's not activated yet (currently, the default GTK+ ...
  • 2,872
7 votes

GIMP crashes on launch

Resolved problem by removing .gimp-2.8 folder in home
  • 139
6 votes

Applications look ugly when using third-party "Arc OSX themes"

You have installed a theme which generally only applies to applications which use GTK+ 3, for example all default apps in elementary. There are other toolkits used by developers for Linux apps where ...
  • 3,520
6 votes
Accepted

gtk2 apps not working in elementary

pdfshuffler: Looks like there is bug report about pdfshuffler on freya : Launchpad Bug Report As for the error you are getting : Gtk-Message: Failed to load module "pantheon-filechooser-module" ...
6 votes
Accepted

How to solve Gtk-WARNING about “pixmap”

The workaround to eliminate the warnings/errors is by installing gtk2-engines-pixbuf Open terminal and run: sudo apt-get install gtk2-engines-pixbuf If you are using a 64-bit system, but using 32-...
  • 7,877
5 votes
Accepted

Are all GTK 2.0 or GTK 3.0 themes compatible with all desktop environments?

No. There are some themes that are specifically for ubuntu's desktop unity for example, and that works on elementary but it doesn't look good, some features aren't shown, some parts look broken. You ...
  • 466
4 votes
Accepted

How to hide the menubar in non-native applications?

As far as I know, there is no universal way to hide all menu bars. To toggle the menu in Atom: View > Toggle Menu Bar To toggle the menu in Sublime Text: View > Hide Menu
  • 812
4 votes
Accepted

How to open Gtkinspector on Freya?

You will need to install the GTK developer tools first. sudo apt-get install libgtk-3-dev Then you will be able to enable the inspector either via the dconf editor, or by executing the terminal ...
  • 56
4 votes

Update Gtk+ on Loki?

You will get problems for sure. It is strongly adviced to use the GTK version the system is build for.
  • 2,869
4 votes

GTK theming in snap apps

Snaps don't always work with the system stylesheet. An easy alternative is to use Flatpak apps from Flathub when apps exist in both places, because Flatpak has a mechanism to work with the elementary ...
  • 138
3 votes

Update Gtk+ on Loki?

Don't try to upgrade it, you just will end with a messed up system, all the versions if gtk lost compatibility from one version to another (you can see this in the themes for example, every gtk theme ...
  • 468
3 votes

How do I change the background color and font color of wingpanel XGTK theme?

modify osd in gtk.css in Gtk3 folder
3 votes

Are all GTK 2.0 or GTK 3.0 themes compatible with all desktop environments?

It depends on the theme. Some themes are designed specifically for a desktop environment so it won't look so good when you try to apply it in another distro. You should just try, you can even make ...
  • 1,974
3 votes
Accepted

GTK+ Incorrect Window Size

One of these windows is using client-side decorations and the other is using sever-side decorations. There is a bug right now where client-side decorations include the shadow as part of the window ...
  • 9,734
3 votes

How to use Gtk.Popover() in Vala?

You can associate the popover creation with a button event, like in the following example: var button = new Gtk.Button (); var imag = new Gtk.Image.from_icon_name ("help-info", Gtk.IconSize.MENU); ...
  • 2,268
3 votes
Accepted

Using Granite with a different language besides Vala

Granite is written in Vala, so it provides a C API which you can use from C++. Using it should be fairly straightforward; just #include <granite.h> in your code, and build with something like ...
  • 430
3 votes
Accepted

I want to add the listbox scroll fade effect in my app - how?

The most common way a designer can do this is by applying on an upper layer a semitransparent png image or gradient with fading transparency from 1 to 0 and white color. Another option is a gtk box ...
  • 1,284
2 votes
Accepted

Compile Geany 1.26 on elementary OS Luna

GTK+ has two major branches, 2.0 and 3.0. They are incompatible and Geany is a GTK+ 2.0 application. You'll need the development headers for GTK+ 2.0. These are included in a package called libgtk2.0-...
  • 2,872
2 votes

Applications look ugly when using third-party "Arc OSX themes"

Try installing gtk2-engines-pixbuf and moving the Ark-OSX folder to /usr/share/themes if it isn’t saved there yet, that fixed it for me.
  • 21
2 votes

GTK theming in snap apps

Snaps are what is called a "sandboxed" or "confined" package format. This means the amount of access that these apps have to your system is very limited. One of those limitations is that Snaps don't ...
  • 9,734
2 votes

Elementary app feasibility: modify any current text input

All feature requests must be written to the proper GitHub page, they do not belong here. I believe that in your case gala is a good starting point. https://github.com/elementary/gala Good luck
  • 1,942
2 votes
Accepted

I don't know what the problem is, but some apps look weird like this [SOLVED]

The problem of the double window I don't understand well the reason why it happens, but it is solved by editing the direct access to the application. This command must be included: GTK_CSD=0 I will ...
  • 357
2 votes
Accepted

Can't make Gtk.TextView () fill whole parent Gtk.Box

A lovely application you built here, I particularly like the native indicator! Looking into your Application.css: .command_wrapper { background-color: #fdf6e3; border-radius: 3px; ...
  • 2,150
1 vote

Where to propose a new app for elementary OS, discuss design

There were some of such proposals over there at Google Plus. Try it there. Perhaps you will find some developers. However, there is no official platform. Bountysource has an platform for elementary's ...
  • 1,537
1 vote

GTK theme inspector for Desktop Enviroment elements

To debug the DE itself (I assume you want to debug a wingpanel widget), you need to somehow focus them. The easiest way I use is opening Slingshot (or any other wingpanel indicator), hovering your ...
  • 43
1 vote
Accepted

GTK theme inspector for Desktop Enviroment elements

You can use Gtk Inspector. To enable it open a terminal and execute : gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true And now you can launch it with Ctrl + Shift + I. Source: ...
  • 2,268
1 vote

Firefox Filechooser Dialogs don't have a select/save button in Loki

Workaround: gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DialogsUseHeader':<0>}" It's fixed and should arrive soon.
  • 21
1 vote

Can't install gtk+

Figured it out! I just followed the directions here but instead used my text editor, going to all the APT sources files (as well as the saves!) and changing freya to trusty. One apt update later, and ...
1 vote

How do I change the background color and font color of wingpanel XGTK theme?

Downloaded this theme and had a look. You are right to edit the apps.css in the gtk-3 folder. It has a panel setting for budgie and one that is just panel. It isn't set up the same way as the one in ...
1 vote

GTK+ Incorrect Window Size

I found the effective env variable: GTK_CSD=1 , you can verify: sudo GTK_CSD=1 ./yourprogram GTK_CSD="" ./yourprogram The GTK Client-Side Decorations enabled by: $ sudo grep -r GTK_CSD /etc/ /etc/...
  • 445

Only top scored, non community-wiki answers of a minimum length are eligible