Reply
Thread Tools
Community Council | Posts: 685 | Thanked: 1,235 times | Joined on Sep 2010 @ Mbabane
#2461
@Estel
Thanks for your persistence.
Under (Maemo) Text Input setttings, I have English, Nederlands for Hardware keyboard layout. I haven't modified it in any way since I flashed global firmware.
With these settings, I also have the same issue with Blue Arrow symbols. I can't even type numbers.
Would you or sulu be so kind as to post just the working xkb directory here?

Last edited by sicelo; 2011-12-22 at 07:50.
 

The Following User Says Thank You to sicelo For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2462
Originally Posted by Estel View Post
(sulu, would You be interested in getting my Maemo's xkb folder, and checking diffs between it and one belonging to Your device?)
Yes, I'd like that. If we find a crucial difference it might spare others to replace their whole image.
Would you please provide the xkb folder from my image as well while you're at it? I'd do that on my own later but at the moment I can't.
 

The Following 4 Users Say Thank You to sulu For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2463
No problem - here (post attachments) is sulu's lifesaving xkb (sulu-xkb.zip), and one took straight from my Maemo - estel-xkb.tar (*not* suitable for Easy Debian, if one want working "blue arrow" keys - most likely, it's of interest only for sulu).

Sulu file zipped, to avoid stupid limitation of attachments (.tar is allowed, buy tar.gz not, meh!), so one need first to unzip it (safe to do on any system), and next, unpack from tar.gz to /.debian/usr/share/X11/, as per instructions in wiki (*don't* untar it under any w$ndows box, or face 'wraith' of lost file permissions settings - best of all, untar it on N900 itself, straight to place of final rest [not MyDocs, due to same reasons as with windows machine!]).

/Estel

// Edit

qhubekela, maybe, by any case, are You using extkbd (program by freemangordon, that allow hassle-free usage of external keyboards, be it bluetooth or USB ones)? Sulu, and You? I wonder, if this problems may be related to way extkbd manage bringing/removing external keyboard(s) layout...

@Everyone
If we're talking about external keyboards - does anyone know a way of enabling usage of external keyboards with all it's goodies (layout) inside LXDE? I know bt-hid scripts from qole do exactly this, but they're conflicting with extkbd, offering many enhancements over bt-hid scripts. So, qole or anyone knowledgeable, what is the magic need to be done, if one want external keyboard usage inside LXDE?

Also, my questions from few posts ago (including one about OpenOffice-oriented code in debian script [one used by chroot.desktop]) still apply...
Attached Files
File Type: zip sulu-xkb.zip (31.1 KB, 82 views)
File Type: tar estel-xkb.tar (345.3 KB, 73 views)
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2011-12-23 at 03:46.
 

The Following 5 Users Say Thank You to Estel For This Useful Post:
Community Council | Posts: 685 | Thanked: 1,235 times | Joined on Sep 2010 @ Mbabane
#2464
Many thanks

As for extkbd, yes I have it. I only use it with h-e-n. I also have US set there. I actually rarely use it.
 

The Following User Says Thank You to sicelo For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2465
Using sulu's xkb, You don't need to use english only, neither in Maemo settings, or in LXDE (writing just in case).

If sulu doesn't use extkbd, I bet my left shoe, that it is related. Not quite a bug - on itself, it doesn't break anything - but, need to be considered, while using Maemo xkb (folder) for any "external" purpose.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2466
Originally Posted by Estel View Post
If sulu doesn't use extkbd, I bet my left shoe, that it is related.
No, I don't use extkbd, so you can keep your shoe.

Originally Posted by Estel View Post
Not quite a bug - on itself, it doesn't break anything - but, need to be considered, while using Maemo xkb (folder) for any "external" purpose.
I'll update the upgrade instructions accordingly to take care fore this extkbd issue. It's not a big thing, basically one just has to backup the old Easy Debian xkb folder instead of reimporting it from Maemo.
However I'd like to have a solution for the extkbd-xkb folder in Easy Debian because that would allow to use the N900 as a true emergency computer by connecting it to a TV and a keyboard and working with the full Debian software instead of sticking to Maemo.

I did a complete diff of the two archives you provided. I had no idea how extensive the changes are that extkbd makes.
At first sight nothing there seems to be obviously related to the problems you described but I'm sure it's in there. I'll have to investigate it further.

Did you ever use Easy Debian with an external keyboard? If so, how did it behave? My guess is that it should behave like Maemo without extkbd.

Edit:
Argh! I hate Mediawiki! I just wanted to add the extkbd thing to the article (adapted #2 of "regressions") and stumbled upon the bug that Mediawiki can't handle monospace text blocks within lists that are numberes with '#'. So I changed all the '#' to a <ol><li> structure but now none of the monospace text blocks is recognized anymore. My desperate attempts with {{, {code and code{ were not successful. Can somebody who knows Mediawiki syntax please tell me how to restore the blocks?

Last edited by sulu; 2011-12-23 at 23:08.
 

The Following User Says Thank You to sulu For This Useful Post:
Posts: 32 | Thanked: 12 times | Joined on Jan 2010
#2467
Thanks for the xkb guys!
This bug was hunting me for soooo long!
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2468
Originally Posted by sulu View Post
Can somebody who knows Mediawiki syntax please tell me how to restore the blocks?
No problem sulu - I've fixed monoblocks in wiki article (+ some minor typos, discovered during doing so). By the way, I think it's not a bug in Mediawiki - it's a feature While using #, every new line is recognized as end of 'counting', so it does for 'shortcut' way of inserting monospace (separated by new lines, and prefixed by double space). Using <pre></pre> (and avoiding any new liners, <pre> insert new line on it's own!) fixes the problem.

---

During our latest research on xkb, I got idea, on how it may be possible to direct copy our Maemo (manually modified, as in Wiki article "Hardware keyboard remapping") keymap into ED - if proper ED xkb folder is basically Maemo one, maybe overwriting ED's rx-51 by our modified one, via...
Code:
cp -f /usr/share/X11/xkb/symbols/nokia_vndr/rx-51/.debian/usr/share/X11/xkb/symbols/nokia_vndr/rx-51
... from within Maemo (as root, with ED partition/image mounted), would work?

And guess what, it *does*! So now, everyone can use own Maemo hardware keyboard mapping - even most fancy one - inside LXDE. Every special character, symbol or 'command' (for example, TAB) work flawlessly! Just remember, to set correct setxkbmap inside LXDE (via autostart script, or manually) - for example, my custom Maemo keymap, where I 'binded' dead_ogonek as 'blue arrow' + shift + a for pl keyboard, works with:
Code:
setxkbmap pl
only (so, basically, everything is as it should be - there is no problem, if someone want to bind special characters to 'generic' layout as well - everything just works like with Maemo hardware keyboard remapping).

I'll test external keyboard tomorrow, but I'm 100% sure, that everything we need to get exact same result as with extkbd in Maemo, is to do to /.debian/usr/share/X11/xkb exactly same thing, as extkbd does to /usr/share/X11/xkb.

I'll talk with freemangordon about that, asking him to include Easy Debian support in extkbd. Now, when we understand how all of this work, it should be trivial to implement, for such talented coder.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 3 Users Say Thank You to Estel For This Useful Post:
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#2469
Originally Posted by Estel View Post
No problem sulu - I've fixed monoblocks in wiki article (+ some minor typos, discovered during doing so). By the way, I think it's not a bug in Mediawiki - it's a feature While using #, every new line is recognized as end of 'counting', so it does for 'shortcut' way of inserting monospace (separated by new lines, and prefixed by double space). Using <pre></pre> (and avoiding any new liners, <pre> insert new line on it's own!) fixes the problem.
Thanks a lot!

