You are not logged in.
Pages: 1
AUR package for the lazy: https://aur.archlinux.org/packages.php?ID=53011
These are just simple scripts that I made because it's far too tedious to type the entire commands out. I've included scripts to halt, reboot, suspend (to RAM), or hibernate your system with D-Bus.
/usr/bin/dbus-halt
#!/bin/bash
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
/usr/bin/dbus-reboot
#!/bin/bash
dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
/usr/bin/dbus-suspend
#!/bin/bash
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
/usr/bin/dbus-hibernate
#!/bin/bash
dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
Offline
Thank you! Great stuff.
Offline
Offline
Fully aware, falconindy. That's where I got the scripts from. I thought that it would be easier to simply pack them into an AUR package so that they would be more convenient.
Offline
Pages: 1