Re: Suspend and X

2000-06-07 Thread Lee Bradshaw
I set replies to go to debian-laptop. I actually posted one solution to the debian-laptop list this morning. I force the laptop to switch to vt 1 when it suspends. Add the following script to /etc/apm/event.d/01chvt (be sure it's executable): #!/bin/sh # change to vt1 when suspending to keep X

Re: Suspend and X

2000-06-07 Thread Hugo van der Merwe
I set replies to go to debian-laptop. And you added debian-user to the addresses? I actually posted one solution to the debian-laptop list this morning. I force the laptop to switch to vt 1 when it suspends. Add the following script to /etc/apm/event.d/01chvt (be sure it's executable): How

Re: Suspend and X

2000-06-07 Thread Alexander Clouter
On Wed, 7 Jun 2000, Lee Bradshaw wrote: Does anyone know how to grab Fn-F1 (Setup Menu) or Fn-F3 (Battery status) that switch back to text mode? They also crash if you hit those keys from X, but are fine from a text console. As far as I know there is no way for any OS to detect the Fn

Re: Suspend and X

2000-06-07 Thread Lee Bradshaw
On Wed, Jun 07, 2000 at 09:34:59AM +0200, Hugo van der Merwe wrote: I set replies to go to debian-laptop. And you added debian-user to the addresses? No, I was replying to a message from debian-user. I left both groups this time since others have. I actually posted one solution to the

Re: Suspend and X

2000-06-07 Thread Saisanthosh Balakrishnan
I'd prefer to go back to the same virtual terminal I was on. Is there a way to query the system for what tty is active? /usr/bin/tty /tmp/ttysuspend into my script. /usr/bin/fgconsole /tmp/ttysuspend -- saisanthosh

Suspend and X

2000-06-06 Thread Mats Rynge
Hi! I'm running potato + kernel 2.2.14 on my laptop, a Dell Inspiron 7000. I used to be able to susend the thing without any problems at all, but then something happend. I can't recall that I changed anything or that I did see any updates on apmd. Now I can only suspend when I am in console mode.