After installing Debian Linux onto my MacBook in a virtual machine I realised that the UK keyboard on Macs makes editing code on a Linux console really awkward. The main issue is that the # sign isn't available on any key, which stops you adding comments to script files. I modified the default mac UK keymap so that I would be able to get both # and €. The file is called mac-usb-uk.kmap.gz and lives at /usr/share/keymaps/i386/qwerty/ on Debian though it might be somewhere else on different versions of Linux. You can download a copy from here. After placing this file in the correct location you need to make Linux use it. The method will be different on each platform but for Debian I used kbd-config and navigated to the Apple USB keyboard variant.

contact us
  • Name
  • Email
  • Message

Note: This information will only be used to reply to your feedback. We respect your privacy and will never abuse your email address or other personal information.

bottom corner