Turning off laptop trackpad when the lid is closed

Shane O'Connell shane at oconnell.cc
Tue Jan 31 13:08:48 UTC 2012


2012/1/31 HSO <adam at biznes.linux.pl>:
> You can consider add the
>
> xinput set-prop 11 "Device Enabled" 0
>
> in to file /etc/acpi/lid.sh
>
> like a command rune after one of desired if state.

I could do that, but that would be a hack that would only fix it for
my own laptop. On a different laptop, device 11 could probably be
anything. To me it seems like this is a problem that has probably been
solved before for other laptops so there's probably a standard place
to put this kind of thing. I just need to figure out where it is...




More information about the Ubuntu-devel-discuss mailing list