VLOCK-PLUGINS(5)
π VLOCK-PLUGINS(5) π
okay bestie so this is the vlock-plugins page from the Linux Programmer's Manual β yes it's a section 5 joint, we're in file-formats-and-conventions territory, very niche, very slay β¨
πΈ NAME πΈ
vlock-plugins β plugin support for vlock, fr fr π
β¨ DESCRIPTION β¨
okay so picture this: if vlock-main(8) gets compiled with plugin support, its default features are honestlyβ¦ kinda mid π. Out of the box it can only do two things:
- lock the current session
- ask for authentication
(yes the original spells it "authenticiaton", we're keeping that typo energy, it's giving β¨characterβ¨)
BUT π β and this is the main character moment β you can extend those functions through plugins. These plugins get loaded when vlock-main starts up, and they can hand you hooks that get called at certain points during the lifetime of the vlock-main process. literally the way that works is so iconic π¦
π DEFAULT PLUGINS π
These ones come through when you install vlock with default options β no extra effort required, they just show up π«Ά
allβ this plugin locks all sessions by disabling console switching. it also gets loaded when you give the-a,--alloption tovlock(1). periodt πnewβ this plugin switches to a new virtual console before disabling console switching through the"all"plugin. it also gets loaded when you give the-n,--newoption tovlock(1). it's giving fresh start energy πΈnosysrqβ Linux only bestie, don't @ me. this plugin disables the Linux SysRQ mechanism before the console switching is locked by the"all"plugin. it also gets loaded when you give the-s,--disable-sysrqoption tovlock(1). okay so it's the responsible older sibling of the plugin family π
π ADDITIONAL PLUGINS π
these ones are NOT just hanging around β they're only available if you explicitly select them at build time. so like, you gotta ask nicely π₯
cacaβ this plugin runs a randomlibcacascreensaver when the screen is locked. random! screensaver! when! locked! iconic behaviour honestly ππ
π¦ WRITING PLUGINS π¦
want to make your own?? obsessed. for information about writing plugins, see the PLUGINS file in the vlock source distribution. go be the main character of your own plugin, i believe in you π
π SEE ALSO π
π AUTHORS π
Frank Benkstein <frank-vlock@benkstein.net> β thank you king π
okay and that's the whole page bestie!! this one's from the Linux manual, dated 10 November 2007, and the whole thing lives under the VLOCK-PLUGINS(5) name β so next time someone's like "what even is a vlock plugin", you just send them this and walk away looking unbothered π
β¨ mwah, ily, go lock something responsibly π«Άπ
π¦ where this page comes from
- debian bookworm: vlock 2.2.2-11+b1 Β· GPL-2.0-only
- debian trixie: vlock 2.2.2-12 Β· GPL-2.0-only
- ubuntu jammy: vlock 2.2.2-10 Β· GPL-2.0-only
- ubuntu noble: vlock 2.2.2-11 Β· GPL-2.0-only
- ubuntu questing: vlock 2.2.2-12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms