Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-18-2013, 01:20 AM   #1
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Post galculator 2.1.2 (Kindle ver)

http://galculator.sourceforge.net/

upstream raw code: http://sourceforge.net/projects/galc...r.bz2/download

Tested on KT & PW


NOTES:
Paper mode is elided and a few awkward selection dialogs...
using the native keyboard to negotiate the preferences custom variable creation menus is no fun neither but doable.

All in pretty nice thing.

Code:
[root@kindle usr]# bin/galculator --version

galculator v2.1.2, (c) 2002-2013 Simon Flöry

Usage: galculator [options]

options:
(GTK options)
 -h, --help		Show this usage message
 -v, --version		Show version information

Compiled against GTK version 2.24.10
Linked against GTK version 2.20.1
Double-precision floating point numbers.

Built purely native on a kindle touch in a debian chroot.
Attached Thumbnails
Click image for larger version

Name:	Selection_634.png
Views:	898
Size:	14.0 KB
ID:	111391   Click image for larger version

Name:	Selection_635.png
Views:	727
Size:	8.2 KB
ID:	111392   Click image for larger version

Name:	Selection_638.png
Views:	893
Size:	32.7 KB
ID:	111393   Click image for larger version

Name:	Selection_640.png
Views:	748
Size:	19.2 KB
ID:	111394   Click image for larger version

Name:	Selection_639.png
Views:	685
Size:	18.9 KB
ID:	111395   Click image for larger version

Name:	Selection_641.png
Views:	759
Size:	36.4 KB
ID:	111396   Click image for larger version

Name:	Selection_636.png
Views:	753
Size:	18.3 KB
ID:	111397   Click image for larger version

Name:	Selection_637.png
Views:	754
Size:	27.6 KB
ID:	111398  
Attached Files
File Type: zip galculator-KUAL.zip (262.9 KB, 1920 views)

Last edited by twobob; 09-20-2013 at 05:56 PM. Reason: updated to use env-var
twobob is offline   Reply With Quote
Old 09-18-2013, 03:08 AM   #2
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Looks pretty! You compiled from source or ripped it from Debian? Assuming you used the source, did you try the Debian version? What changes did you do?

Aside from this, I see you have your 'fronter' extension there? could I have a look at that?
brianinmaine is offline   Reply With Quote
Advert
Old 09-18-2013, 03:16 AM   #3
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
That's great! Perfect on KindlePaperwhite... thank you Twobob!
Aeris is offline   Reply With Quote
Old 09-18-2013, 03:25 AM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
from code. latest sources. i could put together a diff but mainly glade .ui file hacking on this.

The fronter extension. right. I havent forgotten just been trying to find things that it works on best. also tried two different menu overlays that ive ditched thanks to screwy x handling. will share what i have if you want it.

replied from Kindle Touch
twobob is offline   Reply With Quote
Old 09-18-2013, 03:46 AM   #5
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Works pretty good and fast on my Touch. IMO landscape might be better for the scientific mode or maybe a smaller font as some of the text is cut off a bit, but all in all, WELL DONE!
brianinmaine is offline   Reply With Quote
Advert
Old 09-18-2013, 03:50 AM   #6
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
The three little buttons cut off a bit of the text, but the problem is only their dimension, or their font only, a bit too small. Nothing critical btw... It wuold be good to keep numbers big as they are at least

(talking about Kindle PW, don't know on others... on the Twobob screens doesn't happens)

UPDATE: The buttons show better if edit->preferences->buttons, minimal button width:68, minimal button height:33.
If Twobob wants can make them default, but it must work also on kindle touch
Attached Thumbnails
Click image for larger version

Name:	screenshot_2013_09_18T09_56_07+0200.png
Views:	526
Size:	12.9 KB
ID:	111401   Click image for larger version

Name:	screenshot_2013_09_18T09_56_35+0200.png
Views:	562
Size:	24.4 KB
ID:	111402   Click image for larger version

Name:	screenshot_2013_09_18T10_15_51+0200.png
Views:	516
Size:	14.3 KB
ID:	111403   Click image for larger version

Name:	screenshot_2013_09_18T10_15_43+0200.png
Views:	511
Size:	13.2 KB
ID:	111404   Click image for larger version

Name:	screenshot_2013_09_18T10_15_59+0200.png
Views:	522
Size:	24.1 KB
ID:	111405  

Last edited by Aeris; 09-18-2013 at 04:20 AM.
Aeris is offline   Reply With Quote
Old 09-18-2013, 04:32 AM   #7
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Aeris View Post
The three little buttons cut off a bit of the text, but the problem is only their dimension, or their font only, a bit too small. Nothing critical btw... It wuold be good to keep numbers big as they are at least
An even bigger nit is to put the 0 button in the correct place on the keyboard.

