The gnome-3-28 extension

This extension helps you snap desktop applications that use GTK3 and GNOME 3.28.

How to use it

Add extensions: [ gnome-3-28 ] to the application definition in your snapcraft.yaml file. See GTK3 applications for a complete tutorial on how to use this extension.

apps:
  foliate:
    command: usr/bin/com.github.johnfactotum.Foliate
    extensions: [gnome-3-28]
    ...

What it does

  • It ensures the GTK3 and GNOME libraries are available to all parts at build and run time.
  • It initialises GTK3 and the desktop environment before your application starts so functionality like fonts, themes and a11y works correctly.

To do this, it connects each application to the following content snaps at run time.

It also configures each application entry with these additional plugs:

ⓘ This is a snapcraft extension. See Snapcraft extensions and Supported extensions for further details on how extensions are used.

1 Like