3 ms·
It can do whatever you want it to do. The examples in the article were: • whenever any USB drive is removed, trigger xscreensaver to lock the screen: > ACTION
by arm 7y ago
It can do whatever you want it to do. The examples in the article were:
• whenever any USB drive is removed, trigger xscreensaver to lock the screen:
> ACTION=="remove", SUBSYSTEM=="usb", RUN+="DISPLAY=:0 xscreensaver-command -lock"
• whenever a specific USB drive is removed, shut down the computer:
> ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_MODEL}=="Micromax_A74", RUN+="shutdown -h now"
- oefrha 7y agoNitpick, it can do whatever you want it to do that’s possible in software. You’ll be disappointed if you want to have it drill a hole in your hard drive ;)
- somebodythere 7y agoJust build a USB-powered hard-drive drill, duh.
- deleted 7y ago[deleted]