XTE(1)
β¨ XTE(1) β¨
okay bestie, welcome to the xte page in the General Commands Manual π
this is your one-stop girlie for making the computer think you touched it when you literally did not π«Ά
πΈ NAME πΈ
xte β generates fake input using the XTest extension β¨
like... it presses keys. it clicks mice. it does it FOR you. no cap.
π¦ SYNOPSIS π¦
xte [options] commands...
that's it. that's the whole vibe. options, then a whole little list of commands, and she goes π
π DESCRIPTION π
so xte is a program that generates fake input using the XTest extension, and ngl it's more reliable than xse π she just... works. iconic behaviour fr fr.
π OPTIONS π
a summary of options is included below, as promised π
-iid β the XInput 2.x device you wanna use, bestie. list your devices withxinput listto find out who's who π΅οΈββοΈ-xdisplay β send commands to a remote X server π heads up though: some commands may not work correctly unless the display is on the console, like... the display is currently controlled by the keyboard and mouse and not in the background. this seems to be a limitation of the XTest extension π not us, it's her.--help,-hβ show summary of options π« short king of a flag, we love her
π COMMANDS π
this is the main character section, periodt π
keyk β press and release key k πΉkeydownk β press key k down β¬οΈkeyupk β release key k β¬οΈstrstring β do a bunch of key X events for each char in string βοΈmouseclicki β click mouse button i π±οΈmousemovex y β move mouse to screen position x, y πmousermovex y β move mouse relative from current location by x, y πΈmousedowni β press mouse button i down π½mouseupi β release mouse button i πΌsleepx β sleep x seconds π΄usleepx β usleep x microseconds π΄π΄ (tiny nap energy)
π SOME USEFUL KEYS π
these keys are case sensitive, so pls do not get cute with the capitalisation bestie, she will not forgive you π
Home
Left
Up
Right
Down
Page_Up
Page_Down
End
Return
BackSpace
Tab
Escape
Delete
Shift_L
Shift_R
Control_L
Control_R
Meta_L
Meta_R
Alt_L
Alt_R
Multi_key
Super_L
Super_R
depending on your keyboard layout, the "Windows" key may be one of the Super_ keys or the Meta_ keys πͺβ¨ iykyk.
π§ SEE ALSO π§
pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1) π
the whole friend group, honestly π«Ά
β AUTHOR β
xte was written by Steve Slaven <bpk@hoopajoo.net> π
π LIMITATIONS π
ok so listen. the str command doesn't support Unicode characters with more than two bytes π further, character composing sequences to generate special characters are limited to Multi_key plus two characters. and the set of supported characters depends on the current keyboard layout πΉ so like... she's doing her best, but she is not a full Unicode queen, no cap.
fr fr that's the whole page. go forth and fake some input responsibly π
that's a wrap, babe π this page is from the General Commands Manual, dated October 3, 2012 β mwah, love u, bye π¦
π¦ where this page comes from
- debian bookworm: xautomation 1.09-4 Β· GPL-2.0-or-later
- debian trixie: xautomation 1.09-4+b1 Β· GPL-2.0-or-later
- ubuntu jammy: xautomation 1.09-4 Β· GPL-2.0-or-later
- ubuntu noble: xautomation 1.09-4build2 Β· GPL-2.0-or-later
- ubuntu questing: xautomation 1.09-4build2
- ubuntu resolute: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- ubuntu stonking: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms