Re: Vim tip (was Re: Suspend/Resume issues - Custom scripts not running? Mouse frozen?)

2009-02-23 Thread Celejar
On Sun, 22 Feb 2009 20:49:29 +1300 Chris Bannister mockingb...@earthlight.co.nz wrote: On Sat, Feb 21, 2009 at 06:59:15AM +0100, Javier wrote: ... Don't forget to chmod +x once saved. If you use vim for your editing, put this in your .vimrc file: automatically give executable

Vim tip (was Re: Suspend/Resume issues - Custom scripts not running? Mouse frozen?)

2009-02-21 Thread Chris Bannister
On Sat, Feb 21, 2009 at 06:59:15AM +0100, Javier wrote: You should use /etc/pm/sleep.d for these purposes. For example, create a new file in /etc/pm/sleep.d/10key_issue with this content: #!/bin/sh case $1 in hibernate|suspend) echo -n i8042

Re: Suspend/Resume issues - Custom scripts not running? Mouse frozen?

2009-02-20 Thread David Jarvie
On Thursday 19 February 2009 20:24:12 Alex Riebs wrote: It doesn't work and I'm not sure what else to try. I'm not even sure if the scripts are running (how can I check?). You can check whether a script has run by adding a line similar to the following into each script: echo This script has

Re: Suspend/Resume issues - Custom scripts not running? Mouse frozen?

2009-02-20 Thread Michael Biebl
Alex Riebs wrote: Hi. I recently installed Debian Lenny onto my Dell Studio XPS 16 laptop. I'm having issues getting resume to work properly. I can suspend, but when I resume and compiz was running, my screen shows up with only my cursor and some corrupted textures. I attempted to solve this

Re: Suspend/Resume issues - Custom scripts not running? Mouse frozen?

2009-02-20 Thread Javier
Alex Riebs escribió: Hi. I recently installed Debian Lenny onto my Dell Studio XPS 16 laptop. I'm having issues getting resume to work properly. I can suspend, but when I resume and compiz was running, my screen shows up with only my cursor and some corrupted textures. I attempted to solve

Suspend/Resume issues - Custom scripts not running? Mouse frozen?

2009-02-19 Thread Alex Riebs
Hi. I recently installed Debian Lenny onto my Dell Studio XPS 16 laptop. I'm having issues getting resume to work properly. I can suspend, but when I resume and compiz was running, my screen shows up with only my cursor and some corrupted textures. I attempted to solve this by writing a script