Auto-close the terminal in Ubuntu 13.04

Shut down the terminal application automatically in Ubuntu 13.04

By , ITworld |  Software, auto shutdown terminal ubuntu 13.04

Here's how you can automatically shut down the terminal after a period of inactivity in Ubuntu 13.04.

1. Open a terminal window.

2. Type in the following command then hit Enter.

sudo gedit /etc/profile

3. Append these lines to the end of the file:

TMOUT=seconds
export TMOUT

4. Change the "seconds" to the number of seconds you want to elapse before the terminal is shut down.

5. Save the file.

Read more: Linux and Life

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

Ask a Question