1

I am trying to figure out if its possible to -- from within the command-line -- enable/disable the webcam, with a command that can be ran through a keybind? My laptop, a Thinkpad T450 doesn't have a hard switch to turn off the webcam, and it is a security feature I'd really like to have. Preferably something that can be done without a computer restart would be ideal!

Thanks!

Zach Frost
  • 11
  • 1
  • What have you done so far to attempt to accomplish this? – l3l_aze Jul 02 '20 at 07:16
  • Found good-looking A's for questions related to [disabling webcam](https://askubuntu.com/q/166809/411468) (permanent and temporary) and [binding commandline to keys](https://askubuntu.com/q/329710/411468). – l3l_aze Jul 02 '20 at 08:15
  • 2
    Does this answer your question? [How can I disable my webcam?](https://askubuntu.com/questions/166809/how-can-i-disable-my-webcam) – l3l_aze Jul 02 '20 at 08:15
  • Sorry I made the post then went to bed hahah. Anyway @l3l_aze that is a workable solution! This morning I found -- on another form -- a solution that can be easily keybound just by using `sudo modprobe -r uvcvideo`. Anyway thx for your help!! – Zach Frost Jul 02 '20 at 15:38

0 Answers0