I've installed elementary OS 0.4 Loki (64-bit) on my desktop PC and I'm using an Apple Magic Keyboard via USB and/or Bluetooth.
Everything works fine but I can't use the fn
key to get to input things like forward delete and so on...
The keyboard works with no problems via Bluetooth or USB on my MacBook air.
I've been searching on google and this stackexchange page but I can only find people complaining about pairing via Bluetooth and all the links point to this doc page: https://help.ubuntu.com/community/AppleKeyboard None of the solutions there seem to work.
As mike-wild suggested, I tried using xev
No matter if I press Backspace or fn
+ Backspace
the output is the same:
KeyRelease event, serial 37, synthetic NO, window 0x2c00001, root 0xf4, subw 0x0, time 138447, (270,71), root:(1194,356), state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES, XLookupString gives 1 bytes: (08) " XFilterEvent returns: False –
I'm now wondering, do I need any specific driver? How come Macbooks + elementary have the fn
key working but mine doesn't?
Settings
>Keyboard
>Layout
)? You will probably want to set this to something like English (Macintosh). Open up a terminal and typexev
, this will bring up a window where you can test keyboard input and see the corresponding keycodes printed in the terminal. PressBackspace
andfn
+Backspace
then compare the output. Post it here if possible. – Mike Wild Jan 30 '17 at 23:40Backspace
orfn
+Backspace
the output is the same: KeyRelease event, serial 37, synthetic NO, window 0x2c00001, root 0xf4, subw 0x0, time 138447, (270,71), root:(1194,356), state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES, XLookupString gives 1 bytes: (08) " XFilterEvent returns: False – CoppolaEmilio Jan 31 '17 at 2:03fn
key being pressed, however the keycode changes to 'Delete'. I thought that thefn
keypress doesn't actually make it to the OS, rather it's the keyboard sendingDelete
instead ofBackspace
. Have you verified that thefn
key works when connected to another machine? – Mike Wild Jan 31 '17 at 10:29