How to emulate Fn (function key) keypress in xte

Posted by komputes on Ask Ubuntu See other posts from Ask Ubuntu or by komputes
Published on 2012-02-13T19:11:39Z Indexed on 2012/11/26 17:27 UTC
Read the original article Hit count: 314

Filed under:
|
|
|

xte is part of the xautomation package. After hours of man page reading and looking for documentation or working examples, I still cannot get xte to emulate a Fn-F7 keypress.

xte 'keydown Meta_L' 'key F7' 'keyup Meta_L'

I've tried Meta_L, Meta_R, Multi_key, key F7, keydown F7 then keyup F7. No combination seems to work.

Any idea how I can emulate a combination key press with a Fn key from a command/script?

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about xorg