Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sticky Notes applet - thought I'd share

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
denham2010



Joined: Wed Aug 22, 2007 7:10 am
Posts: 12

PostPosted: Mon Feb 22, 2010 7:09 am    Post subject: Sticky Notes applet - thought I'd share Reply with quote

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 Smile


Last edited by denham2010 on Sun May 23, 2010 7:19 am; edited 2 times in total
Back to top
View user's profile Send private message
Hudzilla
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 265
Location: LXF Towers

PostPosted: Mon Feb 22, 2010 9:10 am    Post subject: Reply with quote

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 Smile

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 Smile


Paul
Back to top
View user's profile Send private message Visit poster's website
denham2010



Joined: Wed Aug 22, 2007 7:10 am
Posts: 12

PostPosted: Mon Mar 01, 2010 8:04 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
denham2010



Joined: Wed Aug 22, 2007 7:10 am
Posts: 12

PostPosted: Tue Mar 16, 2010 6:57 am    Post subject: Reply with quote

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 12:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
denham2010



Joined: Wed Aug 22, 2007 7:10 am
Posts: 12

PostPosted: Sat May 22, 2010 12:52 pm    Post subject: UPDATE - Packages available on Sourceforge Reply with quote

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 Smile
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast