I've seen several posts on the above topics and I wanted to submit my fix just in case it helps. If this isn't helpful or accurate please delete it.
Firstly I couldn't find the wayfire.ini so I ran raspi-config from the command line and enabled wayfire.
Option 6
Option A6
Option W2
I rebooted and found the wayfire.ini and edited it and added the [idle] section
~/.config/wayfire.ini
[idle]
dpms_timeout=60
This didn't seem to work so I read more and concluded I needed to edit the file below.
/usr/share/wayfire/metadata/idle.xml
I replaced this section (-1) with (600)
<option name="dpms_timeout" type="int">
<_short>DPMS timeout</_short>
<_long>Enters power saving mode after the specified seconds of inactivity. Setting the value to **-1** disables power saving.</_long>
<default>-1</default>
<option name="dpms_timeout" type="int">
<_short>DPMS timeout</_short>
<_long>Enters power saving mode after the specified seconds of inactivity. Setting the value to **-1** disables power saving.</_long>
<default>600</default>
It started working but it appears the wayfire.ini takes precedence.
Firstly I couldn't find the wayfire.ini so I ran raspi-config from the command line and enabled wayfire.
Option 6
Option A6
Option W2
I rebooted and found the wayfire.ini and edited it and added the [idle] section
~/.config/wayfire.ini
[idle]
dpms_timeout=60
This didn't seem to work so I read more and concluded I needed to edit the file below.
/usr/share/wayfire/metadata/idle.xml
I replaced this section (-1) with (600)
<option name="dpms_timeout" type="int">
<_short>DPMS timeout</_short>
<_long>Enters power saving mode after the specified seconds of inactivity. Setting the value to **-1** disables power saving.</_long>
<default>-1</default>
<option name="dpms_timeout" type="int">
<_short>DPMS timeout</_short>
<_long>Enters power saving mode after the specified seconds of inactivity. Setting the value to **-1** disables power saving.</_long>
<default>600</default>
It started working but it appears the wayfire.ini takes precedence.
Statistics: Posted by Baneen — Mon Dec 16, 2024 8:40 pm