<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Yet another web log &#187; Ubuntu</title>
	<atom:link href="http://blog.philippheckel.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.philippheckel.com</link>
	<description>Life, Linux and other things</description>
	<lastBuildDate>Tue, 24 Aug 2010 05:24:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Dell Latitude E6400: the Ubuntu fan and noise problem</title>
		<link>http://blog.philippheckel.com/2009/09/21/dell-latitude-e6400-the-ubuntu-fan-and-noise-problem/</link>
		<comments>http://blog.philippheckel.com/2009/09/21/dell-latitude-e6400-the-ubuntu-fan-and-noise-problem/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 13:16:32 +0000</pubDate>
		<dc:creator>Philipp C. Heckel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Dell Latitude]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.philippheckel.com/2009/09/21/dell-latitude-e6400-the-ubuntu-fan-and-noise-problem/</guid>
		<description><![CDATA[A couple of days ago, my 4 year old laptop (HP nx8220) decided that it was time to retire and refused to switch on a couple of times. Even though it works most of the time, I can&#8217;t rely on it anymore and will therefore look for new notebooks in the next week. On my [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago, my 4 year old laptop (HP nx8220) decided that it was time to retire and refused to switch on a couple of times. Even though it works most of the time, I can&#8217;t rely on it anymore and will therefore look for new notebooks in the next week.</p>
<p>On my journey through the Web I looked into the details of various business notebooks. I stumbled across the <strong>Dell Latitude E6400</strong>, which looks nice and has everything I wanted. Unfortunately, it also seems to have problems with <strong>Ubuntu</strong>. In particular, the fan seems to run all the time (and not too slow, but very loud) &#8211; as many forum posts and user reviews prove [<a href="http://www.linlap.com/wiki/dell+latitude+e6400">1</a>,<a href="http://karussell.wordpress.com/2009/07/03/dell-latitude-e6400-the-perfect-linux-notebook-or-is-ubuntu-the-perfect-linux/">2</a>,<a href="http://en.community.dell.com/forums/t/19282841.aspx">3</a>,<a href="http://en.community.dell.com/forums/t/19249116.aspx">4</a>].</p>
<p>Since I couldn&#8217;t find a solution, I decided to ask the Dell support via their support chat.<br />
<span id="more-25"></span></p>
<p><strong>Update Nov/09</strong>: It appears that a BIOS update addresses the heat problem. Please refer to the <a href="http://en.community.dell.com/forums/t/19247293.aspx?PageIndex=12">community forum post</a> (thanks to <a href="#comment-12920">chato</a>) for details. </p>
<p>Here&#8217;s what I found out. Note: This is a chat with the German Dell support from September 21, 2009, translated into English.</p>
<blockquote><p>
<strong>Me</strong>:<br />
The Latitude E6400 has (like many forum posts say) a big problem with Ubuntu. In particular, the fan is always on and makes a lot of noise.</p>
<p><strong>Agent</strong>:<br />
Welcome to the Dell Chat.</p>
<p><strong>Me</strong>:<br />
Hallo. I&#8217;d like to know if there already is a solution for this problem. I was thinking about buying a E6400, but I couldn&#8217;t find any solutions for the fan/noise problem in Ubuntu.</p>
<p><strong>Agent</strong>:<br />
Since we do not support Ubuntu on this device, Dell does not work on a solution. Ubuntu is currently only supported on netbooks. There is no solution.</p>
<p><strong>Me</strong>:<br />
Okay. Do you think there will be a solution in the future? Is Dell planning to support Ubuntu on the E6400? Or never?!</p>
<p><strong>Agent</strong>:<br />
As I said, we don&#8217;t sell the device with Ubuntu.</p>
<p><strong>Me</strong>:<br />
Okay. Thank you for the honest answer. I&#8217;m gonna have to buy a Thinkpad then &#8230; Have a nice day.</p>
<p><strong>Agent</strong>:<br />
I&#8217;m sorry. But we don&#8217;t support Linux.</p>
<p><strong>Me</strong>:<br />
It&#8217;s not your fault. Thanks anyway. Good bye.</p>
<p><strong>Agent</strong>:<br />
I&#8217;m so sorry.
</p></blockquote>
<p>So the outcome is: <strong>The Dell Latitude E6400 doesn&#8217;t support Ubuntu and is NOT planning to solve the fan/noise problem.</strong>. That means, I&#8217;m gonna have to buy one of those ugly Thinkpads. But what other solutions are there?! None!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philippheckel.com/2009/09/21/dell-latitude-e6400-the-ubuntu-fan-and-noise-problem/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>GCALDaemon deb-package for Ubuntu/Kubuntu</title>
		<link>http://blog.philippheckel.com/2008/09/30/gcaldaemon-deb-package-for-ubuntu-kubuntu/</link>
		<comments>http://blog.philippheckel.com/2008/09/30/gcaldaemon-deb-package-for-ubuntu-kubuntu/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 16:50:38 +0000</pubDate>
		<dc:creator>Philipp C. Heckel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Synchronization]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.philippheckel.com/2008/09/30/gcaldaemon-deb-package-for-ubuntu-kubuntu/</guid>
		<description><![CDATA[GCALDaemon is a great tool to synchronise many of Google&#8217;s services such as Google Calendar and Contacts with your local PC. Unfortunately, the installation on Ubuntu/Kubuntu and any other Linux distribution is still not the most comfortable. For this reason, I sat down some hours and packed the tool into a deb-package and additionally added [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://gcaldaemon.sourceforge.net/">GCALDaemon</a> is a great tool to synchronise many of Google&#8217;s services such as Google Calendar and Contacts with your local PC. </p>
<p>Unfortunately, the installation on Ubuntu/Kubuntu and any other Linux distribution is still not the most comfortable. For this reason, I sat down some hours and packed the tool into a <strong>deb-package</strong> and additionally added a nice command line tool to simplify some of the basics.</p>
<p><span id="more-12"></span></p>
<p>For those who can&#8217;t wait, here&#8217;s the package: <a href="/uploads/2008/09/gcaldaemon_1.0beta16~ubuntu0_all.deb">gcaldaemon_1.0beta16~ubuntu0_all.deb</a></p>
<p><strong>Update Nov/08: Ubuntu Intrepid</strong>: I just re-installed my Ubuntu and successfully tested the provided version for the new system. Works like a charm for Hardy and for Intrepid.<br />
~ 150 downloads so far, no complains/malfunctions!</p>
<p><strong>Update Feb/09: Launchpad</strong>: I just uploaded the code that creates the deb-package on <a href="https://code.launchpad.net/~binwiederhier/+junk/gcaldaemon">Launchpad</a>. Maybe somebody of the Ubuntu team will pick it up and integrate it into the distribution. There is also a <a href="https://bugs.launchpad.net/ubuntu/+bug/305446">bug report</a> for this issue, &#8211; feel free to contribute. </p>
<p>For all of you interested how to create your own package from my sources, follow these steps:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ bzr branch <span style="color: #c20cb9; font-weight: bold;">lp</span>:~binwiederhier<span style="color: #000000; font-weight: bold;">/</span>+junk<span style="color: #000000; font-weight: bold;">/</span>gcaldaemon
$ <span style="color: #7a0874; font-weight: bold;">cd</span> gcaldaemon
$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>gcaldaemon<span style="color: #000000; font-weight: bold;">/</span>gcaldaemon-linux-<span style="color: #000000;">1.0</span>-beta16.zip
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>create-package.sh gcaldaemon-linux-<span style="color: #000000;">1.0</span>-beta16.zip <span style="color: #ff0000;">'gcaldaemon_1.0beta16~ubuntu0_all.deb'</span>
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> gcaldaemon_1.0beta16~ubuntu0_all.deb</pre></div></div>

<p><strong>Update Apr/09: Ubuntu 9.04, Jaunty Jackalope</strong>: As <a href="#comment-4872">Jens</a> just wrote in the comments-section, the deb-package seems to work for Jaunty as well without complications. Yeyy!</p>
<h3 id="toc-download-and-install">Download and install</h3>
<p>Alternatively to creating the package from my source, you can just download and install it from my deb-file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>blog.philippheckel.com<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2008</span><span style="color: #000000; font-weight: bold;">/</span>09<span style="color: #000000; font-weight: bold;">/</span>gcaldaemon_1.0beta16~ubuntu0_all.deb
$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> gcaldaemon_1.0beta16~ubuntu0_all.deb</pre></div></div>

<p>The following tools will be available:</p>
<ul>
<li><strong>gcaldaemon</strong><br />Start/stop/restart the daemon.</li>
<li><strong>gcaldaemon-sync-now</strong><br />For immediate synchronization.</li>
<li><strong>gcaldaemon-config</strong><br />Open the graphical config editor.<br />Also available via the menu &bdquo;Utilities -> Configure GCALDaemon&rdquo;.</li>
<li><strong>gcaldaemon-password-encoder</strong><br />Encode passwords for the config file.</li>
</ul>
<h3 id="toc-configuration">Configuration</h3>
<p>Each user of the system can have his or her own instance of the daemon running.<br />
The config file is located at <strong>~/.gcaldaemon/conf/gcal-daemon.cfg</strong>.</p>
<p>To edit the config file, you can either use your favorite editor, e.g. <em>vi</em> or use the GCALDaemon config editor GUI:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ gcaldaemon-config</pre></div></div>

<p>You can also open the config editor via the menu:  &bdquo;Utilities -&gt; Configure GCALDaemon&rdquo;.</p>
<p>To create passwords for the config file use the <em>gcaldaemon-password-encoder</em>-script. For details about the config options, please read the <a href="http://gcaldaemon.sourceforge.net/usage.html">GCALDaemon documentation</a>.</p>
<h3 id="toc-running-gcaldaemon">Running GCALDaemon</h3>
<p>I have simplified the way how to start/stop the daemon with a small script. Simply type &#8220;gcaldaemon&#8221; to see what it can do. </p>
<p>To start, restart, stop and check the status (just like in an init-script), type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ gcaldaemon start
Starting GCALDaemon ... ok
&nbsp;
$ gcaldaemon status
GCALDaemon is running <span style="color: #c20cb9; font-weight: bold;">as</span> PID 30543.
&nbsp;
$ gcaldaemon restart
Stopping GCALDaemon ... ok
Starting GCALDaemon ... ok
&nbsp;
$ gcaldaemon stop
Stopping GCALDaemon ... ok</pre></div></div>

<h3 id="toc-enable-autostart-for-gcaldaemon">Enable autostart for GCALDaemon</h3>
<p>To enable the autostart-option for GNOME or KDE, type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ gcaldaemon <span style="color: #7a0874; font-weight: bold;">enable</span> kde
$ gcaldaemon <span style="color: #7a0874; font-weight: bold;">enable</span> kde4
$ gcaldaemon <span style="color: #7a0874; font-weight: bold;">enable</span> gnome</pre></div></div>

<p>As a GNOME user, it&#8217;s also possible to enable/disable the daemon autostart via the menu &bdquo;System -&gt; Settings -&gt; Sessions&rdquo;</p>
<h2>Finally &#8230;</h3>
<p>I know that the package is far from perfect, but it&#8217;s a lot easier to install/configure than the original package. Feedback is always welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philippheckel.com/2008/09/30/gcaldaemon-deb-package-for-ubuntu-kubuntu/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Unison 2.27.57 on Debian Etch and Ubuntu Hardy</title>
		<link>http://blog.philippheckel.com/2008/05/16/unison-2-27-57-on-debian-etch-and-ubuntu-hardy/</link>
		<comments>http://blog.philippheckel.com/2008/05/16/unison-2-27-57-on-debian-etch-and-ubuntu-hardy/#comments</comments>
		<pubDate>Fri, 16 May 2008 00:47:32 +0000</pubDate>
		<dc:creator>Philipp C. Heckel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Synchronization]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unison]]></category>

		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/16/unison-22757-on-debian-etch-and-ubuntu-hardy/</guid>
		<description><![CDATA[The good thing about the file sync tool Unison is, that it&#8217;s available for several operating systems. This is great for groups working on different systems (Mac, Linux and Windows) but want to share and synchronize files on a remote server. Well, the bad thing about Unison on the other hand is, that its backwards [...]]]></description>
			<content:encoded><![CDATA[<p>The good thing about the file sync tool <a href="http://www.cis.upenn.edu/~bcpierce/unison/">Unison</a> is, that it&#8217;s available for several operating systems. This is great for groups working on different systems (Mac, Linux and Windows) but want to share and synchronize files on a remote server.</p>
<p>Well, the bad thing about Unison on the other hand is, that its backwards compatibility is anything but great, so that you have to make sure that everybody in the team uses the same version. And this can be tricky depending on what system you are using.</p>
<p>My home system is Ubuntu Hardy, the remote server system is Debian Etch. Both come with Unison 2.16.13 which would be great if not Apple&#8217;s new Leopard brings the newest version 2.27.57. Long story short, I needed the newest version on Hardy and Etch.</p>
<p><span id="more-3"></span></p>
<h3 id="toc-unison-on-hardy">Unison on Hardy</h3>
<p>To install the newest version of Unison on Hardy, it&#8217;s the best to just use the existing Backport package.</p>
<p>First, add the backports to the apt-sources, using your favorite editor, e.g. vi or nano:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> editor <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>sources.list</pre></div></div>

<p>Look for <em>backports</em> and uncomment/add the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="apt_sources" style="font-family:monospace;"><span style="color: #00007f;">deb</span> <span style="color: #009900;">http://de.archive.ubuntu.com/ubuntu/</span> <span style="color: #b1b100;">hardy-backports</span> <span style="color: #b16000;">main</span> <span style="color: #b16000;">restricted</span> <span style="color: #b16000;">universe</span> <span style="color: #b16000;">multiverse</span>
<span style="color: #00007f;">deb-src</span> <span style="color: #009900;">http://de.archive.ubuntu.com/ubuntu/</span> <span style="color: #b1b100;">hardy-backports</span> <span style="color: #b16000;">main</span> <span style="color: #b16000;">restricted</span> <span style="color: #b16000;">universe</span> <span style="color: #b16000;">multiverse</span></pre></div></div>

<p>Then just install the backport using <em>apt-get</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-t</span> hardy-backports <span style="color: #c20cb9; font-weight: bold;">install</span> unison</pre></div></div>

<p>After installing you probably should remove the added lines from the <em>sources.list</em>-file. Otherwise the update-manager wants to install all available backports which is probably not what you want.</p>
<h3 id="toc-debian-etch">Debian Etch</h3>
<p><strong>Update 30/07/08:</strong> Before reading my post, please have a look at the much easier method described by <a href="#comment-3">Andrew</a> in the user comments. Only if this doesn&#8217;t work, you might want to have a look at my post.</p>
<p><strong>Unison 2.27.57 binary for Debian Etch</strong>:<br />
If you don&#8217;t want to compile the binary on your own (as described in the following paragraphs), you can download the <a href="/uploads/2008/05/unison-2.27.57-binary-for-debian-etch.gz">Unison 2.27.57 binary for Debian Etch</a> here.</p>
<p><strong>Update 30/11/08:</strong><br />
~ 300 downloads so far, no known problems/malfunctions!</p>
<p>It&#8217;s much more difficult on an Etch system because no Backport package is available. Therefore you either have to create such a package, which can be annoying and frustrating, or you just <em>compile it on your own and overwrite the binary</em>.</p>
<p>Add the unstable sources and the etch backports to your apt-get sources by editing the file <em>/etc/apt/sources.list</em> (as <em>root</em>!):</p>

<div class="wp_syntax"><div class="code"><pre class="apt_sources" style="font-family:monospace;"><span style="color: #adadad; font-style: italic;"># Unstable source packages</span>
<span style="color: #00007f;">deb-src</span> <span style="color: #009900;">ftp://ftp.de.debian.org/debian/</span> <span style="color: #b1b100;">unstable</span> <span style="color: #b16000;">main</span> <span style="color: #b16000;">contrib</span> <span style="color: #b16000;">non-free</span>
&nbsp;
<span style="color: #adadad; font-style: italic;"># Backports for Etch</span>
<span style="color: #00007f;">deb</span> <span style="color: #009900;">http://www.backports.org/debian</span> etch-backports <span style="color: #b16000;">main</span> <span style="color: #b16000;">contrib</span> <span style="color: #b16000;">non-free</span></pre></div></div>

<p>Now update <em>apt</em> and install the backport package of ocaml compiler. You also might want to install the debian backports keyring to avoid warning and error messages:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> debian-backports-keyring
$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">-t</span> etch-backports <span style="color: #c20cb9; font-weight: bold;">install</span> ocaml</pre></div></div>

<p>Then get the source package of unison 2.27.57 and make the binary:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #7a0874; font-weight: bold;">source</span> unison
$ dpkg-source <span style="color: #660033;">-x</span> unison_2.27.57-1.dsc
$ <span style="color: #7a0874; font-weight: bold;">cd</span> unison-2.27.57<span style="color: #000000; font-weight: bold;">/</span>
$ <span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p><em>Note:</em> For my Etch installation, the make progress failed with some error, but the binary was created successfully anyway. Just have a look whether the <em>unison</em>-binary exists and test if it is working.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ .<span style="color: #000000; font-weight: bold;">/</span>unison <span style="color: #660033;">-version</span>
unison version 2.27.57</pre></div></div>

<p>Now install the old version of Unison and replace the binary with the new one. Also you might want to remove the lines from <em>/etc/apt/sources.list</em> and uninstall the ocaml compiler.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> unison
$ <span style="color: #c20cb9; font-weight: bold;">cp</span> unison <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>
$ unison <span style="color: #660033;">-version</span>
unison version 2.27.57</pre></div></div>

<p>That&#8217;s it! I know that this is not the best solution and that it might be better to create the backports package. But as there are many dependencies to other packages it&#8217;s maybe one of the fastest solutions.</p>
<p>I decided to publish the binary here (for the lazy ones): <a href="/uploads/2008/05/unison-2.27.57-binary-for-debian-etch.gz">Unison 2.27.57 binary for Debian Etch</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philippheckel.com/2008/05/16/unison-2-27-57-on-debian-etch-and-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Switch off sound on Ubuntu before login</title>
		<link>http://blog.philippheckel.com/2008/05/15/switch-off-sound-on-ubuntu-before-login/</link>
		<comments>http://blog.philippheckel.com/2008/05/15/switch-off-sound-on-ubuntu-before-login/#comments</comments>
		<pubDate>Thu, 15 May 2008 20:53:06 +0000</pubDate>
		<dc:creator>Philipp C. Heckel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.philippheckel.com/2008/05/15/switch-off-sound-on-ubuntu-before-login/</guid>
		<description><![CDATA[Most of the Ubuntu users know the situation: You&#8217;re sitting in a public place, let&#8217;s say a lecture or a café, and you forgot to switch off the sound of your laptop. Unfortunately, you can&#8217;t avoid the first short drumming. But by using the following command, it is at least possible to switch off the [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the Ubuntu users know the situation: You&#8217;re sitting in a public place, let&#8217;s say a lecture or a café, and you forgot to switch off the sound of your laptop. Unfortunately, you can&#8217;t avoid the first short drumming. But by using the following command, it is at least possible to switch off the longer welcome melody of Ubuntu before you actually log in.</p>
<p><span id="more-5"></span></p>
<h3 id="toc-preparation-create-a-short-mute-script">Preparation: Create a short <em>mute</em>-script</h3>
<p>Create your custom <em>.bin</em>-directory, add it to your <em>.bashrc</em>, create a <em>mute</em>-script and make it executable.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> $ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bin
 $ <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'\n# Private binaries\nexport PATH=$PATH:~/.bin'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bashrc
 $ <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'#!/bin/bash\namixer set Master mute'</span> <span style="color: #000000; font-weight: bold;">&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bin<span style="color: #000000; font-weight: bold;">/</span>mute
 $ <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x ~<span style="color: #000000; font-weight: bold;">/</span>.bin<span style="color: #000000; font-weight: bold;">/</span>mute</pre></div></div>

<h3 id="toc-avoid-the-embarrassment-use-the-script">Avoid the embarrassment: Use the script</h3>
<p>You can now use the script by simply typing <em>mute</em> in your console window. To use it before logging into GNOME/KDE, follow these steps.</p>
<ul>
<li>Switch to a different tty by pressing <em>CTRL+ALT+F1</em></li>
<li>Log in with your username and password</li>
<li>Run the script by typing <em>mute</em></li>
<li>And finally switch back to the graphical login window: <em>CTRL+ALT+F7</em></li>
</ul>
<p>Well, I hope this helps a little. Of course you don&#8217;t have to use the script but can just type:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ amixer set Master mute</pre></div></div>

<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philippheckel.com/2008/05/15/switch-off-sound-on-ubuntu-before-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
