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-21-2013, 06:55 AM   #61
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 baf View Post
That would have to be changed in source files.
Another thing you can do now is get rid of the lines setting orientation.
And change orientation in ad hoc mode, for example from kual orientation button, before starting galculator.
Code:
#!/bin/sh
init_orientation=`/usr/bin/lipc-get-prop com.lab126.winmgr orientationLock`
/usr/bin/lipc-set-prop com.lab126.winmgr orientationLock R

GALCULATOR_CONFIG=/mnt/us/extensions/galculator/galculator.conf \
GTK_IM_MODULE=kindle \
GTK2_RC_FILES=/mnt/us/extensions/galculator/pixmaps/gtkrc \
/mnt/us/extensions/galculator/usr/bin/galculator

/usr/bin/lipc-set-prop com.lab126.winmgr orientationLock ${init_orientation}
thanks again.. that should be ok as a temporary fix.. till you or twobob can do it from within the source..
nasser is offline   Reply With Quote
Old 09-21-2013, 07:06 AM   #62
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
I was gonna shove a toggle on the menu and remove the O_Blah hardcoding.
However... seems like you have it in hand
twobob is offline   Reply With Quote
Old 09-21-2013, 07:19 AM   #63
baf
Evangelist
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
Quote:
Originally Posted by twobob View Post
I was gonna shove a toggle on the menu and remove the O_Blah hardcoding.
However... seems like you have it in hand
Glad I could help
Remember that I didn't have your patched source so I just changed app title. If you had made more changes you will still have to post your updated binary

Edit: Toggle in the menu is a great idea. Go on!

Last edited by baf; 09-21-2013 at 07:28 AM.
baf is offline   Reply With Quote
Old 09-21-2013, 08:50 AM   #64
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
yeah. Ill provide a diff (or two) RSN.

away today so tomorrowish
twobob is offline   Reply With Quote
Old 09-21-2013, 11:06 AM   #65
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 baf View Post
That would have to be changed in source files.
Another thing you can do now is get rid of the lines setting orientation.
And change orientation in ad hoc mode, for example from kual orientation button, before starting galculator.
Code:
#!/bin/sh
init_orientation=`/usr/bin/lipc-get-prop com.lab126.winmgr orientationLock`
/usr/bin/lipc-set-prop com.lab126.winmgr orientationLock R

GALCULATOR_CONFIG=/mnt/us/extensions/galculator/galculator.conf \
GTK_IM_MODULE=kindle \
GTK2_RC_FILES=/mnt/us/extensions/galculator/pixmaps/gtkrc \
/mnt/us/extensions/galculator/usr/bin/galculator

/usr/bin/lipc-set-prop com.lab126.winmgr orientationLock ${init_orientation}
got rid of the lines..
but there is a side effect in that.. reading orientation is changed..
after running galculator, books open sideways..
using orientation kual button didn't seem to have any effect..
toggle from inside the app.. as twobob is planning.. may be best..
nasser is offline   Reply With Quote
Old 09-21-2013, 02:47 PM   #66
baf
Evangelist
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
Quote:
Originally Posted by nasser View Post
got rid of the lines..
but there is a side effect in that.. reading orientation is changed..
after running galculator, books open sideways..
using orientation kual button didn't seem to have any effect..
toggle from inside the app.. as twobob is planning.. may be best..
If you got rid of the lines, galculator can't change orientation any more!?
Why kual button doesn't work is another question. I didn't try it.
baf is offline   Reply With Quote
Old 09-22-2013, 12:29 AM   #67
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 baf View Post
If you got rid of the lines, galculator can't change orientation any more!?
Why kual button doesn't work is another question. I didn't try it.
Sorry, baf.. i goofed again.. i had only removed 2 of the 3 lines.. i hadn't removed the line which actually does the rotation.. this one:
Code:
/usr/bin/lipc-set-prop com.lab126.winmgr orientationLock R
now did it and everything works as you indicated..
nasser is offline   Reply With Quote
Old 09-22-2013, 04:38 AM   #68
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
I've made some trivial change to the updated gcalculator package:

1) Set width to 68 and height to 33 in the .conf file, to make all the buttons display properly on Kindle PW (it should be tested also on Kindle Touch)
2) Switched again buttons "zero" and "comma"
3) Set "advanced mode" and "formula entry" as first-start settings (don't know if this meets everybody's tastes)
4) Removed the submenu entry structure in KUAL (I don't see the point for a gcalculator->gcalculator path, but maybe I'm missing something)
Attached Thumbnails
Click image for larger version

Name:	screenshot_2012_12_01T22_28_17+0200.png
Views:	279
Size:	11.4 KB
ID:	111791   Click image for larger version

Name:	screenshot_2012_12_01T22_28_32+0200.png
Views:	300
Size:	21.1 KB
ID:	111792  

Last edited by twobob; 09-22-2013 at 07:44 AM.
Aeris is offline   Reply With Quote
Old 09-22-2013, 06:57 AM   #69
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
There was point... but since the orientation is now most likely to be handled "internally" that moment is gone...

Thanks for your changes, I and my 5 hours sleep, thank you : )
twobob is offline   Reply With Quote
Old 09-22-2013, 07:33 AM   #70
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
Bugfix: display problem fixed (sorry for multiple posts)
Attached Thumbnails
Click image for larger version

Name:	screenshot_2012_12_02T01_01_00+0200.png
Views:	303
Size:	26.9 KB
ID:	111795   Click image for larger version

Name:	screenshot_2012_12_02T01_06_31+0200.png
Views:	304
Size:	26.1 KB
ID:	111796  
Attached Files
File Type: zip galculator-KUAL.zip (263.5 KB, 236 views)
Aeris is offline   Reply With Quote
Old 09-22-2013, 07:44 AM   #71
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
hey... dont worry about multiple post. and thanks for the assist.
twobob is offline   Reply With Quote
Old 09-22-2013, 08:02 AM   #72
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
I like beta-testing :P waiting for your next linux port! A graphical agenda would be a nice one (by now there is only a command line version if I'm not wrong)
Aeris is offline   Reply With Quote
Old 09-22-2013, 08:31 AM   #73
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
been working on http://clayo.org/osmo/

seems to have screwed the pooch on it though somewhere and of course it's not under version control... sigh...

so.. yeah.. few more days now. duh
twobob is offline   Reply With Quote
Old 09-22-2013, 08:38 AM   #74
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
OMG, osmo would be fantastic!

I apply for testing and bugfixing if you succeed!
Aeris is offline   Reply With Quote
Old 09-22-2013, 09:11 AM   #75
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
I already had it running once... sigh..

GIT. must remember to GIT things. doh
twobob 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 10:39 AM.


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