I think I found the solution. Here is the update `asus-touchpad.sh` (for Elantech touchpad). The trick is to run the `xinput` with current user
test "$user" && alias xinput="sudo -u $user xinput" Now, if user is logged in the `xinput` command will be run with the current user. BTW, I think the `asus-touchpad.sh` should be fixed to handle both `Synaptics and Elantech` touchpad. ** Attachment added: "asus-touchpad.sh" https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/713278/+attachment/1857420/+files/asus-touchpad.sh ** Changed in: acpid (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/713278 Title: Touchpad Hotkey not working on Asus V6 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs