0

I installed Ubuntu 16.04 on my Macbook Pro yesterday and today I noticed that the key right below ESC isn't correct. Where it should produce ` and ~ (which it does under OS X), it produces < and >. I haven't tested the whole keyboard, so I don't know if there are others. Is there a way to fix that without reinstalling Ubuntu?

RadlyEel
  • 211

2 Answers2

0

On Ubuntu 16.04 with a Mac keyboard you should be able to get a tilde symbol by pressing Right Alt + ] key.

waltinator
  • 37,856
masitko
  • 171
0

Here's the fix that worked for my MacBookPro 12,1 (Retina) on Xubuntu 16.04 LTS "xenial" running kernel 4.8.0-51 generic

Back up before editing:

nano /usr/share/X11/xkb/symbols/pc

Comment out

key <LSGT> {    [ less, greater, bar, brokenbar ] };

and add

key <LSGT> { [ grave, asciitilde, grave, asciitilde ] };

Apply the change

rm -rf /var/lib/xkb/*

Logout/login.

Thanks to Timofey (source here)