How can I press the start key with xdotool?

By start key, I mean the key with the Windows icon.


These keys are the "Super" modifiers.

You can emit an event for the left-hand one with

xdotool key Super_L

(use Super_R for the right-hand one)

To maximize the current terminal on Ubuntu with Unity, run

xdotool key "Ctrl+Super_L+Up" > /dev/null 
| improve this answer | |
  • I use tilda instead of gnome -terminal – user123456 Oct 5 '16 at 10:41
  • That command example obviously depends on what window manager you're using and how it's configured... – Toby Speight Oct 7 '16 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.