Auto-close the terminal in Linux Mint 15

Shut down the terminal application automatically in Linux Mint 15


Here's how you can automatically shut down the terminal after a period of inactivity in Linux Mint 15.

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:


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

This article is published as part of the IDG Contributor Network. Want to Join?

Now Read This: IT Resume Makeover: Our top 11 tips
View Comments
You Might Like
Join the discussion
Be the first to comment on this article. Our Commenting Policies