I need a script for when I press Ctrl + Alt + L (Lock screen)
I blocked or shut down all usb's and shut down all my network interfaces like eth0
.
When I Unlock, everything should be back to normal. I tried
echo suspend> / sys / bus / usb / devices / usb1 / power / level
.. but I could not ..
And also
dbus-monitor --session "type = 'signal', interface = 'org.gnome.ScreenSaver'
to interact with the screen but could not too.
Is there any better method? Or something I can study to create this script?
But it does not work
– nullXOR Nov 29 '16 at 02:12