Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xfce can't suspend automatically, but can manually
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 535

PostPosted: Sun Apr 24, 2016 7:25 am    Post subject: Xfce can't suspend automatically, but can manually Reply with quote

Hi,

I'm running the newest Xfce (4.12), gentoo-sources-4.4.8, openrc-0.19.1, pm-utils-1.4.1-r6, upower-pm-utils-0.9.23-r2.

When I select Suspend in the Logout menu in Xfce, I can suspend just fine. The screen locks and the system goes to sleep (even tho the process takes like 10 seconds to complete)

I have also set Xfce to suspend when inactive for a while. However, when it triggers, Xfce dutifully locks the screen but then refuses to go to sleep. Instead, the Power Manager pops up a notification about missing kernel support. Which is quite obviously not true.

What does it need? Why is manual suspend working then? Any ideas?


Last edited by haarp on Thu Apr 28, 2016 4:40 am; edited 1 time in total
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 535

PostPosted: Sun Apr 24, 2016 4:34 pm    Post subject: Reply with quote

Solved. consolekit needs the pm-utils useflag.

This piece of information is very hard to discover. I really think it needs to be documented better.
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 535

PostPosted: Thu Apr 28, 2016 4:41 am    Post subject: Reply with quote

I spoke too soon. After a logout it is broken again :(
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 535

PostPosted: Thu Jun 09, 2016 6:59 am    Post subject: Reply with quote

Bump.

Still happening. "no kernel support" appears to be a message from upower. But upower -d definitely yields can-suspend: yes, xfce-power-manager --dump yields Can suspend: True, Authorized to suspend: True

Just what is Xfce doing differently when suspending to the timer compared to pressing the button?
Back to top
View user's profile Send private message
Actuallyra
n00b
n00b


Joined: 22 Aug 2016
Posts: 1

PostPosted: Mon Aug 29, 2016 5:10 am    Post subject: Re: Xfce can't suspend automatically, but can manually Reply with quote

haarp wrote:
Hi,

I'm running the newest Xfce (4.12), gentoo-sources-4.4.8, openrc-0.19.1, pm-utils-1.4.1-r6, upower-pm-utils-0.9.23-r2.

When I select Suspend in the Logout menu in Xfce, I can suspend just fine. The screen locks and the system goes to sleep (even tho the process takes like 10 seconds to complete)

I have also set Xfce to suspend when inactive for a while. However, when it triggers, Xfce dutifully locks the screen but then refuses to go to sleep. Instead, the Power Manager pops up a notification about missing kernel support. Which is quite obviously not true.

What does it need? Why is manual suspend working then? Any ideas?


yeah, got same problem also! Since upgrading to XFCE 4.10, I have encountered frequent problems of the screen blanking after 10 mins (no matter what the power settings are set at) or even if I will turn off after 30 mis.
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 535

PostPosted: Mon Aug 29, 2016 6:15 am    Post subject: Reply with quote

There is an upgrade to xfce4-power-manager-1.6.0 (I'm running 1.4.4). However it requires sys-power/upower instead of sys-power/upower-pm-utils.

In the past, this combination was sure to break suspending entirely (sys-power/upower doesn't work well without systemd). Is this still an issue?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum