6svdwug0

joined 2 years ago
[โ€“] [email protected] 5 points 3 months 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 3 months ago* (last edited 3 months 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.