---
name: "gtk-shell"
section: "1"
platform: "linux"
package: "gtk-shell"
version: "1.23-8"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/gtk-shell"
---

# gtk-shell(1)

prompt for user input

## NAME

gtk-shell - prompt for user input

## SYNOPSIS

**gtk-shell** *\[options\]*

## DESCRIPTION

This manual page briefly documents the **gtk-shell** program. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.

**gtk-shell** is a GTK-based program which pops up a window and asks for user input.  It can be used in scripts or called from other programs.

## OPTIONS

The program uses short options, starting with one dash (\`-'), or long options starting with two dashes.

- **-h, --help**

  Show summary of options. (This is the default if no arguments are given.)

- **-v, --version**

  Show version of program.

- **-o, --output \<file\>**

  Set the output file, default is stdout.

- **-t, --title \<title\>**

  Set the window title.

- **-l, --label \<label\>**

  Show a label to the user.

- **-fs, --file-selection**

  Display a file selection box.

- **-s, --size \<x\> \<y\>**

  Set the size of the window.

- **-p, --position \<x\> \<y\>**

  Set the position of the window on the screen.

- **-q, --query**

  Display a query box.

- **-qv, --query-value \<value\>**

  Set a default value in a query box.

- **-eol, --append-eol**

  Appends an EOL char at output time.

- **-ec, --exit-code \<str\>**

  String to display if user presses Cancel.

- **-vf, --view-file \<file\>**

  View a file in a text box.

- **-ef, --edit-file \<file\>**

  Edit a file in a text box.

- **-b, --button \<str\>**

  Add a button to quit.

- **-c, --choice \<c1\> \<c2\> ...**

  Display a choice box with the specified choices.

## SEE ALSO

[gxedit(1)](/gxedit/1.md)

## AUTHOR

This manual page was written by Chris Waters \<xtifr@debian.org\>, for the Debian GNU/Linux system (but may be used by others).
