Hi all, I own a 2011 Macbook Air, and I'm having an issue with the trackpad doing random clicks when I close the lid (I'm using the laptop with an external monitor/keyboard/mouse). I'm trying to figure out where the appropriate place is for a hook to go to fix the problem. I've determined that I can stop the random clicks by running this command before closing the lid:
xinput set-prop 11 "Device Enabled" 0 That turns off the trackpad. I've also determined that there's a file /proc/acpi/button/lid/LID0/state which shows the state of the lid, and also that there's a script /etc/acpi/lid.sh that is called when the lid is closed which seems to be responsible for blanking the screen. This is part of the package "acpi-support". I feel like there needs to be something added here to disable the trackpad automatically, but I'm not quite sure what. I think I could just hack the script with the above command somehow to make it work for me but I was hoping to try to figure out a way to do it that could be added to ubuntu so the problem goes away permanently. Does anybody have any pointers? Is there a standard place for this kind of stuff to go? Thanks! -Shane -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss