screensaver.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 606 c202cc329419
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.

-*- mode: outline; coding: utf-8 -*-

* Deactiate screensaver.

** xscreensaver.

  /usr/bin/xscreensaver-command -deactivate

** gnome-screensaver.

  $ gnome-screensaver-command -p

  http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions#Is_there_a_way_to_perform_actions_when_the_screensaver_activates_or_deactivates.3F__Or_when_the_session_becomes_idle.3F

** Watch video without screensaver.

  $ mplayer −heartbeat−cmd "xscreensaver-command -deactivate" $file
  $ mplayer -heartbeat-cmd "gnome-screensaver-command -p" $file