Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Xfce on Lenovo X240 - suspend etc. not available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Armand_Karlsen
n00b
n00b


Joined: 13 Nov 2012
Posts: 12

PostPosted: Tue Jan 27, 2015 10:12 pm    Post subject: [SOLVED] Xfce on Lenovo X240 - suspend etc. not available Reply with quote

Just installed Xfce on a Lenovo X240 and I notice that Suspend, Hibernate, Shutdown, and Restart are not available in the Action Buttons widget as my normal user, but I am able to do a shutdown with a "shutdown -P now" command from a root console. What should I check to make the options available?

Last edited by Armand_Karlsen on Wed Jan 28, 2015 12:57 am; edited 1 time in total
Back to top
View user's profile Send private message
SDNick484
Apprentice
Apprentice


Joined: 05 Dec 2005
Posts: 212

PostPosted: Tue Jan 27, 2015 10:52 pm    Post subject: Reply with quote

Set the policykit and consolekit use flags and do an emerge -uDN world. You'll also want to start your session with ck-launch-session.

A good check as to whether you're configured correctly is the command 'ck-list-sessions' should report :active = TRUE" for your uid.
Back to top
View user's profile Send private message
Armand_Karlsen
n00b
n00b


Joined: 13 Nov 2012
Posts: 12

PostPosted: Tue Jan 27, 2015 11:33 pm    Post subject: Reply with quote

policykit and consolekit were already in use flags (from the "desktop" profile, I think), so merely adding --with-ck-launch to my user's .xinitrc seems to have done the trick. Thanks!
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