Skip to content

Instantly share code, notes, and snippets.

View filipebraida's full-sized avatar

Filipe Braida filipebraida

View GitHub Profile
@filipebraida
filipebraida / k780.md
Created September 6, 2019 13:56 — forked from andrejcremoznik/k780.md
Logitech K780 switch media and function keys on linux

Media/function keys on K780

K780 doesn't have a hard switch to lock the function keys. Logitech provides a utility to do this on Windows and iOS but not on Linux. You need to manually remap the keys.

Below works for Arch Linux, other systemd based distros should be about the same.

There's a problem with the F1-F3 keys as they're hardware specific and don't emit an event if pressed on their own and therefore can't be remapped. I might be wrong as I haven't spend any time on researching that.

Create file /usr/lib/udev/hwdb.d/95-k780.hwdb