jergusg/k380-function-keys-conf logo

jergusg/k380-function-keys-conf

Free

Make function keys default on Logitech k380 bluetooth keyboard

FreeFree tier
Type
Open Source

About jergusg/k380-function-keys-conf

jergusg/k380-function-keys-conf is an open-source command-line utility for Linux that configures the Logitech K380 Bluetooth keyboard to use function keys (F1–F12) as the default action instead of media keys. It provides a simple installation process via make, automatic detection of the keyboard's HID interface, and an option to automatically switch to function key mode upon reconnection. The project is written primarily in C and is released under the GPL-3.0 license.

Key Features

Switches Logitech K380 keyboard to function key (F1-F12) mode by default
Automatic reconnection switching via systemd or udev rule
Simple command-line installation with make and shell scripts
Supports detection of keyboard's hidraw interface
Based on proven K810 and K480 configuration tools

Pros & Cons

Pros
  • Free and open source (GPL-3.0)
  • Works on major Linux distributions (Debian, Ubuntu, Arch, Fedora)
  • Automates setting after reconnection with make reload
  • Lightweight and simple to use
Cons
  • Requires command-line knowledge and sudo privileges
  • Only supports Logitech K380 keyboard
  • Last release was April 2020; may not be actively maintained
  • Needs separate package installation (build-essential) before use

Best For

Users who prefer function keys over media keys on Logitech K380Linux users needing persistent function key mode after Bluetooth reconnectionDevelopers or power users who rely on F-keys for shortcutsCustomizing Logitech K380 keyboard behavior on Linux desktops

FAQ

How do I install k380-function-keys-conf?
Install build-essential (or equivalent), download the source code from GitHub Releases, run 'make install', then use 'sudo ./fn_on.sh' to get the keyboard's hidraw interface number, and finally run 'sudo k380_conf -d /dev/hidrawX -f on' to enable function keys.
Does it automatically switch to function keys when I reconnect the keyboard?
Yes. After running 'sudo make reload', the keyboard will automatically be switched to function key mode when reconnected via Bluetooth.
Which Logitech keyboards are supported?
This tool is specifically designed for the Logitech K380 Bluetooth keyboard. It is based on similar projects for K810 and K480 keyboards.
What license is this project under?
It is released under the GPL-3.0 license.