You are not logged in.
If I suspend with KDE sometime (not all times) I will resume to a black screen.
Using "systemctl suspend" is working fine.
Is it possible to force kde to use systemctl suspend?
Note: upower 0.9.23 is installed in my system. pm-utils not installed
Last edited by hifi25nl (2013-10-29 11:08:51)
Offline
I have the exact same problem, with a very similar software setup.
Any help would be appreciated !
Offline
The same here. I tried to check it several times, i found out that when i use pm-suspend (from terminal), after resume my computer resumes...but it looks like it is being freezed (i see dekstop but can't do anything, even can't kill x). This thing don't happen when i use systemctl-suspend (terminal). I had pm-utils installed.
Strange thing is that i can't use kde buttons ( K > finish > suspend/hibernate) because they just lock screen and nothing happens (shutdown and rest of them work ok in kde).
Offline
This one should work, put it in ~/.local/share/applications/suspend.desktop
[Desktop Entry]
Name=Suspend (Systemd)
Comment=Suspend session using systemd
Categories=Utilities;System;
Exec=systemctl suspend
Icon=system-shutdown
Type=ApplicationRun kbuildsycoca4, then check the powerdevil settings and change the default action to this for e.g. lid close. This action will be available throught KRunner too.
Last edited by ilpianista (2013-11-19 13:51:05)
Offline
I would like to ask for one thing: you named this file suspend.desktop, when in i found that there are also suspend@.desktop. Which is correct?
Last edited by firekage (2013-11-19 22:35:59)
Offline
I don't know...
kbuildsycoka4...command not found
Since I cannot set lid close because I am using a desktop computer, there is no option in Power management/Energy saving where I could use that desktop file. Normally I use Power button for shutting down the system and suspend key on keyboard for suspend or suspend icon on kde.
Offline
kbuildsycoka4...command not found
That was a typo, use kbuildsycoca4
Normally I use Power button for shutting down the system and suspend key on keyboard for suspend or suspend icon on kde.
Then map the keyboard key to kdesu systemctl suspend. About the power button I don't know yet.
I would like to ask for one thing: you named this file suspend.desktop, when in i found that there are also susnend@.desktop. Which is correct?
This is not systemd when you can specify arguments using the @. Save it as suspend.desktop or howDoYouLikeMore.desktop.
Offline