6svdwug0

joined 1 year ago
[โ€“] [email protected] 4 points 1 week ago

xdotool type --help

--file - specify a file, the contents of which will be be typed as if passed as an argument. The filepath may also be '-' to read from stdin.

[โ€“] [email protected] 30 points 1 week ago* (last edited 1 week ago) (2 children)
xclip -o -selection clipboard | xdotool keyup Super_L type --delay 100 --clearmodifiers --file -

I use the code above with Win + T in KDE shortcuts to type the content from the clipboard.