{"id":13574,"date":"2023-08-07T07:06:18","date_gmt":"2023-08-06T22:06:18","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=13574"},"modified":"2024-02-08T07:22:16","modified_gmt":"2024-02-07T22:22:16","slug":"%e3%83%8e%e3%83%bc%e3%83%88%e3%83%91%e3%82%bd%e3%82%b3%e3%83%b3%e3%81%ae%e3%82%b5%e3%82%b9%e3%83%9a%e3%83%b3%e3%83%89%e3%82%92%e7%84%a1%e5%8a%b9%e5%8c%96%e3%81%99%e3%82%8b%ef%bc%81%ef%bc%88ubuntu-desk","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/13574","title":{"rendered":"Ubuntu Desktop 22.04\u3067\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u306e\u30b5\u30b9\u30da\u30f3\u30c9\u3092\u7121\u52b9\u5316\u3059\u308b\uff01"},"content":{"rendered":"<p>Ubuntu Desktop 22.04\u3067\u3001\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3067\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u9589\u3058\u3066\u3082\u30b5\u30b9\u30da\u30f3\u30c9\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u8a2d\u5b9a\u3092\u884c\u3046\u74b0\u5883\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u8a2d\u5b9a\u3092\u884c\u3046\u74b0\u5883\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ hostnamectl\r\n Static hostname: npc001p1\r\n       Icon name: computer-laptop\r\n         Chassis: laptop\r\n      Machine ID: 1be8cc5d98c4427f86057b40277f6ab5\r\n         Boot ID: ac4232758d9b4b9e94aef7381caa70c8\r\nOperating System: Ubuntu 22.04.3 LTS              \r\n          Kernel: Linux 6.2.0-26-generic\r\n    Architecture: x86-64\r\n Hardware Vendor: Lenovo\r\n  Hardware Model: ThinkPad X200s\r\n<\/pre>\n<h2>\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u306e\u96fb\u6e90\u5236\u5fa1\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\uff01<\/h2>\n<p>Ubuntu Desktop\u3067OS\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u300csettings\u300d\u306e\u753b\u9762\u3092\u958b\u304d\u3001\u300cPower\u300d\u306e\u300cPower Saving Options\u300d\u306e\u9805\u76ee\u3067\u300cAutomatic Suspend\u300d\u306e\u8a2d\u5b9a\u3092\u300cOff\u300d\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u306e\u753b\u9762\u3092\u9589\u3058\u305f\u3068\u304d\u306e\u52d5\u4f5c\u306e\u5909\u66f4\u3059\u308b\uff01<\/h2>\n<p>\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u306e\u753b\u9762\u3092\u9589\u3058\u3066\u3082\u30b5\u30b9\u30da\u30f3\u30c9\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u300clogind.conf\u300d\u306e\u300cHandleLidSwitch\u300d\u3092\u300cignore\u300d\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,3,4]; title: ; notranslate\" title=\"\">\r\n$ grep HandleLidSwitch= \/etc\/systemd\/logind.conf\r\n#HandleLidSwitch=suspend\r\n$ sudo sed -i 's\/#HandleLidSwitch=suspend\/HandleLidSwitch=ignore\/g' \/etc\/systemd\/logind.conf\r\n$ grep HandleLidSwitch= \/etc\/systemd\/logind.conf\r\nHandleLidSwitch=ignore\r\n<\/pre>\n<p>\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30de\u30b7\u30f3\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo reboot\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Ubuntu Desktop 22.04\u3067\u3001\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3067\u3082\u30b5\u30b9\u30da\u30f3\u30c9\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu Desktop 22.04\u3067\u3001\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3067\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u9589\u3058\u3066\u3082\u30b5\u30b9\u30da\u30f3\u30c9\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5284,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[237],"tags":[51,274,488,426,332],"class_list":["post-13574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu-desktop-2204","tag-ubuntu","tag-ubuntu-desktop","tag-ubuntu-desktop-22-04","tag-426","tag-332"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=13574"}],"version-history":[{"count":9,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13574\/revisions"}],"predecessor-version":[{"id":13798,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13574\/revisions\/13798"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5284"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=13574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=13574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=13574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}