how to configure shortcut "ctl+alt+L" to active vlock in freebsd 15 VT ?

Dear all :
when i used freebsd 15 VT , then running command vlock to lock my screen. do you have some way to configure a shortcut ("ctl+alt+L") to replace input command "vlock " ? thanks.
note: that was freebsd 15 VT , not GUI..thanks.
 
There's an application you can use to create shortcuts and macros, that will probably be able to do what you want. But I've been racking my brain all day and I simply cannot remember the name of it.
 
i don't think its possible without hacking the kernel
the keymap actions like reboot / poweroff / suspend /screensaver described in the keymap seem to be hardwired in the vt kernel code
but maybe i missed something
it is probably doable over a pty like screen / tmux / window where you can control the input
 
Back
Top