This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Gtk Application Tools

A set of tools to create and develop GNOME and Gtk applications for free desktop systems easily, in a similar spirit to Ubuntu Quickly.

They are hosted in github as separate projects for now, but might be merged soon.

gtk-app-generator

Generates a new application from a template, hiding all the boring copy-paste stuff from the developer. Includes templates for Gjs and PyGObject applications that handle autotools, i18n, gtkbuilder, gsettings, appdata, desktop files, etc.

It's a command line utility written in python + standard library.

gnome-app-tool

An editor for declarative files such as desktop files, app data files, GSettings, etc. that should be handled by an IDE but for which an IDE is currently missing.

It's a graphical application written in JS.

How to use it

./gtk-app-generator.py com.github.user.FancyApplication -N "The Application Name" -B fancy-application -o ~/gnome --summary "A short description of the app" --url http://www.example.com/fancy-application

This will create a folder under ~/gnome/ called fancy-application, and initialize it with an GIT repository. It will take care of the initial commit too.

./autogen.sh --prefix=/usr/local --libdir=/usr/local/lib64
make

./src/fancy-application

/!\ If you are writing a JS application, you need to install it once, to make sure package.js is visible. See 690136

/!\ If you are using jhbuild, you can't run your application installed (ie from gnome-shell), unless you are in a full jhbuild session, because dbus will not pick the right service file. Run it uninstalled instead.


2024-10-23 11:09