How key alt+space

2,077 views
Skip to first unread message

porphyry5

unread,
Aug 25, 2011, 4:42:08 PM8/25/11
to xdotool-users
How do I send the combination: key alt+space?

I have tried key alt+ with space, Space, spacebar, Spacebar, and .
Also
xdotool keydown alt type ' '
xdotool keyup alt

In /usr/X11R6/include/X11/keysymdef.h I found the line

#define XK_space 0x0020 /* U+0020 SPACE */

The # made me dubious, and sure enough none of key alt+ with XK_space,
0x0020, U+0020 had any effect either. So I removed the #, restarted X
and tried the last 3 again. And again, nothing.

So how is it done?

Jordan Sissel

unread,
Aug 26, 2011, 12:38:32 AM8/26/11
to gl0...@gmail.com, xdotool-users
On Thu, Aug 25, 2011 at 1:42 PM, porphyry5 <gl0...@gmail.com> wrote:
How do I send the combination:  key alt+space?

I have tried key alt+ with space, Space, spacebar, Spacebar, and  .
Also
xdotool keydown alt type ' '
xdotool keyup alt

This works for me:

xdotool key alt+space 

-Jordan

Reply all
Reply to author
Forward
0 new messages