Talk:Xdotool

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 23:40, 19 January 2020 by Admin (Talk | contribs)

Jump to: navigation, search
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'