Ubuntu indicator applet support

Suggestions and discussion of future versions
Post Reply
daas88
New User
New User
Posts: 3
Joined: Mon Jun 14, 2010 10:56 pm

Ubuntu indicator applet support

Post by daas88 »

Hi everyone, I'd like to request a feature: indicator applet support for the gnome panel. I'm getting used to that behavior and it's meant to be the default behavior for future versions of ubuntu. Could you please add a plugin or something to support that?
daas88
New User
New User
Posts: 3
Joined: Mon Jun 14, 2010 10:56 pm

Re: Ubuntu indicator applet support

Post by daas88 »

no one seem to care...
User avatar
Hund
Member
Member
Posts: 11
Joined: Thu Dec 10, 2009 8:03 am
Location: Sweden
Contact:

Re: Ubuntu indicator applet support

Post by Hund »

Have you asked the Ubuntu developers?
daas88
New User
New User
Posts: 3
Joined: Mon Jun 14, 2010 10:56 pm

Re: Ubuntu indicator applet support

Post by daas88 »

No I haven't, because I guessed I had to ask deluge developers first. But I think I'll file it as a bug in launchpad too, thanks for the suggestion.
neothedm

Re: Ubuntu indicator applet support

Post by neothedm »

Hey,

look if you mean by indicator, to tell you what torrent been added and what torrent has been finished, then you should use deluge 1.3.0_rc1, which there is a plugin named 'Execute' where you can execute scripts there to indicate events, so i use this script written in python to fire a notification when a torrent is finished downloading:

Code: Select all

#!/usr/bin/env python
try:
    import gtk, pygtk, os, os.path, pynotify, sys
    pygtk.require('2.0')
except:
    print "Error: need python-notify, python-gtk2 and gtk"

if __name__ == '__main__':
    if not pynotify.init("Timekpr notification"):
        sys.exit(1)

    torrentname=sys.argv[2]
    n = pynotify.Notification("Download Finished", torrentname, "/usr/share/app-install/icons/deluge.png")
    #n = pynotify.Notification("Moo title", "test", "file:///path/to/icon.png")
    n.set_urgency(pynotify.URGENCY_CRITICAL)
    n.set_timeout(10000) # 10 seconds
    n.set_category("device")

    #Call an icon
    helper = gtk.Button()
    icon = helper.render_icon(gtk.STOCK_DIALOG_WARNING, gtk.ICON_SIZE_DIALOG)
    n.set_icon_from_pixbuf(icon)

    if not n.show():
        print "Failed to send notification"
        sys.exit(1)
check this screen shoot
Image

I'm planning on writing a plugin specially for this after i finish my exams...

hope this is useful
Post Reply