Showing posts with label crash. Show all posts
Showing posts with label crash. Show all posts

Friday, 24 September 2010

Hack: prevent screensaver from crashing fullscreen games on Ubuntu (II: xscreensaver)

I realised that this doesn't work if gnome-screensaver is disabled and xscreensaver put in its place.

In that case, preventing the screensaver from starting (and locking the system) during a fullscreen game can be accomplished with the following script:

#!/bin/bash
xscreensaver-command -exit
[COMMAND TO START GAME OR PROGRAM HERE]
xscreensaver -no-splash
[Ubuntu 10.04]

Wednesday, 15 September 2010

Hack: prevent screensaver from crashing fullscreen games on Ubuntu

Playing the Amnesia demo on Ubuntu, but after 5 mins the screensaver turns on and then the whole system locks up.

It seems that with some fullscreen games this happens.

Hack:
Create a shell-script:

#!/bin/bash
gconftool-2 --set /apps/gnome-screensaver/idle_activation_enabled --type bool 0
[COMMAND TO START GAME OR PROGRAM HERE]
gconftool-2 --set /apps/gnome-screensaver/idle_activation_enabled --type bool 1exit 0



And then make the shell-script executable, and link to it instead of to the game binary in the Games menu.

Seems to work so far.

[Ubuntu 10.04]