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

Webcast
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.

Learn More

Sponsored by AMD

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState