Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to start learning how to develop system settings dialogs using Python and GTK. What is required? I know Python and GTK well. The question is how to make the dialogs themselves. Are they built into system settings, or can we attach new dialogs at runtime?

share|improve this question
me too man I'm still newbie in python and i wanna learn it to become programmer so good you ask this question man and i wait answer too you can look to this and this site too and this this very experience site in programmer and development – Mahmoud20070 Feb 19 '12 at 18:37
sorry for last mistake and thank for nitstorm for his advise – Mahmoud20070 Feb 19 '12 at 18:46
up vote 3 down vote accepted

As of GNOME 3.2, upstream GNOME developers dropped support for adding "external panels" to the system settings in order to more tightly control what is present there. The relevant conversation can be found, starting with this message, on the GNOME desktop-devel-list. Ubuntu carries a patch to expose this API. Here is the relevant blueprint.

IFAICT, python apps can not directly access the proper API, but they can still add themselves to the systems settings. They'll be show up there, but not be able to take advantage of the morphing window, bread crumbs, etc... They'll simply be called like an external program.

In order to place your app in the system settings, you need to add X-GNOME-Settings-Panel to the Categories field in your desktop file:


and add a new field to the desktop file:


It must also contain OnlyShowIn=Unity;

Here's an example of me forcing something in there:

bzr-gtk in system settings

share|improve this answer
Extremely weird decision. They're deliberately making sure the desktop can be customized by pretty much anyone – and bragging loudly about it – but adding configuration GUIs must be locked down completely in order to avoid any kind of divergence? Let's add a hundred different config applications instead. That makes everything more streamlined. :) – Jo-Erlend Schinstad Feb 20 '12 at 0:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.