{"id":40,"date":"2023-03-24T18:33:37","date_gmt":"2023-03-24T17:33:37","guid":{"rendered":"https:\/\/palek.ovh\/?p=40"},"modified":"2023-03-24T18:33:37","modified_gmt":"2023-03-24T17:33:37","slug":"brak-usypiania-systemu-po-zamknieciu-pokrywy-w-ubuntu-oraz-centos","status":"publish","type":"post","link":"https:\/\/palek.ovh\/index.php\/2023\/03\/24\/brak-usypiania-systemu-po-zamknieciu-pokrywy-w-ubuntu-oraz-centos\/","title":{"rendered":"Brak usypiania systemu po zamkni\u0119ciu pokrywy w Ubuntu oraz Centos"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Poni\u017cszy wpis opisuje spos\u00f3b aby nasz laptop po zamkni\u0119ciu pokrywy nie przechodzi\u0142 w tryb u\u015bpienia.<br>Jest to przydatne je\u015bli z laptopa zrobili\u015bmy sobie serwer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edytujemy plik\u00a0<strong>\/etc\/systemd\/logind.conf<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">nano \/etc\/systemd\/logind.conf<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">I dopisujemy linijk\u0119:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">HandleLidSwitch=ignore<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Na koniec prze\u0142adowujemy us\u0142ug\u0119.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">sudo systemctl restart systemd-logind<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Od teraz mo\u017cemy zamkn\u0105\u0107 pokryw\u0119, a system pozostanie w ci\u0105g\u0142ej pracy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Poni\u017cszy wpis opisuje spos\u00f3b aby nasz laptop po zamkni\u0119ciu pokrywy nie przechodzi\u0142 w tryb u\u015bpienia.Jest to przydatne je\u015bli z laptopa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":2,"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":42,"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/posts\/40\/revisions\/42"}],"wp:attachment":[{"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/palek.ovh\/index.php\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}