DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd February 2011
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 612
Thanked 9 Times in 9 Posts
Default Xfce4 4.8 current Polkit Shutdown

Has anyone ventured into Xfce 4.8 (uploaded to current last week) and tried to set up user shutdown using Consolekit? The documentation is lagging: xfce4-session README still suggests /usr/local/libexec/xfsm-shutdown-helper which no longer exists.

It looks like consolekit will be the new way for users to shutdown/reboot. The xfce site says it is basically a mess
Quote:
How xfce4-session handles power management is a bit of a mess. It can use HAL to shutdown, reboot, suspend, and hibernate, or fall back to a sudo-based helper for shutdown and reboot.

I'd like to get the HAL-based suspend/hibernate related code out of xfce4-session, or at least relegate it to a fallback. When DeviceKit-power becomes more well-used, HAL will likely go away anyway, and I'd like to avoid supporting a lot of different things of this nature since I don't think it should be the session manager's job. Ali has written a wonderful power manager for Xfce, and it does a great job of handling suspend and hibernate, so we should pass off those tasks to the org.freedesktop.PowerManagement DBus interface when possible.

However, handling of rebooting and shutting down is a bit more complicated. It's unclear as to whether the SM or PM should be handling these tasks.

There's also ConsoleKit, which is capable of rebooting and shutting down the system. My gut feeling here is that CK should be the preferred method for reboot/shutdown.

Status: 90% complete. Some details might need to be improved. Needs testing.
I'm guessing the OpenBSD developers went the Consolekit route but have yet to write the documentation.
Reply With Quote
  #2   (View Single Post)  
Old 3rd February 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,823
Thanked 214 Times in 189 Posts
Default

I've avoided this "upgrade". I'm considering switching to Fluxbox for daily use. I've already made the switch on platforms I don't touch regularly.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD xfce4 kaschei OpenBSD General 5 28th June 2009 08:45 PM
Xorg + Xfce4 resolution problem sniper007 FreeBSD General 4 30th April 2009 04:38 PM
enable shutdown/reboot xfce4 rex FreeBSD General 16 17th October 2008 02:19 PM
XFCE4 on 7.0 TMD3 FreeBSD Ports and Packages 3 26th July 2008 03:22 AM
Polkit Shutdown for XFCE in Freebsd 7.0 shep FreeBSD General 1 18th May 2008 12:24 AM


All times are GMT. The time now is 03:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick