If gmrun is invoked with a command-line parameter, that will be the initial content of the dialog box.
gmrun can be customized using a configuration file, ~/.gmrunrc . The system-wide configuration file is
/etc/gmrunrc .
The format of the configuration file is simple; "variable = value".
Example:
variable1 = foobar
Terminal
The command to run when Ctrl+Enter is pressed with no command entered; used to start a new
terminal.
TermExec
The command to run when Ctrl+Enter is pressed with a command entered. The entered command is
supplied as an argument to TermExec.
Geometry
see /etc/gmrunrc for more info
History
Number of entered commands which should be kept in gmrun's history(~/.gmrun_history). Using the Up
and Down arrow keys within the gmrun window will cycle through the history. You can search
backwards through the history with Ctrl+R, and forward with Ctrl+S. Hit "!" to enter a special
search that matches only the start of strings. To cancel a search, hit the ESC key. Otherwise,
after you have found the history item you wish to run, hit Enter. Also: CTRL-P = Up / CTRL-N =
Down.
ShowLast
Whether to show the last command as initial text, or an empty textarea (1 or 0).
Selected
Whether the initial text should be selected or not (1 or 0).