maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   2 questions about CTRL+L in the web browser (https://talk.maemo.org/showthread.php?t=26718)

johnnybravo 2009-02-08 22:48

2 questions about CTRL+L in the web browser
 
1. Is it possible to remap the keys in the web browser. In my opinion pressing CTRL+L is a bit cumbersome, I'd rather use any of the keys on the left side of the keyboard, CTRL+Z would be way better.

2, Has the problem with the url box failing to get focus when CTRL+L is pressed been solved yet?

I use Diablo BTW

fragos 2009-02-09 04:41

Re: 2 questions about CTRL+L in the web browser
 
There is a keyboard map but it appears to be global to the system and not for the application. There is a package gconf-editor exposes all parameters for specific applications and for the system. You may find some help there.

WilsonBradley 2009-02-09 06:02

Re: 2 questions about CTRL+L in the web browser
 
I wanted to do the same thing and assign the top + - keys to forward/back in MicroBrowser
(Still looking.)

fragos 2009-02-09 07:35

Re: 2 questions about CTRL+L in the web browser
 
emelFM2 uses the top + - to display the the column 1 or 2 directory display so clearly it can be done.

Chelloveck 2009-02-09 18:15

Re: 2 questions about CTRL+L in the web browser
 
Quote:

Originally Posted by WilsonBradley (Post 263088)
I wanted to do the same thing and assign the top + - keys to forward/back in MicroBrowser
(Still looking.)

I want something similar; I want the zoom +/- keys to act as page-up and page-down.

I've found half a solution. If you look in '/usr/lib/microb-engine/chrome/toolkit/content/global' you'll find a file called 'platformHTMLBindings.xml'. This defines what all the various keys do. Now, if you look at http://maemomm.garage.maemo.org/docs...l/ch02s03.html you see that the zoom +/- keys are F7 and F8 respectively.

You can easily edit 'platformHTMLBindings.xml' to bind the VK_F7 and VK_F8 keycodes to the actions 'cmd_movePageUp' and 'cmd_movePageDown'. Just copy and paste a couple of similar lines and make the appropriate changes. This even works! The zoom keys now do paging!

But... The zoom keys also still do zooming. Zooming is defined elsewhere, and I haven't yet figured out where so I can free up those keys. I suspect that the browser is getting some non-keycode "zoom" event from the OS, which might be harder to find and ignore.


All times are GMT. The time now is 14:25.

vBulletin® Version 3.8.8