rdsinglestart
1
December 2022
Linux Audio Manual
rdsinglestart
Start an X11 client program so as to ensure that only a
single instance is run
Fred
Gleason
fredg@paravelsystems.com
Application Author
rdsinglestart
cmd-name
cmd-opt1
..
Description
rdsinglestart1 is used to start
an X11 client program so as to ensure that only a single instance is run.
When invoked, rdsinglestart1
will first look for existing windows whose title begins with the
string specified in cmd-name (case-insensitive).
If found, such windows will be raised, following which
rdsinglestart1 will exit.
If no matching windows are found,
rdsinglestart1
will attempt to start cmd-name, using any
added options specified, following which it will exit.
Notes
rdsinglestart1 uses
wmctrl1 to query and interact
with the X11 windowing system. As such, it will work only with X11
client programs. Attempts to use it with non-X11 programs will have
undefined results.
See Also
wmctrl1