Giter VIP home page Giter VIP logo

applekbdtolinux's Introduction

Remapping Apple Keyboard for use with Linux

Rationale

I am using a Qwerty wired aluminum Apple Keyboard with Numeric Keypad on a Linux machine.

Leftmost button on second row.

The leftmost button on row 2 is engraved with '§' and '±' as shifted value.

But the keyboard generates '<' and '>'.

My personal favorite mapping is '§' and '€' for that key.

Function keys

The function keys are only available when pressed together with the 'fn' key. Without this modifier, they are assigned to the engraved functionality such as 'XF86AudioLowerVolume' and 'XF86AudioRaiseVolume'.

I like to switch this. I want the function keys to be available without the fn modifier and I also want to use F13 till F19.

Caps Lock

I do not want 'Caps Lock' so I change it into an extra 'Escape' key.

Numeric keypad

I don't want the 'Num_Lock' key, so I turn it into an 'F20' key. Tne 0-9 keys should always be numbers, none of the KP_ stuff.

Usage

The .xmodmaprc file in this repo performs this remapping for me.

This file must be read by xmodmap at the startup of the session:

xmodmap path_to_this/.xmodmaprc

Caveat

My settings are listed and described for informational purposes. You may want different settings. Feel free to adapt the .xmodmaprc file to suit your wishes.

Reference

Some links that I found helpful when preparing this .xmodmaprc:

applekbdtolinux's People

Contributors

guivho avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.