This program presents a button to start another application. It is implemented using the Athena Widget Set (should be included in your X Windows distribution).


The xstartbutton program starts the specified application when you click on the window.

-program PROGRAM is used to specify the application to start. This argument is mandatory.
-label LABEL can be used to specify the label of the button. If this option is omitted the specified PROGRAM is displayed.
-fn FONT can be used to select one of the X Windows fonts
-bg COLOR can be used to set the background color
-fg COLOR can be used to set the foreground color


XStartButton for XLock xstartbutton -program "xlock -remote" -label xlock -bg black -fg green


Source code of xstartbutton.


thinglaunch.c by Matt Johnston does something similar by opening a text entry box to type in the program you want to run.

back to my homepage.