bash - How to make kate copy (ctrl+c) with xdotool -
i trying make kate editor copy current line or current selection clipboard using xdotool. using xdotool move cursor , delete , other actions not copy. copy shortcut (ctrl+c) works if press in kate not when call xdotool.
here code. surprisingly, result of info
empty after @ end.
dummyclip="dummy!!!" echo -n $dummyclip | xclip -selection clipboard xdotool search --name kate key ctrl+c info=$(xclip -o -selection clipboard)
i have struggled lot. highly appreciated.
Comments
Post a Comment