You are not logged in.
Sidenote is some ridiculously simple note taking program. I made to fit in with my ion setup as I couldnt find one that would resize nicely to a narrow form factor. It'll probably resize to a wide or just about any form you could want. Since then it has been improved substantially.
As you can see in the screen shot here:
http://iphitus.loudas.com/arch/sidenote/sidenote.png
And new improved version.
http://iphitus.loudas.com/designs/scree … 260107.png
You can make multiple notes, add notes, remove notes, and of course, it saves them so they are there next time.
Also added now are basic formatting, a tray icon, spelling support and various window management options such as stickyness and geometry.
And its only 37kb.
You can download it, ere:
http://iphitus.loudas.com/arch/sidenote/sidenote.py
home page here, with PKGBUILD
http://iphitus.loudas.com/sidenote.php
It's one file, just chmod +x,
mkdir -p ~/.config/sidenote/
Configure any options in the commented variables in the top of the file, all bar one are True/False.
Depends on python and pygtk.
OPTIONAL depends for spelling is gtkspell
OPTIONAL depends for trayicon is gnome-python-extras.
-- if you dont want gnome depends, try using alltray for a tray icon.
iphitus
nb: post edited to reflect latest version.
Offline
Nice app. will see much use on my desktop. had to edit out all references to /home/archie
A feature request would be to have it re-open the saved notes to further edit. Unless it is already there and I am blind.
Offline
oh, oops!!! i forgot to take out that, ill fix that now.
i suck at releasing things.
if you quit it properly or hit save, it should load up the notes you had open last time.
Offline
ok, fixed htat glaring omission, now takes the users home directory instead of mine
linked to a homepage with a PKGBUILD on it too.
iphitus
Offline
Nobody has any suggestions?
Offline
Nobody has any suggestions?
a calculator button would be usefull to me.
The trash icon and the piece of paper do the same thing. A desription under each when you hover the mouse over them would be nice too, but not a big deal.
Where is it saving to?
Offline
looks nice. I might try it. That's ion3? It looks a little... sexier than ion2... too bad I couldn't figure out how to build it. ;-)
Dusty
Offline
looks nice. I might try it. That's ion3? It looks a little... sexier than ion2... too bad I couldn't figure out how to build it. ;-)
Dusty
I've been meaning to try this too
And I bet wmii will look just a sexy given the right font+colors
Offline
plus wmii is easy to install. That's important!
Offline
looks nice. I might try it. That's ion3? It looks a little... sexier than ion2... too bad I couldn't figure out how to build it. ;-)
Dusty
There's a pkgbuild in AUR You should know better
Its not a hard install, the prefix and path to lua in system.mk and make, make install.
The trash button should delete the current note, the paper button should create a new note. It saves to ~/.sidenotes
iphitus
Offline
There's two PKGBUILDs for ion3 in AUR and I had issues (can't remember what they were) with both of them. The PKGBUILD for wmii, on the other hand, worked flawlessly for me. ;-)
I'm about to try sidenote.
Dusty
Dusty
Offline
There's two PKGBUILDs for ion3 in AUR and I had issues (can't remember what they were) with both of them. The PKGBUILD for wmii, on the other hand, worked flawlessly for me. ;-)
I'm about to try sidenote.
Dusty
Dusty
I never use pkgbuilds anyway for ion
but wierd, im compiling one now, and this one seems to work fine:
http://aur.archlinux.org/packages.php?d … Packages=0
http://aur.archlinux.org/packages/ion3/ion3/PKGBUILD
edit: oh i can see the problem in the pkgbuild now, make install doesnt acknowledge destdir.
iphitus
Offline
works flawlessly here...
out of curiosity - how did you make this I've seen/heard you mention glade before... but this is just a python file... not a glade file... *shrug*
Offline
it's got the glade there too, take a look inside.
if I had kept the glade seperate i would have had to have gone to the trouble of making a setup script so that the py file knew where it was. So instead of doing that, I put the glade file *inside* the py file, so you can just drop the py file anywhere and run it.
Offline
The glade file is a string inside the python file.
mixing XML and Python though, how sad. Next thing you know he'll be programming in Java.
Dusty
Offline
Very nice
I'd probably use it if I didn't love xpad so much.
Sidenote would probably be the better option if I had a more notes to keep track of (because of that nifty menu you included at the bottom).
As for feature requests and suggestions, since you asked, here are some ideas:
I like being able to get rid of the icons, and having those actions available in the context menu.
Also, really long words break it -- perhaps a horizontal scrollbar?
If you can, have the scrollbars be visible only when necessary.
Offline
Time for my revolutionary suggestions (TM):
* make it work from a console too...
i.e. "sidenote.py --textmode" or something... you can just have it run "$EDITOR" on the file it stores crap in if you want...
* networked!! have it open a tcp port so that I can add/view it from a remote location... (this would be a nice chunk of work, but a fun feature, regardless)
* and a long shot - add the ability to throw checkboxes in there... so I can make a nice little TODO list
Offline
Time for my revolutionary suggestions (TM):
* make it work from a console too...
i.e. "sidenote.py --textmode" or something... you can just have it run "$EDITOR" on the file it stores crap in if you want...
Might try something like that....
* networked!! have it open a tcp port so that I can add/view it from a remote location... (this would be a nice chunk of work, but a fun feature, regardless)
wow. I might try that too
* and a long shot - add the ability to throw checkboxes in there... so I can make a nice little TODO list
i was considering something like this too. And having it parse out dates from the text, and it it's before a date, render the date in green, after a date, render in red.
I'll make an option to turn off the buttons too.
Offline
The input box that comes up when you add a new note... would it be possible to have an <enter> keypress on the textbox confirm the input?
Dusty
Offline
The input box that comes up when you add a new note... would it be possible to have an <enter> keypress on the textbox confirm the input?
Dusty
Yeah, sure I'll work out how to add it to the next release.
I'm adding toggle'able toolbar and menu to next release as well.
And the text based interface.
Offline
Hi,
why does it depend on aspell?
First startup didn't work until I ran makedir ~/.config/sidenote
wonder about this output:
/usr/bin/sidenote:808: GtkWarning: Invalid icon size 16
self.trayicon.show_all()
On rightclick I got:
Traceback (most recent call last):
File "/usr/bin/sidenote", line 820, in bold
(start, end) = self.bufNote.get_selection_bounds()
ValueError: need more than 0 values to unpack
Segmentation fault
(my font doesn't support bold in the way the app wants it, btw how to select another font?)
Restarting it and right-clicking:
/usr/bin/sidenote:758: GtkWarning: gtk_text_buffer_move_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
gtk.main()
/usr/bin/sidenote:758: GtkWarning: gtk_text_buffer_get_iter_at_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
gtk.main()
/usr/bin/sidenote:758: GtkWarning: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators
gtk.main()
/usr/bin/sidenote:758: GtkWarning: _gtk_text_buffer_get_line_log_attrs: assertion `GTK_IS_TEXT_BUFFER (buffer)' failed
gtk.main()
Segmentation fault
Ah, now bold works! what a miracle?
Does it autosave on exit?
Nice tool, hope my message can help you improving
Ford
Offline
Hi,
why does it depend on aspell?
if you want to use the optional addon gtkspell, it needs aspell.
First startup didn't work until I ran makedir ~/.config/sidenote
Yeah, I know about it, I may fix that. Sidenote was created to work for me, I am sharing it simply because it may be useful for others, so theres lots of small things like that that I could refine, but dont feel the need to.
wonder about this output:
/usr/bin/sidenote:808: GtkWarning: Invalid icon size 16self.trayicon.show_all()
its a warning its safe. The documentation doesnt have clear information on what parameter to pass for size. It seems if i pass it just any number, it works fine, despite the warning.
On rightclick I got:
Traceback (most recent call last):
File "/usr/bin/sidenote", line 820, in bold
(start, end) = self.bufNote.get_selection_bounds()
ValueError: need more than 0 values to unpack
Segmentation fault
The bold error happens when you hit bold/italic/underline without having text selected.
I have no idea whats causing the right click error. I need to look into that, but its difficult without a traceback.
(my font doesn't support bold in the way the app wants it, btw how to select another font?)
Change your gtk font
Restarting it and right-clicking:
/usr/bin/sidenote:758: GtkWarning: gtk_text_buffer_move_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
gtk.main()
/usr/bin/sidenote:758: GtkWarning: gtk_text_buffer_get_iter_at_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
gtk.main()
/usr/bin/sidenote:758: GtkWarning: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators
gtk.main()
/usr/bin/sidenote:758: GtkWarning: _gtk_text_buffer_get_line_log_attrs: assertion `GTK_IS_TEXT_BUFFER (buffer)' failed
gtk.main()
Segmentation fault
Havnt seen this one before.
Ah, now bold works! what a miracle?
Does it autosave on exit?
Yes, it should.
Nice tool, hope my message can help you improving
Ford
Thanks, and thanks for reminding me about the rightclick - i had totally forgotten about it.
Offline
Ok, looked into the right click error, and its a fault in arch's packages. On other distros it works fine, and shows the standard gtk menu.
Rebuilding pygtk from abs hasnt fixed it, I'm rebuilding gtk now.
I've also set the dialogs so enter hits OK for you, will upload later.
iphitus
Offline
Ok, fixed by updating gtk2 to 2.8.9, and rebuilding pygtk 2.8.4 from ABS.
So the bugs upstream, I might file a bug tonight.
iphitus
Offline
What's wrong with that? Means he can easily port it to Windows!
Oh my god, I didn't just say that...
Offline