maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] My Debian Tricks - N810 xmodmap (https://talk.maemo.org/showthread.php?t=21848)

maillaxa 2008-07-17 19:01

Re: My Debian Tricks - N810 xmodmap
 
Works like a champ ! It's cool to get my qwerty back even with my azerty tablet ! Thank you!

debernardis 2008-07-17 19:02

Re: My Debian Tricks - N810 xmodmap
 
Here is the .xmodmap file for my Italian keyboard. Has Tab on Fn-comma and pipe on Fn-period. Several other keysyms should be added in order for this to be useful, because on the chroot setting the Chr key doesn't work and so you miss dollar, percent, ticks and backticks, etc. But, indeed, I am not using other wm's than matchbox, because it's quicker and allows moving big windows to press out-of-sight buttons.

Code:

keycode 216 = Mode_switch
keysym q = q Q 1
keysym w = w W 2
keysym e = e E 3
keysym r = r R 4
keysym t = t T 5
keysym y = y Y 6
keysym u = u U 7
keysym i = i I 8
keysym o = o O 9
keysym p = p P 0
keysym a = a A exclam
keysym s = s S quotedbl
keysym d = d D at
keysym f = f F numbersign
keysym g = g G asterisk
keysym h = h H backslash
keysym j = j J slash
keysym k = k K parenleft
keysym l = l L parenright
keysym apostrophe = apostrophe question igrave Igrave
keysym z = z Z EuroSign
keysym x = x X asciitilde
keysym c = c C ampersand
keysym v = v V equal
keysym b = b B less
keysym n = n N greater
keysym m = m M plus
keysym semicolon = eacute Eacute ograve Ograve
keysym minus = egrave Egrave agrave Agrave
keysym equal = minus underscore ugrave
keysym comma = comma semicolon Tab
keysym period = period colon bar


maillaxa 2008-07-17 19:45

Re: My Debian Tricks - N810 xmodmap
 
what is matchbox ?

Benson 2008-07-17 19:50

Re: My Debian Tricks - N810 xmodmap
 
A window manager, http://matchbox-project.org/, used in the tablets.

debernardis 2008-07-17 19:54

Re: My Debian Tricks - N810 xmodmap
 
http://en.wikipedia.org/wiki/Matchbox_%28window_manager%29

It's the plain vanilla window manager our NITs.

qole 2008-07-17 20:38

Re: My Debian Tricks - N810 xmodmap
 
Nothing "plain vanilla" about our NIT window manager :)

I find it interesting that nothing much has happened over at matchbox-project.org since March 2007...

debernardis, do you know of a hack for non-dialog windows that are too large, such as the "Restore Document" window in OOO?

Benson 2008-07-17 20:49

Re: My Debian Tricks - N810 xmodmap
 
I assume you've tried rotation and small-font-themes?

qole 2008-07-17 21:23

Re: My Debian Tricks - N810 xmodmap
 
Um, Benson, maemo theming has no effect on Debian OOO :) And if you've run Debian apps, you'll notice that the fonts are already teensy-tiny, since they're assuming a 96dpi screen (as opposed to 226dpi on the tablets).

But rotation... that's an idea... Haven't hit that window since I got rotation working...

Benson 2008-07-17 21:36

Re: My Debian Tricks - N810 xmodmap
 
Oh, that's right. (Duh!)

Well, you could set a smaller theme there, too. (Actually, one thing I had thought of doing was getting the Debian apps using the Maemo themes... then it occurred to me that that'd NOT help the window-size issues, and I figured I'd not bother. Why I couldn't remember that just now is beyond me...)

Xnest is the only thing that comes to mind; you could run xnest with scrollbars (does xephyr do scrollbars, since it's already working?) and run matchbox, hildon-desktop, etc. all inside on :1, and no window manager on display :0... that'd be somewhat less overhead than the whole two-wm routine, but it's plainly suboptimal. (And hard to set up...)

jhford 2008-07-17 22:34

Re: My Debian Tricks - N810 xmodmap
 
I followed your instructions in #1, but the function key on my slide-down keyboard isn't usable.
Thanks


All times are GMT. The time now is 17:03.

vBulletin® Version 3.8.8