Name

rdsinglestart — Start an X11 client program so as to ensure that only a single instance is run

Synopsis

rdsinglestart {cmd-name} [cmd-opt1] [..]

Description

rdsinglestart(1) is used to start an X11 client program so as to ensure that only a single instance is run. When invoked, rdsinglestart(1) 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 rdsinglestart(1) will exit. If no matching windows are found, rdsinglestart(1) will attempt to start cmd-name, using any added options specified, following which it will exit.

Notes

rdsinglestart(1) uses wmctrl(1) 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

wmctrl(1)