<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Lock the CD tray when the laptop&#8217;s lid is closed</title>
	<atom:link href="http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/</link>
	<description>I would love to change the world, but they won&#039;t give me the source code...</description>
	<lastBuildDate>Fri, 16 Dec 2011 09:41:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: danish</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-8849</link>
		<dc:creator>danish</dc:creator>
		<pubDate>Fri, 04 Sep 2009 17:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-8849</guid>
		<description>Thanks for great tutorial, and I will bookmark it, waiting for ideas from your side. Thanks :)</description>
		<content:encoded><![CDATA[<p>Thanks for great tutorial, and I will bookmark it, waiting for ideas from your side. Thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RainCT</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-8795</link>
		<dc:creator>RainCT</dc:creator>
		<pubDate>Tue, 01 Sep 2009 12:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-8795</guid>
		<description>@Matty: That should work on most distributions, only the location and contents of the /etc/acpi/lid.sh file may vary.</description>
		<content:encoded><![CDATA[<p>@Matty: That should work on most distributions, only the location and contents of the /etc/acpi/lid.sh file may vary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matty</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-8794</link>
		<dc:creator>Matty</dc:creator>
		<pubDate>Tue, 01 Sep 2009 11:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-8794</guid>
		<description>Wow! Thanks for your tutorial, I&#039;ll try this interesting stuff on my laptop. And any apps do the same work on other Linux OS?</description>
		<content:encoded><![CDATA[<p>Wow! Thanks for your tutorial, I&#8217;ll try this interesting stuff on my laptop. And any apps do the same work on other Linux OS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cheapipod</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-5407</link>
		<dc:creator>cheapipod</dc:creator>
		<pubDate>Tue, 07 Apr 2009 18:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-5407</guid>
		<description>this is useful technic my cd tray alway open when I don&#039;t want to use it</description>
		<content:encoded><![CDATA[<p>this is useful technic my cd tray alway open when I don&#8217;t want to use it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RainCT</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-3951</link>
		<dc:creator>RainCT</dc:creator>
		<pubDate>Thu, 05 Feb 2009 20:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-3951</guid>
		<description>I&#039;ve backported the new version «eject» in my PPA, so if you install the updated package from there (or you already run Jaunty) you can change «[ ! -f /usr/local/bin/ulcdrom ] &#124;&#124; /usr/local/bin/ulcdrom -l» to «eject -i 1», and «[ ! -f /usr/local/bin/ulcdrom ] &#124;&#124; /usr/local/bin/ulcdrom -u» to «eject -i 0» and you won&#039;t need ulcdrom.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve backported the new version «eject» in my PPA, so if you install the updated package from there (or you already run Jaunty) you can change «[ ! -f /usr/local/bin/ulcdrom ] || /usr/local/bin/ulcdrom -l» to «eject -i 1», and «[ ! -f /usr/local/bin/ulcdrom ] || /usr/local/bin/ulcdrom -u» to «eject -i 0» and you won&#8217;t need ulcdrom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RainCT</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-3908</link>
		<dc:creator>RainCT</dc:creator>
		<pubDate>Fri, 30 Jan 2009 13:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-3908</guid>
		<description>[Marius]
&gt;&gt; setcd(1) implies that the locking flag takes effect only when
&gt;&gt; the cdrom device is open (e.g. when a cdrom is mounted).

So, this isn&#039;t what I needed. But thanks for the info :).</description>
		<content:encoded><![CDATA[<p>[Marius]<br />
>> setcd(1) implies that the locking flag takes effect only when<br />
>> the cdrom device is open (e.g. when a cdrom is mounted).</p>
<p>So, this isn&#8217;t what I needed. But thanks for the info :).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-3906</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Fri, 30 Jan 2009 12:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-3906</guid>
		<description>sudo apt-get install setcd.

setcd -l 0&#124;1

Available in Ubuntu since Dapper.

On the other hand, setcd(1) implies that the locking flag takes effect only when the cdrom device is open (e.g. when a cdrom is mounted).  I wonder if Jaunty&#039;s eject/ulcdrom does something different?</description>
		<content:encoded><![CDATA[<p>sudo apt-get install setcd.</p>
<p>setcd -l 0|1</p>
<p>Available in Ubuntu since Dapper.</p>
<p>On the other hand, setcd(1) implies that the locking flag takes effect only when the cdrom device is open (e.g. when a cdrom is mounted).  I wonder if Jaunty&#8217;s eject/ulcdrom does something different?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gui</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-3889</link>
		<dc:creator>gui</dc:creator>
		<pubDate>Thu, 29 Jan 2009 03:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-3889</guid>
		<description>it would be really cool if this was in an option in some gui...

ever since I got my new laptop, I keep accidentally ejected it while the lid is closed and its going into my case, or I&#039;m carrying it around, etc</description>
		<content:encoded><![CDATA[<p>it would be really cool if this was in an option in some gui&#8230;</p>
<p>ever since I got my new laptop, I keep accidentally ejected it while the lid is closed and its going into my case, or I&#8217;m carrying it around, etc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralesk</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-3886</link>
		<dc:creator>Ralesk</dc:creator>
		<pubDate>Wed, 28 Jan 2009 22:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-3886</guid>
		<description>http://cdctl.sourceforge.net/ :)</description>
		<content:encoded><![CDATA[<p><a href="http://cdctl.sourceforge.net/">http://cdctl.sourceforge.net/</a> :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RainCT</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-3884</link>
		<dc:creator>RainCT</dc:creator>
		<pubDate>Wed, 28 Jan 2009 20:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-3884</guid>
		<description>Martijn: Oh, thanks for letting me know about this. However, this option is only available on Jaunty.</description>
		<content:encoded><![CDATA[<p>Martijn: Oh, thanks for letting me know about this. However, this option is only available on Jaunty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://bloc.eurion.net/archives/2009/lock-cd-tray-when-laptop-lid-closed/comment-page-1/#comment-3882</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Wed, 28 Jan 2009 20:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://bloc.eurion.net/?p=167#comment-3882</guid>
		<description>From the manpage of eject(1):

-i on&#124;1&#124;off&#124;0
This  option  controls  locking of the hardware eject button. When enabled, the drive will not be ejected when the button is pressed.  This is useful when you are carrying a  laptop  in a bag or case and don’t want it to eject if the button is inadvertently pressed.</description>
		<content:encoded><![CDATA[<p>From the manpage of eject(1):</p>
<p>-i on|1|off|0<br />
This  option  controls  locking of the hardware eject button. When enabled, the drive will not be ejected when the button is pressed.  This is useful when you are carrying a  laptop  in a bag or case and don’t want it to eject if the button is inadvertently pressed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

