Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-14-2017, 01:38 PM   #1
Registered: Aug 2007
Distribution: Slackware
Posts: 785

Rep: Reputation: Disabled
Xfce 4.12 and hybrid suspend (aka hybrid sleep)


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:
$ /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
Attached Files
File Type: txt 0001-xfce4-session-hybdrid-sleep.patch.txt (26.9 KB, 14 views)
File Type: txt xfce4-session.SlackBuild.txt (4.4 KB, 8 views)
File Type: txt based-on-hybrid-sleep.diff.txt (26.8 KB, 13 views)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting suspend-hybrid to work BCarey Slackware 5 06-26-2014 06:59 AM
LXer: Linux 3.6 Brings Hybrid Sleep, All Rejoice LXer Syndicated Linux News 0 10-02-2012 11:00 PM
creating hybrid-sleep on linux Person_1873 Linux - Laptop and Netbook 2 02-27-2010 08:30 AM
pm-suspend-hybrid; is it hardware based or kernel based? Romanus81 Slackware 1 05-02-2009 08:21 PM
anyone here using hybrid 6.3.1? kublador Linux - Software 1 09-21-2003 11:24 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration