Commit 4d336312 authored by Benjamin Pracht's avatar Benjamin Pracht

* Support for gnome-screensaver

* We should test if the command is in the path before trying to launch it
* Anyway, system is dirty, we should use dbus, at least for gnome-screensaver
parent 1db77bbb
......@@ -84,6 +84,7 @@ static void Run( intf_thread_t *p_intf )
/* http://www.jwz.org/xscreensaver/faq.html#dvd */
system( "xscreensaver-command -deactivate >&- 2>&- &" );
system( "gnome-screensaver-command --poke >&- 2>&- &" );
/* FIXME: add support for other screensavers */
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment