maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Remapping N900 keyboard for idiots (https://talk.maemo.org/showthread.php?t=61197)

MrTab 2010-08-27 07:58

Remapping N900 keyboard for idiots
 
Hi,

My N900's great, but I'm struggling to use it as a word processor, which was the main reason I wanted it, due to the lack of a tab key.

When using Documents to Go, which is a very good product in most other respects, the additional character set (including tab) that can normally be brought up by pressing blue arrow and control doesn't work. The virtual keybaord doesn't contain tab either so that option has been removed.

Dataviz make themselves un-contactable and don't answer their support forum, so the only option remaining seems to be remapping one of the keys to tab.

I read this: http://wiki.maemo.org/Remapping_keyboard and a couple of threads on the topic but couldn't work out how to actually edit the file.

Is there a really simple step by step guide explaining how to do this somewhere? I don't know where to start and don't want to brick my Nokia.

Thanks,

MrTab

nephridium 2010-08-27 11:39

Re: Remapping N900 keyboard for idiots
 
Check my post here:

It's not "step by step", but if you have a look at my rx-51 file there you can see how it's done fairly easily.

If you are using the normal English layout have a look at the bottom section starting with
Code:

partial hidden alphanumeric_keys
xkb_symbols "english_base" {

each key is assigned four values, from left to right:
standard key, shift+key, sym+key, shift+sym+key

E.g. your beloved Tab is realized by Sym+Space; check out the third column in this line:
Code:

key <SPCE>  { [    space,          at,            Tab,            bar ]}
Hope this helps.

slender 2010-08-27 12:17

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by nephridium (Post 799956)
..each key is assigned four values, from left to right:
standard key, shift+key, sym+key, shift+sym+key
...

Hmm. This third doesn't work on my keyb. I have nordic/finnish layout.

MrTab 2010-08-27 14:36

Re: Remapping N900 keyboard for idiots
 
Thanks nephridium,

I can't even get into it though, I tried installing Leafpad and Rootsh then typing
Quote:

cp usr/share/x11/xkb/symbols/nokia_vndr/rx-51
as suggested on some hacking site but to no avail - it just comes up with the error cp:cannot stat 'leafpad': No such file or directory.

I'm sure I'm missing something but I just don't get it.

nephridium 2010-08-27 19:56

Re: Remapping N900 keyboard for idiots
 
Argh, sorry, forgot to post the link to my post up there: http://talk.maemo.org/showpost.php?p=793872&postcount=7 . I was on the train and had to get off, so I just hit "submit" without double checking ;)

Download the rx-51.zip file from there and unpack it. I'd say open it on your PC and look at the aforementioned section in the file for which lines you want to use in yours.

First back it up though:
cp /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 /home/user
This copies the file to your home folder. The tutorial states that you shouldn't put the backup copy into the same folder (/usr/share/X11/xkb/symbols/) or you might need to reflash. Then enter
sudo leafpad /usr/share/X11/xkb/symbols/rx-51
into the console. You have to use sudo because the file is protected. Then find the section mentioned above, it's close to the bottom of the file. From there you can see what to change to get Tab and the other keys to work. Some keystrokes won't work with Shift though, so you need to try around a bit.

Sorry to hear Sym+Shift doesn't work on nordic layout, I've only tested with standard layout and was quite happy with it. Maybe it's possible to set the phone to use the standard layout and overwrite the standard key mappings with the nordic ones.

In any case before playing with config files like this one I would suggest to first make a backup of at least the root partition using backupmenu.

MrTab 2010-08-28 08:54

Re: Remapping N900 keyboard for idiots
 
Thanks Nephridium,

That worked brilliantly, I've now got tab, page up and down, home and end mapped onto the keyboard my N900 didn't get bricked and they work in everything... except Documents to Go!

As it seems the new keys work in all the other applications and DataViz don't believe in customer service maybe I'll just find another word processor.

Mentalist Traceur 2010-08-29 05:35

Re: Remapping N900 keyboard for idiots
 
Am I the only one who has tried to do this who also runs the experimental universal portrait keyboard ( http://talk.maemo.org/showthread.php?t=55371 )?

Does anyone who understands the way that keyboard works have any insight as to whether or not it might be interfering with this?

I've tried modifying the rx-51 file to make my spacebar use space, tab, at, at, saved, then ran "setxkbmap" and it told me "Error, can't load new keyboard configuration", or some such. I then proceeded to edit it back to normal, ran setxkbmap again, and got the same error. I tried a couple more different modifications of rx-51 to see if maybe changing any other values other than space+shift to Tab would make it work, thinking perhaps Maemo didn't recognize that the file had changed or something. Did some more fiddling with the space and the arrow key mappings. Kept getting the same error, so after a bunch of browsing of this forum and having found no one else reporting this, decided to over-write the modified file(s - I also edited the rx-44 to see if that would make anything happen) with the back-ups, and am leaving it alone for now.

But wondering if anyone has any insight into this.

TiagoTiago 2010-08-29 23:52

Re: Remapping N900 keyboard for idiots
 
Is there a GUI for setting up the layout and ky combinations?

EL_CID_CAMPEADOR 2018-05-03 12:55

Re: Remapping N900 keyboard for idiots
 
how to fix Error, can't load new keyboard configuration


all times ive tried to setup new layout with "setxkbmap" and it told me "Error, can't load new keyboard configuration",

endsormeans 2018-05-03 15:00

Re: Remapping N900 keyboard for idiots
 
I am surprised I never saw this thread before...
thanks for bringing it back from the great abyss of oblivion El Cid....

I don't think it is an instructional on keyboard for idiots ...though...

I came here hoping for pictures ...

Cartoon explanations...
Puppet demonstrations...
anything...
even "Highbrow" ...diagrams...

Nothing...
only "takakakaka" typing text big wordy-words...

So this is definitely a few tiers higher than "Idiot Grade" material...

I am sooooo disappointed ...

"Why oh why oh why must you turn this place into a House of Lies!!!!"

mfrasca 2018-05-03 22:33

Re: Remapping N900 keyboard for idiots
 
has this one been mentioned already?

pichlo 2018-05-04 07:39

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by mfrasca (Post 1543900)
has this one been mentioned already?

It is not difficult to skim through 10 posts to see if something has been mentioned.

Depending on what exactly El Cid wants, this can be useful too. It does not remap the HW keyboard but it presents a luverly GUI for editing the on-screen keyboard. That would even fit the thread title. Right, endso? :p

http://static.maemo.org/static/d/ddd...reenshot00.png

endsormeans 2018-05-04 09:09

Re: Remapping N900 keyboard for idiots
 
OH ma gawd.
Thank you pichlo...
Finally!
Pictures!
:D

actchewly ya knew...that is a mighty fine lookin' gooey (gui)

EL_CID_CAMPEADOR 2018-05-04 15:04

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by mfrasca (Post 1543900)
has this one been mentioned already?

ive found this site last day ago and try, but i do not have rx-51 file


or my rx-51 file is blank without any word. i open it in leafpad and it is blank! this is normal? or it just contain code????




Quote:

Originally Posted by pichlo (Post 1543907)
It is not difficult to skim through 10 posts to see if something has been mentioned.

Depending on what exactly El Cid wants, this can be useful too. It does not remap the HW keyboard but it presents a luverly GUI for editing the on-screen keyboard. That would even fit the thread title. Right, endso? :p

http://static.maemo.org/static/d/ddd...reenshot00.png

i want completyly remap my keyboard! i need hw keyboard!!!!!!!!!! not virtual keyboard




how to install or where to download kbd-bkeymaps
https://wiki.postmarketos.org/wiki/N...eyboard_layout

Halftux 2018-05-05 13:28

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by EL_CID_CAMPEADOR (Post 1543935)
ive found this site last day ago and try, but i do not have rx-51 file

or my rx-51 file is blank without any word. i open it in leafpad and it is blank! this is normal? or it just contain code????

That is not normal it should contain ascii characters. On a stock german system the file size is 18523 byte. Are you looking in the right folder?


Quote:

Originally Posted by EL_CID_CAMPEADOR (Post 1543935)
i want completyly remap my keyboard! i need hw keyboard!!!!!!!!!! not virtual keyboard

You were on the right track. Have you read the page that you refer? There is following statement:

Quote:

1. Please read the main article on http://wiki.maemo.org/Remapping_keyboard
Have you done this?

EL_CID_CAMPEADOR 2018-05-08 23:52

Re: Remapping N900 keyboard for idiots
 
1 Attachment(s)
yes i have de keyboard layout

i cant get it working.my desired layout. all times tell me

setxkb error loading new keyboard description

i read so much times

https://wiki.maemo.org/Remapping_keyboard

and other github sites with symbols and bit more

here is the rx-51 file than i want to load. (edited) [cuted because talk maemo doesn upload 19,9kb files... only 19.5kb max upload on this forum for txt files xD]

what is the mistake? can you help me to get working new layout for my mobile phone . write you the rx-51 file for me PLEASE.

you can copy these keys is thath i need for my mobile phone. HELP ME PLEASE!!!!

see the attachment is the rx-51 file (cut) i cant upload large file


is safe to edit it in maemo with stock notepad editor? or i need leafpad..

i use filebox to edit it and copy it from MyDocs to /usr/share/X11/xkb/symbols/nokia_vndr/

Halftux 2018-05-09 10:19

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by EL_CID_CAMPEADOR (Post 1544088)
setxkb error loading new keyboard description
...
what is the mistake?
...
see the attachment is the rx-51 file (cut) i cant upload large file

Could it be that this is your mistake two times AC09 ?

Quote:

key <AC09> { [ l, L, question, none ] };
key <AC09> { [ ograve, Ograve, igrave, none ] };
And you are mixing the rows, this is very confusing and it could be that some of the keys don't exits so check all keys greater than Ax09. Maybe it is also a good idea to start with an example and make not so many changes at once.

So in the end I don't really know what you wanna try with each self created line, and I guess setxkbmap comes to the same conclusion.:)

Halftux 2018-05-09 11:18

Re: Remapping N900 keyboard for idiots
 
1 Attachment(s)
And here especially for endsormeans a wonderful picture as a guide.:)

endsormeans 2018-05-09 14:26

Re: Remapping N900 keyboard for idiots
 
Wheeeeeeeeee!!!!!
Pictures!
:D

EL_CID_CAMPEADOR 2018-05-09 15:18

Re: Remapping N900 keyboard for idiots
 
2 Attachment(s)
I was very sleepy last night. I did not see the line mistake xD

This is the keyboard of my phone. I want to have all the combinations as they come painted. is that one letter is painted and another one comes out !!!!!!! when i press FN.


in attachment i fix all i think but doestn work. all times tell me error

check



Quote:

Originally Posted by Halftux (Post 1544108)
And here especially for endsormeans a wonderful picture as a guide.:)

question

the photo that you uploaded is worth or is the same sequence although mine has only two arrows? or what is the name on my keyboard for the left arrow key? I have dot and comma. in the rx-51 I put it simply left. Is it another sequence?

pichlo 2018-05-09 16:57

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by EL_CID_CAMPEADOR (Post 1544113)
the photo that you uploaded is worth or is the same sequence although mine has only two arrows?

That would be because Halftux's is the default English (UK) whereas yours is German or Scandinavian, by the looks of it. I believe the names of the buttons in the config file are the same but I am not 100% sure as I have never touched the file myself. Why don't you try it and see.

Halftux 2018-05-09 18:06

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by EL_CID_CAMPEADOR (Post 1544113)

This is the keyboard of my phone. I want to have all the combinations as they come painted. is that one letter is painted and another one comes out !!!!!!! when i press FN.

This one is a Spanish keyboard layout "ptes". Why not using the default config file and set the keyboard to spanish:confused:
You can do it with a gui under settings; text input.

Every key has everytime the same identifier name and the identifier name was chosen from the English layout. However this config tells the system which letter/symbol is assigned to the identifier.

The position of the key or identifier name doesn't change, only what is printed on the key changes.
So on your Spanish printed keyboard the dot/comma = LEFT and the left/up = DOWN.

EL_CID_CAMPEADOR 2018-05-09 19:35

Re: Remapping N900 keyboard for idiots
 
i go to options text input so many times and select english deutch spanish frech portugues italiano... in all languages all times try to change to a diferent language..... symbols are diferent from the HW keyboard layout!! lol because this i want to remap keys...

example.. i have pharentesis in third row.. english and spanish language denmark and all other configs i try i need to make click on FN h / j in second row!!!!!! lol

or in other languages i fix pharentesis but other symbols go to otheer keys..... ://///// i do not have the keys correct mappin or anithing... lol

Halftux 2018-05-10 01:12

Re: Remapping N900 keyboard for idiots
 
Sorry I was wrong, it seems that this is an italian keyboard:) Quality of the picture is not the best.

Code:

setxkbmap it
When this still not match then I don't know. For me it seems to work.
And I guess you already tried a reflash?

EL_CID_CAMPEADOR 2018-05-10 05:33

Re: Remapping N900 keyboard for idiots
 
yeah setxkbmap it really works fine for me!!!

ok so next step is?

can you guide me to remap keys? i need my own config how to load it....... i know all but if didnt work.. what happens tell me..

i need to put setxkbmap it,es? or whatever


EDITED

helloo any way to permanent save changes made by input code setxkbmap it? all times i reestart my phone i loose changes!!!!!

EL_CID_CAMPEADOR 2018-05-29 09:58

Re: Remapping N900 keyboard for idiots
 
bump --- anyone have this task working?

Halftux 2018-05-29 11:17

Re: Remapping N900 keyboard for idiots
 
Quote:

Originally Posted by EL_CID_CAMPEADOR (Post 1544129)

helloo any way to permanent save changes made by input code setxkbmap it? all times i reestart my phone i loose changes!!!!!

Go to settings - text input and choose Italiano.


All times are GMT. The time now is 02:08.

vBulletin® Version 3.8.8