screensaver.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:36:16 +0200
changeset 2229 1a0b6597e594
parent 2228 837f1337c59b
permissions -rw-r--r--
Mark block quot in HTMLe.

.. -*- coding: utf-8; -*-

=============
 screensaver
=============
.. contents::
   :local:

Deactiate screensaver
=====================

xscreensaver::

  /usr/bin/xscreensaver-command -deactivate

gnome-screensaver::

  $ gnome-screensaver-command -p

See:

* 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