EDIT # # # # # # The script has been updated following a bug with spaces in file names. Now, if the script is interrupted incorrectly, the next launch, it restores your original configuration. ########## Hello,

After a long time without post, here's a new script ...

I'm on ubuntu and I noticed that when I watched a DVD on VLC, the screensaver was not disabled ...

I then created a script that disables the screen saver and power management in environments gnome2.

Here is the script nosleep to put in your PATH. I recommend / usr / local / bin

You only have to copy this in a terminal:

  sudo wget-O http://www.syl21.org/wp-content/uploads/nosleep.bash / usr / local / bin / nosleep
 sudo chmod + x / usr / local / bin / nosleep 

Then from the command line simply run:

nosleep command arguments

Example:

  nosleep vlc / dev / cdrom
 nosleep mplayer
 nosleep k3b 

You can of More>