[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Script advice
From:       Graham Bentley <admin () cpcnw ! co ! uk>
Date:       2024-03-04 7:50:09
Message-ID: b21ccb63-aaf3-0c6b-288b-f6e7acfb4bfc () cpcnw ! co ! uk
[Download RAW message or body]

Hi list!

Sorry if this is the wrong place for this kind of mailing. Please let me 
know if so I will redirect elsewhere.


Would welcome hints and tips on following - I have script that grabs the 
WindowID and send it vdesk. It's activated from my windwos ops list in twm.


--
winid=$(xdotool click 1 | xwininfo | grep -oP '(?<=id:).*?(?=")');
vdesk 1 $winid
--

Over on Arch it works a treat. On OpenBSD only some apps work?

(xcalc, xmag,xclipboard,xv,xfig,xpaint)


but other client's windows don't. I have added a line in my script to 
output winid to a log file which remains empty when it doesn't work yet 
has the right winid when it does.

Using xwininfo manually works on all windows.

How would I figure out what's happening?

Tia!


-- 
Graham Bentley
Custom PC North West
Web: www.cpcnw.co.uk
Mobile: +44 07970 040237
Office: +44 01704 778241
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic