suspend/hibernation in xfce4-session

Andre Puschmann andre.puschmann at stud.tu-ilmenau.de
Tue Jul 18 10:53:33 CEST 2006


hi folks,
although we already have a thread arguing this topic, i decided to start
 a new one, since this one should be about the following patch, if this
is o.k. to you?

i wrote a simple patch (still testing!!) which implements the discussed
features. there are still some bugs+workarounds in there and i would
very much appreciate if you guys can drop some hints, since this i my
first xfce patch :-)

- no dynamic hal+dbus recognition in Makefile.in
- the session settings dialog crashes until dbus+hal-stuff is loaded
(even if i did the error handling, but it seems that there is still
something missing)
- if i call suspend, after resuming my xsession is stopped (like on
normal logout). should i handle this with the "accessibility" boolean
and do something like "if ((strcmp(shutdownType,
"SHUTDOWN_HIBERNATE")==0))"?
- hibernate+suspend command in xfsm-shutdown-helper are very static, so
they have to be in PATH



regards
andre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfce4-session-4.3.90.2-hibernate#2.patch
Type: text/x-patch
Size: 14109 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060718/e2684a3c/attachment.bin>


More information about the Xfce4-dev mailing list