Oops, I somehow missed that you are running e17, I am on 18.2. Initially my problem was that suspend was grayed out on the menu. So I did this:
sudo chmod 4755 /usr/lib/enlightenment/utils/enlightenment_sys That made the options available but they didn't do anything. Despite the advice I was given, I had already written the wrapper for pm-suspend that runs as root. I'm happy enough with that. Although I might try what you did later on for fun. On 02/02/2014 08:56 AM, Jeff Hoogland wrote: > What I'm having isn't an issue with the sysactions.conf file - it is a > permissions issue with how E is allowing the normal user to access commands > listed within the sysactions.conf file. > > For instance - I've created a semi-extreme work around in that I've made it > so ANY user on my system can launch /etc/acpi/sleep.sh as root without a > password and I added "sudo" in front of it in the sysactions.conf file and > now my normal user can suspend the system fully as expected. > > Suspending as my normal user works as expected under LXDE though - so this > is an E17 issue with gaining the right permissions before running the > suspend command. > > > On Sun, Feb 2, 2014 at 8:51 AM, William <[email protected]> wrote: > >> Same issue. I brought this up on the mailing list some time ago, this is >> what Raster had to say about it. >> >>> check /etc/enlightenment/sysactions.conf >>> >>> it's text. it's documented. this is a file you should modify to >> integrate e >>> into your system. thre packger should have done it - if they didn't... >> then you >>> have to. you may have to modify what command to use for suspend (or >> hibernate) >>> so it runs the right one on your os. this file also determines >> permissioning on >>> who can run what. >> Personally, I wasn't able to get anywhere with it and ended writing a >> wrapper in C for the command $sudo pm-suspend I call esuspend. That really >> is re-inventing the wheel though. I suppose I can be lazy. >> >> >> On 02/02/2014 08:20 AM, Jeff Hoogland wrote: >>> I've come to the conclusion it is a permissions issue with however E17 is >>> launching the suspend command. >>> >>> When I run the command listed in my sysactions.conf for suspend with sudo >>> the system suspends/unsuspends just fine: >>> >>> sudo /etc/acpi/sleep.sh force >>> >>> But when I select "suspend" from the power menu, the system never changes >>> it's notification light to show that it has gone into suspend mode - so >> it >>> isn't finishing properly. >>> >>> Any ideas what LXDE might be doing different to let me normal user >> suspend >>> the system fully? >>> >>> >>> On Sun, Feb 2, 2014 at 8:00 AM, Jeff Hoogland <[email protected] >>> wrote: >>> >>>> So at first I thought it was an issue with my netbook, but then I >>>> installed LXDE and it works as expected. >>>> >>>> Basically when I suspend from E17 it refuses to come back out of >> suspend. >>>> Opening the laptop doesn't work, pressing keys doesn't work. >>>> >>>> The only thing it responds to is pressing the power button (which shuts >>>> the system down). >>>> >>>> Is there anything special I have to do to let E17 wake up my computer >>>> after it suspends? >>>> >>>> -- >>>> ~Jeff Hoogland <http://jeffhoogland.com/> >>>> Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog >>>> Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop >>>> >>> >> >> >> ------------------------------------------------------------------------------ >> WatchGuard Dimension instantly turns raw network data into actionable >> security intelligence. It gives you real-time visual feedback on key >> security issues and trends. Skip the complicated setup - simply import >> a virtual appliance and go from zero to informed in seconds. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk >> _______________________________________________ >> enlightenment-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> > > ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
