Skip to content

Instantly share code, notes, and snippets.

@jerilkuriakose
Created March 6, 2018 13:51
Show Gist options
  • Save jerilkuriakose/ee38127f41fa620d717b885e029ef1c2 to your computer and use it in GitHub Desktop.
Save jerilkuriakose/ee38127f41fa620d717b885e029ef1c2 to your computer and use it in GitHub Desktop.
#!/bin/bash
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Suspend" boolean:true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment