<?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>Ansis World &#187; Tools</title>
	<atom:link href="http://ansi.interblc.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://ansi.interblc.com</link>
	<description>Family, Work, Life</description>
	<lastBuildDate>Mon, 08 Feb 2010 09:30:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Howto boot ISO images via grub2 with ubuntu</title>
		<link>http://ansi.interblc.com/2010/02/06/howto-boot-iso-images-via-grub2-with-ubuntu/</link>
		<comments>http://ansi.interblc.com/2010/02/06/howto-boot-iso-images-via-grub2-with-ubuntu/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 18:59:55 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=303</guid>
		<description><![CDATA[Moin I am using Ubuntu &#8220;Daily builds&#8221; for some time inside Suns VirtualBox. Unfortunately the daily builds are not longer booting inside VirtualBox for more then 2 weeks now. Christian told me about a new feature of Grub2. You can boot ISO images directly from your hard disk without burning them on CD or USB. [...]]]></description>
			<content:encoded><![CDATA[<p>Moin</p>
<p>I am using Ubuntu &#8220;<a href="http://cdimages.ubuntu.com/daily-live/current/" target="_blank">Daily builds</a>&#8221; for some time inside Suns <a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a>. Unfortunately the daily builds are not longer booting inside VirtualBox for more then 2 weeks now. <a href="http://www.facebook.com/christian.kirsch" target="_blank">Christian</a> told me about a new feature of <a href="http://grub.enbug.org/FrontPage?action=show&amp;redirect=StartSeite" target="_blank">Grub2</a>. You can boot ISO images directly from your hard disk without burning them on CD or USB. Awesome feature and I had to try it today. Here is the description on how to do it with Ubuntu 9.10.</p>
<p>First I am using this tiny script to update all daily builds with the <a href="http://zsync.moria.org.uk/" target="_blank">zsync</a> tool. It transfers only the changed parts of the ISO so you and the Ubuntu teams save a lot of traffic.</p>
<pre>zsync http://cdimages.ubuntu.com/daily-live/current/lucid-desktop-i386.iso.zsync
cd kubuntu
zsync http://cdimages.ubuntu.com/kubuntu/daily-live/current/lucid-desktop-i386.iso.zsync
cd ../netbook
zsync http://cdimages.ubuntu.com/ubuntu-netbook/daily-live/current/lucid-netbook-i386.iso.zsync
cd ../xubunutu
zsync http://cdimages.ubuntu.com/xubuntu/daily-live/current/lucid-desktop-i386.iso.zsync
cd ..
rm `find ./ -name "*.zs-old" `</pre>
<p>This script keeps all my daily builds up to date.</p>
<p>Next Step is to enable the grub menu. In Ubuntu it can be done in &#8220;<strong>/etc/default/grub</strong>&#8220;. Change the following lines</p>
<pre>GRUB_HIDDEN_TIMEOUT=<strong>10</strong>
GRUB_HIDDEN_TIMEOUT_QUIET=<strong>false</strong></pre>
<p>With this change you will see a 10 seconds count down when booting up. With the <strong>shift-key</strong> you get access to the grub boot menu. Next is to add the ISO images to the grub menu. Change to the &#8220;<strong>/etc/grub.d</strong>&#8221; dir.</p>
<p>Here you can find the grub menu entries and configuration files. Add your ISO images starting with <strong>50</strong> here. For example my entry for the normal Ubuntu ISO image (50_ubuntu) looks like this:</p>
<pre>echo "Adding $(egrep menu[e]ntry $0 | cut -d'"' -f2)" &gt;&amp;2
 cat &lt;&lt; EOF
menuentry "Ubuntu 10.04 Daily Build" {
       loopback loop (<strong>hd0,3</strong>)<strong>/ansi/software_and_config/ISOs/ubuntu/lucid-desktop-i386.iso</strong>
       linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=<strong>/ansi/software_and_config/ISOs/ubuntu/lucid-desktop-i386.iso</strong> file=(loop)/preseed/ubuntu.seed quiet splash bootkbd=sg --
       initrd (loop)/casper/initrd.lz
}</pre>
<p>My ISO files are stored on <strong>sda3</strong> under <strong>/ansi/software_and_config/ISOs/ubuntu/</strong>. In order to change it for your needs there are 3 elements to change. The <strong>loopback</strong> line contains your hard disk in grub style (hdx,y  x=0-&gt;sda x=1-&gt;sdb aso) and the path. The third element to change is in the linux line. Store this file as &#8220;<strong>50_ubuntu</strong>&#8221; in &#8220;<strong>/etc/grub.d</strong>&#8220;, make it executable with &#8220;<strong>chmod a+x 50_ubuntu</strong>&#8221; and activate the changes with &#8220;<strong>ubdate-grub</strong>&#8220;. After a reboot you should be able to activate the grub menu with the <strong>shift-key</strong> and select the new entry. Have fun.</p>
<p>I found some pages on this topic but the description there was not working for me so I changed it. But take a look on your own:</p>
<ul>
<li><a href="http://forum.ubuntuusers.de/topic/lucid-lynx-ohne-cd-brennen-auf-realem-system-/#post-2326751">http://forum.ubuntuusers.de/topic/lucid-lynx-ohne-cd-brennen-auf-realem-system-/#post-2326751</a></li>
<li><a href="http://wiki.ubuntuusers.de/GRUB_2/Konfiguration">http://wiki.ubuntuusers.de/GRUB_2/Konfiguration</a></li>
</ul>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2010/02/06/howto-boot-iso-images-via-grub2-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Chrome extentions</title>
		<link>http://ansi.interblc.com/2009/12/20/chrome-extentions/</link>
		<comments>http://ansi.interblc.com/2009/12/20/chrome-extentions/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 19:02:08 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web2.0]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=297</guid>
		<description><![CDATA[Moin I just run through several Chrome Extensions and here is my list of extensions I can recommend. Please write some comments if you have additional  recommendations. Read It Later, very usefull to store webpages for later reading: https://chrome.google.com/extensions/detail/bkikpncfbjndhfkipijhdoddiadaipaa Gmail Notification: https://chrome.google.com/extensions/detail/mihcahmgecmbnbcchbopgniflfhgnkff Use Gmail as default mailer: https://chrome.google.com/extensions/detail/pgphcomnlaojlmmcjmiddhdapjpbgeoc Forecastfox: https://chrome.google.com/extensions/detail/ihffmkcfkejomlfnilnmkokcpgclhfeg Delicious: https://chrome.google.com/extensions/detail/anlkjppofaicbdanhhpbbogknfodfhfm Last.fm: https://chrome.google.com/extensions/detail/nbjfhhdfhoccglhllgdfcknjgjbifcjk TwitterBar: https://chrome.google.com/extensions/detail/pbadgdglepgngpoeijdgicjccomadekm Page reload: https://chrome.google.com/extensions/detail/njoipeaphfnaplplihpbgndfojhdhmjo [...]]]></description>
			<content:encoded><![CDATA[<p>Moin</p>
<p>I just run through several Chrome Extensions and here is my list of extensions I can recommend. Please write some comments if you have additional  recommendations.</p>
<ul>
<li>Read It Later, very usefull to store webpages for later reading: <a href="https://chrome.google.com/extensions/detail/bkikpncfbjndhfkipijhdoddiadaipaa" target="_blank">https://chrome.google.com/extensions/detail/bkikpncfbjndhfkipijhdoddiadaipaa</a></li>
<li>Gmail Notification: <a href="https://chrome.google.com/extensions/detail/mihcahmgecmbnbcchbopgniflfhgnkff" target="_blank">https://chrome.google.com/extensions/detail/mihcahmgecmbnbcchbopgniflfhgnkff</a></li>
<li>Use Gmail as default mailer: <a href="https://chrome.google.com/extensions/detail/pgphcomnlaojlmmcjmiddhdapjpbgeoc" target="_blank">https://chrome.google.com/extensions/detail/pgphcomnlaojlmmcjmiddhdapjpbgeoc</a></li>
<li>Forecastfox: <a href="https://chrome.google.com/extensions/detail/ihffmkcfkejomlfnilnmkokcpgclhfeg" target="_blank">https://chrome.google.com/extensions/detail/ihffmkcfkejomlfnilnmkokcpgclhfeg</a></li>
<li>Delicious: <a href="https://chrome.google.com/extensions/detail/anlkjppofaicbdanhhpbbogknfodfhfm" target="_blank">https://chrome.google.com/extensions/detail/anlkjppofaicbdanhhpbbogknfodfhfm</a></li>
<li>Last.fm: <a href="https://chrome.google.com/extensions/detail/nbjfhhdfhoccglhllgdfcknjgjbifcjk" target="_blank">https://chrome.google.com/extensions/detail/nbjfhhdfhoccglhllgdfcknjgjbifcjk</a></li>
<li>TwitterBar: <a href="https://chrome.google.com/extensions/detail/pbadgdglepgngpoeijdgicjccomadekm" target="_blank">https://chrome.google.com/extensions/detail/pbadgdglepgngpoeijdgicjccomadekm</a></li>
<li>Page reload: <a href="https://chrome.google.com/extensions/detail/njoipeaphfnaplplihpbgndfojhdhmjo" target="_blank">https://chrome.google.com/extensions/detail/njoipeaphfnaplplihpbgndfojhdhmjo</a></li>
<li>Google Latitude: <a href="https://chrome.google.com/extensions/detail/bhencimpdjidjlgopdgofmkeojbiacie" target="_blank">https://chrome.google.com/extensions/detail/bhencimpdjidjlgopdgofmkeojbiacie</a></li>
<li>Remember the milk: <a href="https://chrome.google.com/extensions/detail/chieodlkhimccchlojdmiondhiggkhmf" target="_blank">https://chrome.google.com/extensions/detail/chieodlkhimccchlojdmiondhiggkhmf</a></li>
<li>Youtube with HTML5 instead of flash: <a href="https://chrome.google.com/extensions/detail/kchoimdlcbapmcdnheaahjcdpdjdpfco" target="_blank">https://chrome.google.com/extensions/detail/kchoimdlcbapmcdnheaahjcdpdjdpfco</a></li>
<li>Beautify Facebook: <a href="https://chrome.google.com/extensions/detail/ipnenhkngeiigfbhacdhadcnjjklhblm" target="_blank">https://chrome.google.com/extensions/detail/ipnenhkngeiigfbhacdhadcnjjklhblm</a></li>
<li>Facebook Extention: <a href="https://chrome.google.com/extensions/detail/hfdhelbngglkahnmlggcbjlkbddhkffm" target="_blank">https://chrome.google.com/extensions/detail/hfdhelbngglkahnmlggcbjlkbddhkffm</a></li>
<li>RapidShare Download Remover: ﻿<a href="https://chrome.google.com/extensions/detail/iciefpkfldmhehakpkphbclofdhiojih">https://chrome.google.com/extensions/detail/iciefpkfldmhehakpkphbclofdhiojih</a></li>
</ul>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2009/12/20/chrome-extentions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ansi now on weather underground</title>
		<link>http://ansi.interblc.com/2009/06/26/ansi-now-on-weather-underground/</link>
		<comments>http://ansi.interblc.com/2009/06/26/ansi-now-on-weather-underground/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 16:38:02 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[Gadget]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[weatherunderground]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=282</guid>
		<description><![CDATA[Moin Since 5 minutes I push my local weather station data (which can be seen in near real time here) to the weather underground network. See the sticker on the right side or this cool one here:]]></description>
			<content:encoded><![CDATA[<p>Moin<br />
Since 5 minutes I push my local weather station data (which can be seen in near real time <a href="http://ansi.no-ip.com/weather/" target="_blank">here</a>) to the <a href="http://www.wunderground.com" target="_blank">weather underground network</a>. See the sticker on the right side or this cool one here:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="290" height="130" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=IBAWUEST2&amp;freq=2.5&amp;units=metric&amp;lang=EN" /><embed type="application/x-shockwave-flash" width="290" height="130" src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=IBAWUEST2&amp;freq=2.5&amp;units=metric&amp;lang=EN"></embed></object></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2009/06/26/ansi-now-on-weather-underground/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Picture Mashup</title>
		<link>http://ansi.interblc.com/2009/04/10/picture-mashup/</link>
		<comments>http://ansi.interblc.com/2009/04/10/picture-mashup/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 23:30:48 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[Gutenberg2.0]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web2.0]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[mashup]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=239</guid>
		<description><![CDATA[Moin Cooly just pointed me to a nice and very funny online mashup service for pictures. Made this funny picture at Hetemeel]]></description>
			<content:encoded><![CDATA[<p>Moin<br />
Cooly just pointed me to a nice and very funny online mashup service for pictures. Made this funny picture at <a href="http://www.hetemeel.com/" target="_blank">Hetemeel</a></p>
<p><a title="einsteinshow.php" href="http://farm4.static.flickr.com/3617/3426497501_ea5e01aa1f_o.jpg" rel="lightbox[239]"><img class="slickr-post" src="http://farm4.static.flickr.com/3617/3426497501_ea5e01aa1f_o.jpg" alt="einsteinshow.php" width="500" height="375" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2009/04/10/picture-mashup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Twitter analyse</title>
		<link>http://ansi.interblc.com/2009/01/27/twitter-analyse/</link>
		<comments>http://ansi.interblc.com/2009/01/27/twitter-analyse/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 21:01:28 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web2.0]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[microblogger]]></category>
		<category><![CDATA[microblogging]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=190</guid>
		<description><![CDATA[Moin I love these twitter mashups. More and more services are using the API and adding meta services.]]></description>
			<content:encoded><![CDATA[<p>Moin<br />
I love these twitter mashups. More and more services are using the API and adding meta services.</p>
<div id="tweeteffect"></div>
<p><script type="text/javascript" src="http://tweeteffect.com/badge.php?user=ansi">
</script></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2009/01/27/twitter-analyse/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>RSS Torrent List from Onlinetvrecorder.com</title>
		<link>http://ansi.interblc.com/2009/01/05/rss-torrent-list-from-onlinetvrecordercom/</link>
		<comments>http://ansi.interblc.com/2009/01/05/rss-torrent-list-from-onlinetvrecordercom/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 16:00:12 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[onlinetvrecorder]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=153</guid>
		<description><![CDATA[Moin Onlinetvrecorder disabled the good old RSS where I can get the list of my torrents of recorded movies. Unfortunatelly the new RSS link requires a session cookie what is not so easy with a bash script. Here is a small solution how to enable the automatic download of the RSS stream in order to [...]]]></description>
			<content:encoded><![CDATA[<p>Moin</p>
<p><a href="http://www.Onlinetvrecorder.com" target="_blank">Onlinetvrecorder</a> disabled the good old RSS where I can get the list of my torrents of recorded movies. Unfortunatelly the new RSS link requires a session cookie what is not so easy with a bash script. Here is a small solution how to enable the automatic download of the RSS stream in order to download the feeds automatically.</p>
<p>First get an session cookie for <a href="http://www.onlinetvrecorder.com" target="_blank">www.onlinetvrecorder.com</a> and store it into a local file.</p>
<pre>wget \
    --save-cookies ~/.cookies/onlinetvrecorder \
<strong>    --keep-session-cookies \</strong>
    --post-data "email=<strong>name%40provider.com</strong>&amp;pass=<strong>whatever</strong>&amp;checkbox_remember=checkbox_remember&amp;btn_login=Login&amp;do=login" \
    -O - \
    http://www.onlinetvrecorder.com/index.php \
    &gt; /dev/null</pre>
<p>With this command you store the onlinetvrecorder session key to a file what you can use later on to download the RSS feed. &#8220;keep-session-cookies&#8221; are important because the key is only valid in the session. Replace &#8220;name&#8221;, &#8220;provider.com&#8221;  and &#8220;whatever&#8221; with your personal data. the &#8220;%40&#8243; is url code for @.</p>
<pre>wget -o /dev/null -O - --load-cookies ~/.cookies/onlinetvrecorder "http://www.onlinetvrecorder.com/rss/rss.php?hash=<strong>hashcode</strong>&amp;userid=<strong>id</strong>"</pre>
<p>Also replace &#8220;hashcode&#8221; and &#8220;id&#8221; with your personal data. You can see it in the browser when you check the RSS feed in your browser. Thats all. I think the uTorrent or other trackers can deal with a local file to parse. So just use a cronjob to store this file from time to time to local disc and let uTorrent do the rest. <img src='http://ansi.interblc.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2009/01/05/rss-torrent-list-from-onlinetvrecordercom/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>How to export display via SSH after sudo su</title>
		<link>http://ansi.interblc.com/2008/10/08/how-to-export-display-via-ssh-after-sudo-su/</link>
		<comments>http://ansi.interblc.com/2008/10/08/how-to-export-display-via-ssh-after-sudo-su/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 12:37:31 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[System]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[xterm]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=81</guid>
		<description><![CDATA[Moin Just figured out together with DrScofield how to export the Display via an SSH tunnel after changing user to root via sudo. And hey it sound trivial but was not easy to find out. Here is the step by step way. ssh -X server #as normal user xterm #for testing if export display as [...]]]></description>
			<content:encoded><![CDATA[<p>Moin<br />
Just figured out together with DrScofield how to export the Display via an SSH tunnel after changing user to root via sudo. And hey it sound trivial but was not easy to find out. Here is the step by step way.</p>
<ol>
<li>ssh -X server #as normal user</li>
<li>xterm #for testing if export display as normal user works</li>
<li>echo $DISPLAY #write it down</li>
<li>xauth #enters the shell of xauth
<ol>
<li>list # find the line with the display number from step 3 for me it was &#8220;wpsvm054/unix:12  MIT-MAGIC-COOKIE-1  071df2e12cfff0ed75fd0af5869665f7&#8243; remember the first part of it</li>
<li>quit #to leave the shell</li>
</ol>
</li>
<li>xauth extract filename system/unix:12 # the line from step 4.1</li>
<li>sudo su &#8211; # to become root</li>
<li>xauth merge filename # filename from step 5</li>
<li>export DISPLAY=:nummer.0 #Displaynumber from step 3 resp. 4.1</li>
<li>xterm #for testing</li>
</ol>
<p>Hope it works on other systems too.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2008/10/08/how-to-export-display-via-ssh-after-sudo-su/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert</title>
		<link>http://ansi.interblc.com/2008/09/18/convert/</link>
		<comments>http://ansi.interblc.com/2008/09/18/convert/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 15:11:05 +0000</pubDate>
		<dc:creator>Ansi</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[picture]]></category>

		<guid isPermaLink="false">http://ansi.interblc.com/?p=39</guid>
		<description><![CDATA[Played around a little bit with ImageMagick and specially with the convert command. Nice feature is to add Text on a picture like a watermark: convert -font \ /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/luximri.ttf \ -pointsize 160 -fill black -draw "text 0,590 'Text auf Spike'" \ P1020049.JPG spike.jpg or make a border arround a picture convert -border 10x10 -bordercolor "#000000" [...]]]></description>
			<content:encoded><![CDATA[<p>Played around a little bit with ImageMagick and specially with the convert command.</p>
<p>Nice feature is to add Text on a picture like a watermark:</p>
<pre>convert -font \
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/luximri.ttf \
-pointsize 160 -fill black -draw "text 0,590 'Text auf Spike'" \
P1020049.JPG spike.jpg</pre>
<p>or make a border arround a picture</p>
<pre>convert -border 10x10 -bordercolor "#000000" P1020049.JPG spike2.jpg</pre>
<p>Nothing special but was nice to play with it.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://ansi.interblc.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://ansi.interblc.com/2008/09/18/convert/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
