Disable lid suspeld linux (no gnome)

edit /etc/systemd/logind.conf

set
HandleLidSwitch=ignore

via http://revryl.com/2013/05/16/how-to-disable-auto-suspend-when-laptop-lid-is-closed-in-fedora-1817/