https://paz00.ru/index.php?title=Cpufreq&feed=atom&action=history
Cpufreq - История изменений
2024-03-28T11:44:15Z
История изменений этой страницы в вики
MediaWiki 1.39.5
https://paz00.ru/index.php?title=Cpufreq&diff=806&oldid=prev
Stuw: Fix links to notify-send-from-daemon.sh and notify-battery-level.sh
2015-03-26T09:28:57Z
<p>Fix links to notify-send-from-daemon.sh and notify-battery-level.sh</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="ru">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Предыдущая версия</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Версия от 09:28, 26 марта 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l21">Строка 21:</td>
<td colspan="2" class="diff-lineno">Строка 21:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sudo apt-get install gnome-icon-theme elementary-icon-theme</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sudo apt-get install gnome-icon-theme elementary-icon-theme</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>4.2. Добавляем скрипты-костыли для отображения уведомлений от демонов</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>4.2. Добавляем скрипты-костыли для отображения уведомлений от демонов<ins style="font-weight: bold; text-decoration: none;"><br /></ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[<del style="font-weight: bold; text-decoration: none;">http</del>:<del style="font-weight: bold; text-decoration: none;">//paz00.runotify-send-from-daemon.sh </del>notify-send-from-daemon.sh] [<del style="font-weight: bold; text-decoration: none;">http</del>:<del style="font-weight: bold; text-decoration: none;">//paz00.runotify-battery-level.sh </del>notify-battery-level.sh]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[<ins style="font-weight: bold; text-decoration: none;">[File</ins>:notify-send-from-daemon.sh]<ins style="font-weight: bold; text-decoration: none;">]<br /></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[</ins>[<ins style="font-weight: bold; text-decoration: none;">File</ins>:notify-battery-level.sh<ins style="font-weight: bold; text-decoration: none;">]</ins>]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd /tmp</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>cd /tmp</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>wget -O notify-send-from-daemon.sh <del style="font-weight: bold; text-decoration: none;">http</del>://<del style="font-weight: bold; text-decoration: none;">ac100</del>.<del style="font-weight: bold; text-decoration: none;">wikispaces.com</del>/<del style="font-weight: bold; text-decoration: none;">file</del>/<del style="font-weight: bold; text-decoration: none;">view</del>/<del style="font-weight: bold; text-decoration: none;">notify</del>-send-from-daemon.sh</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>wget -O notify-send-from-daemon.sh <ins style="font-weight: bold; text-decoration: none;">https</ins>://<ins style="font-weight: bold; text-decoration: none;">paz00</ins>.<ins style="font-weight: bold; text-decoration: none;">ru/images</ins>/<ins style="font-weight: bold; text-decoration: none;">f</ins>/<ins style="font-weight: bold; text-decoration: none;">f3</ins>/<ins style="font-weight: bold; text-decoration: none;">Notify</ins>-send-from-daemon.sh</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sed -i "s/\[username\]/$(whoami)/" notify-send-from-daemon.sh</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sed -i "s/\[username\]/$(whoami)/" notify-send-from-daemon.sh</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>chmod +x notify-send-from-daemon.sh</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>chmod +x notify-send-from-daemon.sh</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sudo mv notify-send-from-daemon.sh /usr/local/bin/</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>sudo mv notify-send-from-daemon.sh /usr/local/bin/</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>sudo wget -O /usr/local/bin/notify-battery-level.sh <del style="font-weight: bold; text-decoration: none;">http</del>://<del style="font-weight: bold; text-decoration: none;">ac100</del>.<del style="font-weight: bold; text-decoration: none;">wikispaces.com</del>/<del style="font-weight: bold; text-decoration: none;">file</del>/<del style="font-weight: bold; text-decoration: none;">view</del>/<del style="font-weight: bold; text-decoration: none;">notify</del>-battery-level<del style="font-weight: bold; text-decoration: none;">.sh </del>.sh</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>sudo wget -O /usr/local/bin/notify-battery-level.sh <ins style="font-weight: bold; text-decoration: none;">https</ins>://<ins style="font-weight: bold; text-decoration: none;">paz00</ins>.<ins style="font-weight: bold; text-decoration: none;">ru/images</ins>/<ins style="font-weight: bold; text-decoration: none;">9</ins>/<ins style="font-weight: bold; text-decoration: none;">92</ins>/<ins style="font-weight: bold; text-decoration: none;">Notify</ins>-battery-level.sh</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>
Stuw
https://paz00.ru/index.php?title=Cpufreq&diff=805&oldid=prev
Stuw: Fix link to cpufreqd.patch
2015-03-26T09:24:19Z
<p>Fix link to cpufreqd.patch</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="ru">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Предыдущая версия</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Версия от 09:24, 26 марта 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8">Строка 8:</td>
<td colspan="2" class="diff-lineno">Строка 8:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /etc/init.d/</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> cd /etc/init.d/</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> wget http://<del style="font-weight: bold; text-decoration: none;">ac100</del>.<del style="font-weight: bold; text-decoration: none;">wikispaces.com</del>/<del style="font-weight: bold; text-decoration: none;">file</del>/<del style="font-weight: bold; text-decoration: none;">view</del>/<del style="font-weight: bold; text-decoration: none;">cpufreqd</del>.patch -O /tmp/cpufreqd.patch</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> wget http://<ins style="font-weight: bold; text-decoration: none;">paz00</ins>.<ins style="font-weight: bold; text-decoration: none;">ru/images</ins>/<ins style="font-weight: bold; text-decoration: none;">f</ins>/<ins style="font-weight: bold; text-decoration: none;">f4</ins>/<ins style="font-weight: bold; text-decoration: none;">Cpufreqd</ins>.patch -O /tmp/cpufreqd.patch</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> sudo patch -i /tmp/cpufreqd.patch</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> sudo patch -i /tmp/cpufreqd.patch</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l14">Строка 14:</td>
<td colspan="2" class="diff-lineno">Строка 14:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[http://paz00.rucpufreqd.conf cpufreqd.conf]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[http://paz00.rucpufreqd.conf cpufreqd.conf]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>sudo wget http://<del style="font-weight: bold; text-decoration: none;">ac100</del>.<del style="font-weight: bold; text-decoration: none;">wikispaces.com</del>/<del style="font-weight: bold; text-decoration: none;">file</del>/<del style="font-weight: bold; text-decoration: none;">view</del>/<del style="font-weight: bold; text-decoration: none;">cpufreqd</del>.<del style="font-weight: bold; text-decoration: none;">conf </del>-O /etc/cpufreqd.conf</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>sudo wget http://<ins style="font-weight: bold; text-decoration: none;">paz00</ins>.<ins style="font-weight: bold; text-decoration: none;">ru/images</ins>/<ins style="font-weight: bold; text-decoration: none;">f</ins>/<ins style="font-weight: bold; text-decoration: none;">f4</ins>/<ins style="font-weight: bold; text-decoration: none;">Cpufreqd</ins>.<ins style="font-weight: bold; text-decoration: none;">patch </ins>-O /etc/cpufreqd.conf</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>4. Шаг '''необязательный''', но нужный, если вы хотите [[Cpufreq#screens|красивые уведомлялки]] при смене профилей:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>4. Шаг '''необязательный''', но нужный, если вы хотите [[Cpufreq#screens|красивые уведомлялки]] при смене профилей:</div></td></tr>
</table>
Stuw
https://paz00.ru/index.php?title=Cpufreq&diff=672&oldid=prev
Zombah: fix image links
2015-01-16T15:03:17Z
<p>fix image links</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="ru">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Предыдущая версия</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Версия от 15:03, 16 января 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l87">Строка 87:</td>
<td colspan="2" class="diff-lineno">Строка 87:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Скриншоты== </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Скриншоты== </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[File:battery-level-1.png|600x300px<del style="font-weight: bold; text-decoration: none;">|link=file:ac100/battery-level-1.png</del>]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[File:battery-level-1.png|600x300px]]</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[File:battery-level-2.png|600x300px<del style="font-weight: bold; text-decoration: none;">|link=file:ac100/battery-level-2.png</del>]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[File:battery-level-2.png|600x300px]]</div></td></tr>
</table>
Zombah
https://paz00.ru/index.php?title=Cpufreq&diff=211&oldid=prev
Unknown user в 08:15, 15 октября 2014
2014-10-15T08:15:03Z
<p></p>
<p><b>Новая страница</b></p><div>Улучшаем энергосбережение для большей продолжительности работы от батареи.<br />
<br />
==Установка== <br />
<br />
1. Ставим '''cpufreq''' и '''cpufreqd'''<br />
<br />
<span style="background-color: #ffffff; font-family: Arial; font-size: 13px; vertical-align: baseline;">2. Патчим стартовый скрипт</span>'''<span style="font-family: Ubuntu; font-size: medium;"><span style="background-color: #ffffff; font-family: Arial; font-size: 13px; vertical-align: baseline;"> cpufreqd.</span></span>'''<br />
<pre><br />
cd /etc/init.d/<br />
wget http://ac100.wikispaces.com/file/view/cpufreqd.patch -O /tmp/cpufreqd.patch<br />
sudo patch -i /tmp/cpufreqd.patch<br />
</pre><br />
3. Копируем конфиг для управления частотами<br />
[http://paz00.rucpufreqd.conf cpufreqd.conf]<br />
<pre><br />
sudo wget http://ac100.wikispaces.com/file/view/cpufreqd.conf -O /etc/cpufreqd.conf<br />
</pre><br />
4. Шаг '''необязательный''', но нужный, если вы хотите [[Cpufreq#screens|красивые уведомлялки]] при смене профилей:<br />
4.1. Ставим пакеты иконок gnome и elementary (для ubuntu)<br />
<pre><br />
sudo apt-get install gnome-icon-theme elementary-icon-theme<br />
</pre><br />
4.2. Добавляем скрипты-костыли для отображения уведомлений от демонов<br />
[http://paz00.runotify-send-from-daemon.sh notify-send-from-daemon.sh] [http://paz00.runotify-battery-level.sh notify-battery-level.sh]<br />
<pre><br />
cd /tmp<br />
wget -O notify-send-from-daemon.sh http://ac100.wikispaces.com/file/view/notify-send-from-daemon.sh<br />
sed -i "s/\[username\]/$(whoami)/" notify-send-from-daemon.sh<br />
chmod +x notify-send-from-daemon.sh<br />
sudo mv notify-send-from-daemon.sh /usr/local/bin/<br />
sudo wget -O /usr/local/bin/notify-battery-level.sh http://ac100.wikispaces.com/file/view/notify-battery-level.sh .sh<br />
</pre><br />
<br />
===Профили=== <br />
{| style="border: 1px solid #c6c9ff; border-collapse: collapse;" cellspacing="0" cellpadding="10" border="1"<br />
|-<br />
|align="center" | '''Профиль''' <br />
|<br />
||= '''Performance''' <br />
|align="center" | '''Normal''' <br />
|align="center" | '''Powersave''' <br />
|-<br />
|align="center" | '''Батарея/Событие''' <br />
|align="center" | Зарядка <br />
|align="center" | mplayer, xine <br />
|align="center" | 100%-20% <br />
|align="center" | <20% батареи <br />
|-<br />
|align="center" | '''Политика cpufreq''' <br />
|<br />
||= performance <br />
|align="center" | ondemand <br />
|align="center" | powersave <br />
|-<br />
|align="center" | '''Частоты''' <br />
|<br />
||= 1Ghz <br />
|align="center" | 1Ghz-216Mhz <br />
|align="center" | 312Mhz-216Mhz <br />
|}<br />
Все переходы сопровождаются уведомлениями. Профили "зарядка/видео" имеют больший приоритет, чем остальные. То есть, если вы запустите mplayer даже при 5% батареи, процессор будет работать на максимуме.1Ghz<br />
<br />
==Полезные команды== <br />
<br />
* Получить много полезной информации<br />
<pre><br />
cpufreq-info<br />
</pre><br />
* Узнать только текущую частоту<br />
<pre><br />
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq<br />
</pre><br />
* Посмотреть профили<br />
<pre><br />
sudo cpufreqd-get<br />
</pre><br />
* Установить принудительно свой собственный профиль (например, макс. производительность - 1й профиль из списка предыдущей команды)<br />
<pre><br />
sudo cpufreqd-set manual<br />
sudo cpufreqd-set 1<br />
</pre><br />
* Вернуть динамическое управление частотой<br />
<pre><br />
sudo cpufreqd-set dynamic<br />
</pre><br />
<br />
==Скриншоты== <br />
<br />
[[File:battery-level-1.png|600x300px|link=file:ac100/battery-level-1.png]]<br />
[[File:battery-level-2.png|600x300px|link=file:ac100/battery-level-2.png]]</div>
Unknown user