Sticky Notes applet - thought I'd share

Code junkies hangout here

Moderators: ChrisThornett, LXF moderators

Sticky Notes applet - thought I'd share

Postby denham2010 » Mon Feb 22, 2010 7:09 am

Hi all,

Just wanted to share a new applet I have written in python.

It's a sticky notes applet (similar to Notes, but maybe a few more options, and visually different)

Sticky Notes runs in your system tray and can be downloaded from Sourceforge.

https://sourceforge.net/projects/stickynotesnix/

There you will find a .deb, .rpm and .tar.gz. If using the source file, the applet runs directly from the extracted folder, or you can install it globally by running setup.py as root.

Dependencies: python (>=2.5), python-gtk2 and python-wnck

The applet is GTK based, so it works on Gnome and Xfce with either Metacity, Xfwm4 or Compiz as your window manager.

It should work with other environments, but hasn't been tested on them (feedback on the sourceforge page is appreciated).

Enjoy :)
Last edited by denham2010 on Sun May 23, 2010 6:19 am, edited 2 times in total.
denham2010
 
Posts: 12
Joined: Wed Aug 22, 2007 6:10 am

Postby Hudzilla » Mon Feb 22, 2010 9:10 am

Hey!

Now that is some very nice coding - I do get very tired of typing "self" when using OOP Python, but you seem to be using it just fine :)

Couple of points:

1) You haven't left many comments in the code, and most of the comments you have left are a bit obvious, eg:

# Create icon
def create_icon(self):

# Colour Icon
def colour_icon(self):

# Create dialogs
def create_dialogs(self):

It's awesome that you've opened your code under a licence that lets other people re-use what you've done, but you might want to describe some of the trickier bits just to help others along.

2) If I were to install this app permanently for all users, presumably stickynotes.py would go into something like /usr/local/bin, and stickynotes.ui would go into /usr/share/stickynotes along with your icons. Does that work?

3) You might want to think of a better/more unique name than Stickynotes :)


Paul
User avatar
Hudzilla
Site admin
 
Posts: 265
Joined: Mon Apr 04, 2005 11:52 am
Location: LXF Towers

Postby denham2010 » Mon Mar 01, 2010 8:04 pm

Hi, Thanks for the tips.

I will definitely have a look at your suggestions.

My internet at home has been down for the past week, and may still be down for a while. Seems my phone line has been cut somewhere.

As soon as my internet is back, I'll get stuck back into it.

Cheers.
denham2010
 
Posts: 12
Joined: Wed Aug 22, 2007 6:10 am

Postby denham2010 » Tue Mar 16, 2010 6:57 am

Finally, my internet is back up.....

Working on commenting the code, and then will look at a .deb and .rpm.

Regarding the name, I have kept stickynotes as, well, that's what they are. Of course, I am open to suggestions....

Cheers.
Last edited by denham2010 on Sat May 22, 2010 11:54 am, edited 1 time in total.
denham2010
 
Posts: 12
Joined: Wed Aug 22, 2007 6:10 am

UPDATE - Packages available on Sourceforge

Postby denham2010 » Sat May 22, 2010 11:52 am

Hi,

Taken me a while, but I have finally got a project page for Sticky Notes on Sourceforge.

https://sourceforge.net/projects/stickynotesnix/

There you will find a .deb and .rpm file for easy install on most distros.

A source .tar.gz is also available for other distros.

Cheers :)
denham2010
 
Posts: 12
Joined: Wed Aug 22, 2007 6:10 am


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests