~ubuntu-branches/ubuntu/trusty/acpi-support/trusty

Viewing all changes in revision 98.

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2012-03-03 15:49:47 UTC
  • Revision ID: package-import@ubuntu.com-20120303154947-nwrf3p1dt9dh3afu
Tags: 0.139
* lib/power-funcs: adjust getXuser and getXconsole to use consolekit
  instead of ps/who to identify the "foreground" session and the owner
  of a given X session, since lightdm is currently failing to record this
  information in utmp.  Also, add headers for each of these functions
  documenting how they're supposed to work, since it's completely
  non-obvious and some of the scripts already in acpi-support are using
  them wrong.  Thanks to Ayan George <ayan.george@canonical.com> for the
  preliminary patch.  LP: #933626, #893271.
* rotatescreen.sh: fix wrong use of getXconsole where getXuser is needed.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: