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.
Edit: about htat, see @tangruize comments below https://gist.github.com/andrejcremoznik/e56234138305226abd41fe4d1d2561a3#gistcomment-3390489
# Logitech K780 map:
# Fn + F4/F5/F6 ==> F4/F5/F6
evdev:input:b0003v046Dp405B*
KEYBOARD_KEY_c0223=f4
KEYBOARD_KEY_70065=f5
KEYBOARD_KEY_c0224=f6
sudo systemd-hwdb update
sudo udevadm trigger
Make sure the ConditionNeedsUpdate=/etc
is commented out in /usr/lib/systemd/system/systemd-hwdb-update.service
. If it isn't create an override:
sudo systemctl edit --full systemd-hwdb-update.service
Comment out:
#ConditionNeedsUpdate=/etc
This creates a replacement systemd unit file in /etc/systemd/system/systemd-hwdb-update.service
. If some update breaks anything related to this, remove it and recreate with systemctl edit
like before.
Here's hoping @BlueVette or someone out there can help a frustrated noob out. I am trying to change my Fkeys on my K780 which I have connected via bluetooth on ArchLinux.
Following the above instructions isn't working for me. I have a feeling that i have the evdev:input address incorrect.
When I run
evemu-describe
I get:Input device ID: bus 0x03 vendor 0x46d product 0x405b version 0x111
Which I am decoding to be: evdev:input:b003v046Dp0405Be0111*
I am then putting this in my /etc/udev/hwdb.d/95-k780.hwdb file and rebuild as @andrejcremoznik describes in his OG post but there is no change to the function of my keyboard.
I have also tried: evdev:input:b0005v046Dp405Be0111* to match @BlueVette BusID, no joy either.
I have also tried: evdev:input:b0003v046Dp405Be0111* for S's and G's...
What am I not seeing or missing?
Thanks in advance.
~Webster