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
When I Unlock, everything should be back to normal. I tried
echo suspend> / sys / bus / usb / devices / usb1 / power / level
.. but I could not ..
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?