The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings

Snippet Library

keyreturn.sh

Type:
Function
Category:
Unix Admin
License:
GNU General Public License
Language:
Unix Shell

Description:
retour du clavier

Versions Of This Snippet:

Snippet ID Download Version Date Posted Author Delete
91.02017-02-21 10:55Jean-François BELLANGER Delete

Download a raw-text version of this code by clicking on “Download Version”


Latest Snippet Version: 1.0

xmodmap -e "keycode = 1 2 3"
xmodmap -e "keycode   8 ="
xmodmap -e "keycode   9 = Escape NoSymbol Escape"
xmodmap -e "keycode  10 = ampersand 1 ampersand 1 onesuperior exclamdown onesuperior"
xmodmap -e "keycode  11 = eacute 2 eacute 2 asciitilde oneeighth asciitilde"
xmodmap -e "keycode  12 = quotedbl 3 quotedbl 3 numbersign sterling numbersign"
xmodmap -e "keycode  13 = apostrophe 4 apostrophe 4 braceleft dollar braceleft"
xmodmap -e "keycode  14 = parenleft 5 parenleft 5 bracketleft threeeighths bracketleft"
xmodmap -e "keycode  15 = minus 6 minus 6 bar fiveeighths bar"
xmodmap -e "keycode  16 = egrave 7 egrave 7 grave seveneighths grave"
xmodmap -e "keycode  17 = underscore 8 underscore 8 backslash trademark backslash"
xmodmap -e "keycode  18 = ccedilla 9 ccedilla 9 asciicircum plusminus asciicircum"
xmodmap -e "keycode  19 = agrave 0 agrave 0 at degree at"
xmodmap -e "keycode  20 = parenright degree parenright degree bracketright questiondown bracketright"
xmodmap -e "keycode  21 = equal plus equal plus braceright dead_ogonek braceright"
xmodmap -e "keycode  22 = BackSpace BackSpace BackSpace BackSpace NoSymbol NoSymbol Terminate_Server"
xmodmap -e "keycode  23 = Tab ISO_Left_Tab Tab ISO_Left_Tab"
xmodmap -e "keycode  24 = a A a A ae AE ae"
xmodmap -e "keycode  25 = z Z z Z guillemotleft less guillemotleft"
xmodmap -e "keycode  26 = e E e E EuroSign cent EuroSign"
xmodmap -e "keycode  27 = r R r R paragraph registered paragraph"
xmodmap -e "keycode  28 = t T t T tslash Tslash tslash"
xmodmap -e "keycode  29 = y Y y Y leftarrow yen leftarrow"
xmodmap -e "keycode  30 = u U u U downarrow uparrow downarrow"
xmodmap -e "keycode  31 = i I i I rightarrow idotless rightarrow"
xmodmap -e "keycode  32 = o O o O oe OE oe"
xmodmap -e "keycode  33 = p P p P thorn THORN thorn"
xmodmap -e "keycode  34 = dead_circumflex dead_diaeresis dead_circumflex dead_diaeresis dead_diaeresis dead_abovering dead_diaeresis"
xmodmap -e "keycode  35 = dollar sterling dollar sterling currency dead_macron currency"
xmodmap -e "keycode  36 = Return NoSymbol Return"
xmodmap -e "keycode  37 = Control_L NoSymbol Control_L"
xmodmap -e "keycode  38 = q Q q Q at Greek_OMEGA at"
xmodmap -e "keycode  39 = s S s S ssharp section ssharp"
xmodmap -e "keycode  40 = d D d D eth ETH eth"
xmodmap -e "keycode  41 = f F f F dstroke ordfeminine dstroke"
xmodmap -e "keycode  42 = g G g G eng ENG eng"
xmodmap -e "keycode  43 = h H h H hstroke Hstroke hstroke"
xmodmap -e "keycode  44 = j J j J dead_hook dead_horn dead_hook"
xmodmap -e "keycode  45 = k K k K kra ampersand kra"
xmodmap -e "keycode  46 = l L l L lstroke Lstroke lstroke"
xmodmap -e "keycode  47 = m M m M mu masculine mu"
xmodmap -e "keycode  48 = ugrave percent ugrave percent dead_circumflex dead_caron dead_circumflex"
xmodmap -e "keycode  49 = twosuperior asciitilde twosuperior asciitilde notsign notsign notsign"
xmodmap -e "keycode  50 = Shift_L NoSymbol Shift_L"
xmodmap -e "keycode  51 = asterisk mu asterisk mu dead_grave dead_breve dead_grave"
xmodmap -e "keycode  52 = w W w W lstroke Lstroke lstroke"
xmodmap -e "keycode  53 = x X x X guillemotright greater guillemotright"
xmodmap -e "keycode  54 = c C c C cent copyright cent"
xmodmap -e "keycode  55 = v V v V leftdoublequotemark leftsinglequotemark leftdoublequotemark"
xmodmap -e "keycode  56 = b B b B rightdoublequotemark rightsinglequotemark rightdoublequotemark"
xmodmap -e "keycode  57 = n N n N n N n"
xmodmap -e "keycode  58 = comma question comma question dead_acute dead_doubleacute dead_acute"
xmodmap -e "keycode  59 = semicolon period semicolon period horizconnector multiply horizconnector"
xmodmap -e "keycode  60 = colon slash colon slash periodcentered division periodcentered"
xmodmap -e "keycode  61 = exclam section exclam section dead_belowdot dead_abovedot dead_belowdot"
xmodmap -e "keycode  62 = Shift_R NoSymbol Shift_R"
xmodmap -e "keycode  63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab"
xmodmap -e "keycode  64 = Alt_L Meta_L Alt_L Meta_L"
xmodmap -e "keycode  65 = space NoSymbol space"
xmodmap -e "keycode  66 = Caps_Lock NoSymbol Caps_Lock"
xmodmap -e "keycode  67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1"
xmodmap -e "keycode  68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2"
xmodmap -e "keycode  69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3"
xmodmap -e "keycode  70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4"
xmodmap -e "keycode  71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5"
xmodmap -e "keycode  72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6"
xmodmap -e "keycode  73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7"
xmodmap -e "keycode  74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8"
xmodmap -e "keycode  75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9"
xmodmap -e "keycode  76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10"
xmodmap -e "keycode  77 = Num_Lock NoSymbol Num_Lock"
xmodmap -e "keycode  78 = Scroll_Lock NoSymbol Scroll_Lock"
xmodmap -e "keycode  79 = KP_Home KP_7 KP_Home KP_7"
xmodmap -e "keycode  80 = KP_Up KP_8 KP_Up KP_8"
xmodmap -e "keycode  81 = KP_Prior KP_9 KP_Prior KP_9"
xmodmap -e "keycode  82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode"
xmodmap -e "keycode  83 = KP_Left KP_4 KP_Left KP_4"
xmodmap -e "keycode  84 = KP_Begin KP_5 KP_Begin KP_5"
xmodmap -e "keycode  85 = KP_Right KP_6 KP_Right KP_6"
xmodmap -e "keycode  86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode"
xmodmap -e "keycode  87 = KP_End KP_1 KP_End KP_1"
xmodmap -e "keycode  88 = KP_Down KP_2 KP_Down KP_2"
xmodmap -e "keycode  89 = KP_Next KP_3 KP_Next KP_3"
xmodmap -e "keycode  90 = KP_Insert KP_0 KP_Insert KP_0"
xmodmap -e "keycode  91 = KP_Delete KP_Decimal KP_Delete KP_Decimal"
xmodmap -e "keycode  92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift"
xmodmap -e "keycode  93 ="
xmodmap -e "keycode  94 = less greater less greater bar brokenbar bar"
xmodmap -e "keycode  95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11"
xmodmap -e "keycode  96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12"
xmodmap -e "keycode  97 ="
xmodmap -e "keycode  98 = Katakana NoSymbol Katakana"
xmodmap -e "keycode  99 = Hiragana NoSymbol Hiragana"
xmodmap -e "keycode 100 = Henkan_Mode NoSymbol Henkan_Mode"
xmodmap -e "keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana"
xmodmap -e "keycode 102 = Muhenkan NoSymbol Muhenkan"
xmodmap -e "keycode 103 ="
xmodmap -e "keycode 104 = KP_Enter NoSymbol KP_Enter"
xmodmap -e "keycode 105 = Control_R NoSymbol Control_R"
xmodmap -e "keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab"
xmodmap -e "keycode 107 = Print Sys_Req Print Sys_Req"
xmodmap -e "keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift"
xmodmap -e "keycode 109 = Linefeed NoSymbol Linefeed"
xmodmap -e "keycode 110 = Home NoSymbol Home"
xmodmap -e "keycode 111 = Up NoSymbol Up"
xmodmap -e "keycode 112 = Prior NoSymbol Prior"
xmodmap -e "keycode 113 = Left NoSymbol Left"
xmodmap -e "keycode 114 = Right NoSymbol Right"
xmodmap -e "keycode 115 = End NoSymbol End"
xmodmap -e "keycode 116 = Down NoSymbol Down"
xmodmap -e "keycode 117 = Next NoSymbol Next"
xmodmap -e "keycode 118 = Insert NoSymbol Insert"
xmodmap -e "keycode 119 = Delete NoSymbol Delete"
xmodmap -e "keycode 120 ="
xmodmap -e "keycode 121 = XF86AudioMute NoSymbol XF86AudioMute"
xmodmap -e "keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume"
xmodmap -e "keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume"
xmodmap -e "keycode 124 = XF86PowerOff NoSymbol XF86PowerOff"
xmodmap -e "keycode 125 = KP_Equal NoSymbol KP_Equal"
xmodmap -e "keycode 126 = plusminus NoSymbol plusminus"
xmodmap -e "keycode 127 = Pause Break Pause Break"
xmodmap -e "keycode 128 = XF86LaunchA NoSymbol XF86LaunchA"
xmodmap -e "keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal"
xmodmap -e "keycode 130 = Hangul NoSymbol Hangul"
xmodmap -e "keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja"
xmodmap -e "keycode 132 ="
xmodmap -e "keycode 133 = Super_L NoSymbol Super_L"
xmodmap -e "keycode 134 = Multi_key Multi_key Multi_key Multi_key"
xmodmap -e "keycode 135 = Menu NoSymbol Menu"
xmodmap -e "keycode 136 = Cancel NoSymbol Cancel"
xmodmap -e "keycode 137 = Redo NoSymbol Redo"
xmodmap -e "keycode 138 = SunProps NoSymbol SunProps"
xmodmap -e "keycode 139 = Undo NoSymbol Undo"
xmodmap -e "keycode 140 = SunFront NoSymbol SunFront"
xmodmap -e "keycode 141 = XF86Copy NoSymbol XF86Copy"
xmodmap -e "keycode 142 = XF86Open NoSymbol XF86Open"
xmodmap -e "keycode 143 = XF86Paste NoSymbol XF86Paste"
xmodmap -e "keycode 144 = Find NoSymbol Find"
xmodmap -e "keycode 145 = XF86Cut NoSymbol XF86Cut"
xmodmap -e "keycode 146 = Help NoSymbol Help"
xmodmap -e "keycode 147 = XF86MenuKB NoSymbol XF86MenuKB"
xmodmap -e "keycode 148 = XF86Calculator NoSymbol XF86Calculator"
xmodmap -e "keycode 149 ="
xmodmap -e "keycode 150 = XF86Sleep NoSymbol XF86Sleep"
xmodmap -e "keycode 151 = XF86WakeUp NoSymbol XF86WakeUp"
xmodmap -e "keycode 152 = XF86Explorer NoSymbol XF86Explorer"
xmodmap -e "keycode 153 = XF86Send NoSymbol XF86Send"
xmodmap -e "keycode 154 ="
xmodmap -e "keycode 155 = XF86Xfer NoSymbol XF86Xfer"
xmodmap -e "keycode 156 = XF86Launch1 NoSymbol XF86Launch1"
xmodmap -e "keycode 157 = XF86Launch2 NoSymbol XF86Launch2"
xmodmap -e "keycode 158 = XF86WWW NoSymbol XF86WWW"
xmodmap -e "keycode 159 = XF86DOS NoSymbol XF86DOS"
xmodmap -e "keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver"
xmodmap -e "keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows"
xmodmap -e "keycode 162 = XF86TaskPane NoSymbol XF86TaskPane"
xmodmap -e "keycode 163 = XF86Mail NoSymbol XF86Mail"
xmodmap -e "keycode 164 = XF86Favorites NoSymbol XF86Favorites"
xmodmap -e "keycode 165 = XF86MyComputer NoSymbol XF86MyComputer"
xmodmap -e "keycode 166 = XF86Back NoSymbol XF86Back"
xmodmap -e "keycode 167 = XF86Forward NoSymbol XF86Forward"
xmodmap -e "keycode 168 ="
xmodmap -e "keycode 169 = XF86Eject NoSymbol XF86Eject"
xmodmap -e "keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject"
xmodmap -e "keycode 171 = XF86AudioNext NoSymbol XF86AudioNext"
xmodmap -e "keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause"
xmodmap -e "keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev"
xmodmap -e "keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject"
xmodmap -e "keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord"
xmodmap -e "keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind"
xmodmap -e "keycode 177 = XF86Phone NoSymbol XF86Phone"
xmodmap -e "keycode 178 ="
xmodmap -e "keycode 179 = XF86Tools NoSymbol XF86Tools"
xmodmap -e "keycode 180 = XF86HomePage NoSymbol XF86HomePage"
xmodmap -e "keycode 181 = XF86Reload NoSymbol XF86Reload"
xmodmap -e "keycode 182 = XF86Close NoSymbol XF86Close"
xmodmap -e "keycode 183 ="
xmodmap -e "keycode 184 ="
xmodmap -e "keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp"
xmodmap -e "keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown"
xmodmap -e "keycode 187 = parenleft NoSymbol parenleft"
xmodmap -e "keycode 188 = parenright NoSymbol parenright"
xmodmap -e "keycode 189 = XF86New NoSymbol XF86New"
xmodmap -e "keycode 190 = Redo NoSymbol Redo"
xmodmap -e "keycode 191 = XF86Tools NoSymbol XF86Tools"
xmodmap -e "keycode 192 = XF86Launch5 NoSymbol XF86Launch5"
xmodmap -e "keycode 193 = XF86Launch6 NoSymbol XF86Launch6"
xmodmap -e "keycode 194 = XF86Launch7 NoSymbol XF86Launch7"
xmodmap -e "keycode 195 = XF86Launch8 NoSymbol XF86Launch8"
xmodmap -e "keycode 196 = XF86Launch9 NoSymbol XF86Launch9"
xmodmap -e "keycode 197 ="
xmodmap -e "keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute"
xmodmap -e "keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle"
xmodmap -e "keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn"
xmodmap -e "keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff"
xmodmap -e "keycode 202 ="
xmodmap -e "keycode 203 = Mode_switch NoSymbol Mode_switch"
xmodmap -e "keycode 204 = NoSymbol Alt_L NoSymbol Alt_L"
xmodmap -e "keycode 205 = NoSymbol Meta_L NoSymbol Meta_L"
xmodmap -e "keycode 206 = NoSymbol Super_L NoSymbol Super_L"
xmodmap -e "keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L"
xmodmap -e "keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay"
xmodmap -e "keycode 209 = XF86AudioPause NoSymbol XF86AudioPause"
xmodmap -e "keycode 210 = XF86Launch3 NoSymbol XF86Launch3"
xmodmap -e "keycode 211 = XF86Launch4 NoSymbol XF86Launch4"
xmodmap -e "keycode 212 = XF86LaunchB NoSymbol XF86LaunchB"
xmodmap -e "keycode 213 = XF86Suspend NoSymbol XF86Suspend"
xmodmap -e "keycode 214 = XF86Close NoSymbol XF86Close"
xmodmap -e "keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay"
xmodmap -e "keycode 216 = XF86AudioForward NoSymbol XF86AudioForward"
xmodmap -e "keycode 217 ="
xmodmap -e "keycode 218 = Print NoSymbol Print"
xmodmap -e "keycode 219 ="
xmodmap -e "keycode 220 = XF86WebCam NoSymbol XF86WebCam"
xmodmap -e "keycode 221 ="
xmodmap -e "keycode 222 ="
xmodmap -e "keycode 223 = XF86Mail NoSymbol XF86Mail"
xmodmap -e "keycode 224 = XF86Messenger NoSymbol XF86Messenger"
xmodmap -e "keycode 225 = XF86Search NoSymbol XF86Search"
xmodmap -e "keycode 226 = XF86Go NoSymbol XF86Go"
xmodmap -e "keycode 227 = XF86Finance NoSymbol XF86Finance"
xmodmap -e "keycode 228 = XF86Game NoSymbol XF86Game"
xmodmap -e "keycode 229 = XF86Shop NoSymbol XF86Shop"
xmodmap -e "keycode 230 ="
xmodmap -e "keycode 231 = Cancel NoSymbol Cancel"
xmodmap -e "keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown"
xmodmap -e "keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp"
xmodmap -e "keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia"
xmodmap -e "keycode 235 = XF86Display NoSymbol XF86Display"
xmodmap -e "keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff"
xmodmap -e "keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown"
xmodmap -e "keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp"
xmodmap -e "keycode 239 = XF86Send NoSymbol XF86Send"
xmodmap -e "keycode 240 = XF86Reply NoSymbol XF86Reply"
xmodmap -e "keycode 241 = XF86MailForward NoSymbol XF86MailForward"
xmodmap -e "keycode 242 = XF86Save NoSymbol XF86Save"
xmodmap -e "keycode 243 = XF86Documents NoSymbol XF86Documents"
xmodmap -e "keycode 244 = XF86Battery NoSymbol XF86Battery"
xmodmap -e "keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth"
xmodmap -e "keycode 246 = XF86WLAN NoSymbol XF86WLAN"
xmodmap -e "keycode 247 = XF86UWB NoSymbol XF86UWB"
xmodmap -e "keycode 248 ="
xmodmap -e "keycode 249 ="
xmodmap -e "keycode 250 ="
xmodmap -e "keycode 251 ="
xmodmap -e "keycode 252 ="
xmodmap -e "keycode 253 ="
xmodmap -e "keycode 254 ="
xmodmap -e "keycode 255 ="

		

Add a new version

You can submit a new version of this snippet if you have modified it and you feel it is appropriate to share with others.