{"author_name":"Pocke","title":"pm-utils\u3067\u30b9\u30ea\u30fc\u30d7\u306b\u30d5\u30c3\u30af\u3057\u3066\u753b\u9762\u3092\u30ed\u30c3\u30af\u3057\u305f\u3002","provider_name":"Hatena Blog","version":"1.0","width":"100%","blog_url":"https://pocke.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpocke.hatenablog.com%2Fentry%2F2014%2F05%2F10%2F211752\" title=\"pm-utils\u3067\u30b9\u30ea\u30fc\u30d7\u306b\u30d5\u30c3\u30af\u3057\u3066\u753b\u9762\u3092\u30ed\u30c3\u30af\u3057\u305f\u3002 - pockestrap\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"pockestrap","type":"rich","provider_url":"https://hatena.blog","categories":["Linux","ThinkPad"],"url":"https://pocke.hatenablog.com/entry/2014/05/10/211752","image_url":null,"author_url":"https://blog.hatena.ne.jp/Pocke/","description":"\u73fe\u72b6 \u30ce\u30fc\u30c8PC\u3092\u30b9\u30ea\u30fc\u30d7\u3057\u3066\u3082\u753b\u9762\u304c\u30ed\u30c3\u30af\u3055\u308c\u306a\u3044\u3002 \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u307e\u305a\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3002 \u74b0\u5883 ThinkPad x240 Arch Linux awesome window manager \u6539\u5584 Install $ sudo pacman -S xtrlock Setting /etc/pm/sleep.d/10lock #!/bin/bash if [ $1 = suspend ]; then export DISPLAY=':0' su pocke -c \"/usr/bin/xtrlock -b\" & fi pocke \u306f\u81ea\u5206\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u306b\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002 \u4ee5\u4e0a\u3002pm-utils\u2026","height":"190","published":"2014-05-10 21:17:52"}