Originally Posted by Estel View Post
During our latest research on xkb, I got idea, on how it may be possible to direct copy our Maemo (manually modified, as in Wiki article "Hardware keyboard remapping") keymap into ED - if proper ED xkb folder is basically Maemo one, maybe overwriting ED's rx-51 by our modified one, via...
Code:
cp -f /usr/share/X11/xkb/symbols/nokia_vndr/rx-51/.debian/usr/share/X11/xkb/symbols/nokia_vndr/rx-51
... from within Maemo (as root, with ED partition/image mounted), would work?

And guess what, it *does*! So now, everyone can use own Maemo hardware keyboard mapping - even most fancy one - inside LXDE. Every special character, symbol or 'command' (for example, TAB) work flawlessly! Just remember, to set correct setxkbmap inside LXDE (via autostart script, or manually) - for example, my custom Maemo keymap, where I 'binded' dead_ogonek as 'blue arrow' + shift + a for pl keyboard, works with:
Code:
setxkbmap pl
only (so, basically, everything is as it should be - there is no problem, if someone want to bind special characters to 'generic' layout as well - everything just works like with Maemo hardware keyboard remapping).

I'll test external keyboard tomorrow, but I'm 100% sure, that everything we need to get exact same result as with extkbd in Maemo, is to do to /.debian/usr/share/X11/xkb exactly same thing, as extkbd does to /usr/share/X11/xkb.
Sounds reasonable. Please keep me informed!

Originally Posted by Estel View Post
I'll talk with freemangordon about that, asking him to include Easy Debian support in extkbd.
I'm not sure if that would actually work but maybe we could instead just mount the Maemo folder /usr/share/X11/xkb/symbols/nokia_vndr via the Easy Debian scripts and thus mask the original Debian folder. This would have three advantages over copying them:
1. We avoid interproject dependencies (Easy Debian - extkbd)
2. All this trouble with copying keyboard definition files during a dist-upgrade could be spared.
3. Any custom Maemo keyboard layout changes would take effect in Easy Debian immediately without having to do it all twice.
 

The Following User Says Thank You to sulu For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2470
I'll test it ASAP - haven't had time during Christmas. Anyway, nice idea about mounting Maemo folder directly - will try this with external keyboard .I wonder if extkbd isn't modifying also other files inside '/usr/share/X11/xkb', to allow flawless usage of external keyboards - it seems so, as You've detected numerous changes in xkb folder. Maybe, during external keyboard, the rx-51 isn't even used? Instead, generic "desktop" geometries etc applied, would make sense (something similar to xkb that we have after dist-upgrade).

Meanwhile, what would be proper method to mount Maemo nokia_vdnr to ED, avoiding conflicts with chroot mounting? Just symlinking during runtime (from ED chroot terminal), or some other approach?

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Reply

Tags
beta, debian, easy debian, extras-devel, fremantle, i <3 qole, squeeze


 
Forum Jump


All times are GMT. The time now is 22:51.