LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Xfce 4.12 and hybrid suspend (aka hybrid sleep) (https://www.linuxquestions.org/questions/slackware-14/xfce-4-12-and-hybrid-suspend-aka-hybrid-sleep-4175607912/)

atelszewski 06-14-2017 01:38 PM

Xfce 4.12 and hybrid suspend (aka hybrid sleep)
 
3 Attachment(s)
Hi,

The in-development Xfce recently received support for hybrid suspend.
But it'll take some time before it enters stable Slackware ;-)

I decided to give it a shot and tried to back-port it to Xfce 4.12.
And it seems to be working fine ;-)

The module that has to be patched and recompiled is xfce4-session.
You'll find the patch and the xfce4-session.SlackBuild attached to this message.

If you plan to try it out, please make sure you download the source code tarball from xfce4-session-4.12.1 git snapshot and that you don't use the source provided with Slackware.

Also, before reporting problems, make sure your system can actually hybrid suspend with the following run as root:
Code:

$ /usr/sbin/pm-suspend-hybrid
For reference, I also attach the diff (based-on-hybrid-sleep.diff) that I used to make my patch.
This diff comes from the git commit that added the support in the upstream code (the one I provided at the beginning).
Should you spot something wrong, please let me know.

Have fun :-)

--
Best regards,
Andrzej Telszewski


All times are GMT -5. The time now is 09:50 AM.