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

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 t

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 ke

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): H

Re: Suspend and X

2000-06-06 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 fr