Google Tasks Tray

Shawn Powers shows us how to use the program "alltray" to put applications up in the system tray, even if they're not designed to do so. Shawn demonstrates with Google Tasks and Prism, but you can use it for whatever program you like.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Made it to Lifehacker

codemonkey2841's picture

Shawn, you made it to lifehacker! Congrats!

http://lifehacker.com/5701228/alltray-and-prism-create-stand+alone-tray+...

Of all the things I've lost, I miss my mind the most!

awesome tip

Anonymous's picture

great tip. Thanks.

tech tips return

crlsgms's picture

whoa! good thing that your back with the tech tips! :)

For Apps users..

Anonymous's picture

For Google Apps users, the URL for Tasks is
https://mail.google.com/tasks/a/mydomain.com/ig

miss

José Filipe's picture

Hi !

Shown Powers, you are newly in Linux Jornal ? Thats very good ! lool
I miss you, your tech tips of the day ... ! lool
Its good to see you can back ! lol

Bye

Maybe another example,

Anonymous's picture

Maybe another example, non-prism, maybe, it would have been better for avoiding the complexity of messing up parameters for xulrunner and/or alltray...

But interesting nevertheless, I've never heard of this program.

You can do something similar

Anonymous's picture

You can do something similar with python, webkit and gtk (or another gui widget tookit).

import gtk
import webkit
import gobject

def destroy(widget, data=None):
gtk.main_quit()

gobject.threads_init()
window = gtk.Window()
scroller = gtk.ScrolledWindow()
browser = webkit.WebView()

window.set_title("My WebApp") #sets the window title
window.resize(800, 600) #sets the window size
window.add(scroller)
scroller.add(browser)
browser.open("http://mywebapp.com") #sets the url of the webapp

window.connect("destroy", destroy)
window.show_all()
gtk.main()

This should work with the default flavor of Ubuntu. If you are using something else, you just need to make sure python, webkit, and gtk are installed.

Sorry line 6

Anonymous's picture

Sorry line 6 'gtk.main_quit()' should have been indented.

def destroy(widget, data=None):
    gtk.main_quit()

awesome

mahatman2's picture

dude this is cool how it worked. but could you help if there's an easy way to set the icon that shows up in the taskbar? Cuz that'd be awesome. If not don't worry about it...thanks for the tip!

It looks like there is a way

Anonymous's picture

It looks like there is a way to specify the icon alltray uses with the -i option.
This worked for me.

alltray python /path/to/script.py -i /path/to/icon.png -st -na

Loved the tip

octopusgrabbus's picture

Also loved your bumper sticker "Driver carries no cash"

Loved the tip

octopusgrabbus's picture

and the bumper sticker

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot