Reply
Thread Tools
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#11
Originally Posted by TA-t3 View Post
I would like to know if someone has come up with a solution for how to program MicroB to use the D-pad up/down as page up/page down.
Edit: Removed old workaround, this appears to be the proper way to do it:

Close any running browsers.

edit
/usr/lib/microb-engine/chrome/toolkit/content/global/platformHTMLBindings.xml

change
<handler event="keypress" keycode="VK_UP" command="cmd_scrollLineUp" />
<handler event="keypress" keycode="VK_DOWN" command="cmd_scrollLineDown" />
to:
<handler event="keypress" keycode="VK_UP" command="cmd_movePageUp"/>
<handler event="keypress" keycode="VK_DOWN" command="cmd_movePageDown"/>

edit
/home/user/.mozilla/microb/prefs.js

change
user_pref("snav.enabled", true);
to:
user_pref("snav.enabled", false);

Restart browser

Last edited by dblank; 2007-12-27 at 18:33.
 

The Following 35 Users Say Thank You to dblank For This Useful Post:
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#12
Thanks dblank. I was aware of the fact that the (global) kbd setting could be changed with xmodmap, but I didn't know how you could encapsulate the whole thing right around the browser as you described. This looks very good. I'll test it with the current MicroB on OS2007 and if it's good (I don't see why it shouldn't be) then I guess I'm ready to take on OS2008!
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 87 | Thanked: 98 times | Joined on Oct 2007 @ Austria
#13
I updated to OS2008 the night it became available for the N810, but have gone back to OS2007 soon after, and will stay with it for the time being.

For me, the showstopper is the font rendering with MicroB. The first thing I do after flashing my N800 is to set the browser font to 20. Hey, I actually want to be able to read stuff without zooming or ruining my eyes (don't know about anybody else - to me the default browser font size always seems like a bug). Unfortunately, with the Mozilla based browser on OS2008, this causes lines to bleed into each other on many sites (in other words, the line height is not adjusted to the larger font). I've also filed a bug about this, and until that's fixed (or another browser engine becomes available (maybe WebKit?) I'm telling myself to keep my fingers off the flasher :-)

Regarding the DPad, I actually found movement in the browser so smooth and fast in OS2008 I didn't really want it to PgUp/PgDown.
 

The Following User Says Thank You to hns For This Useful Post:
PJE's Avatar
Posts: 58 | Thanked: 16 times | Joined on Oct 2007 @ Michigan, USA
#14
dblank, thanks for the page up/down modification (updated version). It works a treat on my N800 w/OS2008.

All I need now is a way for the left D-pad key to toggle the address bar and the right D-pad key to toggle the scroll bars and I'd be totally happy...
 
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#15
Thanks soo much, that had been bugging me. I wonder if anyone is in charge of 'usability' issues... or do they just want 'pretty' screens?

Another quirk i dont like is menu key... when all apps are minimized the menu key should open left menu bar (i.e. start), not adjust home screen applets :S

Perhaps someone running BT keyboard or using an 810 can tell me of a (possible?) keyboard shortcut to xmodmap that to... for now similar (stylus free) functionality can be had by leaving at least one application running and using the Home key then Dpadleft and dpad up through menu bar.
 
Munk's Avatar
Posts: 229 | Thanked: 108 times | Joined on Oct 2007 @ Sacramento, California
#16
dblank, thank you for this tutorial. It made web browser life in os2008 livable again. The trick doesn't seem to work when applied to the left/right arrow keys. Am I just using the wrong info for those or is there a way to change this even?

I tried changing cmd_scrollLeft to:

cmd_pageLeft
cmd_movePageLeft
cmd_moveLeft

Of course none seemed to work.
 
Posts: 1,038 | Thanked: 737 times | Joined on Nov 2005 @ Helsinki
#17
can we somehow configure shift -click to open link in new window?
(especially in bg if possible)
 
Posts: 1,038 | Thanked: 737 times | Joined on Nov 2005 @ Helsinki
#18
how about configuring + and - keys. that should be pretty good solution for n810 owners
 
Eismaus's Avatar
Posts: 31 | Thanked: 1 time | Joined on Oct 2007 @ Germany
#19
Thanks for this infos.

I get the first part done, but i have trouble with this:

Originally Posted by dblank View Post
edit
~/.mozilla/microb/prefs.js

change
user_pref("snav.enabled", true);
to:
user_pref("snav.enabled", false);

Restart browser
I can't find the file. Can someone help?
Thanks
 
achitnis's Avatar
Posts: 10 | Thanked: 5 times | Joined on Dec 2007 @ Bangalore, India
#20
To edit ~/.mozilla/microb/prefs.js, you need to exit the root mode. Just type "exit" and then edit the file (which belongs to the user "user", not root.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:41.