Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

9 Answers 9

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.

share|improve this answer
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 '10 at 18:36
    
Yep, in GNOME 3 the applets will definitely dead. –  Alfredo Hernández Oct 31 '10 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 '10 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 '10 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. –  Tommy Brunn Nov 1 '10 at 13:21
add comment

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

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.

share|improve this answer
    
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. –  Moma Antero Nov 2 '10 at 11:44
add comment

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

share|improve this answer
add comment

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

List of Application indicators

share|improve this answer
add comment

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.
share|improve this answer
    
it requires compile the source code tho for xfapplet –  Aquarius Power Oct 7 '13 at 18:59
add comment

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.

share|improve this answer
add comment

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...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.