Cherry Tastatur

aus www.kruedewagen.de, Homepage von Ralf und Judith Krüdewagen (Kruedewagen)
Zur Navigation springen Zur Suche springen

Die "Cherry CyMotion Master Linux (G86-21070)" Tastatur lässt sich wie folgt unter Linux nutzen.

LinEAK

Keycodes setzen

/etc/init.d/boot.local

# Define unknown keycodes for Cherry CyMotion Master Linux
# list of pairs: first code from kernel, second keycode
# list entries:
#         search   eject    home     pwr_off  pwr_on   media    ScrollUp ScrollDn cut      paste    copy     XPress1  XPress2  XPress3  redo     undo     LeftWin
maptable="e065 136 e070 161 e032 172 e05f 143 e063 145 e06d 171 e00b 177 e012 178 e017 137 e00a 135 e018 133 e071 148 e02c 149 e072 202 e007 129 e008 131 e05b 200"
setkeycodes $maptable

~/.lineak/lineakd.conf

CdromDevice = /dev/cdrom
Display_align = center
Display_color = 0aff00
Display_font = -adobe-helvetica-bold-r-normal-*-*-240-*-*-p-*-*-*
Display_hoffset = 0
Display_plugin = xosd
Display_pos = bottom
Display_soffset = 1
Display_timeout = 3
Display_voffset = 50
KeyboardType = CCYMASTLIN3
MixerDevice = /dev/mixer
Screensaver =
conffilename = /data/eddrakr/.lineak/lineakd.conf
deffilename = /etc/lineakkb.def
keystate_capslock =
keystate_numlock =
keystate_scrolllock =
userdeffile = /data/eddrakr/.lineak/lineakkb.def

AtKey = firefox
Back = KONQUEROR_BACK
Calculator = kcalc
[Desktop] ContextMenu = konqueror file:/home/eddrakr/Desktop
Forward = KONQUEROR_FORWARD
#Mail = kmail --composer
Mail = KMAIL_COMPOSE
Media = konqueror media:/
MediaEject = eject
Mute =
Next = AMAROK_FORWARD
Play = AMAROK_PLAYPAUSE
Power = kdesktop_lock --forcelock
Previous = AMAROK_BACK
RAWCommands =
Reload = KONQUEROR_RELOAD
Search = kfind
Stop = AMAROK_STOP
TuxKey = KMENU
VolumeDown =
VolumeUp =
WWW = konqueror http://www.heise.de
WebStop = KONQUEROR_STOP
fnF1 =
fnF10 =
fnF2 =
fnF3 =
fnF4 =
fnF5 =
fnF6 =
fnF7 =
fnF8 =
fnF9 =

~/.lineak/lineakkb.def

[CCYMASTLIN3]
  brandname = "Cherry"
  modelname = "Cherry Cymotion Master Linux Alternate"
  [KEYS]
    TuxKey           = 115              # Main Kbd WinKey       Tux Icon
    AtKey            = 116              # Main Kbd WinKey2      @
    ContextMenu      = 117              # Context Menu Key
    Back             = 234              # Browser Back Key
    Forward          = 233              # Browser Forward Key
    WebStop          = 232              # Browser Stop Key
    Reload           = 231              # Browser Reload Key
    Search           = 122              # Search Key
    Play             = 162              # Media Play Key
    Stop             = 164              # Media Stop Key
    Previous         = 144              # Media Previous Key
    Next             = 153              # Media Next Key
    MediaEject       = 204              # Eject Key
    Calculator       = 161              # Calculator Key
    Mail             = 236              # Email Key
    WWW              = 130              # Home/Homepage Key
    Power            = 227              # Power Key
    VolumeUp         = 176              # Media Raise Volume Key
    VolumeDown       = 174              # Media Lower Volume Key
    Mute             = 160              # Media Mute Key
    Media            = 129              # Media Open Application Key
    fnF1             = 220              # Function 1 - Scroll Up
    fnF2             = 143              # Function 2 - Scroll Down
    fnF3             = 188              # Function 3 - Cut
    fnF4             = 192              # Function 4 - Paste
    fnF5             = 248              # Function 5 - Copy
    fnF6             = 159              # Function 6 - Switch to Desktop 1
    fnF7             = 151              # Function 7 - Switch to Desktop 2
    fnF8             = 171              # Function 8 - Switch to Desktop 3
    fnF9             = 138              # Function 9 - Redo
    fnF10            = 135              # Function 10 - Undo
  [END KEYS]
[END CCYMASTLIN3]

lineakd

Der Daemon lineakd muss in der grafischen Oberfläche gestartet werden.

Nützliche Tools

Keycodes herausfinden:

  • xmodmap -pke
  • xev

Einschränkungen

  • Zusatz-K-Taste (links neben der Tux-Taste) erzeugt keinen Keycode (Stand Kernel 2.6.16).

Weblinks