PyPenNotes

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Category: -Applications, +Graphics Applications)
m (add "python-distutils" as needed packages)
 
(2 intermediate revisions by one user not shown)
Line 13: Line 13:
 
* Change background color (even on used notebook pages)
 
* Change background color (even on used notebook pages)
 
* Undo
 
* Undo
* Save and Restore  
+
* Save and Restore
 
** Using the file '''~/.penNotes.strokes_data'''
 
** Using the file '''~/.penNotes.strokes_data'''
 
** You may symlink that to your SD-Card if you like...
 
** You may symlink that to your SD-Card if you like...
* As many Notes as you like  
+
* As many Notes as you like
** (1-9999, or no RAM left ;-) )  
+
** (1-9999, or no RAM left ;-) )
 
** 200 simple Notes may take about 10 MByte (should be less with Version 0.3 - so this is a vague estimate)
 
** 200 simple Notes may take about 10 MByte (should be less with Version 0.3 - so this is a vague estimate)
  
Line 27: Line 27:
 
=== Releases ===
 
=== Releases ===
 
{|border=1
 
{|border=1
! Version  
+
! Version
 
! Download
 
! Download
 
! Release Focus
 
! Release Focus
Line 36: Line 36:
 
|-
 
|-
 
| 0.3
 
| 0.3
| [http://mput.de/~kristian/.openmoko/pyPenNotes-0.3.tar.bz2 pyPenNotes-0.3.tar.bz2]  
+
| [http://mput.de/~kristian/.openmoko/pyPenNotes-0.3.tar.bz2 pyPenNotes-0.3.tar.bz2]
 
| 2nd Toolbar + Togglebutton, Undo, Save, Restore, Autosave/-load on exit and start, serious redraw speed up
 
| 2nd Toolbar + Togglebutton, Undo, Save, Restore, Autosave/-load on exit and start, serious redraw speed up
 
|-
 
|-
 
| 0.2
 
| 0.2
| [http://mput.de/~kristian/.openmoko/pyPenNotes-0.2.tar.bz2 pyPenNotes-0.2.tar.bz2]  
+
| [http://mput.de/~kristian/.openmoko/pyPenNotes-0.2.tar.bz2 pyPenNotes-0.2.tar.bz2]
 
| color, thickness and note selection, notes won't get saved to FLASH yet
 
| color, thickness and note selection, notes won't get saved to FLASH yet
 
|-
 
|-
 
| 0.1
 
| 0.1
| [http://mput.de/~kristian/.openmoko/pyPenNotes-0.1.tar.bz2 pyPenNotes-0.1.tar.bz2]  
+
| [http://mput.de/~kristian/.openmoko/pyPenNotes-0.1.tar.bz2 pyPenNotes-0.1.tar.bz2]
 
| initial release - can do nothing yet. :-)
 
| initial release - can do nothing yet. :-)
 
|}
 
|}
Line 54: Line 54:
 
line 82 of /usr/lib/python2.5/site-packages/gtk2.0/gtk/__init__.py change init() to _init()
 
line 82 of /usr/lib/python2.5/site-packages/gtk2.0/gtk/__init__.py change init() to _init()
  
== Environment ==
+
== Installation ==
  
:''For more, see [[Python]].
+
The following Om 2008.8 packages will have to be installed (source packages: python python-pygtk python-pycairo python-pygobject) (For Om 2007.2 you can use the ScaredyCat packages from [[Repositories]].):
  
The following archives will have to be installed (source packages: python python-pygtk python-pycairo python-pygobject):
+
python-core python-misc python-lang python-pygtk python-distutils
  
python-core python-misc python-lang python-pygtk
+
Until there is an IPK for pyPenNotes, you may want to create a desktop icon manually.
  
If you want to test this and do not have a build environment, you can 'ipkg install' the python components from the ScaredyCat [[repositories]].
+
Extract the files to a directory you wish (in the following example we use /media/card/install/pyPenNotes-0.3b/ directory).
  
{{note|These packages take up a considerable amout of space (about 10 MByte), make sure that you have enough free space or install the packages to the media card as explained in [[package management]].}}
+
Create the desktop file:
 +
 
 +
/usr/share/applications/pypennotes.desktop
 +
 
 +
With content:
 +
 
 +
<pre>[Desktop Entry]
 +
Version=0.3
 +
Type=Application
 +
Encoding=UTF-8
 +
Name=pyPenNotes
 +
Comment=Pen notes
 +
Exec=python /media/card/install/pyPenNotes-0.3b/pyPenNotes.py
 +
Icon=drm/Drm.png
 +
Categories=Application;Multimedia;
 +
Terminal=false
 +
</pre>
 +
 
 +
<onlyinclude>
 +
{{ApplicationBox|
 +
Name=[[PyPenNotes]]|
 +
Description=Little tool to write notes using pen and touchscreen.|
 +
Screenshot=PyPenNotes-0.3.png|
 +
Homepage=-|
 +
TestedOn=-|
 +
PackageName=-
 +
}}
 +
</onlyinclude>
  
 
[[Category:Graphics Applications]]
 
[[Category:Graphics Applications]]
[[Category:In_progress]]
+
[[Category:In progress]]

Latest revision as of 22:54, 18 October 2008

In progress: This article or section documents one or more features whose implementation are in progress.
pyPenNotes 0.3

Contents

[edit] Overview

Little tool to write notes using pen and touchscreen.

This program is written in Python using pygtk. It can be used only if those are present in your environment (see PyPenNotes#Environment).

[edit] Current Features

  • Change color and size of pen
  • Change background color (even on used notebook pages)
  • Undo
  • Save and Restore
    • Using the file ~/.penNotes.strokes_data
    • You may symlink that to your SD-Card if you like...
  • As many Notes as you like
    • (1-9999, or no RAM left ;-) )
    • 200 simple Notes may take about 10 MByte (should be less with Version 0.3 - so this is a vague estimate)

[edit] Planned Features

  • Manage different notebooks (choose place to save them)

[edit] Download

[edit] Releases

Version Download Release Focus
0.3b (current) pyPenNotes-0.3b.tar.bz2 bugfix release - ignore non existent strokes-file; speed up strokes-file loading a bit
0.3 pyPenNotes-0.3.tar.bz2 2nd Toolbar + Togglebutton, Undo, Save, Restore, Autosave/-load on exit and start, serious redraw speed up
0.2 pyPenNotes-0.2.tar.bz2 color, thickness and note selection, notes won't get saved to FLASH yet
0.1 pyPenNotes-0.1.tar.bz2 initial release - can do nothing yet. :-)

[edit] SVN

Access the current SVN version at: http://neo1973-germany.de/svn/pyPenNotes/

[edit] Bugs

On my device it can't start because there is a bug in pygtk: line 82 of /usr/lib/python2.5/site-packages/gtk2.0/gtk/__init__.py change init() to _init()

[edit] Installation

The following Om 2008.8 packages will have to be installed (source packages: python python-pygtk python-pycairo python-pygobject) (For Om 2007.2 you can use the ScaredyCat packages from Repositories.):

python-core python-misc python-lang python-pygtk python-distutils

Until there is an IPK for pyPenNotes, you may want to create a desktop icon manually.

Extract the files to a directory you wish (in the following example we use /media/card/install/pyPenNotes-0.3b/ directory).

Create the desktop file:

/usr/share/applications/pypennotes.desktop

With content:

[Desktop Entry]
Version=0.3
Type=Application
Encoding=UTF-8
Name=pyPenNotes
Comment=Pen notes
Exec=python /media/card/install/pyPenNotes-0.3b/pyPenNotes.py
Icon=drm/Drm.png
Categories=Application;Multimedia;
Terminal=false


PyPenNotes-0.3.png PyPenNotes

Little tool to write notes using pen and touchscreen.


Homepage: [- -]
Package: -
Tested on: -

Personal tools
In progress: This article or section documents one or more features whose implementation are in progress.
pyPenNotes 0.3

Overview

Little tool to write notes using pen and touchscreen.

This program is written in Python using pygtk. It can be used only if those are present in your environment (see PyPenNotes#Environment).

Current Features

  • Change color and size of pen
  • Change background color (even on used notebook pages)
  • Undo
  • Save and Restore
    • Using the file ~/.penNotes.strokes_data
    • You may symlink that to your SD-Card if you like...
  • As many Notes as you like
    • (1-9999, or no RAM left ;-) )
    • 200 simple Notes may take about 10 MByte (should be less with Version 0.3 - so this is a vague estimate)

Planned Features

  • Manage different notebooks (choose place to save them)

Download

Releases

Version Download Release Focus
0.3b (current) pyPenNotes-0.3b.tar.bz2 bugfix release - ignore non existent strokes-file; speed up strokes-file loading a bit
0.3 pyPenNotes-0.3.tar.bz2 2nd Toolbar + Togglebutton, Undo, Save, Restore, Autosave/-load on exit and start, serious redraw speed up
0.2 pyPenNotes-0.2.tar.bz2 color, thickness and note selection, notes won't get saved to FLASH yet
0.1 pyPenNotes-0.1.tar.bz2 initial release - can do nothing yet. :-)

SVN

Access the current SVN version at: http://neo1973-germany.de/svn/pyPenNotes/

Bugs

On my device it can't start because there is a bug in pygtk: line 82 of /usr/lib/python2.5/site-packages/gtk2.0/gtk/__init__.py change init() to _init()

Environment

For more, see Python.

The following archives will have to be installed (source packages: python python-pygtk python-pycairo python-pygobject):

python-core python-misc python-lang python-pygtk

If you want to test this and do not have a build environment, you can 'ipkg install' the python components from the ScaredyCat repositories.

NOTE: These packages take up a considerable amout of space (about 10 MByte), make sure that you have enough free space or install the packages to the media card as explained in package management.