Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2012 10:40:45 -0700
From:      Devin Teske <devin.teske@fisglobal.com>
To:        Da Rock <freebsd-questions@herveybayaustralia.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Intercepting X11 events
Message-ID:  <D6B657FA-B999-4C4A-993D-BEA600815F41@fisglobal.com>
In-Reply-To: <60E5D4BF-EEFA-4F10-82F4-0DF81F18CF58@fisglobal.com>
References:  <4F6F3411.40200@herveybayaustralia.com.au> <60E5D4BF-EEFA-4F10-82F4-0DF81F18CF58@fisglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 25, 2012, at 10:26 AM, Devin Teske wrote:

>=20
> On Mar 25, 2012, at 8:04 AM, Da Rock wrote:
>=20
>> I'm not 100% sure where else to ask this. I have an annoying window that=
 disappears when I click close (ha ha, yes I know it will usually do that, =
but this one doesn't go away) but it is unable to cooperate with the system=
 tray so it simply becomes "invisible", and hangs about in the background.
>>=20
>> In my investigationings I had a brainwave that since I cannot change the=
 program (not without enormous effort) in the short term, maybe I can find =
a way to terminate the program and manage it externally with a script.
>>=20
>> So I'm looking to find a wrapper, or a script that can intercept the clo=
se event and kill the process (can't find a better way to handle it). Any i=
deas?
>>=20
>=20
> I think you want "x11/xnee" from the ports tree.
>=20
> http://www.freshports.org/x11/xnee/
>=20
> (blurb) =85 Xnee receives X11 protocol data (e.g. XEvents) from an X serv=
er and prints them to a file (or stout)=85
>=20
> I'd think you'd be able to watch for the particular Event you're interest=
ed in.
>=20
> Another think you may want to look into is=20

Sorry, had a whole list of "cool X11 ports" (like xpra, xmx, and xwatchwin)=
, but they didn't fit what you're looking for.

No, I think "x11/xnee" is what you're looking for.
--=20
Devin


>=20
> Full disclosure: Haven't used Xnee yet, but it has been on my radar as "s=
omething cool to look into" for awhile now.
> --=20
> Devin
>=20
>=20
>> The DE is lightweight (Icewm, LXDE, similar) so the tray is either non e=
xistent or incompatible; the app itself is (#%$&!) java. Yep, thats right -=
 it only speaks Gnome/KDE...
>>=20
>> Cheers
>>=20
>>=20
>> Afterword: And yes, it took me that long to figure out the Java systray =
problem and the lack of a solution in my googling.
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.=
org"
>=20
> _____________
> The information contained in this message is proprietary and/or confident=
ial. If you are not the intended recipient, please: (i) delete the message =
and all copies; (ii) do not disclose, distribute or use the message in any =
manner; and (iii) notify the sender immediately. In addition, please be awa=
re that any message addressed to our domain is subject to archiving and rev=
iew by persons other than the intended recipient. Thank you.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6B657FA-B999-4C4A-993D-BEA600815F41>