
This is a plugin for compiz which allows you to operate a somewhat customizable ring/pie menu that shows up as long as a mouse button (along with an optional modifier key) is pressed and executes a user-definable shell command if one of its segments is selected. (The command should be instantaneous or forking (&), as it is executed with a blocking system(3) call in the plugin's thread) Although some other similar projects exist, I wasn't aware of that before I already had hacked up most of this; the main source of inspiration for the design is a shareware game, Cortex Command.
As not much more than a single night's coding has flown into it so far, it's still highly experimental (and the source is a minefield that would probably get me strangulated alive by whoever wrote up Compiz' official coding style guidelines) and certainly shouldn't be used if you don't know how to compile Compiz plugins yourself. If you are confident about trying out new things, though, I am happy about any feedback.
Potential features for hypothetical more sophisticated distant future versions include
- cairo-based rendering, yielding smooth edges and potentially SVG support through librsvg
- appearance/disapperance animations
- submenus?
- sound effects/acoustic feedback?
- themes.
ringmenu.tar.gz (9KB) - source tarball (GPLv2)
|
|