You are not logged in.
Pages: 1
Evening folks,
I just finished to install Arch linux with KDE plasma on my Asus Zenbook S13 UM5302. I made everything work from network to audio! I have a shortcut on my keyboard dedicated to activating/deactivating the webcam, with a small LED. I have the same shortcut for the microphone and it worked well with alsa-utils and pulseaudio. When deactivating the mic, it deactivate properly and the LED red signal is on. When I activate it, the microphone works well and the LED signal go off.
Is there a way to set a similar settings for my webcam, I mean something official, I could write a script to do so I guess, but I am looking for something clean.
Have a nice evening,
lucho
Offline
I found this script: https://github.com/OnikenX/toggle-webcam
I had to replace this line (line 21):
if kdesu -c "rmmod -f uvcvideo"with
if pkexec modprobe -r uvcvideoAlso replace (line 29):
if kdesu -c "modprobe uvcvideo"with
if pkexec modprobe uvcvideoYes, remove the quotation marks.
Then I just had to map it to a custom keyboard shortcut using my webcam key. It works like a charm. Doesn't fix the LED light, but it provides me with a pop-up notification.
Offline
Pages: 1