09-17-2012, 10:07 PM | #661 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
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
|
dont use cinnamon 13 imho. mint lxde much more stable. cinnamon has 'issues' it hangs randomly. cheers
|
09-18-2012, 04:16 AM | #662 |
Zealot
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Kai771 (and others new to git)
I highly recommend a "Pro Git" book pre-formatted for Kindle and freely available here: https://github.com/danchoi/kindlefodder/downloads |
09-18-2012, 12:34 PM | #663 |
Connoisseur
Posts: 83
Karma: 322
Join Date: Mar 2009
Device: Kindle DXG, Sony T1
|
I chose mint Mate instead of cinnamon too, mainly because it seemed that the Genome 3 needed graphic acceleration is not supported in vmware, so there could be problem at least for virtual machine.
|
09-18-2012, 12:42 PM | #664 | |
Connoisseur
Posts: 83
Karma: 322
Join Date: Mar 2009
Device: Kindle DXG, Sony T1
|
Quote:
Besides, it may be helpful for newcomer to include these tips: 1. Wonder which key you should use in emulation mode? Check the file keys.lua and look for the function setEmuKeycodes(). Also the debug output while using the emulator is very helpful. 2. At the first time I didn't compile the emulator for 600x800 since I'm using DX, then I realized the DX resolution is more than my monitor height! So I have to compile the emulator again for 600x800, it should serve the purpose anyway. |
|
09-18-2012, 01:00 PM | #665 |
Zealot
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
I was going to mention this point, but the solution (if one really wants to run emulator in DX mode) is to go to your Monitor Settings and enable panning with vertical dimension big enough --- this solves the problem. For example, my monitor's physical resolution is 1920x1200 but virtual resolution is 1920x1600, so I can run DX emulator. (this was "mission critical" when I was changing kpdfview's menu shortcuts for DX and the ones I actually _needed_ to see were off the bottom of the screen, so I had no choice but to find a solution
|
09-18-2012, 01:31 PM | #666 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
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
|
it's "exactly" the same thing
|
09-18-2012, 03:10 PM | #667 | |||
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
@twobob and others
Quote:
@dracodoc Quote:
@tigran Quote:
|
|||
09-18-2012, 03:22 PM | #668 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Same solution, different numbers. I.E: Change your monitor settings. And when your done working with the Emulator, change them back. (Or, enable two profiles and switch profiles - here I assume you are using the "Only Operating System in the World" since you didn't say.) |
|
09-18-2012, 03:42 PM | #669 |
Zealot
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Kai771
Correction to your guide: there is no need to install Lua 5.2. We are actually using LuaJIT which is downloaded when you run "make fetchthirdparty", so it makes no difference which version of Lua (if any) you are running on the host machine. Concerning the resolution issue: I just run nvidia-settings and it lets me configure a metamode 1920x1600 with the physical resolution of 1920x1200. I assumed that the other graphics cards and OSes have a similar capability. Are you saying that Windows 7 does not have a concept of virtual screen, i.e. screen with the size bigger than physical resolution? |
09-18-2012, 04:20 PM | #670 | ||
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
Quote:
Checked: without lua, you get this: Code:
make -C luajit-2.0
make[1]: Entering directory `/home/kai771/kindlepdfviewer/luajit-2.0'
==== Building LuaJIT 2.0.0-beta10 ====
make -C src
make[2]: Entering directory `/home/kai771/kindlepdfviewer/luajit-2.0/src'
DYNASM buildvm_x64.h
make[2]: lua: Command not found
make[2]: *** [buildvm_x64.h] Error 127
make[2]: Leaving directory `/home/kai771/kindlepdfviewer/luajit-2.0/src'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/kai771/kindlepdfviewer/luajit-2.0'
make: *** [luajit-2.0/src/libluajit.a] Error 2
Quote:
Last edited by Kai771; 09-18-2012 at 05:12 PM. Reason: Checked! |
||
09-18-2012, 04:25 PM | #671 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Kai771: It depends on the WM, but the ALT+drag thing is a pretty common enough concept, so there's a good chance it's implemented that way in many, if not all of the WM. (It works fine in kwin, FWIW ).
|
09-18-2012, 04:28 PM | #672 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Plus, PDFreader is a lua 5.1 application, not likely to move to lua 5.2 any time soon. |
|
09-18-2012, 05:06 PM | #673 | ||
Just a Noob
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
|
Quote:
Quote:
|
||
09-18-2012, 05:14 PM | #674 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Plus, the VM instruction set is different between 5.1 and 5.2, which is always true when either x or y of X.Y Lua version numbers change. If everything does work - then check what version of LuaJIT you used - it may be one that is new enough to support 5.2. If by "5.2 works" you mean it compiles - then test a bit further. |
|
09-18-2012, 08:50 PM | #675 | |
Connoisseur
Posts: 83
Karma: 322
Join Date: Mar 2009
Device: Kindle DXG, Sony T1
|
I thought how the emulator or kpv works should be irrelevant with screen resolution, i.e. the changes made for kpv with emulator running in 600x800 should also work for DX. So this is not the case? Even if the emulator have to run for some device target, why can't we just emulate the DX for keys, but with a different resolution?
For example, create a virtual device named DX_small, which is identical to DX except the resolution is 600x800. I think this could work since the resolution number should not be hard coded everywhere. Panning with virtual space seemed a unneeded effort to me. Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
Librerator - multi-format e-reader, fork of KPV | Kai771 | Kindle Developer's Corner | 432 | 10-06-2017 12:20 PM |
Yet another PDF viewer (muPDF based) | melihron | PocketBook | 66 | 09-02-2014 03:03 AM |
Text-based PDF to Mobi, etc./Kindle 3 | kidblue | Calibre | 41 | 07-20-2012 03:19 PM |
muPDF on Kindle DX!! | DairyKnight | Kindle Developer's Corner | 8 | 03-21-2010 03:39 AM |