Ubuntu – How to make the function keys the default on a Logitech K760 Bluetooh keyboard

bluetoothkeyboardlogitech

I had hoped that solaar would help, but it seems to only work for the Logitech wireless devices that use Logitech's proprietary scheme. I have Bluetooth keyboard (K760). I know it can be told to use the function keys (rather than the media keys) by default because I can do it on under OS X with software from Logitech. Just remapping the keys won't work as F1, F2, and F3 are special in that they switch which Bluetooth device I connect to and the keys are not sent to the OS.

Best Answer

Hi I have the k760 keyboard an im also trying to find a way to do this. This seems to be a good place to start http://www.spinics.net/lists/linux-input/msg24280.html

He has managed to get it working for k810. if you can get the setpoint codes for the k760 you should be able to modify this code to make it work for k760 that is asuming that they are similar.

Update: I got it working !!! used the same procedure as describedd in the link.

#define HID_VENDOR_ID_LOGITECH          (__u32)0x046d
#define HID_DEVICE_ID_K810              (__s16)0xb316

const char k810_seq_fkeys_on[]  = {0x10, 0xff, 0x05, 0x14, 0x00, 0x00, 0x00};
const char k810_seq_fkeys_off[] = {0x10, 0xff, 0x05, 0x14, 0x01, 0x00, 0x00};