Translate

Image of Operating System Concepts
Image of Android Wireless Application Development
Image of Modern Operating Systems (3rd Edition)
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)

Controlling a GNOME Shell or Cinnamon Extension using D-Bus

In my last post, I discussed how you could use D-Bus object introspection to enumerate the methods, signals and properties of the GNOME or Cinnamon Shell, and showed how you could enable, disable or list extensions using a command line utility that used D-Bus to talk to the Shell. In this post, I demonstrate how you can add D-Bus support to a Shell extension and allow a command line utility to control the operating characteristics of the extension via a command line utility. The Shell extension I shall use for demonstration purposes is a simple Cinnamon extension that adds a