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

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix