I recently picked up a ASUS Laptop which has quad core AMD Sabine with ATI 6720g2 graphics. Due to the graphic chipset being latest, the existing Catalyst on Archimedes ISO doesn't install, however after pacman -Syu the newer Catalyst does install and run without any glitches. However suspend remains an issue unless and until latest 12.2 is installed.
I suspend my laptop (pm-suspend) often and sometimes my desktop (pm-suspend-hybrid) fairly often. I am using the latest ubuntu (13.10, saucy).
Is there a way I could run a command when I go into suspend or immediately after coming out of suspend? I'd like to kill any open output ssh connections and stop offlineimap, since the timeout for those tends to be annoying. Ideas?