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)

penguinbait 2008-10-21 22:28

Re: My Debian Tricks - N810 xmodmap
 
These are all the ones I need and use :D


keycode 20 = minus braceleft underscore underscore underscore underscore
keycode 21 = plus braceright equal equal equal equal
keycode 22 = BackSpace bracketleft bracketleft bracketleft bracketleft bracketleft
keycode 59 = comma less bar bar bar bar
keycode 60 = period greater Tab Tab Tab Tab
keycode 135 = Multi_key Multi_key bracketright bracketright bracketright bracketright


(Fn + >) = TAB Key
(Fn + <) = | (PIPE KEY)
FN + Backspace = [
Shift + Backspace = ]
Shift + Minus = {
Shift + Plus = }
Shift + ? = `

And I got everything using open keys :)

WilsonBradley 2009-02-08 03:46

Re: My Debian Tricks - N810 xmodmap
 
Heya ,

I was interested in something VERY similar..
I wanted to assign the + - keys as Forward/Back in the micro browser...
I always have to open the keyboard when I want to navigate.
Any suggestions?

Thanks so much

matada 2009-03-06 05:16

Re: My Debian Tricks - N810 xmodmap
 
I am having trouble getting open office to save on my removable drive (n810) It works great, and I have been able to save files to the N810 primary folder, attach the to e-mail, and send, which is awesome!

If I can create a folder on my removable drive that open office can see, i wouldn't have to use up the tiny amount of space alloted to the main memory.

fatalsaint 2009-03-06 05:35

Re: My Debian Tricks - N810 xmodmap
 
How did you format the removable drive?? That sounds like a permissions problem.. does the drive show in openoffice's file browser???


Wilson - sorry I never saw your post before.. If you use gnome, theres some suggestions around like here, other than that I don't know. Alt+left and Alt+right are default forward/back in firefox.. but you'd have find some way to map the +/- to Alt+Left/Right .. and I don't know how to do that.

debernardis 2009-03-06 05:36

Re: My Debian Tricks - N810 xmodmap
 
It should *just work*. Remember your removable drive is /media/mmc1.
If it doesn't see it, the easy debian package is not mounting the card. Maybe you could see the output of the mount command in the debian terminal to get a hint on what's happening.

matada 2009-03-06 09:55

Re: My Debian Tricks - N810 xmodmap
 
i didn't format the removable. When i got the device, I just popped it in (8mb sandisk 6)

when i go to the folders, it shows the following:


apps
img-install
MyDocs

When i look for these on using the standard maemo file manager, The mydocs is the main memory, and I don't see the others.

You have to forgive my ignorance as I am a N810/maemo/debian beginner!

Thanks!

debernardis 2009-03-06 12:46

Re: My Debian Tricks - N810 xmodmap
 
Quote:

Originally Posted by matada (Post 269367)
i didn't format the removable. When i got the device, I just popped it in (8mb sandisk 6)

when i go to the folders, it shows the following:


apps
img-install
MyDocs

These are strange folders to find on your sd card. In particular, the MyDocs folder should stay on /home/user/MyDocs and not on the sd card.
Could you report the output of "ls /media/mmc1/" both in maemo xterm and debian xterm?

fatalsaint 2009-03-06 14:47

Re: My Debian Tricks - N810 xmodmap
 
debian may not automatically mount the sd card to /media/mmc1? Are you using Deblet, or Mer, or Easy Debian?? Which folder management software are you using? Maemo's, or Mer/Deblet/EZ-D?

It might be that you just need to mount your SD card..

Code:

dmesg | grep mmcblk
Should produce something with mmcblk1p1 or so in it. Using that you can:

Code:

mount /dev/mmcblk1p1 /media/mmc1
?? Or I suppose it's possible it came unformatted.. and you have to maybe create a filesystem first...?

elschemm 2009-06-12 15:46

Re: [Debian] My Debian Tricks - N810 xmodmap
 
Greetings:
For those looking to use an external USB keyboard (in Debian or such),
you might want to make the following changes (to the version on the first page):

keysym plus = plus equal equal
keysym apostrophe = apostrophe quotedbl question

So far, the Xmodmap approach seems to be the only successful way to mod the keyboard (at least under EasyDebian). The two changes above fix problems between the mappings that Nokia uses for the rx-44 and what a standard 104 US kbd does.
On those keyboards, the quotation mark is a shifted apostrophe. The rx-44 puts the quote as FN-s. The rx-44 doesn't really use Shft-Apostrophe, so it isn't a problem.

The real ugly is that (for whatever reason), Nokia decided to do +/= backwards from a traditional US keyboard layout. Adding = as a Shift-+
will give you the exact opposite of the traditional layout, but it's either that, or have the rx-44 function the opposite way of it's layout.

Racle 2009-06-26 12:55

Re: [Debian] My Debian Tricks - N810 xmodmap
 
I got that work for almost everything, but some reason i cant use my return key anymore at xterm and pidgin :/ any suggestions?

here my xmodmap config file
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 backslash
keysym h = h H slash
keysym j = j J parenleft
keysym k = k K parenright
keysym l = l L asterisk
keysym apostrophe = apostrophe apostrophe question
keysym z = z Z U00A5
keysym x = x X asciicircum
keysym c = c C asciitilde
keysym v = v V percent
keysym b = b B ampersand
keysym n = n N dollar
keysym m = m M EuroSign
keysym semicolon = semicolon colon U00A3
keysym minus = minus underscore underscore
keysym plus = plus plus equal
keysym comma = comma less adiaeresis
keysym period = period greater odiaeresis
keysym KP_Enter = Return Return
keysym BackSpace = BackSpace BackSpace Tab
add control = Control_L Control_R
add shift = Shift_L Shift_R
add lock = Caps_Lock


Anunakin 2009-09-30 18:28

Re: [Debian] My Debian Tricks - N810 xmodmap
 
If you have a N810 with français/português or brasileiro keymap, use it:
Code:

!/home/user/.Xmodmap-keymap                                                                                                     
!This first section is from the Mamona project                                                                                   
!http://dev.openbossa.org/trac/mamona/browser/packages/xserver-kdrive-common/xserver-kdrive-common/mamona/keymap.xmodmap         

keycode  9 = Escape
keycode  10 = 1 exclam
keycode  11 = 2 at   
keycode  12 = 3 numbersign
keycode  13 = 4 dollar   
keycode  14 = 5 percent 
keycode  15 = 6 asciicircum
keycode  16 = 7 ampersand braceleft
keycode  17 = 8 asterisk bracketleft
keycode  18 = 9 parenleft bracketright
keycode  19 = 0 parenright braceright
keycode  20 = minus underscore backslash
keycode  21 = equal plus               
keycode  22 = BackSpace               
keycode  23 = Tab                     
keycode  24 = q Q q                   
keycode  25 = w W w                   
keycode  26 = e E                     
keycode  27 = r R r                   
keycode  28 = t T t                   
keycode  29 = y Y y                   
keycode  30 = u U u                   
keycode  31 = i I i                   
keycode  32 = o O o                   
keycode  33 = p P p                   
keycode  34 = bracketleft braceleft   
keycode  35 = bracketright braceright asciitilde
keycode  36 = Return                           
keycode  37 = Control_L                       
keycode  38 = a A                             
keycode  39 = s S s                           
keycode  40 = d D                             
keycode  41 = f F                             
keycode  42 = g G g                           
keycode  43 = h H h                           
keycode  44 = j J j                           
keycode  45 = k K k                           
keycode  46 = l L l                           
keycode  47 = semicolon colon                 
keycode  48 = apostrophe quotedbl             
keycode  49 = grave asciitilde                 
keycode  50 = Shift_L                         
keycode  51 = backslash bar                   
keycode  52 = z Z z                           
keycode  53 = x X x                           
keycode  54 = c C                             
keycode  55 = v V v                           
keycode  56 = b B                             
keycode  57 = n N n                           
keycode  58 = m M m                           
keycode  59 = comma semicolon                 
keycode  60 = period greater                   
keycode  61 = slash question                   
keycode  62 = Shift_R                         
keycode  63 = KP_Multiply                     
keycode  64 = Alt_L                           
keycode  65 = space                           
keycode  66 = Caps_Lock                       
keycode  67 = F1 F11                           
keycode  68 = F2 F12                           
keycode  69 = F3 F13                           
keycode  70 = F4 F14                           
keycode  71 = F5 F15                           
keycode  72 = F6 F16                           
keycode  73 = F7 F17                           
keycode  74 = F8 F18                           
keycode  75 = F9 F19                           
keycode  76 = F10 F20                         
keycode  77 = Num_Lock                         
keycode  78 = Scroll_Lock                     
keycode  79 = KP_7                             
keycode  80 = KP_8                             
keycode  81 = KP_9                             
keycode  82 = KP_Subtract                     
keycode  83 = KP_4                             
keycode  84 = KP_5                             
keycode  85 = KP_6                             
keycode  86 = KP_Add                           
keycode  87 = KP_1                             
keycode  88 = KP_2                             
keycode  89 = KP_3                             
keycode  90 = KP_0                             
keycode  91 = KP_Decimal                       
keycode  94 = less greater bar                 
keycode  95 = F11                             
keycode  96 = F12                             
keycode 104 = KP_Enter                         
keycode 105 = Control_R                       
keycode 106 = KP_Divide                       
keycode 108 = Mode_switch                     
keycode 109 = Break                           
keycode 110 = Home                             
keycode 111 = Up                               
keycode 112 = Prior                           
keycode 113 = Left                             
keycode 114 = Right                           
keycode 115 = End                             
keycode 116 = Down                             
keycode 117 = Next                             
keycode 118 = Insert                           
keycode 119 = Delete                           
keycode 120 = Menu                             
keycode 121 = F13                             
keycode 122 = F14                             
keycode 123 = Help                             
keycode 124 = Execute                         
keycode 125 = F17                             
keycode 126 = KP_Subtract                     
keycode 127 = Pause                           

add shift  = Shift_L Shift_R
add lock    = Caps_Lock     
add control = Control_L Control_R
add mod1    = Alt_L             
add mod2    = Num_Lock         
add mod4    = Mode_switch       

!/home/user/.Xmodmap
!keymaps for portuguese/brazilian N810 by Anunakin

keycode 216 = Mode_switch
keycode 24 = q Q 1     
keycode 25 = w W 2     
keycode 26 = e E 3     
keycode 27 = r R 4     
keycode 28 = t T 5     
keycode 29 = y Y 6     
keycode 30 = u U 7     
keycode 31 = i I 8
keycode 32 = o O 9
keycode 33 = p P 0
keycode 38 = a A exclam
keycode 39 = s S quotedbl
keycode 40 = d D at
keycode 41 = f F numbersign
keycode 42 = g G asterisk
keycode 43 = h H backslash
keycode 44 = j J slash
keycode 45 = k K parenleft
keycode 46 = l L parenright
keycode 48 = dead_acute dead_grave dead_diaeresis
keycode 52 = z Z EuroSign
keycode 53 = x X numbersign
keycode 54 = c C ampersand
keycode 55 = v V exclamdown
keycode 56 = b B apostrophe
keycode 57 = n N plus
keycode 58 = m M equal
keycode 47 = ccedilla Ccedilla questiondown
keycode 20 = ntilde Ntilde question
keycode 21 = dead_tilde dead_circumflex bar
keycode 65 = space
keycode 59 = comma semicolon minus
keycode 60 = period colon underscore
keycode 36 = Return Return
keycode 22 = BackSpace BackSpace Tab
keycode 72 = F11 F6 F1
keycode 70 = Menu Menu Super_L
keycode 135 = Alt_L ISO_Level3_Shift
keycode 104 = Tab



All times are GMT. The time now is 11:38.

vBulletin® Version 3.8.8