<?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>doink.ch &#187; linux</title>
	<atom:link href="http://www.doink.ch/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.doink.ch</link>
	<description>luzi&#039;s brain, public sector</description>
	<lastBuildDate>Tue, 17 Jan 2012 18:17:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>&#8216;locate&#8217; on ubuntu with an encrypted home dir</title>
		<link>http://www.doink.ch/locate-on-ubuntu-with-an-encrypted-home-dir/</link>
		<comments>http://www.doink.ch/locate-on-ubuntu-with-an-encrypted-home-dir/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 17:55:22 +0000</pubDate>
		<dc:creator>luzi</dc:creator>
				<category><![CDATA[free software]]></category>
		<category><![CDATA[geeky]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.doink.ch/?p=1620</guid>
		<description><![CDATA[recently, i noticed that the locate command on my ubuntu system didn&#8217;t work as expected. it simply didn&#8217;t list files located in my $HOME dir, while it did still list files in the system directories. it took me a while to figure out that this behaviour was due to the fact that i decided to [...]]]></description>
			<content:encoded><![CDATA[<p>recently, i noticed that the <em>locate</em> command on my ubuntu system didn&#8217;t work as expected. it simply didn&#8217;t list files located in my $HOME dir, while it did still list files in the system directories. it took me a while to figure out that this behaviour was due to the fact that i decided to check the &#8220;encrypt home dir&#8221; option when i last (re-)installed the OS. </p>
<p>on second thought, it makes sense that it works that way, since the command to update <em>locate</em>&#8216;s database (<em>updatedb.mlocate</em> on ubuntu) is run as a root cronjob, and as such it can&#8217;t access the filesystem while it&#8217;s encrypted. on the other hand, understanding this requires quite a bit of prior knowledge about how <em>locate</em> works, and i think it&#8217;s a bit rough to let the users figure this out all by themselves, without as much as a warning. the situation would be much improved if <em>locate</em> would at least spit out a warning that it can&#8217;t access the home dir, instead of the ominous silence, from which we usually conclude that no matching files exist on the disk.</p>
<p>after some googling, i found a good solution for this problem. <a href="http://www.tolaris.com/2011/02/17/secure-locate-with-ecryptfs-part-2/">this guide</a> explains how to set up <em>locate</em> to store a separate, user-specific database inside the encrypted home directory. this also requires a user-specific cronjob. after following that guide, <em>locate</em> once again works just as expected on my system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doink.ch/locate-on-ubuntu-with-an-encrypted-home-dir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>microsoft&#8217;s miese geschäftspraktiken</title>
		<link>http://www.doink.ch/microsofts-miese-geschaftspraktiken/</link>
		<comments>http://www.doink.ch/microsofts-miese-geschaftspraktiken/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 20:37:11 +0000</pubDate>
		<dc:creator>luzi</dc:creator>
				<category><![CDATA[free software]]></category>
		<category><![CDATA[geeky]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.doink.ch/?p=744</guid>
		<description><![CDATA[microsoft hat eine monopolstellung im bereich von betriebssystemen für desktop computer (microsoft windows) und office anwendungen (microsoft office), und ist in den letzten zwei jahrzehnten insbesondere dank diesen zwei produkten zu einem gigantischen grosskonzern mit einem börsenwert von aktuell 246.13 Mrd. USD und ca. 93.000 Mitarbeitern angewachsen. es ist absolut kein geheimnis, aber leider dennoch [...]]]></description>
			<content:encoded><![CDATA[<p>microsoft hat eine monopolstellung im bereich von betriebssystemen für desktop computer (microsoft windows) und office anwendungen (microsoft office), und ist in den letzten zwei jahrzehnten insbesondere dank diesen zwei produkten zu einem gigantischen grosskonzern mit einem <a href="http://www.cash.ch/boerse/kursinfo/fullquote/Microsoft/951692/537/333">börsenwert von aktuell 246.13 Mrd. USD</a> und <a href="http://de.wikipedia.org/wiki/Microsoft">ca. 93.000 Mitarbeitern</a> angewachsen. es ist absolut kein geheimnis, aber leider dennoch vielerorts nicht bekannt genug, dass microsoft seit vielen jahren fiese und teilweise sogar illegale geschäftspraktiken anwendet, um ihr software-imperium aufzubauen und zu erhalten. die wichtigsten informationen dazu habe ich hier kurz zusammengefasst, wobei ich technische details so weit es ging ausgeblendet habe, damit sich auch technisch nicht-interessierte schnell eine meinung bilden können. meiner meinung nach sollte sich jeder, der microsoft-software verwendet, über die folgenden punkte im klaren sein.</p>
<p>anmerkung: einige der brisanteren informationen stammen aus internen, eigentlich geheimen microsoft-emails, die im rahmen einer gerichtsverhandlung (<a href="http://www.pcmag.com/article2/0,2817,2070989,00.asp">comes vs. microsoft litigation</a>) ans licht gekommen sind.</p>
<ul>
<li><strong>microsoft wurde wiederholt und in verschiedenen ländern der welt wegen missbrauch seiner monopolstellung gerichtlich verurteilt</strong>. so benutzten sie z.B. ihre monopolstellung im betriebssystemmarkt, um ihre vormacht im bereich der webbrowser zu erhalten (der konkurrent <a href="http://de.wikipedia.org/wiki/Netscape_Communications">netscape</a> wurde so zerquetscht, wofür microsoft im nachhinein kartellrechtlich <a href="http://en.wikipedia.org/wiki/United_States_v._Microsoft">verurteilt</a> wurde). allein in europa hat microsoft wegen derartiger vergehen durch die wettbewerbskommission der EU eine absolut rekordverdächtige <a href="http://www.nzz.ch/nachrichten/wirtschaft/aktuell/eu_microsoft_1.730968.html">bussgeldsumme von 1.68 Milliarden Euro</a> angehäuft. trotzdem ist nicht erkennbar, dass die firma einsichtig wäre: im jahr 2009 musste microsoft wiederum <a href="http://www.nzz.ch/nachrichten/digital/kuenftig_zwoelf_browser_auf_windows_1.4218512.html">von der EU-wettbewerbskommission gezwungen werden</a>, den windows-käufern eine faire wahl des webbrowsers zu ermöglichen.<br />
gerichtsverfahren gab es auch in südkorea (2005, mit millionenbusse) und den USA (ab 1998, endete mit einer “einigung”). der richter im amerikanischen gerichtsverfahren sagte u.a. <a href="http://windowsitpro.com/article/articleid/20269/judge-jackson-exits-microsoft-discrimination-case.html">folgendes</a>:</p>
<blockquote><p>Microsoft executives had &#8220;proved, time and time again, to be inaccurate, misleading, evasive, and transparently false. &#8230; Microsoft is a company with an institutional disdain for both the truth and for rules of law that lesser entities must respect. It is also a company whose senior management is not averse to offering specious testimony to support spurious defenses to claims of its wrongdoing.&#8221;</p></blockquote>
</li>
<li><strong>microsoft ist absichtlich inkompatibel</strong>. statt es den benutzern verschiedener computersysteme einfacher zu machen, daten und dokumente auszutauschen, macht microsoft dies vorsätzlich schwieriger. das gehört zur firmenstrategie: es soll den kunden damit möglichst schwer gemacht werden, zu einem konkurrenten umzusteigen. im fachjargon nennt man dies <a href="http://de.wikipedia.org/wiki/Vendor_lock-in">vendor-lockin</a>, also die bindung an einen einzelnen hersteller, und microsoft hat diese technik <a href="http://en.wikipedia.org/wiki/Vendor_lock-in#Microsoft">zur perfektion gebracht</a>. man könnte auch von einer falle sprechen: ist der kunde erst einmal reingetappt, hat er es so schwer, zu einem konkurrenten zu wechseln, dass er fast sicher weiterhin die produkte dieses herstellers kaufen wird. genau so <a href="http://ec.europa.eu/comm/competition/antitrust/cases/decisions/37792/en.pdf">argumentiert ein manager von microsoft</a> 1997 in einem internen memo: windows-applikationen seien so stark mit dem betriebssystem verflochten, dass die kunden enorme kosten hätten, wenn sie auf eine andere software umsteigen möchten.  “es sind diese umstiegskosten”, schreibt er, “die den kunden die geduld geben, trotz all unserer fehler bei windows zu bleiben. [...] um es kurz zu machen: ohne dies [...] wären wir schon lange tot.” (meine übesetzung).<br />
pikanterweise sind es aber nicht nur die von microsoft geschaffenen formate und standards, die sie inkompatibel machen wollen. microsoft versucht auch, gängige und an und für sich betriebssystemunabhängige industriestandards (wie etwa das sogenannte ACPI, das die zusammenarbeit von hard- und software in einem computer regelt) so zu beeinflussen, dass sie nicht mehr richtig mit konkurrenzprodukten zusammenarbeiten. im fall von ACPI geht das zweifelsfrei aus  <a href="http://www.groklaw.net/article.php?story=2010011422570951">einem internen email von bill gates von 1999</a> hervor, wo er vorschlägt, ACPI “Windows specific” zu machen, weil es ihn stört, dass es mit dem freien betriebssystem linux (ein konkurrenzprodukt zu windows), gut zusammenarbeitet.<br />
das heisst im klartext: microsoft arbeitet <em>aktiv darauf hin</em>, dass die welt der computertechnologie weniger kompatibel ist. es ist also <em>in microsofts interesse</em>, wenn du z.B. deine office dateien nicht problemlos mit deinen freunden/bekannten/geschäftspartnern austauschen kannst, sofern diese nicht auch microsoft software einsetzen.
</li>
<li><strong>microsoft bekämpft offene, kompatible standards</strong>. es konnte wiederholt beobachtet werden, dass überall dort, wo herstellerübergreifende standards vorgeschlagen werden, die firma alle hebel in gang setzt, um stattdessen ein eigenes, nur von ihnen kontrolliertes format zu etablieren. ein gutes beispiel ist das von microsoft massiv torpedierte offene format <a href="http://de.wikipedia.org/wiki/OpenDocument">ODF</a>, das mit dem ziel erschaffen wurde, die interoperabilität von office anwendungen zu verbessern. statt sich dieser noblen sache anzuschliessen, erfand die firma lieber ein eigenes, von ihnen kontrolliertes format namens OOXML, das sie gegen ODF positionierten. obwohl es also mit ODF bereits einen herstellerübergreifenden ISO-standard für office dateien gab, erreichten sie es <a href="http://www.grokdoc.net/index.php/EOOXML_objections">trotz guten gegenargumenten</a> und nach einer <a href="http://www.heise.de/newsticker/meldung/Gegner-von-Microsofts-OpenXML-fuer-Abbruch-der-ISO-Standardisierung-171962.html">stark umstrittenen</a> und <a href="http://www.heise.de/newsticker/meldung/Microsoft-erhaelt-Negativ-Auszeichnung-fuer-OpenXML-Kampagne-181482.html">von vorwürfen von unregelmässigkeiten</a> geprägten wahl, dass auch OOXML als zweiter standard von der ISO akzeptiert wurde.  ((OOXML ist damit zwar auch ein offenes format, doch sollte man bedenken, dass es microsoft nur deshalb offengelegt hat, weil es mittlerweile von zahlreichen regierungen auf der welt vorgeschrieben ist, dass amtliche dokumente in einem offenen format gespeichert werden müssen, wodurch microsoft quasi gezwungen wurde, nicht länger auf ein proprietäres format zu setzen. andernfalls hätten sie keine office software mehr an regierungen verkaufen können.))<br />
ein weiteres beispiel ist das dateiformat PDF, das sich als äusserst nützliches format für fertig formattierte dokumente einer grossen beliebtheit erfreut. microsoft hat sich aber immer gegen das format gesträubt, und unterstützt es auch heute noch nur sehr halbherzig, weil sie nicht die volle kontrolle darüber haben (es wurde von der firma <a href="http://de.wikipedia.org/wiki/Adobe_Systems">adobe</a> erschaffen).
</li>
<li><strong>es gehört zu microsofts &#8220;mission&#8221;, analysten und moderatoren von gesprächspodien zu kaufen und akademiker durch das zusprechen von forschungsgeldern zu beeinflussen</strong>. dazu <a href="http://www.groklaw.net/articlebasic.php?story=20071023002351958">eine mail</a> aus dem jahr 1997, geschrieben von james plamondon, damals ein hoher angestellter (“technical evangelist”) bei microsoft:<br />
<blockquote><p>“Our mission is to establish Microsoft&#8217;s platforms as the <em>de facto</em> standards throughout the computer industry&#8230;. Working behind the scenes to orchestrate &#8220;independent&#8221; praise of our technology, and damnation of the enemy&#8217;s, is a key evangelism function during the Slog [= interne Bezeichnung für eine Art “guerilla marketing”, Anmerkung von doink.ch]. &#8220;Independent&#8221; analyst&#8217;s report should be issued, praising your technology and damning the competitors (or ignoring them). &#8220;Independent&#8221; consultants should write columns and articles, give conference presentations and moderate stacked panels, all on our behalf [...]. &#8220;Independent&#8221; academic sources should be cultivated and quoted (and research money granted). &#8220;Independent&#8221; courseware providers should start profiting from their early involvement in our technology. Every possible source of leverage should be sought and turned to our advantage.”</p></blockquote>
</li>
<li><strong>microsoft ist nicht im wettberwerb mit seinen konkurrenten, sondern im krieg mit seinen feinden</strong>. ich zitiere dazu wiederum <a href="http://www.groklaw.net/articlebasic.php?story=20071023002351958">aus einem internen dokument</a> (titel beachten!):<br />
<blockquote><p>
<em>Evangelism Is War</em></p>
<p>Our mission is to establish Microsoft&#8217;s platforms as the <em>de facto</em> standards throughout the computer industry. Our enemies are the vendors of platforms that compete with ours: Netscape, Sun, IBM, Oracle, Lotus, etc. The field of battle is the software industry. Success is measured in shipping applications. Every line of code that is written to our standards is a small victory; every line of code that is written to any other standard, is a small defeat. Total victory, for DRG, is the universal adoption of our standards by developers, as this is an important step towards total victory for Microsoft itself: &#8216;A computer on every desk and in every home, running Microsoft software.&#8217;”</p></blockquote>
</li>
<li><strong>microsoft geschäftet skrupellos, selbst wenn es um humanitäre projekte geht</strong>. das vom informatikprofessor <a href="http://en.wikipedia.org/wiki/Nicholas_Negroponte">negroponte</a> gestartete <a href="http://de.wikipedia.org/wiki/OLPC_XO-1">one laptop per child</a>-projekt, bei dem es darum geht, kindern in entwicklungsländern zu bildungszwecken einen extrem kleinen, billigen computer zur verfügung zu stellen, sollte ursprünglich ausschliesslich mit open source software (linux) laufen. doch wie aus <a href="http://groklaw.net/staticpages/index.php?page=ComesExhN04">internen emails</a> hervorgeht, waren microsoft alle mittel recht, um das offene betriebssystem auf den prestigeträchtigen OLPC-computern durch microsoft-software zu verdrängen. sie schreckten nicht einmal davor zurück, dem projektleiter negroponte eine summe von $10-30 Mio. USD für den ausbau des forschungslabors an seiner universität anzubieten, damit er auf die linie von microsoft umschwenke. resultat: das <a href="http://www.linux-community.de/Internal/Nachrichten/OLPC-arbeitet-mit-Microsoft-an-Dual-Boot-PC">OLPC arbeitet nun eng mit microsoft zusammen</a>, damit auch windows auf dem gerät laufen könne.
</li>
<li><strong>microsoft benutzt software-patente als waffen</strong>. im bereits oben genannten email von bill gates spricht er von der möglichkeit, software-patente zu benutzen, um konkurrenzsoftware zu benachteiligen. <a href="http://groklaw.net/staticpages/index.php?page=ComesExhN04">software-patente</a> sind an und für sich sehr umstritten und viele leute (inkl. ich) meinen, es sollten überhaupt keine patente auf software vergeben werden. die enorme grösse und die finanziellen mittel des konzerns machen es für kleinere konkurrenten extrem schwierig, sich gegen patentansprüche von microsoft zu wehren. der derzeitige microsoft-chef ballmer lässt keine gelegenheit verstreichen, ohne zu <a href="http://www.linux-watch.com/news/NS3513440381.html">betonen</a>, dass sie die sogenannte “patent-keule” gegen ihre konkurrenten und insbesondere auch gegen open source software einsetzen könn(t)en.
</li>
<li><strong>microsoft macht grossen druck auf pc-verkäufer, damit sie ausschliesslich pcs mit windows ausliefern</strong>. da die pc-verkäufer aufgrund der momentanen vormachtsstellung von windows darauf angewiesen sind, mit microsoft im geschäft zu bleiben, müssen sie sich wohl oder übel dem <a href="http://en.wikipedia.org/wiki/Criticism_of_Microsoft#Licensing_agreements">druck</a> fügen und können keine computer mit alternativer software verkaufen. das resultat davon ist, dass es nicht nur für konkurrenten fast unmöglich ist, im markt fuss zu fassen, sondern dass auch noch diejenigen kunden, die kein windows wollen, praktisch gezwungen werden, für windows mitbezahlen &#8212; selbst wenn sie es nach dem erwerb sofort zu löschen gedenken. ((löbliche ausnahme ist die firma dell, die sich seit kurzem <a href="http://www1.euro.dell.com/content/topics/topic.aspx/emea/segments/gen/client/de/ubuntu_landing?c=de&#038;l=de&#038;cs=dedhs1">nicht mehr länger von microsoft in die knie zwingen </a> lässt.))
<li><strong>es gibt anzeichen dafür, dass microsoft versucht, die open-source szene zu unterwandern/spalten</strong>. das ist schwer zu beweisen, aber einiges deutet darauf hin, z.b. dass microsoft abkommen mit einigen linux-firmen (wie den <a href="http://en.wikipedia.org/wiki/Novell#Agreement_with_Microsoft">deal mit novell</a>) abgeschlossen hat, wodurch nun einige linuxnutzer von patentstreitigkeiten geschützt sind, andere jedoch nicht. dies hat zu einigem streit und der bildung von “lagern” in der linux community geführt. ausserdem gibt es seit einer weile starke bestrebungen, die microsoft-programmiersprache c# in linuxdistributionen aufzunehmen, wodurch sich die linux-anbieter einer <a href="http://www.heise.de/open/meldung/Open-Source-Guru-Richard-Stallman-stellt-sich-gegen-Mono-187093.html">gefahr von zukünftigen patentansprüchen</a> von seiten microsofts aussetzen.
</li>
<li><strong>microsoft unterhält &#8216;schwarze listen&#8217; von journalisten, die ihnen nicht passen.</strong> auch dies ist aufgrund von internen dokumenten aus gerichtsverhandlungen publik geworden, und mindestens ein journalist behauptet, aufgrund von drohungen von microsoft gegenüber seinem arbeitsgeber <a href="http://www.pcmag.com/article2/0,2817,2325778,00.asp">seinen job verloren</a> zu haben.
</li>
<li><strong>microsoft wirbt mit unlauteren mitteln.</strong> microsoft gibt immer wieder bei “unabhängigen” instituten studien in auftrag, deren resultate die überlegenheit der microsoft-produkte nachweisen sollen. diese von microsoft anschliessend für werbung verwendeten studien waren teilweise derart irreführend/gefälscht, dass sie <a href="http://en.wikipedia.org/wiki/Criticism_of_Microsoft#Advertising_and_public_relations">gerichtlich gestoppt</a> werden mussten.</li>
<li><strong>microsoft beschimpft und beleidigt konkurrierende softwareprojekte</strong>. das von microsoft als konkurrenz angesehene freie betriebssystem linux wurde von der obersten führungsetage von microsoft unter anderem als <a href="http://www.theregister.co.uk/2001/06/02/ballmer_linux_is_a_cancer/">krebsgeschwür</a> diffamiert, das andere software “infiziere” (gemeint war das <a href="http://de.wikipedia.org/wiki/Copyleft">copyleft</a>-prinzip der von linux genutzten <a href="http://de.wikipedia.org/wiki/GNU_General_Public_License">GPL</a>-lizenz), und es sei ausserdem <a href="http://www.theregister.co.uk/2000/07/31/ms_ballmer_linux_is_communism/">kommunistisch</a> (was zweifelsfrei abwertend gemeint war). der ms-gründer bill gates bezeichnet den kampf gegen linux sogar als <a href="http://groklaw.net/staticpages/index.php?page=ComesExhN04">jihad</a>.
</li>
<li><strong>microsoft verstösst in china gegen die menschenrechte.</strong> zusammen mit anderen technologiefirmen wie yahoo, aber im gegensatz zu google, ist microsoft <a href="http://www.heise.de/newsticker/meldung/Microsoft-will-in-China-bleiben-905469.html">weiterhin daran beteiligt</a>, in china zugunsten ihres firmenprofites gegen das menschenrecht der freien meinungsäusserung zu verstossen. sie kommen den wünschen der pekinger regierung nach, regierungskritische, für demokratie werbende internetseiten zu zensieren.</li>
<li><strong>microsoft hat die finger tief in der politik drin</strong>. der grosskonzern gibt enorme summen aus, um politiker zu beeinflussen: zwischen 2007 und 2009 gab die firma <a href="http://www.heise.de/newsticker/meldung/USA-Google-pumpt-mehr-Geld-in-Lobby-Arbeit-915488.html">jährlich zwischen $6.7 und $9 Mio. USD</a> für lobbying in washington aus. das sind wohlgemerkt nur die offiziell deklarierten beträge, und betreffen nur die ausgaben in washington DC. <strong>sogar in der schweiz</strong> hat microsoft die finger drin: 2008 wurde die position des schweizerischen preisüberwachers neu besetzt, zu dessen aufgaben u.a. die überwachung von <a href="http://de.wikipedia.org/wiki/Preis%C3%BCberwacher#Preis.C3.BCberwachung_als_Schutz_vor_Missbrauch">marktmächtigen unternehmen und kartellen</a> gehört. und wer bekam die stelle? just ein mann, der bis anhin <a href="http://www.ch-open.ch/presse/pressemitteilungen/pressemitteilung080619.html">manager bei microsoft</a> war &#8211; notabene einer firma, die wegen wiederholtem monopolmissbrauchs weltweit zu rekordbussen verurteilt worden ist.
</li>
</ol>
<p><strong>links</strong><br />
<a href="http://www.linuxfueralle.de/windows/">linux für alle &#8211; warum nicht windows</a><br />
<a href="http://www.groklaw.net">groklaw</a> &#8211; insiderinformationen u.a. zu microsofts gerichtsverfahren<br />
<a href="http://en.wikipedia.org/wiki/Criticism_of_Microsoft">wikipedia &#8211; criticism of microsoft</a><br />
<a href="www.odfalliance.org/resources/ODF_Gov.pdf">the importance of open file formats</a><br />
<a href="http://de.wikipedia.org/wiki/Freie_Software">wikipedia &#8211; freie software</a><br />
<a href="http://www.fsfe.org/index.de.html">free software foundation (europe)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doink.ch/microsofts-miese-geschaftspraktiken/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>an X11 keyboard layout for scholars of old germanic</title>
		<link>http://www.doink.ch/an-x11-keyboard-layout-for-scholars-of-old-germanic/</link>
		<comments>http://www.doink.ch/an-x11-keyboard-layout-for-scholars-of-old-germanic/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 19:05:31 +0000</pubDate>
		<dc:creator>luzi</dc:creator>
				<category><![CDATA[diss]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[linguistik]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[uni]]></category>
		<category><![CDATA[vgs]]></category>

		<guid isPermaLink="false">http://www.doink.ch/?p=626</guid>
		<description><![CDATA[as an historical linguist dealing with old germanic languages, i need a convenient way to input special characters on my computer. since I want to be able to use these characters across all my applications (text editor, office suite, email-client, browser), a per-application solution is not a good idea. a better approach is to change [...]]]></description>
			<content:encoded><![CDATA[<p>as an historical linguist dealing with old germanic languages, i need a convenient way to input special characters on my computer. since I want to be able to use these characters across all my applications (text editor, office suite, email-client, browser), a per-application solution is not a good idea. a better approach is to change the keyboard layout <em>system wide</em>. luckily, this can be achieved easily on a linux system by customizing one of the predefined X11 keyboard layouts. in my case, i came to the conclusion that it was best to modify the existing keyboard layout definition for us-english (called “us”) by adding a new “layout variant“, which i decided to call “altgr-gmc”. as you can see, every key is bound to four different characters. the characters on the right side of every key can be accessed by using AltGr (bottom right) and AltGr+SHIFT (top right) as modifiers.</p>
<p>here&#8217;s what i came up with (click for a larger image):<br />
<a href="http://www.doink.ch/altgr-gmc.png"><img title="altgr-gmc" src="http://www.doink.ch/altgr-gmc.png" alt="altgr-gmc keyboard layout" width="500" height="166" /></a></p>
<p>the distribution of characters across the keyboard is somewhat arbitrary, though i tried to keep compatibility to “altgr-intl” if possible, and i strived to make the rest as intuitive as possible (<em>r</em>-sounds on the <em>r</em>-button, combining diacritical mark for a stroke below on the hyphen-button, since it sort of looks like a little rotated hyphen etc.).</p>
<p>if you want to give it a try, follow these instructions (root permissions required for all steps):</p>
<ol>
<li><strong>adding the new layout variant</strong><br />
open the file <span class="tt">/usr/share/X11/xkb/symbols/us</span> and append <a href="http://www.doink.ch/altgr-gmc.html">these lines</a> at the end of it.</li>
<li><strong>enabling it in X11</strong><br />
edit <span class="tt">/usr/share/X11/xkb/rules/evdev.xml</span> and add the following lines at a suitable position (e.g. after the entry for “altgr-intl”):</p>
<pre class="code"><code>        &lt;variant&gt;
          &lt;configItem&gt;
            &lt;name&gt;altgr-gmc&lt;/name&gt;
            &lt;description&gt;for Old Germanic&lt;/description&gt;
            &lt;languageList&gt;&lt;iso639Id&gt;eng&lt;/iso639Id&gt;
                          &lt;iso639Id&gt;fra&lt;/iso639Id&gt;
                          &lt;iso639Id&gt;ger&lt;/iso639Id&gt;&lt;/languageList&gt;
          &lt;/configItem&gt;
        &lt;/variant&gt;</code></pre>
<p>you may also want to make a corresponding change in <span class="tt">/usr/share/X11/xkb/rules/evdev.lst</span> for consistency&#8217;s sake (it doesn&#8217;t seem to be required).</li>
<li><strong>setting it as system default</strong><br />
open <span class="tt"><del datetime="2011-10-14T09:14:31+00:00">/etc/default/console-setup</del></span> <strong>update</strong>: <span class="tt">/etc/default/keyboard</span> and set <span class="tt">XKBVARIANT</span> to <span class="tt">&#8220;altgr-gmc&#8221;</span>. make sure that the variable <span class="tt">XKBLAYOUT</span> points to the file that you modified in step 1 (<span class="tt">&#8220;us&#8221;</span>)</li>
<li><strong>restart your computer</strong></li>
</ol>
<p>(this was all done on a xubuntu 9.10 system. should also work on any other recent ubuntu installation.)</p>
<p>if you want this to take effect immediately, load it up like this: <span class="tt">setxkbmap us -variant altgr-gmc</span>.</p>
<p>a few problems remain, mostly related to the handling of combining diacritical marks. contrary to my initial plans, i ended up refraining from the use of “dead keys” in favour of using combining diacritical marks throughout. this happened for consistency&#8217;s sake. in general, i prefer to use precomposed characters (which is what the “dead keys” give you), but since precomposed characters are not available for all the desired combinations, it&#8217;s unavoidable to use combining diacritical marks in some cases, and because of that it seemed better to me to use the latter throughout. of course it would be best to have a “fall back strategy”, so that precomposed characters will be used whenever possible, and combining diacritical marks elsewhere. such a solution doesn&#8217;t seem possible currently, however, since you can only use a key <em>either</em> as a “dead key” (which will give you no character at all in the case that you choose an unavailable combination) <em>or</em> to have it produce a combining diacritical mark.</p>
<p>a second thing that&#8217;s been irritating me is that the handling of combining diacritical marks seems to be very inconsistent across applications and fonts. strangely, changing the <em>font</em> of my text editor does not only change the way the marks are displayed in the editor window (sometimes combined, sometimes simply next to each other), but it can also (in some cases) change the order in which i need to input the base letter and the modifier: depending on the current font, i sometimes have to type the diacritical mark <em>before</em> and sometimes <em>after</em> the letter i want to modify&#8230; isn&#8217;t that odd? </p>
<p>another issue is that stacking diacritical marks is messy. often, the marks will end up being superimposed on each other instead of being stacked. it&#8217;s basically a matter of trial and error to see what will work and what won&#8217;t :(</p>
<p>so here&#8217;s a sample of what you can do with “altgr-gmc”, including some fancy (but not always neatly typeset) stacked diacritical marks: </p>
<p><a href="http://www.doink.ch/altgr-gmc-sample.png"><img title="altgr-gmc-sample" src="http://www.doink.ch/altgr-gmc-sample.png" alt="altgr-gmc-sample" width="359" height="96" /></a></p>
<p><strong>links:</strong><br />
<a href="http://people.uleth.ca/~daniel.odonnell/Blog/custom-keyboard-in-linuxx11">http://people.uleth.ca/~daniel.odonnell/Blog/custom-keyboard-in-linuxx11</a><br />
<a href="http://www.mufi.info/">http://www.mufi.info/ Medieval Unicode Font Initiative</a><br />
<a href="http://unicode.org/charts/">http://unicode.org/charts/</a><br />
<a href="http://unicode-search.net">http://unicode-search.net</a><br />
<a href="http://en.wikipedia.org/wiki/Unicode">http://en.wikipedia.org/wiki/Unicode</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doink.ch/an-x11-keyboard-layout-for-scholars-of-old-germanic/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>how to remove black borders from a PDF</title>
		<link>http://www.doink.ch/how-to-remove-black-borders-from-a-pdf/</link>
		<comments>http://www.doink.ch/how-to-remove-black-borders-from-a-pdf/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 10:47:40 +0000</pubDate>
		<dc:creator>luzi</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[uni]]></category>

		<guid isPermaLink="false">http://www.doink.ch/?p=509</guid>
		<description><![CDATA[our copy machines at the university can scan documents and send them to an email address. how convenient! however, when you scan pages from a book, the page-size will most likely not match the exact size of an A4 paper, resulting in a PDF document that has black borders on the side and/or the bottom. [...]]]></description>
			<content:encoded><![CDATA[<p>our copy machines at the university can scan documents and send them to an email address. how convenient! however, when you scan pages from a book, the page-size will most likely not match the exact size of an A4 paper, resulting in a PDF document that has black borders on the side and/or the bottom. this is bad, because printing these pages later will waste <em>a lot</em> of ink. that&#8217;s why i&#8217;ve been looking for an easy way to crop PDF documents on linux, and i&#8217;ve finally found out how to do this:</p>
<blockquote><p><strong>pdfcrop &#8211;margins &#8217;0 0 0 -50&#8242; &#8211;clip report.pdf</strong></p></blockquote>
<p>this will remove 50 bp from the bottom of every page of the PDF.</p>
<p>on my distro, <em>pdfcrop</em> is provided by the package <strong>&#8216;texlive-extra-utils&#8217;</strong>, so you&#8217;ll need to install this if you don&#8217;t have it already.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doink.ch/how-to-remove-black-borders-from-a-pdf/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>matching hard- and software</title>
		<link>http://www.doink.ch/matching-hard-and-software/</link>
		<comments>http://www.doink.ch/matching-hard-and-software/#comments</comments>
		<pubDate>Wed, 20 May 2009 18:25:49 +0000</pubDate>
		<dc:creator>luzi</dc:creator>
				<category><![CDATA[geeky]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.doink.ch/?p=461</guid>
		<description><![CDATA[“If a company designs both hardware and software, it can build much better systems than if they only design the software. That&#8217;s why Apple&#8217;s iPhone is so much better than Microsoft phones.” this statement comes from larry ellison, oracle&#8217;s CEO, in a recent reuters interview. what he says is a simple truth, almost trivial, yet [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>“If a company designs both hardware and software,<br />
it can build much better systems than if they only design the<br />
software. That&#8217;s why Apple&#8217;s iPhone is so much better than<br />
Microsoft phones.”</p></blockquote>
<p>this statement comes from larry ellison, oracle&#8217;s CEO, in a recent <a href="http://www.reuters.com/article/rbssTechMediaTelecomNews/idUSN0740285120090507">reuters interview</a>.</p>
<p>what he says is a simple truth, almost trivial, yet it can&#8217;t be stressed enough how significant it is. while i personally couldn&#8217;t care less about phones, the statement holds of course just as well for desktop / laptop computers. frankly, both windows and linux desktop OSes work crappily on many computers today. you will get devices without proper support, driver issues, incompatibilities between components and all sorts of other problems. and this problem will never go away as long as the hardware and the software are not engineered together. there are literally quintillions of different PC devices / components out there today, and there is just no way any OS could ever support all of them &#8211; and all combinations of them &#8211; equally well. </p>
<p>the solution, then, is to buy hardware and software that comes from the same company and has been designed to work together. both windows and linux fail in this regard, only apple (and sun) get this right as of today. and this is IMHO the main reason while apple is so successful these days. it&#8217;s just not possible to get the same stability and reliability with an OS that is supposed to work &#8220;on any PC hardware&#8221;.</p>
<p>hopefully, we will get linux computers at some point in the future that are engineered in this way. the company could make money from the hardware, and the software could still be free/open source. i at least would be happy to pay the extra charge.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doink.ch/matching-hard-and-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

