用Vlock锁定Tmux会话


12

我刚才安装tmuxvlock。当我尝试执行lock-session命令时,终端闪烁,然后什么也没有发生。我.tmux.conf必须添加一些内容以告知tmux我具有锁定实用程序吗?如果是这样,那是什么?

换一种说法:

我该怎么做lock-sessiontmux

Answers:


11

将以下内容放入.tmux.conf

set-option -g lock-command vlock

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.