<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ubuntu'n'stuff</title>
	<atom:link href="http://justanotherwebblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://justanotherwebblog.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 15 Nov 2009 07:09:51 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='justanotherwebblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6b38017ccb19132bc08232edfba72925?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ubuntu'n'stuff</title>
		<link>http://justanotherwebblog.wordpress.com</link>
	</image>
			<item>
		<title>Firefox &#8220;Diese Website stellt keine Identitätsdaten zur Verfügung&#8221; entfernen</title>
		<link>http://justanotherwebblog.wordpress.com/2009/11/15/firefox-diese-website-stellt-keine-identitatsdaten-zur-verfugung-entfernen/</link>
		<comments>http://justanotherwebblog.wordpress.com/2009/11/15/firefox-diese-website-stellt-keine-identitatsdaten-zur-verfugung-entfernen/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 07:09:51 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Identitätsdaten]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=83</guid>
		<description><![CDATA[Schon seit längerem fällt mir die Meldung &#8220;Diese Website stellt keine Identitätsdaten zur Verfügung&#8221; in Firefox störend auf, sobald ich eine Webseite per drag+drop aus der Adreßleiste in die Bookmark-Leiste ziehen möchte.
Diese nervige Meldung verhindert desöfteren ein simples Bookmarken der Webseite, aber sie kann deaktiviert werden:
in der Adressleiste eingeben:
about:config
Im Feld für Filter folgendes eingeben:
browser.chrome.toolbar_tips
Im Fenster [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=83&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Schon seit längerem fällt mir die Meldung &#8220;Diese Website stellt keine Identitätsdaten zur Verfügung&#8221; in Firefox störend auf, sobald ich eine Webseite per drag+drop aus der Adreßleiste in die Bookmark-Leiste ziehen möchte.<br />
Diese nervige Meldung verhindert desöfteren ein simples Bookmarken der Webseite, aber sie kann deaktiviert werden:</p>
<p>in der Adressleiste eingeben:<br />
<em>about:config</em></p>
<p>Im Feld für Filter folgendes eingeben:<br />
<em>browser.chrome.toolbar_tips</em></p>
<p>Im Fenster darunter erscheint dann diese Zeile, die man dann doppelklickt, woraufhin der Boolean Wert von <em>True</em> auf <em>False</em> geändert wird.</p>
<p>Firefox neustarten und weg ist die Meldung.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=83&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2009/11/15/firefox-diese-website-stellt-keine-identitatsdaten-zur-verfugung-entfernen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>
	</item>
		<item>
		<title>Solution: Mythtv somtimes doesn&#8217;t detect the tuner cards</title>
		<link>http://justanotherwebblog.wordpress.com/2009/03/09/solution-mythtv-somtimes-doesnt-detect-the-tuner-cards/</link>
		<comments>http://justanotherwebblog.wordpress.com/2009/03/09/solution-mythtv-somtimes-doesnt-detect-the-tuner-cards/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 18:44:29 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Mythtv]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Card1 failed]]></category>
		<category><![CDATA[Card2 failed]]></category>
		<category><![CDATA[Mythbuntu]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=74</guid>
		<description><![CDATA[As described here I fought the problem for a long time, that mythtv sometimes just refuses to detect the TV cards, when two TV cards are installed.
I think I found the solution to the problem now finally &#8211; the problem appears when the loading order of the driver modules are mixed up, so that Card1, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=74&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As described <a href="http://justanotherwebblog.wordpress.com/2009/03/02/quick-tip-asus-a8v-vm-se-and-mythtv/">here</a> I fought the problem for a long time, that mythtv sometimes just refuses to detect the TV cards, when two TV cards are installed.</p>
<p>I think I found the solution to the problem now finally &#8211; the problem appears when the loading order of the driver modules are mixed up, so that Card1, which normally is linked to /dev/video0 is linked to /dev/video1 and vice versa for Card2 &#8211; that seems to confuse mythtv.</p>
<p>So, the trick is to define in mythbuntu (or Ubuntu+mythtv), that it should load Card1 before Card2 so that the corresponding linking to the video-devs is done correctly.</p>
<p>As Ubuntu uses udev, which is not really easy, I just did the old dirty trick:<br />
1) blacklist both TV card modules (in my case: ivtv and bttv):<br />
<code><br />
sudo vi /etc/modprobe.d/blacklist<br />
</code><br />
and add :<br />
<code><br />
blacklist ivtv<br />
blacklist bttv<br />
</code></p>
<p>2) Load the modules in your desired order:<br />
<code><br />
sudo vi /etc/modules<br />
</code><br />
and add:<br />
<code><br />
ivtv<br />
bttv<br />
</code></p>
<p>That&#8217;s it &#8211; I hope it finally really works and will test it in the next days.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=74&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2009/03/09/solution-mythtv-somtimes-doesnt-detect-the-tuner-cards/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>
	</item>
		<item>
		<title>UPDATED2: Quick tip: Asus A8V-VM SE and mythtv</title>
		<link>http://justanotherwebblog.wordpress.com/2009/03/02/quick-tip-asus-a8v-vm-se-and-mythtv/</link>
		<comments>http://justanotherwebblog.wordpress.com/2009/03/02/quick-tip-asus-a8v-vm-se-and-mythtv/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 15:42:16 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Mythtv]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ACPI]]></category>
		<category><![CDATA[APIC]]></category>
		<category><![CDATA[Asus A8V-VM]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=66</guid>
		<description><![CDATA[I am running Mythbuntu 8.10 on my Asus A8V-VM SE with a Athlon 64 3200+ and faced severe problems. The most annoying one was the problem, that mythtv periodically wasn&#8217;t able to detect the tuner cards, although they were detected by the kernel and were configured correctly.
I tried several tips like moving the daemon call [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=66&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am running Mythbuntu 8.10 on my Asus A8V-VM SE with a Athlon 64 3200+ and faced severe problems. The most annoying one was the problem, that mythtv periodically wasn&#8217;t able to detect the tuner cards, although they were detected by the kernel and were configured correctly.</p>
<p>I tried several tips like moving the daemon call of mythtv-backend in /etc/rc5.d to a later position, from S25mythtv-backend to S99mythtv-backend &#8211; this didn&#8217;t really help. Until I finally got a setup, which works now in most cases or let&#8217;s say, nearly with all bootups.</p>
<p>So to help you preventing one or another headache, this is my setup wich works now really well:</p>
<p>In the Asus BIOS, you have to disable:<br />
APIC<br />
ACPI 2.0 support</p>
<p>and in Ubuntu, you have to add<br />
<code><br />
noapic<br />
</code></p>
<p>in /boot/grub/menu.lst, so that it looks like this:</p>
<p><code><br />
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=xyz ro locale=de_DE quiet noapic<br />
</code></p>
<p>The next article I am planning will describe how to setup mythwelcome and acpi wakeup with Mythbuntu 8.10 on the crappy Asus A8V-VM SE &#8211; stay tuned.</p>
<p>Update:<br />
I recently posted exactly here another socalled dirty tip, which should solve the problem &#8211; but as I have faced the same problem today again, that mythtv sometimes just refuses to detect the cards, I deleted it. But I think (and hope) I found the real deal today, the problem, why mythtv sometimes just doesn&#8217;t detect the cards, although the kernel detects it correctly.</p>
<p>The solution is posted in another post here:<br />
<a href="http://justanotherwebblog.wordpress.com/2009/03/09/solution-mythtv-somtimes-doesnt-detect-the-tuner-cards/">Link</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=66&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2009/03/02/quick-tip-asus-a8v-vm-se-and-mythtv/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto: Use Floppy in Ubuntu 8.10</title>
		<link>http://justanotherwebblog.wordpress.com/2009/03/01/howto-use-floppy-in-ubuntu-810/</link>
		<comments>http://justanotherwebblog.wordpress.com/2009/03/01/howto-use-floppy-in-ubuntu-810/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 08:19:04 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=62</guid>
		<description><![CDATA[By default, the use of floppy drives is disabled in Ubuntu 8.10.
The reason for a not responding floppy under /dev/fd0 (standard device) is the deactivated kernel module for floppies. To permanently activate the module loading of the floppy, simply run in xterm:
gksudo gedit /etc/modules
and add this simple line to /etc/modules

floppy

The Floppy will be now available [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=62&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>By default, the use of floppy drives is disabled in Ubuntu 8.10.<br />
The reason for a not responding floppy under /dev/fd0 (standard device) is the deactivated kernel module for floppies. To permanently activate the module loading of the floppy, simply run in xterm:</p>
<p><code>gksudo gedit /etc/modules</code></p>
<p>and add this simple line to /etc/modules</p>
<p><code><br />
floppy<br />
</code></p>
<p>The Floppy will be now available after reboot &#8211; to use it instantly, simply type into xterm:</p>
<p><code><br />
sudo modprobe floppy<br />
</code></p>
<p>To mount the floppy, add a mountpoint in /media like<br />
<code><br />
sudo mkdir /media/floppy<br />
</code></p>
<p>and mount it with:<br />
<code><br />
sudo mount /dev/fd0 /media/floppy<br />
</code></p>
<p>To permanently have the device linked to the mountpoint, edit /etc/fstab:<br />
<code><br />
gksudo gedit /etc/fstab<br />
</code></p>
<p>and add this line:<br />
<code><br />
/dev/fd0        /media/floppy  auto    rw,user,noauto,exec,utf8 0       0<br />
</code></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=62&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2009/03/01/howto-use-floppy-in-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>
	</item>
		<item>
		<title>Generate strong WPA2 passwords with Ubuntu</title>
		<link>http://justanotherwebblog.wordpress.com/2008/10/30/generate-strong-wpa2-passwords-with-ubuntu/</link>
		<comments>http://justanotherwebblog.wordpress.com/2008/10/30/generate-strong-wpa2-passwords-with-ubuntu/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 12:19:56 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Good to know]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=55</guid>
		<description><![CDATA[To secure wpa/wpa2 keys from brute-force or dictionary-attacks, it is evident to use strong, that means long and purely randomly generated keys, which are in addition generated with a strong algorithm.
WPA/WPA2 limits the length of passwords to 63 digits, including upper/lowercase and special characters &#8211; so that&#8217;s what we are trying to generate&#8230;.

There is a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=55&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To secure wpa/wpa2 keys from brute-force or dictionary-attacks, it is evident to use strong, that means long and purely randomly generated keys, which are in addition generated with a strong algorithm.</p>
<p>WPA/WPA2 limits the length of passwords to 63 digits, including upper/lowercase and special characters &#8211; so that&#8217;s what we are trying to generate&#8230;.</p>
<p><span id="more-55"></span></p>
<p>There is a versatile tool for Ubuntu available &#8211; apg.</p>
<p>Install it via</p>
<p><code><strong></p>
<p>sudo apt-get install apg</p>
<p></code></strong></p>
<p>Now, let&#8217;s use the full length available for WPA2 and generate some passwords with apg using:</p>
<p><code><strong></p>
<p>apg  -m 63 -x 63 -a1</p>
<p></code></strong></p>
<p>To parse the keys automatically into a file, so that you can store and copy&amp;paste the password, use this command:</p>
<p><code><strong></p>
<p>apg  -m 63 -x 63 -a 1 &gt; password.txt</p>
<p></code></strong></p>
<p>Both commands will generate 6 very strong and purely random passwords. You can use the file later to copy&amp;paste the password into your network settings.</p>
<p>One thing:</p>
<p>surprisingly, some passwords include (though ASCII) characters, which might give you some problems within the network configuration, especially those, which cause a special behavior of the bash. To be sure, that your generated password won&#8217;t cause those problems, paste the password in this command:</p>
<p><code><strong></p>
<p>echo "your-pass-word-with-special-characters"</p>
<p></code></strong></p>
<p>If the displayed password is different than the pasted or especially, if the bash displays a syntax error, then change the displayed errornous character with for instance #.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=55&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2008/10/30/generate-strong-wpa2-passwords-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash 10 on Firefox with Ubuntu 64 bit via script</title>
		<link>http://justanotherwebblog.wordpress.com/2008/10/09/flash-10-on-firefox-with-ubuntu-64-bit-via-script/</link>
		<comments>http://justanotherwebblog.wordpress.com/2008/10/09/flash-10-on-firefox-with-ubuntu-64-bit-via-script/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 05:38:22 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Good to know]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=40</guid>
		<description><![CDATA[I recently found a quick and successfull way of installing Flash Player 10 RC on Ubuntu 8.04 running a 64 bit processor.
First, download this deb:
http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
And install it via:

sudo dpkg -i getlibs-all.deb

Then create a script somewhere, for instance script.sh.
gedit script.sh
Fill it with the following code:



#!/bin/bash
# Script  created by
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com
# Super minor updates by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=40&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently found a quick and successfull way of installing Flash Player 10 RC on Ubuntu 8.04 running a 64 bit processor.</p>
<p>First, download this deb:</p>
<p><a href="http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb">http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb</a></p>
<p>And install it via:<br />
<code><br />
<strong>sudo dpkg -i getlibs-all.deb</strong><br />
</code><br />
Then create a script somewhere, for instance script.sh.</p>
<p><strong>gedit script.sh</strong></p>
<p>Fill it with the following code:</p>
<p><span id="more-40"></span></p>
<p><strong><br />
<code><br />
#!/bin/bash<br />
# Script  created by<br />
# Romeo-Adrian Cioaba romeo.cioaba@spotonearth.com<br />
# Super minor updates by jason.melton[at]gmail[dot]com<br />
# Released under GPL</code></strong></p>
<p><strong>echo “Stopping any Firefox that might be running”<br />
sudo killall -9 firefox</strong></p>
<p><strong>echo “Removing any other flash plugin previously installed:”<br />
sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper<br />
sudo rm -f /usr/lib/mozilla/plugins/*flash*<br />
sudo rm -f ~/.mozilla/plugins/*flash*<br />
sudo rm -f /usr/lib/firefox/plugins/*flash*<br />
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*</strong></p>
<p><strong>echo “Installing ia32-libs and nspluginwrapper”<br />
sudo apt-get install ia32-libs nspluginwrapper</strong></p>
<p><strong>echo “Getting libs”<br />
sudo getlibs -p libcurl3<br />
sudo getlibs -p libnss3-1d<br />
sudo getlibs -p libnspr4-0d</strong></p>
<p><strong>echo “Installing Flash Player 10″</strong></p>
<p><strong>cd ~</strong></p>
<p><strong>wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz<br />
tar zxvf install_flash_player_10_linux.tar.gz<br />
sudo cp install_flash_player_10_linux/libflashplayer.so /usr/lib/mozilla/plugins/<br />
sudo chmod +rx /usr/lib/mozilla/plugins/libflashplayer.so<br />
rm -rf ~/install_flash_player_10_linux/<br />
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so</strong></p>
<p><strong>echo “Linking the libraries so Firefox can find it.”<br />
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/mozilla/plugins/<br />
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/</strong></p>
<p><strong>echo “Done ”</p>
<p></strong></p>
<p>Save the file and make it executable via chmod +x script.sh</p>
<p>Then run the script.</p>
<p>That should do it.</p>
<p>Run about:config in the address bar of Firefox which should point out now, that flash is installed and running:</p>
<div id="attachment_42" class="wp-caption alignleft" style="width: 310px"><a href="http://justanotherwebblog.files.wordpress.com/2008/10/flash_firefox_64.jpg"><img class="size-medium wp-image-42" title="flash_firefox_64" src="http://justanotherwebblog.files.wordpress.com/2008/10/flash_firefox_64.jpg?w=300&#038;h=47" alt="Display of installed flash 10 in Firefox 3" width="300" height="47" /></a><p class="wp-caption-text">Display of installed flash 10 in Firefox 3</p></div>
<p>The script was written and taken from:</p>
<p><a href="http://meandubuntu.wordpress.com/2008/08/20/flash-10-rc-on-ubuntu-amd64/">http://meandubuntu.wordpress.com/2008/08/20/flash-10-rc-on-ubuntu-amd64/</a></p>
<p>Credits go to <span><span class="comment">Romeo-Adrian Cioaba</span></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=40&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2008/10/09/flash-10-on-firefox-with-ubuntu-64-bit-via-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>

		<media:content url="http://justanotherwebblog.files.wordpress.com/2008/10/flash_firefox_64.jpg?w=300" medium="image">
			<media:title type="html">flash_firefox_64</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto: Mythtv with acpi wakeup and mythwelcome</title>
		<link>http://justanotherwebblog.wordpress.com/2008/09/09/howto-mythtv-with-acpi-wakeup-and-mythwelcome/</link>
		<comments>http://justanotherwebblog.wordpress.com/2008/09/09/howto-mythtv-with-acpi-wakeup-and-mythwelcome/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 14:03:33 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Mythtv]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=30</guid>
		<description><![CDATA[UPDATE:Newer kernels (&#62;2.6.22) handle wakeup alarms differently than in this howto, take a look at the official mythtv howto to cover newer kernels.
I am running an Epox 8rda+ (nforce2 chipset) with MythBuntu and will try to show, how to setup this mainboard with ACPI and mythwelcome, so that it starts with scheduled recordings and will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=30&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>UPDATE:</strong>Newer kernels (&gt;2.6.22) handle wakeup alarms differently than in this howto, take a look at the official mythtv howto to cover newer kernels.</p>
<p>I am running an Epox 8rda+ (nforce2 chipset) with <a href="http://www.mythbuntu.org">MythBuntu</a> and will try to show, how to setup this mainboard with ACPI and mythwelcome, so that it starts with scheduled recordings and will shutdown automatically, when recording is finished.</p>
<p>Prequesites:<br />
* A working mythbuntu installation with Backend and Frontend on the same machine<br />
* <b>Disabled acpi</b> function in the BIOS<br />
* BIOS runs in UTC<br />
* Epox 8rda+ board (I can only somewhat guarantee the functionality of this howto with this mainboard ! )<br />
* Mythbuntu latest (with fixes) &#8211; although this howto should work basically with other combinations too &#8211; but just basically<br />
* use of /proc/acpi/alarm<br />
* You simultanously look at the mythtv wiki<br />
* You don&#8217;t expect this howto to be perfect or complete</p>
<p><span id="more-30"></span></p>
<p><u><b>1. Setup of ACPI</b></u><br />
The information is well described in the <a href="http://www.mythtv.org/wiki/index.php/ACPI_Wakeup">Mythtv Wiki</a> so I will only point out the most important information for the mentioned mainboard, the Epox 8rda+.<br />
The current version of mythbuntu runs kernel 2.6.24-19 &#8211; although, in contrary to the WIKI and in combination with the Epox Board, it uses /proc/acpi/alarm rather than /sys/class/rtc/rtc0/wakealarm like mentioned in the wiki for kernels &gt;=2.6.22.</p>
<p>First of all, make sure powersaved ist installed by invoking:<br />
<code><br />
sudo apt-get install powersaved<br />
</code></p>
<p>You can check the successfull installation with the command<br />
<code><br />
powersave -S<br />
</code></p>
<p>wich should display:<br />
<code><br />
ACPI<br />
</code></p>
<p>Then modify your /etc/init.d/hwclock.sh as described in the <a href="http://www.mythtv.org/wiki/index.php/ACPI_Wakeup">mythtv wiki</a>.</p>
<p>So far, so good. Next step will be to check, if ACPI wakeup basically works. Instead of the way the Wiki describes the function test, which won&#8217;t work with the Epox 8RDA+ because of malformed year string, we will first check the current system time:<br />
<code><br />
date<br />
</code></p>
<p>Which also will inform us about, which timezone Mythbuntu is running at &#8211; in my case CEST &#8211; which is central european summer time. The BIOS itself normally operates with UTC &#8211; Universal time coordinated. This knowledge about the difference between your current mythbuntu system time and the UTC is very important as you have to include this information with your ACPI time settings.<br />
<b>CEST = UTC +2</b> !!!</p>
<p>Example:</p>
<p>For instance, the current time is <b>10th September 2008 &#8211; 12:20:00</b> <i>CEST</i><br />
that means, if we want to add 5 minutes for a boot up in 5 minutes for testing purposes, we have to set <b>10:25</b> !!!</p>
<p><code><br />
sudo echo "2008-09-10 10:25:00" &gt; /proc/acpi/alarm<br />
</code></p>
<p>shortly after that you have to shutdown your computer with the following command:<br />
<code><br />
sudo shutdown -h now<br />
</code></p>
<p>Now wait and see&#8230;..</p>
<p>If the system won&#8217;t come up, you either didn&#8217;t change the date and time in my example according to your current time and date <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  , your wakeup in the BIOS is enabled or something else is wrong. In this case, use the comment function or ask on different mythtv or mythbuntu pages.</p>
<p>If it booted up, then let&#8217;s go on to section 2 &#8230;</p>
<p><u><b>2. Permissions for the user who runs the backend/frontend:</u></b></p>
<p>First of all, changing permissions for users lower than root is always a security risk. As my mythtv box isn&#8217;t reachable by the internet and my network is trustworthy, I never spent a second thinking about risks when playing around with permissions. Keep that in mind !</p>
<p>Permissions are very important for mythtv to be able to set the wakeup time through the backend / frontend. As you have seen above, when typing sudo echo xyz, you had to type in your root password. This is a problem as you won&#8217;t be able to give the backend the desired password, if it asks for.<br />
So, we have to edit the /etc/sudoers file.</p>
<p>First, check which user is running backend and frontend:<br />
<code><br />
ps aux | grep myth<br />
</code></p>
<p>In my case, backend is run by the user <b>mythtv</b> and the frontend by my user name, <b>Rock</b>.</p>
<p>So, let&#8217;s give em both a bunch of permissions:<br />
The user <b>Rock</b> is part of the admins group in /etc/group:<br />
<b><code>admin:x:110:Rock</code></b></p>
<p>for the user <b>mythtv</b>, I gave him all I could think of:<br />
%mythtv ALL = NOPASSWD: /sbin/shutdown, /usr/bin/MythWakeSet, /proc/acpi/alarm, /usr/bin/MythShutdownCheck, /etc/init.d/mythtv-backend, /usr/bin/mythshutdown, /usr/bin/welcome, /usr/bin/mythwelcome, /usr/bin/eject, /bin/mount, /bin/umount, /usr/bin/nuvexport, /usr/bin/nuvexport-xvid, /bin/sh<br />
</b></code></p>
<p>and for my user <b>Rock</b>:<br />
<b><code><br />
# Members of the admin group may gain root privileges<br />
%admin ALL=(ALL) ALL<br />
rock mythtvbox = NOPASSWD: SHUTDOWN_CMDS,/usr/bin/MythWakeSet, /proc/acpi/alarm, /usr/bin/MythShutdownCheck, /etc/init.d/mythtv-backend, /usr/bin/mythshutdown, /usr/bin/welcome, /usr/bin/mythwelcome, /usr/bin/eject, /bin/mount, /bin/umount, /usr/bin/nuvexport, /usr/bin/nuvexport-xvid, /bin/sh<br />
</b></code></p>
<p>Again, this isn't very smart, nor is it anyhow somewhat secure, nor I am sure, that this is all of my privileges I have set when struggling with mythtv, but I don't care in my case - it is up to you to limit restrictions as you think, it would be smart.<br />
Just remember, that all commands invoked by mythtv, starting, rebooting, shutting down, running scripts which have to be run via sudo <b>should be listed with NOPASSWD</b><br />
Whatever, just play around what you might need.</p>
<p>So, as your user is somewhat root in many operations, lets go to the setup section of mythtv:</p>
<p><b><u>3. Setting up mythbackend </b></u></p>
<p>As for mythbuntu, you have to go into mythbuntu control centre:<br />
Frontend ---&gt; Config --&gt; Config --&gt; Mythbuntu</p>
<p>Type in your passwd.<br />
In the mythbuntu control center, go to --&gt; Mythtv Configuration --&gt; Start Mythtv-Setup:<br />
Hit OK when it asks you, if it should close the backend.</p>
<p>In the mythtv setup screen, hit General.<br />
Then press Forward till you reach the screen Shutdown/Wakeup Options:<br />
Fill in like I have done in my setup:<br />
<div id="attachment_34" class="wp-caption alignnone" style="width: 138px"><a href="http://justanotherwebblog.files.wordpress.com/2008/09/acpi1.jpg"><img src="http://justanotherwebblog.files.wordpress.com/2008/09/acpi1.jpg?w=128&#038;h=95" alt="mythbackend screenshot" title="acpi1" width="128" height="95" class="size-thumbnail wp-image-34" /></a><p class="wp-caption-text">mythbackend screenshot</p></div></p>
<p>Get out of mythtv-setup, you can answer No if it asks you to run mythfilldatabase.</p>
<p>Other distributions:<br />
Just run mythtv-setup out of an xterm.</p>
<p><b>A quick word about the Pre-Shutdown check command:</b><br />
There is a way to let the backend check, if for instance someone is connected through ssh or, I guess, vnc too - but it never really worked for me, so I have set it to return 0, which means, jepp backend, you can reboot.<br />
If you want to play around, use instead:<br />
mythshutdown --check<br />
or if doesn't work:<br />
sudo mythshutdown --check.</p>
<p>Now, you might have noticed a command such like MythWakeSet - we'll need that piece of script.</p>
<p>Make a file named MythWakeSet and fill it with the following content:<br />
<code><br />
<code><br />
#!/bin/bash<br />
#<br />
# MythWakeSet<br />
#<br />
# set mythtv wake-up time with UTC-adjusted time<br />
#</p>
<p># temp file for working with time<br />
temp_stamp=/home/mythtv/timestamp</p>
<p># store the wake time passed from mythbackend<br />
echo $1\ $2 &gt; $temp_stamp</p>
<p># Read the date in *locale* time format and tag the time-zone info to the wake time<br />
localeadd=$(/bin/date -f $temp_stamp +%F\ %T\ %z)<br />
echo $localeadd &gt; $temp_stamp</p>
<p># adjust this to UTC and store the final wake time<br />
utcadj=$(/bin/date -u -f $temp_stamp +%F\ %T)</p>
<p># set the alarm<br />
echo $utcadj &gt; /proc/acpi/alarm<br />
</code><br />
</code><br />
Then copy the file to /usr/bin and make it executable:<br />
<code><br />
sudo cp MythWakeSet /usr/bin<br />
sudo chmod +x /usr/bin/MythWakeSet<br />
</code></p>
<p>Again, this only applies to my board and the prequesites, that the BIOS runs UTC !<br />
For other configurations, check other howtos.</p>
<p>Just one information:<br />
For newer installs, the command described in the mythtv wiki:<br />
mythshutdown --setwakeup $time<br />
won't work - as the command has changed a little bit throughout 0.21. How it will work though - no clue <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Now the backend should be correctly set.<br />
Let's give it a try:<br />
Program a show which starts lets say in about 15 minutes - just to be absolutely sure !<br />
Keep in mind, that the user mythtv has to be set as NOPASSWD for the command /usr/bin/MythWakeSet in the /etc/sudoers file plus full access to /proc/acpi/alarm !!!!<br />
Shut the box down and wait, or drink a coffee, smoke or whatever you intend to use during such unexpected downtimes.</p>
<p>If it comes up correctly withtin 15 minutes - congrats, let's proceed to the next step - if not, again comment function or whatever you do to solve issues.</p>
<p><b><u>4. MythWelcome</u></b></p>
<p>As you have successfully finished part 3 of this howto, you might have noticed, that the box did boot up correctly, recorded the show - and then - yepp, stood there idle. But, this isn't the way we want mythtv to act, we want it to shutdown after recording - imagine a recording while you're away - the box will run till you come home and push the shutdown button - for this problem, there is a neat tool named MythWelcome, which basically acts as decider, whether it should shut down or not.</p>
<p>So, lets configure it.</p>
<p>Go back to the desktop (which means, close mythfrontend) and open an xterm, and type in:<br />
<code><br />
mythwelcome --setup<br />
</code></p>
<p>Set it up like in my screen:<br />
<div id="attachment_35" class="wp-caption alignnone" style="width: 138px"><a href="http://justanotherwebblog.files.wordpress.com/2008/09/acpi2.jpg"><img src="http://justanotherwebblog.files.wordpress.com/2008/09/acpi2.jpg?w=128&#038;h=95" alt="mythwelcome setup" title="acpi2" width="128" height="95" class="size-thumbnail wp-image-35" /></a><p class="wp-caption-text">mythwelcome setup</p></div></p>
<p><b>For mythbuntu only:</b><br />
Mythbuntu uses xfce so we have to exchange the startup of mythfrontend with mythwelcome.<br />
So, get into your home directory, into the directory .config/autostart and edit the mythtv.desktop file as following:<br />
<code><br />
[Desktop Entry]<br />
Name=MythTV Frontend<br />
Comment=A frontend for all content on a mythtv-backend<br />
GenericName=MythTV Viewer<br />
Exec=/usr/bin/mythwelcome<br />
Type=Application<br />
Encoding=UTF-8<br />
Icon=/usr/share/mythtv/themes/blue/myth_tv_logo.png<br />
Categories=GNOME;Application;AudioVideo;Audio;Video<br />
X-Appstall-Package=mythtv<br />
</code></p>
<p>For other distributions, check forums, howtows ....</p>
<p>This will start mythwelcome instead of mythfrontend - but don't panic, mythfrontend is still available and will run with one click (or push on the remote).</p>
<p>So, reboot or restart gdm - you'll see mythwelcome, whining about, that it will reboot in 120 seconds.<br />
That should do it now - mythwelcome should count down from 120 seconds (you can set the time in mythtv-setup - &gt; look at the screenshot under 3) till it shuts down - enough time for me personally to hit the RETURN button or the OK on my remote to start mythfrontend - as mythfronted is running, mythwelcome won't shut the box down.</p>
<p>That means, and this isn't somewhat perfect, you have to get into mythfrontend within 120 seconds when you start up mythtv manually, or mythwelcome will again shutdown the box. I haven't figured out a solution for his problem, but as I don't really care, I really didn't put much effort in it.</p>
<p>Program a recording, close mythfrontend - mythwelcome will appear - and the box will shutdown in 120 seconds after that - then wait till it boots (hopefully) up for recording - mythwelcome will show you, that it will record and after that, it will shutdown.</p>
<p>That's it for now - this howto is far from perfect as I have played around months to get it working - so I might have left out some particular interesting and important information. This is just meant to help you, if you are stuck like I was.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/justanotherwebblog.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/justanotherwebblog.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=30&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2008/09/09/howto-mythtv-with-acpi-wakeup-and-mythwelcome/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>

		<media:content url="http://justanotherwebblog.files.wordpress.com/2008/09/acpi1.jpg?w=128" medium="image">
			<media:title type="html">acpi1</media:title>
		</media:content>

		<media:content url="http://justanotherwebblog.files.wordpress.com/2008/09/acpi2.jpg?w=128" medium="image">
			<media:title type="html">acpi2</media:title>
		</media:content>
	</item>
		<item>
		<title>Update: New youtube downloader for firefox</title>
		<link>http://justanotherwebblog.wordpress.com/2008/06/09/update-new-youtube-downloader-for-firefox/</link>
		<comments>http://justanotherwebblog.wordpress.com/2008/06/09/update-new-youtube-downloader-for-firefox/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 12:05:02 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Good to know]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=29</guid>
		<description><![CDATA[In one of my previous posts I mentioned how to download flash videos, for instance from youtube, via plugin.
My standard Plugin for Flash downloading with Firefox 2.x, which wasn&#8217;t compatible with 3.x, has been released now in an updated , Firefox 3.x compatible version.
More info about the Plugin:
Download helper Website
      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=29&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In one of my <a href="http://justanotherwebblog.wordpress.com/2008/06/07/firefox3-beta-and-flash-video-downloader/" target="_self">previous posts</a> I mentioned how to download flash videos, for instance from youtube, via plugin.</p>
<p>My standard Plugin for Flash downloading with Firefox 2.x, which wasn&#8217;t compatible with 3.x, has been released now in an updated , Firefox 3.x <a href="https://addons.mozilla.org/de/firefox/addon/3006" target="_parent">compatible version.</a></p>
<p>More info about the Plugin:</p>
<p><a href="http://www.downloadhelper.net" target="_parent">Download helper Website</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/justanotherwebblog.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/justanotherwebblog.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=29&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2008/06/09/update-new-youtube-downloader-for-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>
	</item>
		<item>
		<title>How to convert a directory containing videos to .mp4  for mobile phones with one click</title>
		<link>http://justanotherwebblog.wordpress.com/2008/06/08/how-to-convert-a-directory-containing-videos-to-mp4-for-mobile-phones-with-one-click/</link>
		<comments>http://justanotherwebblog.wordpress.com/2008/06/08/how-to-convert-a-directory-containing-videos-to-mp4-for-mobile-phones-with-one-click/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 08:51:11 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Handy/Mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=21</guid>
		<description><![CDATA[Recently I described how to convert videos to .mp4 for your mobile phone using the avidemux2 gui.
But there is a faster, easier and more comfortable way to do this. With the following solution, you are able to convert a whole directory containing video files automatically to a phone-readable .mp4 format with just one click.
As in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=21&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently I described <a href="http://justanotherwebblog.wordpress.com/2008/06/07/how-to-convert-movies-to-mp4/" target="_parent">how to convert videos to .mp4</a> for your mobile phone using the avidemux2 gui.</p>
<p>But there is a faster, easier and more comfortable way to do this. With the following solution, you are able to convert a whole directory containing video files automatically to a phone-readable .mp4 format with just one click.</p>
<p>As in the previous Post, we still are using <a href="http://avidemux.org/">avidemux</a> but now are invoking a job script to avidemux, so that we don&#8217;t need to configure the different settings manually. Along with a bash script, the conversion is done just with one double-click.</p>
<p><span id="more-21"></span></p>
<p>I have taken this script from the <a title="Avidemux forum" href="http://www.avidemux.org/admForum/viewtopic.php?id=4726" target="_blank">avidemux forum</a>, credits go to the user <strong>gruntster</strong>.<br />
Here is an example of a jobscript for a mobile phone having a display resolution of 320&#215;240px, for instance the Sony Ericsson K770i.</p>
<p><code><br />
<em>var app = new Avidemux();<br />
var dirSearch = new DirectorySearch();<br />
<span style="color:#ff0000;">var srcDir = "/directory/of/videos";</span> // pathOnly(fileReadSelect());<br />
<span style="color:#ff0000;">var dstDir = "/directory/for/videos";</span> // pathOnly(fileWriteSelect());</em> </code></p>
<p><em>if (dirSearch.Init(srcDir))<br />
{<br />
while (dirSearch.NextFile())<br />
{<br />
if (!dirSearch.isNotFile &amp;&amp; !dirSearch.isSingleDot &amp;&amp; !dirSearch.isDoubleDot)<br />
{<br />
app.forceUnpack();<br />
app.load(srcDir + &#8220;/&#8221; + dirSearch.GetFileName());<br />
app.audio.scanVBR();<br />
app.rebuildIndex();</em></p>
<p><em>// Resizing<br />
<span style="color:#ff0000;"> var targetX = 320;<br />
var targetY = 240;</span></em></p>
<p><em><span style="color:#ff0000;"> </span>var rX = app.video.getWidth() / targetX;<br />
var rY = app.video.getHeight() / targetY;<br />
var newX;<br />
var newY;</em></p>
<p><em>if (rX &gt; rY)<br />
{<br />
// resize by X<br />
newX = targetX;<br />
newY = Math.round(app.video.getHeight() / rX);<br />
}<br />
else<br />
{<br />
// resize by Y<br />
newY = targetY;<br />
newX = Math.round(app.video.getWidth() / rY);<br />
}</em></p>
<p><em>// resize to multiple of 4<br />
newX -= newX % 4;<br />
newY -= newY % 4;</em></p>
<p><em>if (newX != app.video.getWidth() || newY != app.video.getHeight())<br />
app.video.addFilter(&#8220;mpresize&#8221;, &#8220;w=&#8221; + newX, &#8220;h=&#8221; + newY, &#8220;algo=0&#8243;);</em></p>
<p><em>// Black bars<br />
var barX = targetX &#8211; newX;<br />
var barY = targetY &#8211; newY;</em></p>
<p><em>if (barX || barY)<br />
app.video.addFilter(&#8220;addblack&#8221;, &#8220;left=&#8221; + (barX &gt;&gt; 1), &#8220;right=&#8221; + (barX &gt;&gt; 1), &#8220;top=&#8221; + (barY &gt;&gt; 1), &#8220;bottom=&#8221; + (barY &gt;&gt; 1));</em></p>
<p><em>//** Video Codec conf **<br />
app.video.codec(&#8220;XVID4&#8243;,&#8221;<span style="color:#ff0000;">CBR=250</span>&#8220;,&#8221;500 06 00 00 00 01 00 00 00 fa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 02 00 00 00 02 00 00 00 02 00 00 00 1f 00 00 00 1f 00 00 00 1f 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 05 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 96 00 00 00 64 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 &#8220;);</em></p>
<p><em>//** Audio **<br />
app.audio.reset();<br />
app.audio.codec(&#8220;aac&#8221;,<span style="color:#ff0000;">64</span>,4,&#8221;80 00 00 00 &#8220;);<br />
app.audio.normalizeMode=0;<br />
app.audio.normalizeValue=0;<br />
app.audio.delay=0;</em></p>
<p><em>if (app.audio.getNbChannels(0) != 2)<br />
app.audio.mixer(&#8220;STEREO&#8221;);</em></p>
<p><em>app.setContainer(&#8220;MP4&#8243;);</em></p>
<p><em>// Clip off source extension and save to destination with mp4 extension<br />
var srcFile = dirSearch.GetFileName();</em></p>
<p><em>app.save(dstDir + &#8220;/&#8221; + srcFile.substring(0, srcFile.length &#8211; dirSearch.GetExtension().length) + &#8220;mp4&#8243;);<br />
}<br />
}<br />
}</em></p>
<p>Copy and paste this code snippet into a file called for instance &#8220;k770.js&#8221; and make sure you are changing the <span style="color:#ff0000;">red marked entries</span><span style="color:#000000;"> for your system. Especially the <span style="color:#ff0000;">&#8220;</span></span><code><span style="color:#ff0000;">var srcDir ="</span> and the </code><code><span style="color:#ff0000;">"var dstDir ="</span> have to be changed according to your directories, where srcDir should be the directory, where your raw videos are stored (those which have to be converted) and dstDir ist the directory where the converted videos are stored to.</code></p>
<p>Change targetX and targetY to the resolution of your mobile phone, typically 320 and 240 for phones with 320&#215;240px resolution, or for the K530i, 176&#215;220.</p>
<p><em><code><span style="color:#ff0000;">var targetX = 320;<br />
var targetY = 240;</span></code></em></p>
<p>The last thing you could change is the bitrate of the video, the higher it is set, the better the quality, but also the size of the video. I found out, that 250-300 is more than plenty for the small screens of mobile phones. It depends on the quality of the source video too.</p>
<p><code><span style="color:#ff0000;"><br />
<em>CBR=250</em></span></code></p>
<p>Same for the audio quality:</p>
<p><em><span style="color:#ff0000;">64</span></em> means 64kbit/s, you could choose a higher bitrate, like 96 or 128.</p>
<p>When you are finished with editing the file, save it as<strong> k770.js</strong> (or whatever) and create a bash file <strong>in the same directory where the k770.js resides.</strong></p>
<p>Put this into the bash script:</p>
<p><em>avidemux2_gtk &#8211;nogui &#8211;run &#8220;<span style="color:#ff0000;">k770.js</span>&#8221; &#8211;quit</em></p>
<p>change k770.js to the filename of your created job script and save the bash script to for instance runme.sh.</p>
<p>Make the script executable:</p>
<p><em>chmod +x runme.sh</em></p>
<p>If everything went well, double clicking runme.sh should start converting all your videos in srcDir to dstDir to the format .mp4.</p>
<p>That&#8217;s it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/justanotherwebblog.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/justanotherwebblog.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=21&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2008/06/08/how-to-convert-a-directory-containing-videos-to-mp4-for-mobile-phones-with-one-click/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>
	</item>
		<item>
		<title>Firefox3 Beta and flash video downloader</title>
		<link>http://justanotherwebblog.wordpress.com/2008/06/07/firefox3-beta-and-flash-video-downloader/</link>
		<comments>http://justanotherwebblog.wordpress.com/2008/06/07/firefox3-beta-and-flash-video-downloader/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 13:29:03 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Good to know]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://justanotherwebblog.wordpress.com/?p=6</guid>
		<description><![CDATA[UPDATE: a better plugin for flash downloading has been released. Read more about it here.
As the recently released Ubuntu stable version Hardy Heron 8.04 comes with Firefox 3 (beta), my previous used plugins to download videos from Youtube aren&#8217;t currently supported, as they are mainly written for Firefox 2.x.
Therefore I had to use the Flash [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=6&subd=justanotherwebblog&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>UPDATE:</strong> a better plugin for flash downloading has been released. Read more about it <a href="http://justanotherwebblog.wordpress.com/2008/06/08/how-to-convert-a-directory-containing-videos-to-mp4-for-mobile-phones-with-one-click/">here.</a></p>
<p>As the recently released Ubuntu stable version <a title="Hardy Heron 8.04" href="http://www.ubuntu.com/getubuntu/download" target="_blank">Hardy Heron 8.04</a> comes with Firefox 3 (beta), my previous used plugins to download videos from Youtube aren&#8217;t currently supported, as they are mainly written for Firefox 2.x.</p>
<p>Therefore I had to use the <a href="https://addons.mozilla.org/en-US/firefox/addon/5229" target="_parent">Flash Video Resources downloader</a> to be able to download those videos, which works flawlessly.</p>
<p>Clicking this blue symbol in the bottom right corner enables you to download the video you currently loaded via youtube:</p>
<p><a href="http://justanotherwebblog.files.wordpress.com/2008/06/downloader_symbol.png"><img class="alignnone size-medium wp-image-8" src="http://justanotherwebblog.files.wordpress.com/2008/06/downloader_symbol.png?w=98&#038;h=86" alt="Symbol Flash Downloader" width="98" height="86" /></a></p>
<p>A new page will popup after clicking the symbol, which is self explaining. Just hit the &#8220;Get Video&#8221; button, right click on the appearing &#8220;Get Flv&#8221; Field and hit &#8220;Save as&#8221; in the menu popup of firefox.</p>
<p>It is important, that you rename the video according to the desired name, following the type .flv.</p>
<p>That&#8217;s it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/justanotherwebblog.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/justanotherwebblog.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justanotherwebblog.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justanotherwebblog.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justanotherwebblog.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justanotherwebblog.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justanotherwebblog.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justanotherwebblog.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justanotherwebblog.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justanotherwebblog.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justanotherwebblog.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justanotherwebblog.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justanotherwebblog.wordpress.com&blog=3920259&post=6&subd=justanotherwebblog&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://justanotherwebblog.wordpress.com/2008/06/07/firefox3-beta-and-flash-video-downloader/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/11de72527951c2be23de6204d1647ca7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Rock</media:title>
		</media:content>

		<media:content url="http://justanotherwebblog.files.wordpress.com/2008/06/downloader_symbol.png?w=98" medium="image">
			<media:title type="html">Symbol Flash Downloader</media:title>
		</media:content>
	</item>
	</channel>
</rss>