/keychron-k6-linux

Some fixes to get the most out of your K6

Keychron K6 Linux Fixes

Recopilation of small fixes to really enjoy this cool little keyboard. Most of this is found from the Keyhcron Linux user group on facebook.

How to enable Fn Keys

Out of the box, both the fn1 and fn2 modifiers only change to multimedia keys. Heres the fix:

  • Set your keyboard to Windios/Android mode

  • Set the options for the kernel module

      echo "s hid_apple fnmode=2" > /etc/modprobe.d/hid_apple.conf
      sudo update-initramfs -u
      reboot
    

Fast bluetooth reconnect

Edit /etc/bluetooth/main.conf, uncomment the FastConnectable line and set it to true: FastConnectable = false

Missing special/latin characters

I write some latin charcaters, such as ñ, á, etc. In order to get those working, what you need is enable and choose the "Compose Key", In Gnome is under the "keyboard and input" section in the "tweaks" application.

You can see available key combinations here: https://help.ubuntu.com/community/GtkComposeTable

The complete list of available key combinations is in your /usr/share/X11/locale/en_US.UTF-8/Compose file.

Then, you can edit your own ~/.XCompose file and create your custom associations:

    # import the default Compose file for your locale
    include "%L"

    # Keychron K6 Fixes
    <Multi_key> <backslash> <backslash> : "`"
    <Multi_key> <n> <n> : "ñ"
    <Multi_key> <N> <N> : "Ñ"
    <Multi_key> <a> <a> : "á"
    <Multi_key> <A> <A> : "Á"
    <Multi_key> <e> <e> : "é"
    <Multi_key> <E> <E> : "É"
    <Multi_key> <i> <i> : "í"
    <Multi_key> <I> <I> : "Í"
    <Multi_key> <o> <o> : "ó"
    <Multi_key> <O> <O> : "Ó"
    <Multi_key> <u> <u> : "ú"
    <Multi_key> <U> <U> : "Ú"

You can find the key names that go between the <> characters using the xev tool.