Code: Select all
#!/bin/sh
sleep 1
xte 'key Control_L' 'keydown c' 'keyup Control_L' 'keyup c'
if [ ! $1 ];then
#MYWORD=`xsel -o`
MYWORD=`xclip -o`
#MYWORD=`clipit -c`
#xclip -selection clipboard -o
else
MYWORD=$@
fi
#gaiksaurus $MYWORD &
gaiksaurus $MYWORD &
sleep 1
xdotool windowsize $(xdotool search --name "AiksaurusGTK") 1000 600
At present, xclip, clipit, etc fail to copy the word to gaiksaurus, resulting in gaiksaurus merely opening, with a properly resized window--so most of the commands are working.
This script works in its entirety in linux native LibreWriter.
Any reason why it's not working in Wine, any handle to jiggle?
Much obliged for any insight.