Friday, April 07, 2006

Galculator and Leafpad

Okay, here are two lightweight utilities for your N770:

galculator - a scientific calculator.
It supports different number bases (DEC/HEX/OCT/BIN) and angles bases (DEG/RAD/GRAD) and features a wide range of mathematical (basic arithmetic operations, trigonometric functions, etc) and other useful functions (memory, etc) at the moment. galculator can be used in algebraic mode as well as in Reverse Polish Notation.
[http://galculator.sourceforge.net/]



Installer package: galculator_1.2.5.2-N770v0.1_arm.deb
Requires about 480kB when installed.

leafpad - A simple and lightweight text editor
... fast and only 112kB installed.



Installer package: leafpad_0.8.7-N770v0.1_arm.deb
Home page: http://tarot.freeshell.org/leafpad/

These two were very little efford to recompile and package. Therefore just worth one posting ;-)

BTW: I recently read about the ongoing Maemo development: As it looks like, the next version will make porting apps easier (HildonWindow like instead of the rotten HildonAppView wich steals a border of about 20pixels from the canvas area), furthermore, there will be a new application packaging and binary format... altogether it looks like I will have to redo all the applications I've packaged so far...well, lets see.

9 Comments:

Anonymous Anonymous said...

More great things for the 770!
Thanks Michael!

For anyone having trouble with Galculator, make sure you have libglade.
http://www.opbyte.it/maemo/

April 08, 2006 2:19 AM  
Anonymous Anonymous said...

Thanks. A small problem tho, it's not possible to access the menu with the menu key. Would you consider moving the items on the menubar to a single menu, and bind that to the hildon appmenu?
like this:
GtkMenu *main_menu = hildon_appview_get_menu(main->data->main_view);
/*gtk_menu_append() our menuitems to main_menu*/

ie. in gcalc there's no UI-way to show the menubar once it's hidden. Also i'm sensing there are missing right-click menus that won't work with tap and hold.
way to do it:
gtk_widget_tap_and_hold_setup(GTK_WIDGET(our_widget), our_popup_menu, NULL, GTK_TAP_AND_HOLD_NONE);

April 08, 2006 2:32 AM  
Blogger Michael said...

Thank you guys for the input. Seems I had already libglade on my device from another package ;-)

Concerning the menus: I try to avoid using the HildonAppView, as it has these hardcoded borders (e.g.
MARGIN_APPVIEW_LEFT 24 ). They will be replaced by the HildonWindows widgets in future maemo releases, so I try to avoid further modifications of the original sources until this is released. Until then, I will experiment with further software suitable to the Nokia 770 (performance and requirements).

April 08, 2006 2:08 PM  
Blogger Konttori said...

totally dominating!!! leafpad rocks!!

April 10, 2006 8:43 AM  
Blogger Barry Scott said...

I installed libglade as suggested but I still get 'Incompatible package' when trying to install Galculator. My software version is 3.2005.51-13,

Any ideas as to what the problem might be?

Cheers,
Barry

April 12, 2006 6:58 PM  
Blogger Michael said...

Hi Barry,
two ideas regarding your problem:
1.) Verify that your download is complete
2.) Is there still some space left on your device? I usually get such an error when I'm running out of space while installing a package, i.e. the file /var/log/wtmp tends to consume all the space (in my case the 512kb ram disk), then the installer fails but claims the .deb is corrupted.
Try to install something else, usually you will have that prob in this case with any package.

April 12, 2006 11:32 PM  
Anonymous Anonymous said...

I tried out the calculator, it looks
very good for the most part. However, the keys that have a drop down menu associated with them don't look 'correct' - I don't know what GUI feature controls that. (ie. selecting a constant like PI)

Also the application appeared to be unstable on my machine. It was easy to make the GUI become garbled and finally have it crash when clicking the buttons with pulldown menus (again, like PI) *sigh* I think this will be that the state of software for the 770 until people being writing native code for it.

Thank you for the effort though, it is a step in the right direction.
For the 770, it would also be nice to have individual buttons to select HEX/DEC mode etc instead of having to choose from a menu.

- Ari

May 18, 2006 7:10 PM  
Anonymous Anonymous said...

I miss so much gcalc since I updated my Nokia 770 to OS 2006

May I expect any armel version?

Thanks Michael for your work ;)

Emilio

December 07, 2006 11:56 PM  
Blogger Jobelium said...

someone knows if the galculator work for os2007 ?

November 02, 2007 2:59 PM  

Post a Comment

<< Home