| The Following 5 Users Say Thank You to simoneb For This Useful Post: | ||
|
|
2010-06-08
, 18:16
|
|
Posts: 446 |
Thanked: 79 times |
Joined on Mar 2010
|
#2
|
|
|
2010-06-08
, 19:25
|
|
Posts: 163 |
Thanked: 96 times |
Joined on Feb 2010
@ Israel
|
#3
|
Here it is:
It's a desktop widget that shows some editable text. If you tap on it, the system default text editor (usually osso_notes) will pop up allowing you to edit this text.
However, since it uses the "inotify" kernel feature, you can edit its notes file in any way you like: write directly to it from the console, from an automated script, from another text editor, etc. The widget will notice the update and reload its text. But, since it uses inotify, it won't chew on your battery: it will sleep until notified for a change.
So... It's cool because:
- uses any text editor which is default in your n900
- you don't have to use a text editor at all, you can write directly to the notes file
- battery friendly
- optified
The only regret I have, is that osso_notes doesn't save the text on exit. Yeah, it doesn't. It does instead save it when you open your file again. I don't know why. So, you have to open the file twice to commit what you've written, or save it manually (or use another editor).
I don't think I'm developing it any more because I don't have the time to. I've tested it quite thoroughly and think it will do as it is. Some other things it may use are
- widget resizing
- notes file path customization (now wired to be /home/user/MyDocs/.documents/.home-notes/note.txt)
- integrated editor
- interface for other text editors (i wanted to make it a conboy widget at first) or text file formats
- better handling of long text files, like scrolling or such (as of now, it will only display the lines that fit in it)
- Qt
That's it.
Simone
Last edited by simoneb; 2010-06-08 at 19:00.