[Thunar-dev] Xfce 4.8 schedule changes

v_2e at ukr.net v_2e at ukr.net
Tue Jan 26 18:08:33 CET 2010

On Tue, 26 Jan 2010 13:25:43 +0100
Ali Abdallah <aliov at xfce.org> wrote:

> I volunteer to take care of logout/reboot/shutdown/hibernate/suspend in 
> xfce4-session, i already have good experience with these kind of things 
> in xfpm (xfpm already uses consolekit in my devkit-power branch) so 
> implementing something similar in xfce4-session should be easy. My 
> thoughts are:
> 1) Hibernate/Suspend should be done via upower (or HAL if it is running) 
> (no other high level options available)
> 2) Restart/Shutdown via Consolekit.
> For (1) "org.freedesktop.devicekit.power.suspend" and 
> "org.freedesktop.devicekit.power.hibernate" polkit authority should be 
> verified, so there is dependency on polkit, but it can be kept optional, 
> or probably check the authorization via D-Bus without depending on 
> libpolkit directly (this is okay unless they decide to re-name the bus 
> name), or just blindly try to hibernate/suspend.
> For (2), using Consolekit allow us to check for other active sessions 
> before reboot/shutdown and probably warn the user before, also there is 
> other features that we can benefit from.
> Cheers,
> Ali.

  Please excuse me for interrupting your constructive conversation. I
am not a programmer, but I am Xfce user too. And so I just would like
to ask what about the following functions:
- execute some command before/after going into "sleep" mode (this is a
very important function since there are some kernel modules which need
to be unloaded before the system turns into "sleep" mode);
- check for certain running processes before turning into "sleep" mode
(this function becomes useful when you are downloading something with
Wget, for example, and willing your laptop to turn into "sleep" mode
only after download is finished);
- log all the sleep/suspend/wake events to some log file;
- making a kind of schedule (of course there is 'shutdown -h hh:mm',
but still...);
- maybe producing some sound notification before going to
"sleep" (strongly optional of course)?

  If these functions are available already and thus I'm asking
senseless questions - please tell me. :)

 <v_2e at ukr.net>

More information about the Thunar-dev mailing list