Translate

Image of Android Wireless Application Development
Image of Beginning Google Maps API 3
Image of Linux Kernel Development (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 this post, I demonstrate how you can add D-Bus support to a GNOME Shell or Cinnamon extension and allow a command line utility to control the operating characteristics of the extension via a command line utility.

GNOME 3.2 Simple Popup Menu Example

GNOME 3.2 is about to be released. There are major changes in the way GNOME Shell extensions must to be written in order to work with this version of GNOME. Here is a simple GNOME 3.2 Shell extension which demonstrates a simple popup menu on the right hand side of the panel (top bar.) Once loaded, it can be enabled (displayed) or disabled (removed) without restarting the GNOME Shell. This is a major improvement over GNOME 3.0 and 3.1. // // Copyright (c) 2011 Finnbarr P. Murphy. All rights reserved. // const St = imports.gi.St; const PanelMenu = imports.ui.panelMenu; const