Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-01-07 22:13:47

Mellowbob
Member
Registered: 2011-10-16
Posts: 69

[Solved] Power manager missing Power Off

I've recently installed xubuntu 13.10 on a laptop and can't figure out why the Power Off feature is missing in the Xfce Power Manager. Both in battery and a/c modes the options for "when lid is closed" read Suspend, Hibernate, LockScreen and Nothing.

I'd just like the machine to turn off when I close the lid. Must be an option somewhere to enable this???

Thanks.

Offline

#2 2014-01-07 22:58:36

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 1,242

Re: [Solved] Power manager missing Power Off

Try setting:

HandleLidSwitch=poweroff

...in /etc/systemd/logind.conf. You'll need to reboot for this to take effect.

Systemd integration in Xubuntu 13.10 now also handles lid actions.

Offline

#3 2014-01-07 23:12:54

Mellowbob
Member
Registered: 2011-10-16
Posts: 69

Re: [Solved] Power manager missing Power Off

Thanks. That works.

Any idea why it isn't in the powermanger applet? I know it was in earlier versions.

Offline

#4 2014-01-08 02:47:14

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 1,242

Re: [Solved] Power manager missing Power Off

To be honest, I don't ever recall the shutdown option existing in xfce4-power-manager, but I'll take your word for it.
What I do know is that the version of xfce4-power-manager shipping with 13.10 hasn't yet been patched to work properly with systemd. I believe these changes will land in 14.04.

Although Ubuntu doesn't directly use systemd, there has been some integration. This came to a head in 13.10 with respect to lid management because both xfce4-power-manager and systemd are managing lid and power actions. Issues such as double-suspends and the one you are experiencing seem to be the most common issues. Hopefully this all gets sorted out properly in 14.04.

Offline

#5 2014-01-08 03:19:26

Mellowbob
Member
Registered: 2011-10-16
Posts: 69

Re: [Solved] Power manager missing Power Off

I know than on 12.04 there was an option. What I don't know (and the disk is wiped) if that was an xfce or gnome power manger. Mind you, it didn't work half the time ... so it wasn't the greatest option smile

Offline

#6 2014-01-08 07:19:33

MountainDewManiac
Member
From: USA police-state welfare-state
Registered: 2013-03-24
Posts: 308

Re: [Solved] Power manager missing Power Off

I don't have that option on my system. Mint 14 XFCE, based on Ubuntu. Can't remember which version number, 12.04 I thought, but it might be 12.10, I suppose; Quantal something if that helps.

xfce-power-manager 1.2.0. Not sure what version of systemd; I forgot to check when computer was running. Doesn't boot every time, hard drive is flaky, display extremely red-tinted even on initial screen when turned on (old, been dropped a few times, several Winters with old kerosene heater, and it's 43°F in here right now, IDK, screen looked less red last time I got it to work).

Regards,
MDM

Offline

#7 2014-01-08 21:22:37

Mellowbob
Member
Registered: 2011-10-16
Posts: 69

Re: [Solved] Power manager missing Power Off

My apologies! The laptop I'd been playing with was actually running Ubuntu 11.04. No xfce at all. Just booted it with the old disk in a USB adaptor to double check things.

But, the power manager does have <shutdown> as an option. I guess is from the old days when gnome actually gave folks more than one option smile

Offline

Board footer

Powered by FluxBB