Ubuntu – “Simple” gnome applets in Unity – stickynotes

appletgnomeunity

I guess this is a related question to Can I use GNOME applets in Unity? (moved by suggestion of @Jorge Castro)

I'd like to use stickynotes_applet in Unity.. Now in Gnome, this applet gets added to a bar, then I have to click it to create a new note, and I can call preferences to have the notes stick on the desktop – which is all I need.

Obviously, as mentioned here, it will not be possible to use this applet directly in Unity; but basically, all I'd need to do is to raise the Preferences window (so as to make the notes stick), and to somehow issue a command for a new note (which would otherwise be performed by a click on the applet icon in the Gnome bar).

I have tried running '/usr/lib/gnome-applets/stickynotes_applet' and seemingly it runs, although no applet icon is shown (which is expected), and no any other windows either (which I otherwise hoped will show 🙂 ).

So I was wandering – given that this applet doesn't (seem to) have anything special related to desktop – is there a command line way to basically run this applet, issue a 'Show Preferences' command to it, and issue a new note command to it within a Unity environment (currently I can call tomboy from command line and it works – but its windows are too clunky for my taste)?

(and bonus question – how would you start an applet related window only from the command line in classic Gnome?)

Desktop integration doesn't matter all that much to me – I'd run this manually from the command line gladly, as long as I get small compact notes that stay on the desktop (as long as the process is active)..

Thanks for any comments,
Cheers!

Best Answer

You could have a small gnome-panel running your applet only. See How do I use the GNOME Panel in Unity?

Related Question