Hot answers tagged

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 ...
quassy's user avatar
  • 3,520
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 ...
Andrew's user avatar
  • 138
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.
Djax's user avatar
  • 2,879
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 ...
mthx's user avatar
  • 56
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 ...
Daniel Foré's user avatar
  • 9,734
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 ...
Alexandr's user avatar
  • 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
user6298's user avatar
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 ...
nemequ's user avatar
  • 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 ...
Bo rislav's user avatar
  • 1,304
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.
Amadeus's user avatar
  • 21
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-...
embik's user avatar
  • 2,872
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 ...
Daniel Foré's user avatar
  • 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
Sebastian's user avatar
  • 1,972
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 ...
Javier A.'s user avatar
  • 367
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; ...
Vlad's user avatar
  • 2,205
1 vote
Accepted

Cumulus not working on elementary os loki

I'm not sure how you installed it, but it looks like you are missing the python-gobject package which is used by Python to interact with GTK. You can install it with sudo apt install python-gobject.
Mike Wild's user avatar
  • 846
1 vote

Can't find gtk header file for vala-code compilation

Just had the same issue on elementary OS Hera. I've fixed it by adding this line to my .bashrc: export PKG_CONFIG_PATH="/usr/share/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:$...
Peter's user avatar
  • 11
1 vote
Accepted

Linked style doesn't work for buttons

The Gtk.HeaderBar provides special styling for Gtk.Button's so that they look good inside it. The solution: In your case the solution is easy: remove the image-button style class from the ...
donadigo's user avatar
  • 161
1 vote

Suspend Problem (?)

I had this problem up until today, when i installed the latest OS update (the one with the new AppCenter), i think it had an update to the nvidia driver. Afterwards the behavior stabilized and ...
Mike Rodov's user avatar
1 vote

Swift/GTK Bindings

There are currently no plans from elementary to officially support Swift. However, apps submitted to AppCenter are more than welcome to use Swift or any other language so long as they are GTK3 apps. ...
Djax's user avatar
  • 2,879
1 vote

Pantheon Files Side Panel CSS

In file gtk.css, change this: MarlinViewWindow .source-list.sidebar.view { background-color: white; }
btd1337's user avatar
  • 131
1 vote
Accepted

Pantheon Files Side Panel CSS

In the source code file src/View/Sidebar.vala (cf. apt-get source pantheon-files) it seems that the sidebar and source-list classes are applied to the sidebar. In /usr/share/themes/elementary/gtk-3.0/...
lemonslice's user avatar
  • 4,512
1 vote

GTK Themes Doesn't Work Well on Loki

Not all themes are going to display well in elementary, particularly in apps that have client side decorations like those native to elementary - files, maya, epiphany, etc. You going through the ...
pretz's user avatar
  • 2,310
1 vote

GTK Themes Doesn't Work Well on Loki

Maybe you need to put the theme folder in home/.local/share/themes. Or maybe that theme doesn't support Pantheon DE. And i recomend you to use elmentary tweaks for manage your desktop theme and some ...
Pablo's user avatar
  • 11
1 vote

GTK theming in snap apps

use flatpak and run the bellow command, it will allow flatpak apps to use your theme, no idea why canonical doesn't expose the theme and icon folders already, snaps are doa just because of the theming,...
spider623's user avatar
1 vote
Accepted

StatusIcon not showing/working

GtkStatusIcon is deprecated since GTK 3.14. It is more for Windows and KDE and not supported on elementary OS or Gnome 3.
Djax's user avatar
  • 2,879
1 vote

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

According to the README.md of the arc theme you need to also install the gtk2-engines-murrine package. https://github.com/horst3180/arc-theme Quote: For the theme to function properly, install the ...
timo's user avatar
  • 21
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 ...
bigbang's user avatar
  • 1,527
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 ...
Defman's user avatar
  • 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: ...
bitseater's user avatar
  • 2,278

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