Sunday, April 6, 2014

locking the terminal in Ubuntu while you are away from desk

Many times we walk away from the desk for various reasons and you want to lock the terminal just like we lock UI screens like "xlock" or "Ctrl-Alt-Del" combination. In ubuntu, there is a simple program that allows you to do the same to a terminal window. It is called "away". You can install it as below:

$sudo apt-get install away

Once you install, you can invoke the terminal lock using

$away -C "gone for coffee"

After you return, it you can press "Enter" and it will prompt you for password.


No comments:

Post a Comment