Re: [i3] i3lock hooks

  • From: "BRAGA, Bruno" <bruno.braga@xxxxxxxxx>
  • Date: Tue, 11 Jun 2013 10:24:44 +1000

Just for reference, I published the script I am using for this
functionality:

https://gist.github.com/brunobraga/5753616

Cheers,


--
*Bruno Braga*
www.brunobraga.net
bruno.braga@xxxxxxxxx


On Tue, Apr 23, 2013 at 9:10 AM, BRAGA, Bruno <bruno.braga@xxxxxxxxx> wrote:

Sorry guys,

After some time looking straces and stuff, I finally figure out that I
missed the --nofork option to start with... doh!

Running it as Michael described worked fine, with no problems.

Sorry for the trouble.

Thanks,



--
*Bruno Braga*
www.brunobraga.net
bruno.braga@xxxxxxxxx


On Mon, Apr 15, 2013 at 10:48 PM, Michael Stapelberg <michael@xxxxxxxx>wrote:

Hi Bruno,

"BRAGA, Bruno" <bruno.braga@xxxxxxxxx> writes:
$ strace -ttt i3lock
Works fine for me.

Anyway, what we are interested in is not i3lock itself, but the shell
process that starts it. The easiest way to get that is to strace i3:

strace -p $(pidof i3) -s 2048 -f -o /tmp/strace.log

Then press the key to lock your screen.

--
Best regards,
Michael



Other related posts: