<?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>.crashsource &#187; Linux</title>
	<atom:link href="http://crashsource.de/kategorie/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://crashsource.de</link>
	<description>... des Ursprungs Quelle</description>
	<lastBuildDate>Thu, 26 Jan 2012 22:18:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu: Werbung aussperren mit eigenem DNS-Server</title>
		<link>http://crashsource.de/738-ubuntu-werbung-aussperren-mit-eigenem-dns-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-werbung-aussperren-mit-eigenem-dns-server</link>
		<comments>http://crashsource.de/738-ubuntu-werbung-aussperren-mit-eigenem-dns-server/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 13:15:39 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=738</guid>
		<description><![CDATA[Irgendwann geht einem die Werbung auf den Keks. Vor allem dann, wenn nervige Overlay-Werbung den Webseitencontent ueberdeckt oder man von Werbung angeschrien wird. Zeit damit Schluss zu [...]]]></description>
			<content:encoded><![CDATA[<p>Irgendwann geht einem die Werbung auf den Keks. Vor allem dann, wenn nervige Overlay-Werbung den Webseitencontent ueberdeckt oder man von Werbung angeschrien wird. Zeit damit Schluss zu machen? Hier steht, wie es geht!</p>
<p>Es gibt unterschiedliche Ansaetze Werbung zu blockieren. Beliebt sind beispielsweise Werbeblocker in Browsern, wie <a href="https://chrome.google.com/extensions/detail/gighmmpiobklfepjocnamgkkbiglidom?hl=de">Adblock fuer Chrome</a>. Doch ich will einen Ansatz vorstellen, der viel weiter unten im System ansetzt und die nicht auf einen Browser beschraenkt ist. Meine Methode soll schon beim <a href="http://de.wikipedia.org/wiki/Domain_Name_System">DNS</a>-Request ansetzen.</p>
<p>Fuer die technisch weniger versierten Leser moechte ich kurz erklaeren was beim DNS-Request passiert. Der Browser weiss mit einer Adresse wie "example.org" erstmal nichts anzufangen. Was ein Browser braucht um die Webseite aufzurufen ist dessen IP-Adresse. Um diese in Erfahrung zu bringen fraegt er beim System nach, und dieses wiederrum fraegt beim sogeannten DNS-Server nach. Die IP-Adresse vom DNS-Server ist dem System bekannt, so dass dieses dort nachfragen kann. Die DNS-Server selbst wissen ueber "alle" Adressen bescheid und koennen dem System so sagen an welche IP die Anfrage zu richten ist. Diesen Aufruf nennt man DNS-Request.</p>
<p>Genau hier soll mein Verfahren ansetzen. <span id="more-738"></span>Wenn ich also wuesste, welche Domains von Werbeunternehmen kommen, dann muesste ich nur noch die DNS-Requests umbiegen und schon wird keine Anwendung mehr Werbung laden koennen. Genau dies macht mein Ansatz.<br />
Im Folgenden beschreibe ich, wie man einen DNS-Server aufsetzt, der lokal auf dem Rechner laeuft. Dieser wird vom System zuerst genutzt und beinhaltet eine Liste von Werbeserveradressen, dessen Aufruf er umbiegt. Fuer alle anderen Adressen gibt er die Anfrage einfach an einen anderen DNS-Server weiter, so dass wir sozusagen eine Art Blacklist anlegen koennen, in der wir die Adressen der Werbeseiten speichern.</p>
<p>Im Internet existieren zahlreiche Listen, die viele Adressen von Werbeseiten beinhalten und brav gepfelgt werden. Eine solche Liste findet sich beispielsweise <a href="http://pgl.yoyo.org/adservers/serverlist.php">hier</a>.<br />
Auf diese Liste werden wir zurueckgreifen, wenn wir spaeter unserem eigenen DNS-Server sagen, welche Adressen er umzubiegen hat.</p>
<p>Zunaechst einmal brauchen wir dazu <a href="http://wiki.ubuntuusers.de/dnsmasq">dnsmasq</a>. Dieses Programm ist unser DNS-Server, dem wir unsere Blacklist geben wollen.<br />
Mittels </p>
<div class="igBar"><span id="lcode-20"><a href="#" onclick="javascript:showPlainTxt('code-20'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-20">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apt-get install dnsmasq </div>
</li>
</ol>
</div>
</div>
</div>
<p> holen wir uns das Programm auf die Platte. Anschliessend bearbeiten wir mittels
<div class="igBar"><span id="lcode-21"><a href="#" onclick="javascript:showPlainTxt('code-21'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-21">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">gedit /etc/dnsmasq.<span style="">conf</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p> die Datei <code>/etc/dnsmasq.conf</code> und fuegen ans Ende der Datei folgende Zeile hinzu: <code>conf-file=/etc/dnsmasq.ads.conf</code>. </p>
<p>Diese Zeile weist dnsmasq an die Datei <code>/etc/dnsmasq.ads.conf</code> zu beruecksichtigen, in der wir unsere Blacklist ablegen werden. In der Konfigurationsdatei muessen wir ausserdem dafuer sorgen, dass unser DNS-Server richtig eingerichtet ist.<br />
Im folgenden ein Auszug der Datei mit den Stellen, bei denen das Kommentarzeichen (#) entfernt werden muss (Zeile 2,4 und 11 in meinem Auszug).</p>
<div class="igBar"><span id="lcode-22"><a href="#" onclick="javascript:showPlainTxt('code-22'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-22">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Never forward plain names <span style="color:#006600; font-weight:bold;">&#40;</span>without a dot or domain part<span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">domain-needed</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Never forward addresses in the non-routed address spaces.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="">bogus</span>-priv</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># By&nbsp; default,&nbsp; dnsmasq&nbsp; will&nbsp; send queries to any of the upstream</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># servers it knows about and tries to favour servers to are&nbsp; known</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># to&nbsp; be&nbsp; up.&nbsp; <span style="">Uncommenting</span> this forces dnsmasq to try each query</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># with&nbsp; each&nbsp; server&nbsp; strictly&nbsp; in&nbsp; the&nbsp; order&nbsp; they&nbsp; &nbsp;appear&nbsp; &nbsp;in</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># /etc/resolv.<span style="">conf</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">strict-order </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Nachdem wir die Datei bearbeitet haben legen wir noch unsere Blackliste als zunaechst leere Datei an:
<div class="igBar"><span id="lcode-23"><a href="#" onclick="javascript:showPlainTxt('code-23'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-23">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">touch /etc/dnsmasq.<span style="">ads</span>.<span style="">conf</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Drueben bei <a href="http://www.debian-administration.org/article/Blocking_ad_servers_with_dnsmasq">debian-adminstration.org</a> gibt es ein tolles Script, welches es uns erlaubt automatisiert die Blackliste aus oben genannter Quelle zu laden. Mein Dank geht an dieser Stelle an den Autor, die Rechte des Scripts liegen natuerlich beim Autor selbst!</p>
<p>Das Script lautet (ein wenig abgeaendert um unseren Beduerfnissen gerecht zu werden):</p>
<div class="igBar"><span id="lcode-24"><a href="#" onclick="javascript:showPlainTxt('code-24'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-24">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#!/bin/sh</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">### short script that downloads a list of ad servers for use with</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">### dnsmasq to block ads.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">###</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># the ipaddress where we want to send the requests to, instead of the</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># bannerservers</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">addcatcherip=<span style="color:#CC0000;">'127.0.0.2'</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">configfile=/etc/dnsmasq.<span style="">ads</span>.<span style="">conf</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># the args to add to the request to the yoyo server, to tell it that we want</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># a hosts file and that we want to redirect to the addcatcher</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">listurlargs=<span style="color:#CC0000;">"hostformat=nohtml&amp;showintro=0&amp;mimetype=plaintext"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># URL of the ad server list to download</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">listurl=<span style="color:#CC0000;">"http://pgl.yoyo.org/adservers/serverlist.php?${listurlargs}"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># location of a file where hostnames not listed can be added</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">extrasfile=<span style="color:#CC0000;">'/etc/banner_add_hosts.manual'</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## command to reload dnsmasq - change according to your system</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">## not sure if we need this for dnsmasq</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">reloadcmd=<span style="color:#CC0000;">'/etc/init.d/dnsmasq restart'</span>&nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># temp files to use</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">tmpfile=<span style="color:#CC0000;">"/tmp/.adlist.$$"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">tmpconffile=<span style="color:#CC0000;">"/tmp/.dnsmasq.conf.$$"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># command to fetch the list <span style="color:#006600; font-weight:bold;">&#40;</span>alternatives commented out<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">fetchcmd=<span style="color:#CC0000;">"/usr/bin/wget -q -O $tmpfile $listurl"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$fetchcmd </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># add the extras</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color:#006600; font-weight:bold;">&#91;</span> -f <span style="color:#CC0000;">"$extrasfile"</span> <span style="color:#006600; font-weight:bold;">&#93;</span>&nbsp; &amp;&amp; cat $extrasfile&gt;&gt; $tmpfile</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># check the temp file exists OK before overwriting the existing list</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">if&nbsp; <span style="color:#006600; font-weight:bold;">&#91;</span> ! -s $tmpfile <span style="color:#006600; font-weight:bold;">&#93;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">then</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo <span style="color:#CC0000;">"temp file '$tmpfile' either doesn't exist or is empty; quitting"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">exit</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">fi</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># get a fresh list of ad server addresses for dnsmasq to refuse</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">cat $configfile | grep -v <span style="color:#CC0000;">"address="</span>&gt; $tmpconffile</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">while read line; do</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ADDRESS=<span style="color:#CC0000;">"/${line}/${addcatcherip}"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; echo <span style="color:#CC0000;">"address=<span style="color:#000099; font-weight:bold;">\"</span>${ADDRESS}<span style="color:#000099; font-weight:bold;">\"</span>"</span>&gt;&gt; $tmpconffile</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">done &lt;$tmpfile </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mv $tmpconffile $configfile</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$reloadcmd</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">rm $tmpfile</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">exit </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Dieses Script speichern wir unter <code>/usr/local/bin/update_adserver_list</code> ab.<br />
Mittels</p>
<div class="igBar"><span id="lcode-25"><a href="#" onclick="javascript:showPlainTxt('code-25'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-25">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">chown root.<span style="">root</span> /usr/local/bin/update_adserver_list</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">chmod <span style="color:#800000;color:#800000;">700</span> /usr/local/bin/update_adserver_list</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/usr/local/bin/update_adserver_list </div>
</li>
</ol>
</div>
</div>
</div>
<p>
passen wir die Rechte des Scripts an und machen es ausfuehrbar. Die letzte Zeile sollte mit der Meldung <em>Restarting DNS forwarder and DHCP server: dnsmasq.</em> quittiert werden. Wenn dies der Fall ist funktioniert alles so weit in der Datei <code>/etc/dnsmasq.ads.conf</code> sollten jetzt eine Menge Eintraege stehen.</p>
<p>Jetzt sind wir schon relativ fortgeschritten und muessen nur noch ein paar Kleinigkeiten anpassen. Zunaechst muessen wir auf der IP 127.0.0.2, die wir im Script oben definiert haben, einen Dienst laufen lassen, der uns bei jedem Aufruf nur ein leeres Pixel ausgibt. Dieser Teil ist drueben bei <a href="http://wiki.flexion.org/SettingUpDNSMasq.html#1.3">flexion.org</a> schoen erklaert. Vielen Dank dafuer! :)</p>
<p>Zunaechst holen wir uns den Pixelserver mittels</p>
<div class="igBar"><span id="lcode-26"><a href="#" onclick="javascript:showPlainTxt('code-26'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-26">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">wget http:<span style="color:#FF9933; font-style:italic;">//proxytunnel.sourceforge.net/files/pixelserv.pl.txt -O /usr/local/bin/pixelserv.pl</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">chmod <span style="color:#800000;color:#800000;">755</span> /usr/local/bin/pixelserv.<span style="">pl</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Im Anschluss daran muessen wir dem Pixelserver noch sagen auf welche IP er ansprechen soll. Dazu oeffnen wir die Datei im Editor
<div class="igBar"><span id="lcode-27"><a href="#" onclick="javascript:showPlainTxt('code-27'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-27">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">gedit /usr/local/bin/pixelserv.<span style="">pl</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p> und aendern die den Teil
<div class="igBar"><span id="lcode-28"><a href="#" onclick="javascript:showPlainTxt('code-28'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-28">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$sock = new IO::<span style="">Socket</span>::<span style="">INET</span> <span style="color:#006600; font-weight:bold;">&#40;</span>&nbsp; LocalHost =&gt; <span style="color:#CC0000;">'0.0.0.0'</span>, </div>
</li>
</ol>
</div>
</div>
</div>
<p> ab in
<div class="igBar"><span id="lcode-29"><a href="#" onclick="javascript:showPlainTxt('code-29'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-29">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$sock = new IO::<span style="">Socket</span>::<span style="">INET</span> <span style="color:#006600; font-weight:bold;">&#40;</span>&nbsp; LocalHost =&gt; <span style="color:#CC0000;">'127.0.0.2'</span>, </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Es folgt der Befehl
<div class="igBar"><span id="lcode-30"><a href="#" onclick="javascript:showPlainTxt('code-30'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-30">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">gedit /etc/init.<span style="">d</span>/pixelserv </div>
</li>
</ol>
</div>
</div>
</div>
<p> wobei wir dort das folgende Script hineinkopieren:</p>
<div class="igBar"><span id="lcode-31"><a href="#" onclick="javascript:showPlainTxt('code-31'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-31">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#! /bin/sh</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># /etc/init.<span style="">d</span>/pixelserv</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># Carry out specific functions when asked to by the system</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">case <span style="color:#CC0000;">"$1"</span> in</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;start<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;echo <span style="color:#CC0000;">"Starting pixelserv "</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;/usr/local/bin/pixelserv.<span style="">pl</span> &amp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;;;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;stop<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;echo <span style="color:#CC0000;">"Stopping script pixelserv"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;killall pixelserv.<span style="">pl</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;;;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;*<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;echo <span style="color:#CC0000;">"Usage: /etc/init.d/pixelserv {start|stop}"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;exit <span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;;;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">esac</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">exit <span style="color:#800000;color:#800000;">0</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Im Anschluss daran passen wir noch die Rechte an</p>
<div class="igBar"><span id="lcode-32"><a href="#" onclick="javascript:showPlainTxt('code-32'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-32">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">chmod <span style="color:#800000;color:#800000;">755</span> /etc/init.<span style="">d</span>/pixelserv </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Jetzt kann mittels
<div class="igBar"><span id="lcode-33"><a href="#" onclick="javascript:showPlainTxt('code-33'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-33">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/etc/init.<span style="">d</span>/pixelserv start </div>
</li>
</ol>
</div>
</div>
</div>
<p> und
<div class="igBar"><span id="lcode-34"><a href="#" onclick="javascript:showPlainTxt('code-34'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-34">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">/etc/init.<span style="">d</span>/pixelserv stop </div>
</li>
</ol>
</div>
</div>
</div>
<p> getestet werden ob das Script erfolgreich startet und beendet. Wenn alles passt, dann uebernehmen wir es mittels
<div class="igBar"><span id="lcode-35"><a href="#" onclick="javascript:showPlainTxt('code-35'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-35">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">update-rc.<span style="">d</span> pixelserv defaults </div>
</li>
</ol>
</div>
</div>
</div>
<p> in den Autostart.</p>
<p>Jetzt muessen wir noch dem System mitteilen, dass unser DNS-Server genutzt werden soll. Dazu passen wir die aktuelle Internetverbindung im <a href="http://wiki.ubuntuusers.de/NetworkManager">NetworkManager</a> an und fuegen unseren Rechner mit der IP 127.0.0.1 als DNS-Server hinzu. Weiterhin muessen wir noch einen alternativen DNS-Server angeben, der die normalen Anfragen abarbeitet, die unser DNS-Server nicht verwaltet. In meinem Fall ist das die IP 8.8.8.8, welche den <a href="http://code.google.com/speed/public-dns/">DNS-Server von Google</a> adressiert.</p>

<a href="http://crashsource.de/wp-content/gallery/blogeintraege/configure-networkmanager-dns.png" title="" class="thickbox" rel="singlepic120" >
	<img class="ngg-singlepic" src="http://crashsource.de/wp-content/gallery/cache/120__x_configure-networkmanager-dns.png" alt="configure-networkmanager-dns" title="configure-networkmanager-dns" />
</a>

<p>Anschliessend koennen wir testen ob unsere Arbeit Fruechte traegt und in der Konsole folgendes ausprobieren:
<div class="igBar"><span id="lcode-36"><a href="#" onclick="javascript:showPlainTxt('code-36'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-36">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">nslookup doubleclick.<span style="">net</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p> Das Ergebnis sollte dann so aussehen:
<div class="igBar"><span id="lcode-37"><a href="#" onclick="javascript:showPlainTxt('code-37'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-37">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Server:&nbsp;&nbsp;<span style="color:#800000;color:#800000;">127</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Address:&nbsp; &nbsp; <span style="color:#800000;color:#800000;">127</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">1</span>#53</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Name:&nbsp; &nbsp;doubleclick.<span style="">net</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Address: <span style="color:#800000;color:#800000;">127</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">2</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Jetzt haben wir alles erfolgreich konfiguriert. Allerdings muessen wir unsere Blacklist auch immer aktuell halten. Dazu legen wir noch die Datei <code>/etc/cron.d/update_adserver_list</code> an. Diese Datei bearbeiten wir und fuegen folgenden Inhalt hinzu
<div class="igBar"><span id="lcode-38"><a href="#" onclick="javascript:showPlainTxt('code-38'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-38">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#Update the banner hosts...</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#800000;color:#800000;">0</span> <span style="color:#800000;color:#800000;">0</span>,<span style="color:#800000;color:#800000;">4</span>,<span style="color:#800000;color:#800000;">8</span>,<span style="color:#800000;color:#800000;">12</span>,<span style="color:#800000;color:#800000;">16</span>,<span style="color:#800000;color:#800000;">18</span>,<span style="color:#800000;color:#800000;">20</span> * * * root /usr/local/bin/update_adserver_list </div>
</li>
</ol>
</div>
</div>
</div>
<p>
Mittels diesem Cronjob wird die Liste alle 4 Stunden neu geladen und so immer aktuell gehalten. Damit brauchen wir uns um nichts mehr kuemmern, sondern haben alles automatisiert.</p>
<p>Zum Testen reicht es ein paar werbeverseuchte Webseiten anzusurfen. Von Werbung sollte jetzt nichts mehr zu sehen sein - ausgenommen der Werbeserver ist nicht in der Blackliste eingetragen ;)<br />
Viel Spass damit!</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/738-ubuntu-werbung-aussperren-mit-eigenem-dns-server/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Linux: Dropbox und Rhythmbox &#8211; eine nette Beziehung</title>
		<link>http://crashsource.de/698-linux-dropbox-und-rhythmbox-eine-nette-beziehung/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linux-dropbox-und-rhythmbox-eine-nette-beziehung</link>
		<comments>http://crashsource.de/698-linux-dropbox-und-rhythmbox-eine-nette-beziehung/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 13:21:16 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=698</guid>
		<description><![CDATA[Leider ist es bei Rhythmbox nicht moeglich mehrere Ordner verwalten zu lassen. Da ich gelegentlich auch Musik in meiner Dropbox ablege, um auch mit meinem Netbook darauf [...]]]></description>
			<content:encoded><![CDATA[<p>Leider ist es bei <a href="http://projects.gnome.org/rhythmbox/">Rhythmbox</a> nicht moeglich mehrere Ordner verwalten zu lassen. Da ich gelegentlich auch Musik in meiner <a href="http://www.dropbox.com">Dropbox</a> ablege, um auch mit meinem Netbook darauf zugreifen zu koennen, stellte sich fuer mich die Frage wie ich dann die Musik aus meinem Dropbox-Ordner auch in Rhythmbox verwalten kann.</p>
<p>Die Loesung ist ziemlich simpel. Ein symbolischer Link und damit eine Zeile in der Konsole genuegt vollkommen aus.</p>
<div class="igBar"><span id="lcode-40"><a href="#" onclick="javascript:showPlainTxt('code-40'); return false;"> TEXTANSICHT UMSCHALTEN</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-40">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ln -s /home/USERNAME/Dropbox/Musik /home/USERNAME/Musik/Dropbox </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Diese Zeile in einer Konsole eingetippt erzeugt einen symbolischen Link im Home-Musik-Verzeichnis, welcher auf den Dropbox-Musikordner verweist. In meinem Fall habe ich in meinem Dropbox-Ordner einen Unterorder "Musik" erzeugt, den ich unter die Kontrolle der Dropbox stellen will. In meinem Musik-Ordner im Home-Verzeichnis legt diese Zeile also einen Ordner "Dropbox" an, welcher die Musikdateien der Dropbox beinhaltet.</p>
<p>Vielleicht hilft dieser Code-Schnippsel ja dem einen oder anderen weiter.</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/698-linux-dropbox-und-rhythmbox-eine-nette-beziehung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Talk, Linux und Videochat &#8211; ab sofort gehoert das zusammen</title>
		<link>http://crashsource.de/591-google-talk-linux-und-videochat-ab-sofort-gehoert-das-zusammen/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-talk-linux-und-videochat-ab-sofort-gehoert-das-zusammen</link>
		<comments>http://crashsource.de/591-google-talk-linux-und-videochat-ab-sofort-gehoert-das-zusammen/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 09:50:55 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netzgeschehen]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=591</guid>
		<description><![CDATA[Seit heute ist es - auch unter Linux - moeglich mit Google Talk Videotelefonie zu betreiben. Ich habe es ausprobiert und es funktioniert perfekt. Um die Videotelefonie [...]]]></description>
			<content:encoded><![CDATA[<p>Seit heute ist es - auch unter Linux - moeglich mit <a href="http://googletalk.blogspot.com/2010/08/use-linux-now-you-can-video-chat-too.html">Google Talk Videotelefonie</a> zu betreiben. Ich habe es ausprobiert und es funktioniert perfekt. </p>
<p>Um die Videotelefonie zu ermoeglichen ist es unter Ubuntu notwendig von einer <a href="http://www.google.com/chat/video">Google-Seite</a> ein deb-Paket herunterzuladen und zu installieren. Nach einem Browserneustart steht die neue Funktion dann zur Verfuegung. Hierbei ist zu beachten, dass dabei automatisch eine neue Softwarepaketquelle eingerichtet wird um von dort Updates zu beziehen. Warum das noch nicht auf der Downloadseite vermerkt ist, weiss ich nicht. Dennoch finde ich, dass Google das erwaehnen sollte.</p>
<p>Vielen Dank Google fuer dieses klasse Feature Videotelefonie direkt aus dem Browser heraus zu ermoeglichen!</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/591-google-talk-linux-und-videochat-ab-sofort-gehoert-das-zusammen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 vs. Chromium &#8211; Der Kampf um die Titelleiste &#8211; Teil 2</title>
		<link>http://crashsource.de/546-ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste-teil-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste-teil-2</link>
		<comments>http://crashsource.de/546-ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste-teil-2/#comments</comments>
		<pubDate>Sat, 22 May 2010 12:19:56 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[maximize]]></category>
		<category><![CDATA[minimize]]></category>
		<category><![CDATA[titlebar. Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=546</guid>
		<description><![CDATA[Neulich hatte ich darueber berichtet, dass Chromium in Ubuntu die Fensterbuttons rechts hatte - auch unter dem neuen Ubuntu bzw. Mac OS X obwohl diese in beiden [...]]]></description>
			<content:encoded><![CDATA[<p>Neulich hatte ich <a href="http://crashsource.de/450-ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste/">darueber berichtet</a>, dass Chromium in Ubuntu die Fensterbuttons rechts hatte - auch unter dem neuen Ubuntu bzw. Mac OS X obwohl diese in beiden Betriebsystemen links vorgesehen sind. Inzwischen hat sich da aber etwas getan und das Ergebnis kann sich sehen lassen.</p>

<a href="http://crashsource.de/wp-content/gallery/blogeintraege/ubuntu-chrome-titelbar-leftside.png" title="" class="thickbox" rel="singlepic72" >
	<img class="ngg-singlepic" src="http://crashsource.de/wp-content/gallery/cache/72__x_ubuntu-chrome-titelbar-leftside.png" alt="ubuntu-chrome-titelbar-leftside" title="ubuntu-chrome-titelbar-leftside" />
</a>

<p>Von mir ein herzliches Dankeschoen an die Entwickler. Ich bin sehr zufrieden mit meinem Chromium Browser!</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/546-ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste-teil-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04: Brother HL-2030</title>
		<link>http://crashsource.de/495-ubuntu-10-04-brother-hl-2030/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-10-04-brother-hl-2030</link>
		<comments>http://crashsource.de/495-ubuntu-10-04-brother-hl-2030/#comments</comments>
		<pubDate>Sun, 09 May 2010 13:10:14 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=495</guid>
		<description><![CDATA[Entgegen meinem Blogeintrag zum Thema Brother HL-2030 und Ubuntu 8.10 reicht es in Ubuntu 10.04 Lucid Lynx aus als Druckertreiber den vorinstallierten Treiber "Brother HL-1230 Foomatic/hl1250" zu [...]]]></description>
			<content:encoded><![CDATA[<p>Entgegen meinem <a href="http://crashsource.de/119-brother-hl-2030-unter-ubuntu-810-intrepid-ibex-installieren/">Blogeintrag zum Thema Brother HL-2030 und Ubuntu 8.10</a> reicht es in Ubuntu 10.04 Lucid Lynx aus als Druckertreiber den vorinstallierten Treiber "Brother HL-1230 Foomatic/hl1250" zu benutzen. Dieser erfuellt anstaendig seinen Job und es ist nicht notwendig Pakete nachzuinstallieren wie in meinem alten Eintrag beschrieben. Interessanterweise klappt das in Ubuntu 10.04 auch nicht, so dass meine alte Loesung gar nicht mehr funktionieren kann.</p>
<p>Ob dieses Vorgehen auch schon in Ubuntu 8.10 moeglich gewesen waere kann ich leider nicht mehr reproduzieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/495-ubuntu-10-04-brother-hl-2030/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 vs. Chromium &#8211; Der Kampf um die Titelleiste</title>
		<link>http://crashsource.de/450-ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste</link>
		<comments>http://crashsource.de/450-ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste/#comments</comments>
		<pubDate>Sat, 01 May 2010 17:39:00 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[maximize]]></category>
		<category><![CDATA[minimize]]></category>
		<category><![CDATA[titelleiste]]></category>
		<category><![CDATA[titlebar]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=450</guid>
		<description><![CDATA[Nachdem Ubuntu 10.04 erschienen ist und es tadellos auf meinem Notebook laeuft habe ich mich fast schon an die neue Ordnung der drei Knoepfe (Minimieren, Maximieren, Schliessen) [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem Ubuntu 10.04 erschienen ist und es tadellos auf meinem Notebook laeuft habe ich mich fast schon an die neue Ordnung der drei Knoepfe (Minimieren, Maximieren, Schliessen) in der Titelbar gewoehnt. Diese sind bekanntlich im neuen Layout links zu finden. Damit folgt Ubuntu der Philosophie von Apples OSX was fuer reichlich Diskussionsstoff gesorgt hat. Ich persoenlich konnte mich relativ zuegig umstellen. Im Grunde genommen ist es mir auch relativ gleichgueltig wo die Knopfe liegen waere da nicht das Problem mit Chromium bzw. Google Chrome.</p>

<a href="http://crashsource.de/wp-content/gallery/blogeintraege/fensterbuttons-ubuntu-chromium.png" title="" class="thickbox" rel="singlepic58" >
	<img class="ngg-singlepic" src="http://crashsource.de/wp-content/gallery/cache/58__x_fensterbuttons-ubuntu-chromium.png" alt="fensterbuttons-ubuntu-chromium" title="fensterbuttons-ubuntu-chromium" />
</a>

<p>In Chromium, auf dem uebrigens Google Chrome basiert, ist es derzeit nicht moeglich die Position der Fensterknoepfe selbst festzulegen. In Chromium werden bekanntlich im Standardlayout die Tableiste und die Titelleiste zu einer Multifunktionsleiste kombiniert. Um dies zu ermoeglichen wird sozusagen die normale Titelleiste versteckt und dafuer eine vom Chromium-Team entwickelte Leiste eingesetzt. Dies jedoch hat zur Folge dass die Fensterbuttons rechts bleiben - auch auf dem neuen Ubuntu. Nun ist es etwas umstaendlich und nervig fuer Chromium umdenken zu muessen.</p>
<p>Aus diesem Grund bitte ich jeden den dies ebenfalls stoert im Bugtracker von Chromium (<a href="http://code.google.com/p/chromium/issues/detail?id=24409">Issue 24409</a>) seine Meinung darueber los zu werden. Ich hab das bereits getan und das Chromium-Team zum Umdenken aufgefordert. Derzeit ist man dort naemlich folgender Meinung:</p>
<blockquote><p>While this is true on the Mac, for certain UI appearances we prefer to have Chrome be the same across all platforms.</p></blockquote>
<p>Da jetzt aber auch Ubuntu die Fensterbuttons links platziert hat sollte das Chromium-Team vielleicht doch nochmals ueber diese Entscheidung nachdenken. Oder wie seht ihr das? Die Umsetzung dieses Wunsches sollte doch ein Kinderspiel sein.</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/450-ubuntu-10-04-vs-chromium-der-kampf-um-die-titelleiste/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu: Google Earth installieren &amp; Anfliegepunktfix</title>
		<link>http://crashsource.de/422-ubuntu-google-earth-installieren-anfliegepunktfix/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-google-earth-installieren-anfliegepunktfix</link>
		<comments>http://crashsource.de/422-ubuntu-google-earth-installieren-anfliegepunktfix/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 17:49:18 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=422</guid>
		<description><![CDATA[Um Google Earth auf Ubuntu zu installieren befolgt man am Besten die Hinweise auf dem Ubuntu-Wiki. Ich habe dabei den Weg gewaehlt die deb-Datei manuell zu erstellen [...]]]></description>
			<content:encoded><![CDATA[<p>Um Google Earth auf Ubuntu zu installieren befolgt man am Besten die Hinweise auf dem <a href="http://wiki.ubuntuusers.de/Google_Earth">Ubuntu-Wiki</a>. Ich habe dabei den Weg gewaehlt die deb-Datei manuell zu erstellen und anschliessend zu installieren. Dazu war es notwendig die Installationsdatei von den <a href="http://earth.google.com/intl/de/">Google-Servern</a> zu laden. Nun ist es notwendig das Paket <code>make-googleearth-package</code> via apt-get zu installieren. Anschliessend generiert man die deb-Datei mit dem Befehl <code>make-googleearth-package --file GoogleEarthLinux.bin --force</code>.</p>
<p>Bei mir setzte Google Earth allerdings die Anflugsmarken falsch. Der Fehler ist <a href="http://forum.ubuntuusers.de/post/2255465/">hier</a> genauer beschrieben. Abhilfe schafft es die Startdatei <code>/usr/bin/googleearth</code> um den Eintrag <codeblock>export LC_ALL=us_US.UTF-8</codeblock> zu erweitern. Ich habe diesen Code in die vorletzte Zeile eingefuegt. Inzwischen wurde die Startdatei von Google veraendert und lautet nicht mehr exakt so, wie in dem Onlinebeitrag geschrieben wurde. Damit wurde der Fehler behoben! :)</p>
<p>Viel Spass mit Google Earth unter Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/422-ubuntu-google-earth-installieren-anfliegepunktfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pidgin verbindet Twitter und Facebook</title>
		<link>http://crashsource.de/413-pidgin-verbindet-twitter-und-facebook/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pidgin-verbindet-twitter-und-facebook</link>
		<comments>http://crashsource.de/413-pidgin-verbindet-twitter-und-facebook/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:51:36 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netzgeschehen]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=413</guid>
		<description><![CDATA[Pidgin kann einiges und bringt, ein wenig aufbohren vorausgesetzt, Unterstuetzung fuer Twitter und damit auch fuer Facebook mit. Wie man die drei Applikationen unter Ubuntu(!) vernetzen kann [...]]]></description>
			<content:encoded><![CDATA[<p>Pidgin kann einiges und bringt, ein wenig aufbohren vorausgesetzt, Unterstuetzung fuer Twitter und damit auch fuer Facebook mit. Wie man die drei Applikationen unter Ubuntu(!) vernetzen kann will ich im folgenden kurz erlaeutern.</p>
<p>Zunaechst sollte man natuerlich ueber einen Facebook- und einen Twitter-Account verfuegen. Beide sind schnell angelegt, wenn sie noch nicht vorhanden sein sollten. Ebenfalls sollte Pidgin installiert sein. Ist dies nicht der Fall reicht ein einfaches <codeblock>sudo apt-get install pidgin</codeblock> in der Konsole, um Pidgin aus den Standardquellen zu installieren.</p>
<p>Anschliessend ist es notwendig das Paket <code>pidgin-microblog</code> nachzuinstallieren. Allerdings habe ich dieses nicht in den Ubuntu-Repros gefunden, so dass ich auf das Debian-SID zurueck gegriffen habe. Dort ist das notwendige <a href="http://packages.debian.org/de/sid/pidgin-microblog">.deb-Paket</a> zu finden.<br />
Nachdem dies installiert wurde muss Pidgin neu gestartet werden. Es ist dann moeglich ein neues Twitter-Konto hinzuzufuegen.<br />

<a href="http://crashsource.de/wp-content/gallery/blogeintraege/pidgin-twitterplugin-settings.png" title="" class="thickbox" rel="singlepic56" >
	<img class="ngg-singlepic" src="http://crashsource.de/wp-content/gallery/cache/56__x300_pidgin-twitterplugin-settings.png" alt="pidgin-twitterplugin-settings" title="pidgin-twitterplugin-settings" />
</a>
</p>
<p>Nachdem dies geschehen ist sollte unter "Werkzeuge -> Plugins" noch das Plugin "Twitgin" geladen werden, schreibt der Autor des Plugins auf der <a href="http://code.google.com/p/microblog-purple/">Plugin-Webseite</a>. Das bewirkt z.B. dass angezeigt wird wie viel der 140 Zeichen pro Tweet noch zur Verfuegung stehen.<br />
Nun ist es moeglich mit Pidgin zu Twittern. Dazu gibt es nun einen neuen Kontakt namens "twitter.com", den man nur anzuschreiben braucht um seine Nachrichten zu twittern.</p>
<p>Will man nun noch Facebook dazu bringen die aktuellen Tweets als Status einzutragen, dass kann man auf eine von Twitter fuer Facebook entwickelte Applikation zugreifen. Mehr dazu findet sich auf <a href="http://www.ehow.com/how_4668396_connect-twitter-facebook-status-updates.html">ehow.com</a>. Damit hat man dann Pidgin, Twitter und Facebook miteinander verknuepft und erreicht mit einem Tweet noch mehr Leute wie ueblich. </p>
<p>Ob man's braucht oder nicht, bleibt jedem selbst ueberlassen! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/413-pidgin-verbindet-twitter-und-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: Kile als Editor fuer ConTeXt benutzen</title>
		<link>http://crashsource.de/406-howto-kile-als-editor-fuer-context-benutzen/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=howto-kile-als-editor-fuer-context-benutzen</link>
		<comments>http://crashsource.de/406-howto-kile-als-editor-fuer-context-benutzen/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 14:46:25 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=406</guid>
		<description><![CDATA[Kile ist ein toller Editor, allerdings bevorzugt fuer LaTeX und nicht von Haus aus fuer ConTeXt. Aber das laesst sich aendern. Das folgende HowTo soll zeigen wie. [...]]]></description>
			<content:encoded><![CDATA[<p>Kile ist ein toller Editor, allerdings bevorzugt fuer LaTeX und nicht von Haus aus fuer ConTeXt. Aber das laesst sich aendern. Das folgende HowTo soll zeigen wie.</p>
<h2>Highlighting</h2>
<p>Kile kennt von Haus aus kein Syntax-Highlighting fuer ConTeXt. Aus diesem Grund muss man Kile das erst beibringen. Auf <a href="http://www.kde-files.org/content/show.php/ConTeXt+-+Syntax+Highlighting?content=54006">kde-files.org</a> bietet <a href="http://www.kde-files.org/usermanager/search.php?username=hippodriver">hippodriver</a> eine XML-Datei an, welche die notwenigen regulaeren Ausdruecke beinhaltet, die Kile ConTeXt lehren.<br />
Diese Datei gilt es downzuloaden und in dem Verzeichnis <code>~/.kde/share/apps/katepart/syntax</code> abzulegen. Ich habe die Datei im unter dem Dateinamen <code>context.xml</code> gespeichert. Wenn ihr einen anderen Namen verwendet muesst ihr die folgenden Schritte anpassen.</p>
<p>Danach gilt es die Datei mit einem Texteditor eurer Wahl zu oeffnen und dort in der dritten Zeile <codeblock>extensions="*.tex;"</codeblock> mit <codeblock>extensions="*.ctex;"</codeblock> zu ersetzen. Das sorgt dafuer, dass Kile tex-Dateien (LaTeX) von ctex-Dateien (ConTeXt) unterscheiden kann. Macht ihr diesen Schritt nicht, so beharrt Kile darauf, dass tex-Dateien stets LaTeX-Dateien sind, was das Highlighting zerstoert. Die Konsequenz ist, dass ihr eure ConTeXt-Dateien von nun ab mit der Dateiendung <code><strong>.ctex</strong></code> versehen muesst, wenn ihr wollt, dass diese von Kile korrekt erkannt werden sollen.<br />
Wisst ihr eine Moeglichkeit, wie man Kile davon ueberzeugen kann, dass auch Dateien mit einer .tex-Endung mit ConTeXt-Regeln behandelt werden sollen, dann meldet euch bitte bei mir. Ich habe leider keine Moeglichkeit dazu gefunden.</p>
<p>Nachdem ihr das soweit gemacht habt, sollte Kile in der Lage sein eure ctex-Dateien korrekt als ConTeXt-Dateien zu interpretieren und entsprechend zu highlighten. Das war Schritt 1.</p>
<h2>Vervollstaendigen</h2>
<p>Was jetzt noch fehlt ist es Kile beizubringen wie die ConTeXt-Begriffe zu vervollstaendigen sind. Diese fuegt ihr in Kile unter <em>Settings -> Configure Kile ... -> Kile -> Complete -> Tex/LaTeX</em> hinzu. Dazu klickt ihr auf <em>Add ...</em> und waehlt dort <em>context-document</em> aus.<br />
Ich habe an dieser Stelle noch den Haken vor <em>latex-document</em> entfernt, da ich nur mit ConTeXt arbeite und die Vorschlaege fuer LaTeX fuer mich daher nur stoerend waren. Wir ihr das handhabt bleibt euch ueberlassen.<br />
Jedenfalls sollte Kile jetzt automatisch versuchen eure Eingaben zu vervollstaendigen.</p>
<p>Jetzt sollte nicht mehr im Weg stehen was euch daran hindern sollte Kile als Editor fuer ConTeXt zu benuzen. Wenn ihr noch Fragen oder Anmerkungen habt, dann schreibt einen Kommentar. Viel Spass mit Kile und ConTeXt!</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/406-howto-kile-als-editor-fuer-context-benutzen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo: ConTEXt um die Module &#8220;t-amsl&#8221; bzw. &#8220;t-nath&#8221; erweitern</title>
		<link>http://crashsource.de/395-howto-context-latex-module-t-amsl-t-nath/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=howto-context-latex-module-t-amsl-t-nath</link>
		<comments>http://crashsource.de/395-howto-context-latex-module-t-amsl-t-nath/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 17:18:54 +0000</pubDate>
		<dc:creator>Fabi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsource.de/?p=395</guid>
		<description><![CDATA[UPDATE: Unten beschriebene Loesung ist nicht mehr zu empfehlen. In den Kommentaren wird eine einfachere Loesung gezeigt. Klicke hier um zu dieser Loesung zu kommen. Vielen Dank [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong>:<br />
Unten beschriebene Loesung ist nicht mehr zu empfehlen. In den Kommentaren wird eine einfachere Loesung gezeigt. Klicke <a href="http://crashsource.de/395-howto-context-latex-module-t-amsl-t-nath/#comment-1916">hier</a> um zu dieser Loesung zu kommen.<br />
Vielen Dank an dieser Stelle an Aditya Mahajan.<br />
<strong>ENDE UPDATE</strong>:</p>
<p>Willst du in ConTEXt beispielweise Spaltenvektoren (column-vectors) schreiben, so kannst du nicht wie in Latex ueblich einfach so auf die Array-Umgebung zugreifen, sondern du brauchst dazu das Modul <em>t-amsl</em>.<br />
Bei mir war, aus welchen Gruenden auch immer, dieses Modul in der Standardinstallation von ConTEXt nicht vorhanden. Es war daher nicht moeglich den folgenden Code, der einen Spaltenvektor erzeugt, ohne Fehler zu kompilieren:<br />
<codeblock><br />
\usemodule[t-amsl]<br />
\starttext<br />
\startformula<br />
\left(<br />
\startarray{l}<br />
1\\2\\3<br />
\stoparray<br />
\right)<br />
\stopformula<br />
\stoptext<br />
</codeblock></p>
<p>Einen Ausweg aus dieser Misere bietet das Modul <code>t-amsl</code>. Wenn bei dir obriger Code ebenfalls den Fehler "system: module t-amsl not found! [...] Undefined control sequence. l.XX \startarray" erzeugt, dann musst du oben genanntes Modul nachladen und manuell installieren. Dazu gehst du wie folgt vor:</p>
<p>Lade dir das Modul beispielsweise <a href="http://sunsite.bilkent.edu.tr/pub/tex/ctan/macros/context/contrib/maths/">hier</a> herunter. Anschliessend kopierst du es nach <code>~/texmf/tex/context/maths</code>. Gegebenenfalls musst du diese Ordnerstruktur erzeugen. Nun musst du in deinem Dokument das Modul nur noch laden und kannst es daraufhin verwenden.<br />
Damit sollte es moeglich sein oben genannten Code ohne Fehler zu kompilieren. Well done, Dude!</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsource.de/395-howto-context-latex-module-t-amsl-t-nath/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

