ben@catbee:~$ dpkg -l | awk '/hal/{print$2,$3}' hal 0.5.7-1ubuntu17 hal-device-manager 0.5.7-1ubuntu17 libhal-storage1 0.5.7-1ubuntu17 libhal1 0.5.7-1ubuntu17 ben@catbee:~$ cat /proc/acpi/button/lid/LID0/state state: closed ben@catbee:~$
Note it says my lid is closed, which would make it rather hard to type this message!
ben@catbee:~$ dpkg -l | awk '/hal/{print$2,$3}' button/ lid/LID0/ state
hal 0.5.7-1ubuntu17
hal-device-manager 0.5.7-1ubuntu17
libhal-storage1 0.5.7-1ubuntu17
libhal1 0.5.7-1ubuntu17
ben@catbee:~$ cat /proc/acpi/
state: closed
ben@catbee:~$
Note it says my lid is closed, which would make it rather hard to type this message!