On the standard (i.e: expected) ten-key layout, the 0 key is directly below the 2
This layout will end up with experienced ten-key users entering ',' rather than '0'
knc1 is offline   Reply With Quote
Old 09-18-2013, 04:42 AM   #8
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Quote:
Originally Posted by knc1 View Post
An even bigger nit is to put the 0 button in the correct place on the keyboard.

On the standard (i.e: expected) ten-key layout, the 0 key is directly below the 2
This layout will end up with experienced ten-key users entering ',' rather than '0'
Right, I'm fixing it
Aeris is offline   Reply With Quote
Old 09-18-2013, 04:48 AM   #9
Aeris
Developer's Corner Mascot
Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.Aeris ought to be getting tired of karma fortunes by now.
 
Aeris's Avatar
 
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
Here you go:
Attached Files
File Type: zip galculator-switched-buttons-KUAL.zip (260.9 KB, 386 views)
Aeris is offline   Reply With Quote
Old 09-18-2013, 04:58 AM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Thanks. I'll bundle that back in shortly.

EDIT: Or maybe just links to yours, heh.
twobob is offline   Reply With Quote
Old 09-18-2013, 07:04 AM   #11
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by knc1 View Post
An even bigger nit is to put the 0 button in the correct place on the keyboard.

On the standard (i.e: expected) ten-key layout, the 0 key is directly below the 2
This layout will end up with experienced ten-key users entering ',' rather than '0'
Tis done.

The required modifications were to two files.

Attached.
they live in

/mnt/us/extensions/galculator/usr/share/galculator/ui


This release should ALSO reduce the size of some of the troublesome buttons.
(but not all, those without labels are unaffected right now.)


Alternately you can use the complete thingy above without the button size fixes
Attached Files
File Type: zip Buttons-DOT-ZERO-Swap-USR-SHARE-GALCULATOR-UI.zip (4.9 KB, 337 views)
twobob is offline   Reply With Quote
Old 09-18-2013, 08:17 AM   #12
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Aeris View Post
Here you go:
Super! (that's: en_IBM for well done)

I once worked for a "telephone company" (well, several of them) -

You would not believe how many experienced ten-key users mis-dial telephone numbers.
(Hint: Compare the two keyboard layouts)

- - - - - -

My Avatar wants your Avatar's telephone number.
knc1 is offline   Reply With Quote
Old 09-18-2013, 12:25 PM   #13
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Great work.. twobob.. as usual..
one more linux flower ported into the kindle garden..
think this betters the earlier calculator ports..

btw.. the below suggestion worth looking into.. maybe could put into a readme.txt in the kual package.. would be helpful for PW users..
Quote:
Originally Posted by Aeris View Post
......
UPDATE: The buttons show better if edit->preferences->buttons, minimal button width:68, minimal button height:33.
If Twobob wants can make them default, but it must work also on kindle touch
regarding the dot zero issue.. just looking at my netbook keyboard.. since it doesn't have a dedicated number key pad, the numbers are accessed by doing a function-numlock.. after which you press 7890uiopjkl;m,./.. and zero does come under 1..
nasser is offline   Reply With Quote
Old 09-18-2013, 12:57 PM   #14
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by nasser View Post
regarding the dot zero issue.. just looking at my netbook keyboard.. since it doesn't have a dedicated number key pad, the numbers are accessed by doing a function-numlock.. after which you press 7890uiopjkl;m,./.. and zero does come under 1..
Comma / Zero issue.

There are a lot more experienced ten-key users out there than there are netbook users.
Plus - the often ad-lib'd keyboard layouts of netbooks is hardly something to model.
knc1 is offline   Reply With Quote
Old 09-18-2013, 03:00 PM   #15
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Quote:
Originally Posted by Aeris View Post
......
UPDATE: The buttons show better if edit->preferences->buttons, minimal button width:68, minimal button height:33.
If Twobob wants can make them default, but it must work also on kindle touch
changing these sizes from within (edit>preferences..) doesn't survive a restart..
then tried changing them in .galculator.conf file..
and then in basic_buttons_gtk2.ui..
still doesn't work..
nasser is offline   Reply With Quote
Reply

Tags
calculator, launcher add-ons, twobob


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Kindle for PC ver 1.5.0 seems to have died Mike L Amazon Kindle 4 07-31-2012 03:34 AM
Kindle Touch upgrade ver 5.1.0 Problem sigster Kindle Developer's Corner 5 04-30-2012 07:46 PM
Kindle 3 ver 3.3 will not jailbreak. berni29 Amazon Kindle 7 02-12-2012 10:11 AM
Ver 0.8.34 sirius911 Library Management 1 01-06-2012 09:05 AM


All times are GMT -4. The time now is 06:03 PM.


MobileRead.com is a privately owned, operated and funded community.