Script Working in Generic Linux Programs, Not in Wine/Word97

Questions about Wine on Linux
Post Reply
jakfish
Level 2
Level 2
Posts: 13
Joined: Fri Jan 18, 2013 7:27 am

Script Working in Generic Linux Programs, Not in Wine/Word97

Post by jakfish »

One of my favorite writing tools is gaiksaurus, and I'm using it with Word 97 in both Manjaro and Linux Mint. I have a very modest script that copies the word, sends it to gaiksaurus, and opens a resized gaiksaurus with the word's synonyms:

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
I'm running Wine 9.0 and in previous Wine versions, this script worked with Word 97.

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.
User avatar
morgwai
Level 2
Level 2
Posts: 14
Joined: Sun Jan 26, 2025 7:10 am

Re: Script Working in Generic Linux Programs, Not in Wine/Word97

Post by morgwai »

seems like a regression worth a bug report. Have you tried Wine-10.0 maybe? (or maybe even the newest devel version 10.7?)
jakfish
Level 2
Level 2
Posts: 13
Joined: Fri Jan 18, 2013 7:27 am

Re: Script Working in Generic Linux Programs, Not in Wine/Word97

Post by jakfish »

Could be, though I can't find other complaints. I'm willing to believe it's something on my end, yet the script works outside of Wine.
Post Reply