* C Anthony Risinger <anth...@extof.me> [2011-02-19 03:13:14 -0600]:

> On Sat, Feb 19, 2011 at 2:33 AM, Marc Koschewski <m...@osknowledge.org> wrote:
> > I would like to come back to this again. Is the 'Lock on suspend' checkbox 
> > just
> > making E17 be locked when I ue the 'Suspend' item from the 'System' menu or 
> > is
> > is meant to actually _catch_ an ACPI event or something?
> >
> > Is there any commandline I could use to lock E17 so I could add that to the
> > acpid rules? I actually don't want to use the xlock, xlockmore, ... stuff.
> 
> you posted earlier that your buttons are grayed out -- i believe you
> need dbus-python bindings to be installed, at least that seemed to fix
> it on my netbook.  you can lock the screen by pinging e17 via dbus, eg
> (shell):

I have dbus-python installed. But my installations went into /home/marc/bin/e17
thus I guess the integration with the machine is currently far from perfect...

> 
> dbus-send --dest=org.enlightenment.wm.service
> /org/enlightenment/wm/RemoteObject org.enlightenment.wm.Desktop.Lock

Cool, that works. I'll try putting this into /etc/acpid/actions/hibernate.sh
which is run when the box shall hibernate...

> 
> there are probably other ways.  your FN+F4 is just a regular
> keybinding AFAIK, that is calling a sleep script... this script will
> have to implement whatever actions you want it to do.  also look at:
> 
> /etc/enlightenment/sysactions.conf
> 
> or wherever you have it installed; that file will tell you what E17
> will try to do when the `Suspend` button is pressed from E -- note
> however, this is orthogonal to whatever FN+F4 is doing.

I had that file installed in /home/marc/bin/e17/etc, then moved it into the
_real_ /etc and symlinked my /home/marc/bin/e17/etc/... files to the /etc files.
Then I disabled installing the sysactions b the configure option. The file
allows me to shutdown the box but the items are still grayed out. I guess E17
checks wether it has the capabilities through another way. When I start E17 via
gdm or such I think it would work. But I start my desktop via plain xinit
always...

In case the dbus approach works (issued by root, received by marc's E17) that
would make me happy. I would never use the menu anyways. I just close the lid or
in rare cases use the Fn+F4 buttons...

> 
> C Anthony
> 
> 

Thanks a lot for now!

Marc

-- 
Marc Koschewski

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to