1

My laptop is woefully missing the Menu key, but I have some extra buttons on my mouse so I hoped to map one of them to the missing Menu key - as explained in several answers on AskUbuntu, for example this one.

But unfortunately I couldn't figure out how to get xte to output the Menu key. I tried

"xte 'key Menu'"
  b:11

But that doesn't do anything.

I've read some examples that use SHIFT+F10 but that doesn't really solve my problem, mainly because some applications (I'm looking at you Dolphin) don't support mimicking the Menu key using SHIfT+10.

Any suggestions?

1 Answer 1

0

Try adding sleep command. For example, to map PrintScreen to MenuKey, put this in $XDG_CONFIG_HOME/sxhkd/sxhkdrc:

Print
    sleep 0.1 && xte "key Menu"
2
  • Thanks, but I've just permanently moved to Wayland a couple of months ago 😆 Also, the laptop I got in 2016 - and still use - does have a menu key... 🤷
    – Guss
    Oct 25, 2022 at 9:23
  • You know what.. I'm just going to accept it on faith ✌️😎👍
    – Guss
    Oct 25, 2022 at 9:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .