28

Applets are small programs that you attach and start from the GNOME's toolbar. See picture: http://www.futuredesktop.com/audio-recorder/recorder-applet.ogv

My favourite applets are:

  • rec-applet: Smart audio recorder applet. You can get this from Launchpad.

  • clipart-finder: Find and download clipart to your computer. You can get this from the Launchpad.

1) Can I use these applets in UNITY as is?

2) What changes I have to make to applets' code (rec-applet and clipart-finder) to make them usable in Unity?

3) Where is the applet-specification for Unity?

0

9 Answers 9

10

I think you can't. Unity only shows notification area and indicators. So if you port their code to use indicator-applet, they will work.

5
  • 1
    It's also worth noting that gnome-shell doesn't support panel applets. It seems that the old applet specification is being phased out in GNOME 3.
    – dv3500ea
    Oct 31, 2010 at 18:36
  • Yep, in GNOME 3 the applets will definitely dead. Oct 31, 2010 at 21:19
  • there is some talk on the gnome3 wiki about gnome-panel applets being upgraded to a new standard but I think the GNOME devs are so (puzzlingly) confident aboutthe shell they scrapped the plans.
    – RolandiXor
    Oct 31, 2010 at 21:52
  • 1
    The clipart-applet does not indicate anything, so converting it to an indicator makes no sense. Maybe if there would be some sort of (plugin?) system for specialized searches in Unity, it could fit into that...
    – JanC
    Nov 1, 2010 at 0:29
  • 3
    Many applets can't be converted into indicators. Either because they're not supposed to be indicators of anything, or because the indicators simply do not have the same features as gnome applets (for example drag and drop support). At least now I know I can scrap my work on an applet, since it can't be done as an indicator. Nov 1, 2010 at 13:21
9

Since both shells encourage you to position launchers closer to the workspace (using the sidebar in Unity and the favourite applications well in Gnome Shell), many of the more common panel applets are close to being obsolete (since they usually just launch things with their main windows appearing close to the launchers). Some cleverness will finish the job.

Both shells are going for better defined, stricter methods for extensions like panel applets. Ubuntu's indicator stuff fits that territory; indicators serve a single use case and they go in one place. Unity also has a feature called Lenses. By default, you have two Lenses in Unity: Applications and Files. In the future, you will be able to install lots more to do all sorts of cool things (like browse Youtube). There is some info about that on the Ubuntu wiki.

As the new shells evolve, additional extension points might emerge.

3

I'm not sure about rec-applet, but clipart-finder looks like it could be integrated into Unity via the Lenses API.

In the Lenses API session at the recent UDS-N Neil Patel demoed a youtube place he hacked up over the course of two hours. It was sweet, and looked like it would be an excellent match for clipart-finder.

1
  • Thank you. The Places API seems to be a good solution for the ClipArt-Finder. And Places can easily interact with other applications because it uses DBus. The lanugae does not matter; Python, Vala or C, they all suffice. I will start with the [url=launchpad.net/unity-place-sample]Places Sample.[/url] and go from it. Nov 2, 2010 at 11:44
1

Ok, neither Unity or GNOME Shell will have applets as we know them from GNOME 2.x. Applets are simply small GTK-applications, so if I can open the application window nearby the launcher button, then it would be a great solution.

I hope that Unity can help us with:

1) Find out the location of the launcher button. My applet application GTK-application will then create a window close to the button's location. The window is often small, so opening it in maximized mode or in the center of the screen would be very "rude".

2) To indicate status or advancement, the GTK-application may want to modify its launcher button. Can we change the launcher's image or color, or even draw on it?

3) Flip-flopping the window. Clicking the launcher button will show/hide the application window. This will mimic the original applet-launcher.

I want to make rec-applet and clipart-finder rock, also in Unity and GNOME Shell.

1

If there is a Gnome Panel applet that you absolutely must use and it isn't feasible to get an indicator to replace it, then this might be a workaround:

  1. Install xfce4-panel
  2. Run "xfce4-panel"
  3. install the XfApplet plugin
  4. Add your Gnome Panel applet to the Xfce4 panel
  5. Arrange the panel in such a way as to not bother other parts of your system, i.e in the lower-right corner.
1
  • it requires compile the source code tho for xfapplet Oct 7, 2013 at 18:59
0

GNOME applet only runs on GNOME panel. As unity will not use GNOME panel, so it's not possible to run applets unless canonical figure out some way to work around

0

There are some indicators being developed by the gnome2's applets developers. Follows a big list of them:

What Application Indicators are available?

0

Another alternative is to install Cairo-Dock on your Ubuntu Unity. You will find it in the Ubuntu Software Centre as GLX-Dock. This is a very cool application with a lot of it's own applets, like weather, disk usage, system monitor, etc.

0

still to this date I had this problem,
but finally we can run gnome applets in unity as explained on this question.

basically you run gnome-panel, remove what you dont want from it with alt+super+rightClick and add what you want too; now I can finally access the "cpu frequency scaling monitor" after more than a year...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .