{"id":6293,"date":"2015-05-13T23:39:13","date_gmt":"2015-05-14T03:39:13","guid":{"rendered":"http:\/\/nycphantom.com\/journal\/?p=6293"},"modified":"2015-05-13T23:39:13","modified_gmt":"2015-05-14T03:39:13","slug":"ubuntu-disable-laptop-open-lid-command","status":"publish","type":"post","link":"http:\/\/nycphantom.com\/journal\/?p=6293","title":{"rendered":"Ubuntu: Disable Laptop open lid command"},"content":{"rendered":"<p>It's been a while since I've had this problem. When I kept my Fujitsu lifebook in my backpack, it sometimes wakes up from suspend\/hibernate mode. This happens in Ubuntu &amp; Windows.<\/p>\n<p>So it must be the mechanism of the notebook lid.<\/p>\n<p>To disable it in Ubuntu, it's <a href=\"http:\/\/askubuntu.com\/questions\/8056\/how-to-prevent-resume-from-sleep-suspend-on-lid-open\" target=\"_blank\">easy<\/a>:<\/p>\n<p>After chmod 666 \/proc\/acpi\/wakeup<\/p>\n<p><code>The command is: sudo echo \"LID \" &gt; \/proc\/acpi\/wakeup<\/code><\/p>\n<p>It works. Now supposedly it should work automatically on boot by placing the command in \/etc\/rc.local<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It's been a while since I've had this problem. When I kept my Fujitsu lifebook in my backpack, it sometimes wakes up from suspend\/hibernate mode. This happens in Ubuntu &amp; Windows. So it must be the mechanism of the notebook &hellip; <a href=\"http:\/\/nycphantom.com\/journal\/?p=6293\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-6293","post","type-post","status-publish","format-standard","hentry","category-technical"],"_links":{"self":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/6293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6293"}],"version-history":[{"count":1,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/6293\/revisions"}],"predecessor-version":[{"id":6294,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/6293\/revisions\/6294"}],"wp:attachment":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6293"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}