User Tools

Site Tools


Sidebar

Software

Hardware

Railroad

Ham Radio

Knowledge

Music

Blog

About

blog:start

Apple Bluetooth keyboard with Lubuntu

I use a Thinkpad T430 for Ham Radio applications with the small Bluetooth Keyboard from Apple. The keyboard has a UK layout. That's no problem with Lubuntu, you only have to choose “Keyboard - English (UK) - English (UK, Macintosh)”.

This small keyboard has no “Delete” key, normally it is mapped to FN+Backspace. Because I don't need the “Eject” key for the CD/DVD drive, I remapped the “Eject” key to the “Delete” function.

Also the “Plusminus” and “Asciitilde” keys are swapped. The “Asciitilde” key is the short cut for $HOME, so I swapped this keys, too.

This is done automatically with a small shell script after logon. You need xmodmap and the right keycodes for that.

xmodmap -e "keycode 94 = grave asciitilde grave asciitilde dead_grave dead_horn"
xmodmap -e "keycode 49 = section plusminus section plusminus section plusminus"
xmodmap -e "keycode 169 = Delete"
blog/start.txt · Last modified: 2017/09/02 23:37 by Tom

Export this page