Map Fn Key as Ctrl on a Late 2007 MacBook 3,1 running latest Linux Mint

0

I have a Late 2007 MacBook 3,1 and on those computers the Fn key is at the leftmost position. It is extremely annoying when using shortcuts. I can't even get used to it because I work with other computers as well.

It runs Linux Mint 19.1 Tessa.

xev finds no event for the Fn key but evtest returns :

Event: time 1564351034.631624, type 1 (EV_KEY), code 464 (KEY_FN), value 0

Can I swap Fn and Ctrl ? How do I do ?

cassepipe

Posted 2019-07-25T10:33:17.093

Reputation: 23

1Macs don't use the EFI like that. Also, Fn is mapped before it even leaves the keyboard. It doesn't generate any key code of its own. – Tetsujin – 2019-07-25T10:42:48.920

@Tetsujin Do you mean it's impossible ? – cassepipe – 2019-07-26T16:58:14.223

afaik, correct, can't be done. Someone may know better, so don't give up hope, though ;) – Tetsujin – 2019-07-26T17:14:06.473

Answers

0

Have a look at Karabiner-Elements. It has a lot of options to modify you keyboard, and swapping Fn and Ctrl is one of them.

I am using it on my MacBook.

For details see the documentation.

AFAIK, you can use neither EFI nor BIOS to do such remapping, not on a MacBook, and not on a PC-style laptop, either.

dirkt

Posted 2019-07-25T10:33:17.093

Reputation: 11 627

Unfortunately, it's a old MacBook and I run Linux Mint 19.1 on it. (And it works fine) – cassepipe – 2019-07-28T16:37:26.210

Please edit your question and mention that you are running Linux Mint on it, this is important information and changes the whole question drastically. Because now the important point is how Linux receives the Fn key event. So run evtest, figure out the right device for your keyboard, and edit the question with the result of pressing the Fn key. If nothing appears, the Fn key is likely handled via the EC, which will make things really difficult. – dirkt – 2019-07-28T19:46:57.783