acpi command line client in core?

David Zeuthen david at fubar.dk
Mon Mar 6 16:14:57 UTC 2006


On Mon, 2006-03-06 at 17:05 +0100, Patrice Dumas wrote:
> It can stay in Extras, it is just a proposition. But it may be interesting 
> to have a command line acpi client, even for non-experts, but for those 
> who have a basic use of the command line. Using an abstraction layer with 
> hal seems better, but is there a command line interface to that abstraction
> layer?

Only dbus-send at the moment but that is hardly useful:

 dbus-send --system --print-reply --reply-timeout=2147483648 \
 --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer \
 org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0

Though it's a one-time only pain since this interface probably won't
change much until hal goes 1.0.

    David





More information about the fedora-devel-list mailing list