suspend/hibernation in xfce4-session

Andre Puschmann andre.puschmann at stud.tu-ilmenau.de
Tue Jul 18 15:21:11 CEST 2006


Jean-François Wauthy wrote:
>> but code which uses SUSPEND_CMD doesn't get it. what am i doing wrong?
>> i always do a "autoconf && ./configure && make" after i changed
>> something in configure.in.
> 
> did you include config.h in the source file ?
> 
> cheers
> 
>

no i didn't ;-) now it works. thank you!
is there a better way to specify a default command than doing it like this:
AC_ARG_WITH([suspend-command],
  AC_HELP_STRING([--with-suspend-command=cmd], [command used to suspend
system (full path with arguments)]),
  [with_suspend=$withval],
[with_suspend="/usr/share/hal/scripts/hal-system-power-suspend"])

how can i figure out where hal was installed?


cheers
andre




More information about the Xfce4-dev mailing list