Quote:
Originally Posted by Eures
I want the Kindle browser to be usable
|
Might be waiting a while on that one
The orientation thing on the other hand: I had a look on my PW4 and was able to replicate
your post from last year showing that the browser ignores the orientation when set using
lipc-set-prop com.lab126.winmgr orientationLock.
You can force the orientation by making this change to
/var/local/mesquite/browser/javascripts/browser.js:
Code:
diff --git a/javascripts/browser.js b/javascripts/browser.js
index 50b51fb..6215a3f 100755
--- a/javascripts/browser.js
+++ b/javascripts/browser.js
@@ -72,9 +72,10 @@ Kindle.use(function (b) {
}
// set orientation if needed
- if (settings.orientation !== b.enums.orientations.auto) {
- b.device.orientation = settings.orientation;
- }
+ //if (settings.orientation !== b.enums.orientations.auto) {
+ // b.device.orientation = settings.orientation;
+ //}
+ b.device.orientation = b.enums.orientations.landscape
}
else {
// save settings
The other orientation options are:
Code:
enums.orientations = {
auto: 'auto',
portrait: 'portrait',
portraitUp: 'portraitUp',
portraitDown: 'portraitDown',
landscape: 'landscape',
landscapeLeft: 'landscapeLeft',
landscapeRight: 'landscapeRight'
};