I have just installed tmux and vlock. When I try to perform the lock-session command, my terminal flashes and then nothing happens. Is there something in my .tmux.conf that must be added to tell tmux that I have a locking utility? If so, what is it?

In other words:

How can I do lock-session with tmux?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Put the following in the .tmux.conf:

set-option -g lock-command vlock
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.