Skip to content

Commit

Permalink
Update xset dpms command. Bump Standards-Version.
Browse files Browse the repository at this point in the history
The built-in xset command "xset dpms s reset" worked on Xubuntu 16.04 (xenial),
but stopped waking the monitor from power saving modes in 16.10 (yakkety).
We now use a command that conforms to the xset man page, and works for both the
X screen blanker and DPMS:

xset dpms force on s reset

Also updated the debian/control Standards-Version.
  • Loading branch information
Forest committed Feb 10, 2017
1 parent 5e0a1d4 commit 8b86fc9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright 2014-2016 Forest <forestcode@ixio.org>
Copyright 2014-2017 Forest <forestcode@ixio.org>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -6,7 +6,7 @@ A joystick-aware screen waker
-----------------------------

:Manual section: 1
:Date: 2016-11-04
:Date: 2017-02-09


Synopsis
Expand Down Expand Up @@ -39,7 +39,7 @@ In many desktop environments, no configuration is required. Joystickwake
comes pre-configured with commands that are known to wake the screen from
DPMS power-off and several common screen savers. Those commands are::

xset dpms s reset
xset dpms force on s reset
xscreensaver-command -deactivate
gnome-screensaver-command --deactivate
mate-screensaver-command --poke
Expand Down
7 changes: 7 additions & 0 deletions debian/changelog
@@ -1,3 +1,10 @@
joystickwake (0.2.2) yakkety; urgency=medium

* Update the built-in xset dpms command.
* debian/control: Bump Standards-Version.

-- Forest <forestcode@ixio.org> Thu, 09 Feb 2017 16:30:35 -0800

joystickwake (0.2.1) xenial; urgency=medium

* Look for config file under $XDG_CONFIG_HOME; fall back to ~/.config.
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Expand Up @@ -3,7 +3,7 @@ Section: x11
Priority: optional
Maintainer: Forest <forestcode@ixio.org>
Homepage: https://github.com/foresto/joystickwake
Standards-Version: 3.9.7
Standards-Version: 3.9.8
Build-Depends: debhelper (>= 9), dh-python, python3,
python3-docutils | python-docutils
X-Python3-Version: >= 3.4
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Expand Up @@ -2,7 +2,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/foresto/joystickwake

Files: *
Copyright: Copyright 2014-2016 Forest <forestcode@ixio.org>
Copyright: Copyright 2014-2017 Forest <forestcode@ixio.org>
License: Expat

License: Expat
Expand Down
4 changes: 2 additions & 2 deletions joystickwake
Expand Up @@ -4,7 +4,7 @@ A joystick-aware screen waker.
"""

__version__ = '0.2.1'
__version__ = '0.2.2'
__version_info__ = tuple(int(n) for n in __version__.split('.'))


Expand Down Expand Up @@ -340,7 +340,7 @@ class Configuration(object):


DEFAULT_WAKERS = [
ExecWaker('xset', 'dpms', 's', 'reset', name="DPMS"),
ExecWaker('xset', 'dpms', 'force', 'on', 's', 'reset', name="X settings"),
ExecWaker('xscreensaver-command', '-deactivate', name="XScreenSaver"),
ExecWaker('gnome-screensaver-command', '--deactivate', name="GNOME"),
ExecWaker('mate-screensaver-command', '--poke', name="MATE"),
Expand Down

0 comments on commit 8b86fc9

Please sign in to comment.