<page xmlns="http://projectmallard.org/1.0/" type="topic" id="pref-custom-exit"> <info> <revision pkgversion="3.8" date="2013-03-02" status="candidate"/> <revision pkgversion="3.12" date="2014-09-08" status="candidate"/> <link type="guide" xref="index#preferences"/> <link type="guide" xref="pref#profile"/> <!-- <link type="seealso" xref="prob-recover-default-profile"/>--> <credit type="author copyright"> <name>Sindhu S</name> <email>sindhus@live.in</email> <years>2013</years> </credit> <credit type="copyright editor"> <name>Ekaterina Gerasimova</name> <email>kittykat3756@gmail.com</email> <years>2013-2014</years> </credit> <credit type="copyright editor"> <name>Michael Hill</name> <email>mdhillca@gmail.com</email> <years>2013</years> </credit> <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/> <desc>Set the behavior of <app>Terminal</app> when a custom command or the default shell exits.</desc> </info> <title>Set behavior on command exit</title> <p>You can set the terminal to exit, restart or remain open when the shell or a custom command exits:</p> <steps> <item> <p>Open <guiseq><gui style="menu">Edit</gui> <gui style="menuitem">Preferences</gui></guiseq>.</p> </item> <item> <p>Your current profile is selected in the sidebar. If you wish to edit a different profile, click on its name.</p> </item> <item> <p>Select <gui style="tab">Command</gui>.</p> </item> <item> <p>From the <gui>When command exits</gui> drop down list, select one of the following options:</p> <list> <item> <p><gui>Exit the terminal</gui></p> </item> <item> <p><gui>Restart the command</gui></p> </item> <item> <p><gui>Hold the terminal open</gui></p> </item> </list> <p>The setting will be saved automatically when you select it.</p> </item> </steps> <note style="important"> <p>If you have <link xref="pref-custom-command">set a custom command</link> that is non-interactive, have set the exit behavior to <gui>Exit the terminal</gui>, and have set the profile to be the default profile, <app>Terminal</app> may exit before you can see the output of the command.</p> </note> </page>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
figures | Folder | 0755 |
|
|
adv-keyboard-shortcuts.page | File | 13.05 KB | 0644 |
|
app-colors.page | File | 5.3 KB | 0644 |
|
app-cursor.page | File | 2 KB | 0644 |
|
app-fonts.page | File | 3.91 KB | 0644 |
|
app-fullscreen.page | File | 2.07 KB | 0644 |
|
app-terminal-sizes.page | File | 2.93 KB | 0644 |
|
app-zoom.page | File | 1.62 KB | 0644 |
|
gs-execute-commands.page | File | 2.03 KB | 0644 |
|
gs-tabs.page | File | 5.37 KB | 0644 |
|
index.page | File | 1.67 KB | 0644 |
|
introduction.page | File | 1.42 KB | 0644 |
|
legal.xml | File | 998 B | 0644 |
|
overview.page | File | 3.97 KB | 0644 |
|
pref-bell.page | File | 1.64 KB | 0644 |
|
pref-custom-command.page | File | 2.74 KB | 0644 |
|
pref-custom-exit.page | File | 2.37 KB | 0644 |
|
pref-encoding.page | File | 1.68 KB | 0644 |
|
pref-keyboard-access.page | File | 2.76 KB | 0644 |
|
pref-login-shell.page | File | 3 KB | 0644 |
|
pref-menubar.page | File | 1.98 KB | 0644 |
|
pref-profile-char-width.page | File | 1.71 KB | 0644 |
|
pref-profile-encoding.page | File | 1.59 KB | 0644 |
|
pref-profiles.page | File | 9.1 KB | 0644 |
|
pref-scrolling.page | File | 5.27 KB | 0644 |
|
pref-tab-window.page | File | 1.74 KB | 0644 |
|
pref-user-input.page | File | 1.46 KB | 0644 |
|
pref.page | File | 746 B | 0644 |
|
prob-reset.page | File | 2.18 KB | 0644 |
|
txt-copy-paste.page | File | 2.05 KB | 0644 |
|
txt-links.page | File | 3.01 KB | 0644 |
|
txt-save-text.page | File | 1.58 KB | 0644 |
|
txt-search.page | File | 2.75 KB | 0644 |
|
txt-select-text.page | File | 1.55 KB | 0644 |
|