Is it possible to bind a key (e.g. context/menu key) as right click in KDE plasma on wayland ?

  • @d3Xt3r
    link
    91 month ago

    You’ll need to bind a hotkey to a third-party tool such as ydotool.

    Eg using ydotool, the command would be ydotool click 0xC1

  • @[email protected]
    link
    fedilink
    21 month ago

    I use KDE plasma 6 with Wayland and the context/menu key work as a right click. 🤔

    Do you have any details to add!

    • @[email protected]OP
      link
      fedilink
      English
      2
      edit-2
      1 month ago

      I realized it works in most programs, however it doesn’t in xwayland

      And it’s precisely those xwayland programs (IntelliJ and Android Studio) that I would use this key most times

    • @[email protected]
      link
      fedilink
      1
      edit-2
      1 month ago

      Not Op, just want to chime in that sadly these days a lot of keyboards and laptops come without the context-menu button.

      There were even some Logitech keyboard that would use the “context menu” button to trigger a right-click (where the mouse cursor was) instead of opening the context menu (of the currently focused item)

      (Shift+F10 works as context-menu on some windows computers, but not all. Not sure if it comes down to Windows versions or different hardware)