XStartButton

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).

Usage

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

Screenshot

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

Download

Source code of xstartbutton.

Links

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.