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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
606
c202cc329419 Fix typo.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 605
diff changeset
     1
-*- mode: outline; coding: utf-8 -*-
605
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
* Deactiate screensaver.
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
** xscreensaver.
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
  /usr/bin/xscreensaver-command -deactivate
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
** gnome-screensaver.
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
  $ gnome-screensaver-command -p
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
  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
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
** Watch video without screensaver.
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
  $ mplayer −heartbeat−cmd "xscreensaver-command -deactivate" $file
639aaf15fe93 About screensaver.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
  $ mplayer -heartbeat-cmd "gnome-screensaver-command -p" $file