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

  • d3Xt3r@lemmy.nz
    link
    fedilink
    arrow-up
    8
    ·
    6 months 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

  • lascapi@jlai.lu
    link
    fedilink
    arrow-up
    2
    ·
    5 months 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!

    • shadowintheday2@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      5 months 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

    • klangcola@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 months 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)