That actually doesn't work on my system -- it restores the DPMS timeout too early and it gets overwritten again. Previously I had a sleep 20 && displayconfig-restore and similar lines for 20,30,and 40 second delays, but even then when my system is under IO load and logging in, it would not work.
-- DPMS timeout restored incorrectly on login https://launchpad.net/bugs/65791 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs