[Powerdevil] [Bug 344456] Plasma 5 desktop does not suspend with only upower, no systemd

manciuleas at yahoo.com manciuleas at yahoo.com
Fri Feb 27 22:34:26 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=344456

--- Comment #13 from manciuleas at yahoo.com ---
(In reply to Lukáš Tinkl from comment #12)
> Hmm, that could indeed be the problem. polkit-kde-authentication-agent-1 is
> started by the session which is always after kded modules (powerdevil being
> one)... 
> 
> I wonder what happens when you restart kded (and hence powerdevil's kded
> module) after the session has been up and running (just killall -9 kded5 &&
> kded5) and then restart plasmashell (kquitapp5 plasmashell && plasmashell)

Thank you for your quick reply. 
I issued the commands you suggested and that did the trick (partially). Suspend
& Hibernate show up in the Leave Menu, Shutdown & Reboot are still missing. 
Now, when powerdevil starts it CAN contact ConsoleKit, whereas in the 'normal'
start-up sequence there's an error message about not contacting CK.
Can the start-up sequence be changed from startkde?

kf5.kiconthemes: "Theme tree: (Breeze)"
powerdevil: Loading UPower backend...
powerdevil: Success!
powerdevil: Backend loaded, loading core
powerdevil: Core loaded, initializing backend
powerdevil: Using XRandR
powerdevil: Screen brightness value:  3
powerdevil: current screen brightness value:  3
powerdevil: Can suspend
powerdevil: Can hibernate
powerdevil: Backend is ready, KDE Power Management system initialized
powerdevil: A new battery was detected
XSync seems available and ready
XSync Inited
Supported, init completed
powerdevil: Current session is now active
powerdevil: ConsoleKit support initialized
powerdevil: Got a valid offer for  "DPMSControl"
powerdevil: Core is ready, registering various services on the bus...
powerdevil: Can't contact systemd
powerdevil: We are now into activity  "default"
powerdevil: () ()
powerdevil: () ()
powerdevil: Loading profile for plugged AC
powerdevil: Activity is not forcing a profile
powerdevil: Profiles:  "AC" ""
powerdevil: set screen brightness percentage:  30
powerdevil: Screen brightness value max:  10
powerdevil: set screen brightness value:  3
powerdevil: 
powerdevil: Loading timeouts with  300000

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list