Re: SOLVED: apmd resume + xlock

2006-12-12 Thread James Turner
Thanks for everyone's help. I got xlock working with the suspend script by just removing the -mode matrix option. The matrix mode uses to much cpu anyways. I know have xidle and suspend script working great. Thanks again. On Tue, 12 Dec 2006, Greg Thomas wrote: On 12/12/06, James Turner

Re: apmd resume + xlock

2006-12-12 Thread Darrin Chandler
James Turner wrote: I tried the script again without -mode matrix and it works just fine. It seems that running -mode matrix crashes x on resume. Anyone have any ideas why? Not specifically, but that reminds me... For a short while I was running with random screensavers and found core files l

Re: apmd resume + xlock

2006-12-12 Thread James Turner
On a good note, if I add the -mode option back in and move the suspend script to a resume script, xlock gets started on resume. There is a slight delay before xlock kicks in where you see the current xsession, but I guess it's better then nothing.

Re: apmd resume + xlock

2006-12-12 Thread James Turner
I tried the script again without -mode matrix and it works just fine. It seems that running -mode matrix crashes x on resume. Anyone have any ideas why? > Marcus, > > I tried your script, but when I come back from resume X seems to die and > after a few minutes I get kicked to xdm. > >> Hi James

Re: apmd resume + xlock

2006-12-12 Thread James Turner
Marcus, I tried your script, but when I come back from resume X seems to die and after a few minutes I get kicked to xdm. > Hi James, > > On 2006-12-12T11:45, James Turner wrote: >> xidle was a great suggestion thanks. The below script doesn't work >> either, and for some reason when running apm

Re: apmd resume + xlock

2006-12-12 Thread Marcus Popp
Hi James, On 2006-12-12T11:45, James Turner wrote: > xidle was a great suggestion thanks. The below script doesn't work > either, and for some reason when running apmd in debug mode nothing gets > outputted from what I can tell. For locking the screen before suspend > I'll probably just stick

Re: apmd resume + xlock

2006-12-12 Thread Greg Thomas
On 12/12/06, James Turner <[EMAIL PROTECTED]> wrote: xidle was a great suggestion thanks. The below script doesn't work either, and for some reason when running apmd in debug mode nothing gets outputted from what I can tell. For locking the screen before suspend I'll probably just stick with Th

Re: apmd resume + xlock

2006-12-12 Thread James Turner
xidle was a great suggestion thanks. The below script doesn't work either, and for some reason when running apmd in debug mode nothing gets outputted from what I can tell. For locking the screen before suspend I'll probably just stick with Theo's suggestion and run xlock & zzz, although I wou

Re: apmd resume + xlock

2006-12-12 Thread Paul de Weerd
On Mon, Dec 11, 2006 at 11:13:08PM -0500, James Turner wrote: | I've read the apmd and xlock man pages and am having trouble getting xlock | to start after a resume. I created the file /etc/apm/resume and chmod | 755. But for some reason, it doesn't run on resume. Permissions are | root/wheel.

apmd resume + xlock

2006-12-11 Thread James Turner
I've read the apmd and xlock man pages and am having trouble getting xlock to start after a resume. I created the file /etc/apm/resume and chmod 755. But for some reason, it doesn't run on resume. Permissions are root/wheel. On a weird note, when I ran sudo apmd rather then letting apmd sta