Settings in Regional & Language -> Keyboad Layout
=================================================
LAYOUT:
setxkbmap -model macbook78 -layout de
XKB OPTIONS:
setxkbmap -option altwin:swap_lalt_lwin,compose:rwin,ctrl:nocaps,grp_led:caps,apple:badmap,eurosign:e
setxkbmap -option apple:badmap
Function keys reversal:
================
apt-get install pommed
To inverse this behaviour, change
fnmode = 1 to fnmode = 2
by editing /etc/pommed.conf
Also to do:
apt-get remove mouseemu
To enable the Trackpad’s following special functions:
======================================
Moving two fingers vertically IconsPage/arrow.png scrolling up/down
Moving two fingers horizontally IconsPage/arrow.png scrolling left/right
Two fingers on the pad + touchpad click IconsPage/arrow.png right click
Three fingers on the pad + touchpad click IconsPage/arrow.png middle click
Create the file:
/etc/hal/fdi/policy/appletouch.fdi
and copy & paste the following content into it:
—————————————————————————————————————–
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="input.x11_driver" string="synaptics">
<merge key="input.x11_options.SendCoreEvents" type="string">true</merge>
<merge key="input.x11_options.Device" type="string">/dev/psaux</merge>
<merge key="input.x11_options.Protocol" type="string">auto-dev</merge>
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
<merge key="input.x11_options.LeftEdge" type="string">10</merge>
<merge key="input.x11_options.RightEdge" type="string">1200</merge>
<merge key="input.x11_options.TopEdge" type="string">10</merge>
<merge key="input.x11_options.BottomEdge" type="string">370</merge>
<merge key="input.x11_options.FingerLow" type="string">10</merge>
<merge key="input.x11_options.FingerHigh" type="string">20</merge>
<merge key="input.x11_options.MaxTapTime" type="string">180</merge>
<merge key="input.x11_options.MaxTapMove" type="string">220</merge>
<merge key="input.x11_options.SingleTapTimeout" type="string">100</merge>
<merge key="input.x11_options.MaxDoubleTapTime" type="string">180</merge>
<merge key="input.x11_options.LockedDrags" type="string">off</merge>
<merge key="input.x11_options.MinSpeed" type="string">1.10</merge>
<merge key="input.x11_options.MaxSpeed" type="string">1.30</merge>
<merge key="input.x11_options.AccelFactor" type="string">0.08</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">3</merge>
<merge key="input.x11_options.TapButton3" type="string">2</merge>
<merge key="input.x11_options.RTCornerButton" type="string">0</merge>
<merge key="input.x11_options.RBCornerButton" type="string">0</merge>
<merge key="input.x11_options.LTCornerButton" type="string">0</merge>
<merge key="input.x11_options.LBCornerButton" type="string">0</merge>
<merge key="input.x11_options.VertScrollDelta" type="string">20</merge>
<merge key="input.x11_options.HorizScrollDelta" type="string">50</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">0</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">0</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
</match>
</device>
</deviceinfo>
Reboot, and off you go…
EXTRA Configs:
If you want to change related settings, just add new lines which have the same format. For example:
Option "HorizScrollDelta" "10"
in xorg.conf would convert to
<merge key="input.x11_options.HorizScrollDelta" type="string">10</merge>
in the .fdi. file
(Essentially we’ve just “ported” the xorg.conf changes we know from previous Ubuntu versions to the new .fdi
file based HAL configuration of input devices. For more background information on this,
check out X/Config on this wiki)