Logitech keyboard K260 - How to make full use of extra keys?

I have a Logitech K260 wireless keyboard which actually came with a M210 mouse as a wireless combo both connecting to a (non-unifying) Nano receiver.
The keyboard has this cool row of extra keys (in grey) at the top.
I’m trying to figure out if I can reprogram these keys to do exactly what I want, which some of them already do.
The Solaar application detects both the mouse and keyboard correctly, but I don’t understand how the rules in here actually address what the extra keys do.

Sorry about the mostly German interface, I don’t know how to change it to English.
Regel means rule (there are also “Unterregeln” = sub-rules), Bedingung means condition, Taste means key. Zusatztasten means extra keys, but these only give me Super, Shift, Alt and Ctrl.

I had the keyboard configured as “Generic 105 key” in Manjaro KDE settings until just now, and changed it to “Logitech cordless desktop”, hoping this is the correct one. Everything continues to work as normal after this change, but I can’t find additional options to address the extra keys’ behavior:

Currently, 2 of them do nothing: the mail envelope and the calculator.
The home button goes to the browser home page when the browser is open, and does nothing when it’s not.
I don’t know how keyboard drivers work, and there doesn’t seem to be a specific one for this model in the repos…
Any hints?

EDIT:
I tried adding the top two rules that you see here:


“Ausführen” means execute, so I was hoping for this to run any command I specifiy in the box below, there seems to be the option to add arguments.
So the mail envelope-key should launch Firefox, the calculator key should launch Kcalc.
I’m guessing that “Calculator” and “Mail” are the actual names of these two keys. However, their behavior hasn’t changed, they still do nothing.

  1. man xev for X11

  2. Possibly wev for wayland.

Maybe this will help:

The names of the keys, buttons, and actions are mostly taken from Logitech documentation and may not be completely obvious.

hmmm… :thinking: xev (it has no man page entry on my system) gives me this when pressing the keys:

KeyPress event, serial 40, synthetic NO, window 0x7600001,
    root 0x762, subw 0x0, time 16793811, (711,585), root:(711,614),
    state 0x0, keycode 180 (keysym 0x1008ff18, XF86HomePage), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x7600001,
    root 0x762, subw 0x0, time 16793949, (711,585), root:(711,614),
    state 0x0, keycode 180 (keysym 0x1008ff18, XF86HomePage), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 41, synthetic NO, window 0x7600001,
    root 0x762, subw 0x0, time 16805565, (711,585), root:(711,614),
    state 0x0, keycode 163 (keysym 0x1008ff19, XF86Mail), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x7600001,
    root 0x762, subw 0x0, time 16805723, (711,585), root:(711,614),
    state 0x0, keycode 163 (keysym 0x1008ff19, XF86Mail), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 41, synthetic NO, window 0x7600001,
    root 0x762, subw 0x0, time 16812811, (711,585), root:(711,614),
    state 0x0, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x7600001,
    root 0x762, subw 0x0, time 16812989, (711,585), root:(711,614),
    state 0x0, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 41, synthetic NO, window 0x7600001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 41, synthetic NO, window 0x7600001,
    atom 0x183 (_NET_WM_STATE), time 16862911, state PropertyNewValue

The most I can glean from this is the names of the keys:
XF86HomePage, XF86Mail and XF86Calculator
But how to make them do things?

I skimmed through this page. And I thought “great, there is Logitech documentation on this” - but I can’t find it. I wonder where they got it from!

You don’t have to use Solaar for that. Just try to use “keyboard shortcut” feature of your DE to assign actions to that keys.

PS. For KDE see
https://docs.kde.org/trunk5/en/plasma-desktop/kcontrol/keys/index.html#key-bindings-use-confkeys

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.