<html>
    <head>
      <base href="https://bugzilla.rosalinux.ru/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Platform</th>
          <td>2021.1
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - Нельзя отключить энергосбережение в kde5 5.27"
   href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=13238">13238</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Нельзя отключить энергосбережение в kde5 5.27
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>ROSA-based products
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ROSA Fresh
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>CONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Packages from Main
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugs&#64;lists.rosalinux.ru
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>m.novosyolov&#64;rosalinux.ru
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>bugs&#64;lists.rosalinux.ru
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>В пакет plasma5-config-fresh недавно был добавлен такой файл:

$ cat /etc/xdg/powermanagementprofilesrc
[AC][BrightnessControl]
value=100

[AC][DPMSControl]
idleTime=600

[AC][DimDisplay]
idleTime=300000

[AC][KeyboardBrightnessControl]
value=100

[AC][SuspendSession]
idleTime[$d]
suspendType[$d]

[AC][HandleButtonEvents]
lidAction=1
powerButtonAction=1
powerDownAction=1

Когда есть такой файл, не работает смена настроек пользователем.
Заходим в Параметры системы (systemsettings5) -&gt; Энергосбережение.
Снимаем галку &quot;Энергосбережение&quot;, применяем, переходим в другой раздел
настроек, переходим обратно, а галка снова стоит.
Это потому что кдешники сделали так, что когда галка снята, строки из
~/.config/powermanagementprofilesrc просто удаляются.
Если бы они не удалялись, а записывались с путями значениями, то они были бы
приоритетнее /etc/xdg/*.

Это нужно решать с апстримом KDE, временное решение - перенести файл в
/etc/skel.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>