maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Using F keys (https://talk.maemo.org/showthread.php?t=55706)

Viper360 2010-06-10 02:56

Using F keys
 
Hello all! I bought n900 few weeks ago and im very glad to use linux on such small device :) Almost all answers about software i found in the web, but i still have a question about functional keys. How can i use them? I like to work with midnight commander and mcedit but i need to use F10 key to exit for example. Is there a way to do it?

droll 2010-06-10 03:11

Re: Using F keys
 
just tap on the screen in mc where it says F10 or F1 or F<whatever>

:)

jaem 2010-06-10 03:14

Re: Using F keys
 
I'm not sure about F10. Part of the issue with keymaps on Maemo is that hardware keys are mapped to odd things sometimes (e.g. IIRC the zoom/volume rocker is F5/F6). I think the blue "2nd-function" key is actually mapped to Alt, or something odd; the problem then is that some characters/controls you might want to map are already mapped for a Maemo-specific function, and some phone keys are mapped to things you want, and you can't remap them for the same sort of reason.

As far as actually changing the keymaps goes, it can be done, and if you search (the forum or the general Internet), you should be able to find out how. Just be careful that you don't break preexisting functionality.
Another interesting thought: I wonder if this sort of thing could be handled in another way? e.g. in PR 1.2, Nokia set long-keypress by default to type the "blue symbol" rather than using key-repeat. I'm not sure how they've implemented this, but could a similar method be used for situations like this? I'm thinking of maybe a modifier or dead-key sort of arrangement. This wouldn't work (well, at least), but for example: [Blue]+F,[Number] == F[n]. If someone actually wants to try that, we should probably split it into a separate thread.

RobbH 2010-06-10 03:18

Re: Using F keys
 
Quote:

Originally Posted by droll (Post 708125)
just tap on the screen in mc where it says F10 or F1 or F<whatever>

:)

You might also try tapping the on-screen ESC button, followed by 0 (zero) for F10.

droll 2010-06-10 03:20

Re: Using F keys
 
Quote:

Originally Posted by jaem (Post 708128)
I'm not sure about F10. Part of the issue with keymaps on Maemo is that hardware keys are mapped to odd things sometimes (e.g. IIRC the zoom/volume rocker is F5/F6). I think the blue "2nd-function" key is actually mapped to Alt, or something odd; the problem then is that some characters/controls you might want to map are already mapped for a Maemo-specific function, and some phone keys are mapped to things you want, and you can't remap them for the same sort of reason.

As far as actually changing the keymaps goes, it can be done, and if you search (the forum or the general Internet), you should be able to find out how. Just be careful that you don't break preexisting functionality.
Another interesting thought: I wonder if this sort of thing could be handled in another way? e.g. in PR 1.2, Nokia set long-keypress by default to type the "blue symbol" rather than using key-repeat. I'm not sure how they've implemented this, but could a similar method be used for situations like this? I'm thinking of maybe a modifier or dead-key sort of arrangement. This wouldn't work (well, at least), but for example: [Blue]+F,[Number] == F[n]. If someone actually wants to try that, we should probably split it into a separate thread.

i've noticed in some applications, the long-keypress doesn't work. for example, in facebrick, when i run it, it gets me to login via the facebook website. at this login page, the long-keypress only produces what a normaly PC keyboard would do - repeated keypresses of that key.

Viper360 2010-06-10 08:15

Re: Using F keys
 
Thanks you very much for your replies! I spend a lot of time in the web in search of answer on this question and i really tried to use this :

Quote:

Originally Posted by RobbH (Post 708130)
You might also try tapping the on-screen ESC button, followed by 0 (zero) for F10.

This is really works in my xterm (n900 with the last sotware updates). Maybe i did something wrong in the past. Thank you very much again! But taping on the screen is possible only for F1-F6 buttons in my local mc and it also doesnt work when you open mc over ssh (on remote server). Now i can connect to my server, open mc and write php, c, java everywhere :) im so happy...

JonWW 2010-06-10 08:36

Re: Using F keys
 
Quote:

Originally Posted by Viper360 (Post 708364)
But taping on the screen is possible only for F1-F6 buttons in my local mc

Use the volume keys to change the size of the font in XTerm and then the other Fkeys will become visible


All times are GMT. The time now is 00:50.

vBulletin® Version 3.8.8