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 11-14-2015, 11:43 AM   #871
weroflu
Member
weroflu began at the beginning.
 
Posts: 15
Karma: 14
Join Date: Mar 2010
Device: PW1
Problem solved by unzipping into the root.
weroflu is offline   Reply With Quote
Old 11-15-2015, 02:44 AM   #872
weroflu
Member
weroflu began at the beginning.
 
Posts: 15
Karma: 14
Join Date: Mar 2010
Device: PW1
Midori runs well, but it won't access google drive so that option is out for .ppt files.
weroflu is offline   Reply With Quote
Old 11-15-2015, 08:32 AM   #873
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 weroflu View Post
Midori runs well, but it won't access google drive so that option is out for .ppt files.
Try accessing a local .ppt file with it.

That is, a url of the form:
file:///mnt/us/<whatever name is shown in USB storage>

If that works, then the s3cmd utility should handle the "google drive" <-> "local storage" part of your problem.

There is a build of an old version posted here (and tested by brianmaine).
I have been working on building an updated version, but that is a low priority project for myself (until now anyway).

Last edited by knc1; 11-15-2015 at 08:37 AM.
knc1 is offline   Reply With Quote
Old 11-15-2015, 09:43 AM   #874
weroflu
Member
weroflu began at the beginning.
 
Posts: 15
Karma: 14
Join Date: Mar 2010
Device: PW1
Opening a local ppt document in Midori gives this message:

Open or
download file
from

File Name: sample.ppt
File Type: 'application/
vnd.ms-powerpoint'

Then I'm stuck on this page with no navigation.

edit: there was more text being blocked by the virtual keyboard. I made a bookmark to this file and got further.

There's an open button. Pressing this I get this:

Choose an application or command to open "/tmp/midori-root/sample-1.ppt

and then a cancel button and a half visible open button and text box to enter the application it is looking for.

Pressing open here I get this:

Could not run external program.
Failed to execute child process "/tmp/midori-root/
sample-1.ppt" (permission denied)

I will look at the permissions on this sample file.

Last edited by weroflu; 11-15-2015 at 09:56 AM.
weroflu is offline   Reply With Quote
Old 11-15-2015, 09:46 AM   #875
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 weroflu View Post
Opening a local ppt document in Midori gives this message:

Open or
download file
from

File Name: sample.ppt
File Type: 'application/
vnd.ms-powerpoint'

Then I'm stuck on this page with no navigation.
That doesn't sound very helpful.

Perhaps someone else will have a suggestion.
knc1 is offline   Reply With Quote
Old 12-24-2015, 07:07 AM   #876
font332
Connoisseur
font332 began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Dec 2015
Device: kpw2
Quote:
Originally Posted by knc1 View Post
Congratulations!
That is a question we haven't heard here before.
And how about this one:
Quote:
Originally Posted by font33 View Post
Hello.
Is it possible to change fontsize in file manager, or enable some option with will be making another line for rest of file name if name is very long, or maybe text will be change after 3 second or something?
Sorry for my english.
Thank You.
font332 is offline   Reply With Quote
Old 12-24-2015, 07:51 AM   #877
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 font332 View Post
And how about this one:
The answer to that one sounds an awful lot like: Read the directions.
knc1 is offline   Reply With Quote
Old 12-24-2015, 08:51 AM   #878
font332
Connoisseur
font332 began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Dec 2015
Device: kpw2
Where are they?
And does it mean that there is explained how to do that or there is explained why it is not and won't be possible?
font332 is offline   Reply With Quote
Old 12-24-2015, 09:55 PM   #879
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 font332 View Post
Where are they?
And does it mean that there is explained how to do that or there is explained why it is not and won't be possible?
See:
https://github.com/koreader/koreader...ilemanager.lua
@line: 40

Translation: It is currently hardcoded.

Change code in that function to read defaults.lua and over-ride the hardcoded size if user has entered something different in their local configuration defaults.

There is a function for getting a named value out of the defaults.lua file and plenty of examples of its use through-out the code.
knc1 is offline   Reply With Quote
Old 12-25-2015, 03:50 AM   #880
font332
Connoisseur
font332 began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Dec 2015
Device: kpw2
Thank You knc1

I think I'm not smart enough because I'm not even sure if I understood what You have just write
Although I think I might mean that I need to change the value in the filemananger.lue -> face = Font:getFace("tfont", 24) to smaller value and compile the whole program.
It's way too far away from my computer using skills

But as You wrote
Quote:
It is currently hardcoded.
so there is a hope

Thank You.
font332 is offline   Reply With Quote
Old 12-25-2015, 08:09 AM   #881
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 font332 View Post
Thank You knc1

I think I'm not smart enough because I'm not even sure if I understood what You have just write
Although I think I might mean that I need to change the value in the filemananger.lue -> face = Font:getFace("tfont", 24) to smaller value and compile the whole program.
It's way too far away from my computer using skills

But as You wrote so there is a hope

Thank You.
No - not quite.

Lua is a scripting language.
This application does use a lot of code that is compiled in the classical sense of "building a program", but KOReader itself is just a (very advanced) script.
(the scripting does get compiled, but that is all automatic each time you start KOReader).

Just change the 24 in that line in that file in a working copy of KOReader.
It is just a plain text file with Unix line endings.

I am not sure if that is the size of all text in the file manager or only labels.
So give it a try, it will either work or error-out (Lua is very forgiving).

Last edited by knc1; 12-25-2015 at 08:24 AM.
knc1 is offline   Reply With Quote
Old 12-27-2015, 05:01 AM   #882
font332
Connoisseur
font332 began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Dec 2015
Device: kpw2
Oh it's nice.
I tried but it didn't changed anything.
font332 is offline   Reply With Quote
Old 12-27-2015, 05:30 AM   #883
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 font332 View Post
Oh it's nice.
I tried but it didn't changed anything.
Interesting.
It should have changed something at least.
knc1 is offline   Reply With Quote
Old 12-27-2015, 04:50 PM   #884
font332
Connoisseur
font332 began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Dec 2015
Device: kpw2
Quote:
Originally Posted by knc1 View Post
Interesting.
It should have changed something at least.
I looked more and You are right, something changed. What got changed is the top centered text that informs me that I'm in file manager(I have it in my native language, but I think in english it would be"File manager"
font332 is offline   Reply With Quote
Old 12-27-2015, 05:24 PM   #885
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 font332 View Post
I looked more and You are right, something changed. What got changed is the top centered text that informs me that I'm in file manager(I have it in my native language, but I think in english it would be"File manager"
Only changed the application's Title.
Hmm...

That means the text size is from one of those other files that one "requires" near the top of the file.
Which will take a little bit of digging.

Meanwhile, enjoy your re-sized File Manager title.
knc1 is offline   Reply With Quote
Reply

Tags
application, k5 tools, kindle, koreader, launcher add-ons, lua, reader, touch


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KPV: a PDF reader for Kindle, based on muPDF, GPLv3 hawhill Kindle Developer's Corner 1056 11-11-2017 03:07 AM
Hacked Up Reader for epub/fb2/txt/rtf/html/pdb/etc bhaak Kindle Developer's Corner 296 10-01-2016 01:11 PM
html to fb2 or epub rulet Conversion 7 06-24-2012 05:54 PM
Raccoon Reader - reads ePub, fb2, fb2.zip, txt on WP7 for free Andrei_Shvydryk Reading and Management 0 10-31-2011 03:17 PM
A real PDF to epub/djvu/rtf/html software?. DsOft ePub 35 01-02-2011 03:57 PM


All times are GMT -4. The time now is 02:36 PM.


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