You are not logged in.

#1 2013-10-01 19:57:30

saz
Member
From: Lisbon
Registered: 2008-04-19
Posts: 115

Getting E17's hibernation to work...

Hey,

I just installed E17 and can't seem to get its hibernation button to work. (suspend works OK!)

First of all, hibernation works perfectly through command line with:

sudo pm-hibernate

and

sudo /usr/bin/systemctl hibernate

my /etc/sudoers

%users  ALL = NOPASSWD: /usr/sbin/pm-hibernate
%users  ALL = NOPASSWD: /usr/sbin/pm-suspend

%users  ALL = NOPASSWD: /usr/bin/systemctl suspend
%users  ALL = NOPASSWD: /usr/bin/systemctl hibernate

my /etc/enlightenment/sysactions.conf

action:   halt      /usr/bin/systemctl poweroff
action:   reboot    /usr/bin/systemctl reboot
action:   suspend   /usr/bin/systemctl suspend
action:   hibernate sudo /usr/bin/systemctl hibernate
action:   /bin/mount /bin/mount
action:   /bin/umount /bin/umount
action:   /usr/bin/eject /usr/bin/eject
action:   gdb       gdb

# root is allowed to do anything - but it needs to be here explicitly anyway
user:     root      allow: *
# members of operator, staff and admin groups should be able to do all
group:    operator  allow: *
group:    staff     allow: *
group:    admin     allow: *
group:    sys       allow: *
group:    wheel     allow: *
group:    adm       allow: *
# common "user" groups for "console users" on desktops/laptops
group:    dialout   allow: *
group:    disk      allow: *
group:    adm       allow: *
group:    cdrom     allow: *
group:    floppy    allow: *
group:    audio     allow: *
group:    dip       allow: *
group:    plugdev   allow: *
group:    netdev    allow: *
group:    bluetooth allow: *
group:    video     allow: *
group:    voice     allow: *
group:    fax       allow: *
group:    tty       allow: *

# deny everyone else by default
user:     *         deny:  *

Thanks!

Offline

#2 2013-10-01 20:00:50

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Getting E17's hibernation to work...

I have no idea bout Enlightenment in general, but I can tell you that the sudo/sudoers should not be necessary if the X session is properly activated and tracked with logind.  There should be the ability to suspend, hibernate, poweroff, and reboot as a normal user, provided that there are no other users logged into another session or seat.

Offline

#3 2013-10-02 03:54:36

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 5,071

Re: Getting E17's hibernation to work...

sudo is not necessary, you either add your user to one of the groups listed or add your user to /etc/enlightenment/sysactions.conf

Online

#4 2014-02-21 13:42:49

Tsu Jan
Member
Registered: 2012-02-28
Posts: 16

Re: Getting E17's hibernation to work...

I'm on Debian and discovered E17 two weeks ago. I had the same problem saz mentioned and found no clue anywhere on the Internet. At last, I found out that it's a bug in the default Compositor of E17. I switched to Ecomorph and the hibernation button worked smile It should also work with all compositors disabled.

As this page is among the first ones that come up when a solution to this problem is searched, I preferred to post a reply here.

Last edited by Tsu Jan (2014-02-21 15:03:02)

Offline

#5 2014-02-21 16:22:50

89c51
Member
Registered: 2012-06-05
Posts: 659

Re: Getting E17's hibernation to work...

Just in case: we are on E18 now and noone cares about E17 anymore.

Last edited by 89c51 (2014-02-21 16:23:02)

Offline

#6 2014-02-21 16:30:20

Tsu Jan
Member
Registered: 2012-02-28
Posts: 16

Re: Getting E17's hibernation to work...

89c51 wrote:

Just in case: we are on E18 now and noone cares about E17 anymore.

So, there shouldn't be such a problem in E18. I'll compile E18. Thanks!

Offline

#7 2014-02-21 17:53:42

89c51
Member
Registered: 2012-06-05
Posts: 659

Re: Getting E17's hibernation to work...

TBH i haven't hibernated or suspended my system in quite some time. In the case it doesn't work file a bug at the E bugzilla.

Offline

Board footer

Powered by FluxBB