Talk:Xdotool
From Free Knowledge Base- The DUCK Project: information for everyone
xmodmap -pme
read this
The name of the button can be found this way: run xev, then press the button and the name shows up in the brackets. In my case it was this: keycode 135 (keysym 0xff67, Menu), here Menu is the name of the key.
Then I could run xdotool Menu. However to make it work with a custom shortcut I had to add sleep before it, so I ended up with this code:
sleep 0.5 && xdotool key 'Menu' sleep 0.01 && xdotool key 's' sleep 0.01 && xdotool key 'e'