Linux on MacBook

From DiLab
Revision as of 22:13, 28 October 2017 by Leo (talk | contribs) (Remapping the Alt_R to Delete)
Jump to: navigation, search

Installation of Ubuntu/Linux on MacBook is straightforward nowadays. However, there are a few small things that may need to be improved.


Keyboard

Remapping the Alt_R to Delete

This can be done either with xmodmap or xkb manipulation.

xmodmap

Edit the ~/.Xmodmap file:

Then run this to test

xmodmap ~/.Xmodmap

Add the same command to the Startup Aplications.

Note, this may not survive wakeup from Sleep.

xkb

TBA.

Reversing the Fn key

For example, to make F10 act as F10 instead of Mute, we need to reverse the Fn key, so that by default the F keys act as the F keys and with Fn+F* they do the extended functions.

Do this:

sudo bash -c "echo 2 > /sys/module/hid_apple/parameters/fnmode"