Print Screen on Logitech MX Keys S keyboard

So for some reason with my keyboard, print screen is actually bound to meta+shift+s. All other keys work fine, like brightness buttons, volume, lock, etc.

Been working on trying to fix this for ages, but for the life of me I cannot figure it out. This is a summery of things I have tried.

System

  • Fedora KDE Plasma (Wayland)
  • Logitech MX Keys S with Bolt receiver
  • Spectacle

Problem

Print Screen does not behave normally.

Things already tried without success

KDE / Plasma

  • Removed all screenshot shortcuts.
  • Recreated screenshot shortcuts manually.
  • Deleted:
~/.config/kglobalshortcutsrc
~/.config/kwinrc
  • Rebooted.
  • Cleared Plasma caches.
  • Restarted Plasma and kglobalaccel.

Spectacle

  • Removed and recreated Spectacle shortcuts.
  • Tried different screenshot actions and bindings.

System shortcuts

  • Searched for conflicting shortcuts.
  • Removed all screenshot-related shortcuts and recreated them.

Keyboard settings

  • Checked keyboard model (Generic 104-key PC / pc105).
  • Ran:
setxkbmap -print -verbose 10
  • Ran:
setxkbmap us

Input testing

Ran:

xev

Pressing Print Screen produced:

  • Super_L
  • Shift_L
  • S

instead of Print Screen.

Ran:

sudo libinput debug-events

Pressing Print Screen produced:

KEY_LEFTMETA (125) pressed
*** (-1) pressed
*** (-1) pressed
*** (-1) released
*** (-1) released
KEY_LEFTMETA (125) released

No normal Print Screen / KEY_SYSRQ event was seen.

Solaar

  • Installed Solaar.
  • Changed “Set OS” mode.
  • Removing Solaar did not change the behavior.

I don’t have this hardware and I’m going by a 3-year old Reddit thread. But from that thread, it seems like this is the standard behaviour for MX Keys boards.

The thread suggests that there is an app with which you can change the keyboard to emit “real” PrtSc instead of Meta+Shift+S. But it seems to be Windows / macOS only and I’m not sure if anyone has a Linux solution for it.

Edit: here’s another Reddit thread where someone seems to have made it work using the “Rule Editor” in Solaar.

The solution in “another Reddit thread” worked with 1 little tweak. Thank you so much :slight_smile:

Please show us the “little tweak” you used so others who find a similar problem may know the solution.

Specify “Screenshot” as the key, keeping “Key down” selected.

For some people it’s “Screenshot”, others with my keyboard it was “Snipping Tool”. For me, it was “Screen Capture”. That’s it.

I assume it is distro based.