WITH-LOCK-EX(1) | Chiark-utils-bin | WITH-LOCK-EX(1) |
xduplic-copier - type into multiple X windows at once
xduplic-copier
xduplic-copier lets you type into multiple X windows at once.
It has a very basic user interface for selecting which windows to type into.
xduplic-copier ignores its command-line arguments.
xduplic-copier puts up a small window with some text in it. It has two modes:
xduplic-copier does its work by generating synthetic events for the selected windows, using XSendEvent. Unfortunately the xterm authors think that allowing XSendEvent is a security problem; they are wrong: any untrusted person can already take over your xterms anyway. But the xterm authors have configured xterm to discard synthetic events by default.
You can solve this at runtime by bringing up the ctrl-leftbutton menu in each xterm, and ticking the option "Allow SendEvents". Or you can set the allowSendEvents in your xterm X resources.
Neither of these significantly reduce your security. Indeed, xterm itself allows these properties to be set via the X toolkit system's remote widget property setting arrangements - so it would be possible for xduplic-copier to set this property itself on any xterms it encountered. Unfortunately doing so would be a lot of tedious programming.
If one of the windows you have selected is closed, and you try typing, xduplic-copier will crash due to an unhandled X11 error. If you notice that you have got into this state, you cannot retain your set of selected windows because there is no way to click on the now-destroyed window to deselect it. You can keep xduplic-copier from crashing by right-clicking on the background in selecting mode, and then reselecting all your windows, which may be marginally more convenient than restarting it.
The UI is perhaps excessively sparse.
Ian Jackson <ijackson@chiark.greenend.org.uk> wrote xduplic-copier some time in 2002, and updated it in 2013. The manpage is from 2013.
xduplic-copier is govered by the GNU GPL, v3 or later.
July 2003 | Debian |