[Bug 899008] Re: Asus touchpad disabling doesn't work. Found the error in getXconsole.

Steve Langasek steve.langasek at canonical.com
Fri Dec 2 15:46:50 UTC 2011


why do you have an X server running as non-root?

** Changed in: acpi-support (Ubuntu)
   Importance: Undecided => Medium

** Changed in: acpi-support (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpi-support in Ubuntu.
https://bugs.launchpad.net/bugs/899008

Title:
  Asus touchpad disabling doesn't work. Found the error in getXconsole.

Status in “acpi-support” package in Ubuntu:
  Incomplete

Bug description:
  After following the trace of my /etc/acpi/asus-touchpad.sh, I found
  that the error was in the getXconsole function of /usr/share/acpi-
  support/power-funcs.

  When asus-touchpad.sh is runned, it is runned as root
  (understandably), but that makes this line fail:

  displaynum=`ps t tty$console | sed -n -re 's,.*/X .*:([0-9]+).*,\1,p'`

  since that only gets root's processes.

  I changed it to:

  displaynum=`ps at tty$console | sed -n -re 's,.*/X
  .*:([0-9]+).*,\1,p'`

  and now it works like a charm.

  Just thaught I should mention it, so that the authors can fix it, but
  also so that other users with the same problem can fix it themself.

  Extra information:
  Description:	Ubuntu 11.10
  Release:	11.10

  acpi-support:
   *** 0.138 0
          500 http://no.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/899008/+subscriptions




More information about the foundations-bugs mailing list