{"id":271,"date":"2023-12-10T22:28:05","date_gmt":"2023-12-11T02:28:05","guid":{"rendered":"https:\/\/notebook.chaopricha.com\/?p=271"},"modified":"2023-12-10T22:30:57","modified_gmt":"2023-12-11T02:30:57","slug":"how-to-enable-screen-saver-and-screen-blanking-on-rpi-bookwork-os","status":"publish","type":"post","link":"https:\/\/notebook.chaopricha.com\/?p=271","title":{"rendered":"How To Enable Screensaver And Screen Blanking On RPi O\/S Bookworm (Running Wayland)"},"content":{"rendered":"\n<p>I have been playing with Raspbian OS 64-bit Bookworm for a couple of weeks now.  It&#8217;s running quite nicely on my 8GB Compute Module 4 on the Radxa Taco v.1.3 breakout board.  It&#8217;s setup as a Direct Attached Storage (DAS) device that I used samba to share the RAID5 16TB cluster with my local network.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" src=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-576x1024.jpg\" alt=\"\" class=\"wp-image-272\" srcset=\"https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-576x1024.jpg 576w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-169x300.jpg 169w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-768x1365.jpg 768w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-864x1536.jpg 864w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-1152x2048.jpg 1152w, https:\/\/notebook.chaopricha.com\/wp-content\/uploads\/2023\/12\/PXL_20231208_024513811-scaled.jpg 1440w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/figure>\n\n\n\n<p> I only need to see the monitor output during the setup and now that it&#8217;s up and running I don&#8217;t use the display a lot anymore.  I noticed that for some reasons the monitor screen never blank out as it did when I was running the previous Bullseye OS.  I found out that the Xscreensaver program doesn&#8217;t work under Wayland and the work around seems like too much work.  If you are interested you can try here:  <a href=\"https:\/\/www.linux.org\/threads\/xscreensaver-under-wayland.43543\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.linux.org\/threads\/xscreensaver-under-wayland.43543\/<\/a><\/p>\n\n\n\n<p>After browsing the internet for a while looking for a way to get a screen saver or blanking the monitor to work, I discovered that all you need to do is modifying a configuration <br><code>sudo nano ~\/.config\/wayfire.ini<\/code><\/p>\n\n\n\n<p>Scroll down to the bottom and add the following<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;idle]\nscreensaver_timeout = 120\ndpms_timeout = 300<\/code><\/pre>\n\n\n\n<p>The time unit is in milliseconds so in my example, the screen saver comes on after 2 seconds and the screen blanking after 5 seconds.  You can put -1 to disable either or both of them.  The screen saver is just your screen turning into a spinning cube.  I haven&#8217;t figured out how to change it to a different option yet, but this will do for now.<\/p>\n\n\n\n<p>Some people complained that this configuration doesn&#8217;t work for them.  I don&#8217;t know the exact reason as to why that would be.  I want to note that I only have one monitor running at 1920&#215;1080 @ 60 Hz in a Horizontal orientation.   Sounds like people with multiple screens or a vertical orientation might have an issue getting the screen saver or blanking to work properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been playing with Raspbian OS 64-bit Bookworm for a couple of weeks now. It&#8217;s running quite nicely on my 8GB Compute Module 4 on the Radxa Taco v.1.3 breakout board. It&#8217;s setup as a Direct Attached Storage (DAS) &hellip; <a href=\"https:\/\/notebook.chaopricha.com\/?p=271\">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":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts\/271"}],"collection":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271"}],"version-history":[{"count":3,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=\/wp\/v2\/posts\/271\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notebook.chaopricha.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}