Laszlo, usually that happens to me when gnome-power-manager isn't running. (Not sure why that happens though.) Are you sure it's currently running when you're trying the button/lid?
-- regression: pressing power button no longer brings up logout dialog https://launchpad.net/bugs/57872 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs