<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Fedora 15 и ноутбук Samsung R503]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=16434</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=16434&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Fedora 15 и ноутбук Samsung R503».]]></description>
		<lastBuildDate>Wed, 21 Sep 2011 11:12:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Fedora 15 и ноутбук Samsung R503]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=213840#p213840</link>
			<description><![CDATA[<p>Лучше бы Вы конечно послушали Vascom. Если есть желание - покопайтесь вот здесь: gconf-editor, выберите apps &gt; gnome-power-manager &gt; (это в 14 версии, там куча настроек про питание и закрытие крышек, а где в 15 не знаю)</p><p>gconf-editor, выберите apps &gt; gnome-power-manager &gt; button &gt; lid_ac (и lid_battery)</p>]]></description>
			<author><![CDATA[null@example.com (AAD)]]></author>
			<pubDate>Wed, 21 Sep 2011 11:12:10 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=213840#p213840</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fedora 15 и ноутбук Samsung R503]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=213243#p213243</link>
			<description><![CDATA[<p>Я же не зря про KDE4 сказал. В lxde такой проблемы не наблюдается. Так что я сильно сомневаюсь, что дело в acpi.&nbsp; wink</p>]]></description>
			<author><![CDATA[null@example.com (LuckyStar)]]></author>
			<pubDate>Mon, 19 Sep 2011 12:41:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=213243#p213243</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fedora 15 и ноутбук Samsung R503]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=212649#p212649</link>
			<description><![CDATA[<p>Ты попробуй как я сказал, чтобы убедиться, что дело в acpi.</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Sat, 17 Sep 2011 05:18:11 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=212649#p212649</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fedora 15 и ноутбук Samsung R503]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=212598#p212598</link>
			<description><![CDATA[<p>А еще есть какие-то варианты? AAD писал в соседней теме про багтрекер и менеджер питания...</p>]]></description>
			<author><![CDATA[null@example.com (LuckyStar)]]></author>
			<pubDate>Fri, 16 Sep 2011 18:37:09 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=212598#p212598</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fedora 15 и ноутбук Samsung R503]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=210981#p210981</link>
			<description><![CDATA[<p>Попробуй с опцией ядра noacpi.</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Mon, 12 Sep 2011 06:11:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=210981#p210981</guid>
		</item>
		<item>
			<title><![CDATA[Fedora 15 и ноутбук Samsung R503]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=210634#p210634</link>
			<description><![CDATA[<p>На ноутбуке Samsung R503 установлена Fedora 15 с KDE4. В настройках электропитания везде выставлено - &quot;При закрытии крышки ноутбука - Ничего не делать&quot;, но все равно система уходит в ждущий режим. Подскажите, как это поправить?</p><p>В спойлере все то, что есть в /etc/acpi/<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>[root@luckynote /]# ls /etc/acpi/<br />actions&nbsp; events</p><br /><p>[root@luckynote /]# ls /etc/acpi/actions/<br />power.sh</p><br /><p>[root@luckynote /]# ls /etc/acpi/events/<br />powerconf&nbsp; videoconf</p><br /><p>[root@luckynote /]# cat /etc/acpi/actions/power.sh <br />#!/bin/sh</p><p>PATH=/sbin:/bin:/usr/bin</p><p># Get the ID of the first active X11 session:<br />uid_session=$(<br />ck-list-sessions | \<br />awk &#039;<br />/^Session[0-9]+:$/ { uid = active = x11 = &quot;&quot; ; next }<br />{ gsub(/&#039;\&#039;&#039;/, &quot;&quot;, $3) }<br />$1 == &quot;unix-user&quot; { uid = $3 }<br />$1 == &quot;active&quot; { active = $3 }<br />$1 == &quot;x11-display&quot; { x11 = $3 }<br />active == &quot;TRUE&quot; &amp;&amp; x11 != &quot;&quot; {<br />&nbsp; &nbsp; &nbsp; &nbsp; print uid<br />&nbsp; &nbsp; &nbsp; &nbsp; exit<br />}&#039;)</p><p># Check that there is a power manager, otherwise shut down.<br />[ &quot;$uid_session&quot; ] &amp;&amp;<br />ps axo uid,cmd | \<br />awk &#039;<br />&nbsp; &nbsp; $1 == &#039;$uid_session&#039; &amp;&amp;<br />&nbsp; &nbsp; &nbsp; &nbsp; ($2 ~ /gnome-power-manager/ || $2 ~ /kpowersave/ ||<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$2 ~ /kded4/ || $3 ~ /guidance-power-manager/) \<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { found = 1; exit }<br />&nbsp; &nbsp; END { exit !found }<br />&#039; ||<br />&nbsp; shutdown -h now</p><br /><br /><br /><br /><p>[root@luckynote /]# cat /etc/acpi/events/powerconf <br /># ACPID config to power down machine if powerbutton is pressed, but only if<br /># no gnome-power-manager is running</p><p>event=button/power.*<br />action=/etc/acpi/actions/power.sh</p><br /><br /><p>[root@luckynote /]# cat /etc/acpi/events/videoconf <br /># Configuration to turn on DPMS again on video activity, needed for some<br /># laptops. Disabled by default, uncomment if your laptop display stays blank<br /># after you close and open the lid.</p><p>#event=video.*<br />#action=/usr/sbin/vbetool dpms on</p></div></div>]]></description>
			<author><![CDATA[null@example.com (LuckyStar)]]></author>
			<pubDate>Sat, 10 Sep 2011 18:31:35 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=210634#p210634</guid>
		</item>
	</channel>
</rss>
