<?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>krono &#187; GNU/Linux</title>
	<atom:link href="http://www.imped.net/category/gnulinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imped.net</link>
	<description>redirection of everyday life, by Ivan Savcic</description>
	<lastBuildDate>Fri, 30 Sep 2011 22:04:40 +0000</lastBuildDate>
	<language>sr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Debian: online network interfaces reconfiguration with fallback to previous values</title>
		<link>http://www.imped.net/2010/08/30/debian-online-network-interfaces-reconfiguration-with-fallback-to-previous-values/</link>
		<comments>http://www.imped.net/2010/08/30/debian-online-network-interfaces-reconfiguration-with-fallback-to-previous-values/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 18:21:18 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/?p=170</guid>
		<description><![CDATA[While inside screen: /etc/init.d/networking stop; sleep 5; /etc/init.d/networking start; sleep 30; cp interfaces.old interfaces; /etc/init.d/networking stop; sleep 5; /etc/init.d/networking start]]></description>
			<content:encoded><![CDATA[<p>While inside screen:</p>
<p><code>/etc/init.d/networking stop; sleep 5; /etc/init.d/networking start; sleep 30; cp interfaces.old interfaces; /etc/init.d/networking stop; sleep 5; /etc/init.d/networking start</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2010/08/30/debian-online-network-interfaces-reconfiguration-with-fallback-to-previous-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limiting apt-get download speed</title>
		<link>http://www.imped.net/2010/02/10/limiting-apt-get-download-speed/</link>
		<comments>http://www.imped.net/2010/02/10/limiting-apt-get-download-speed/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 14:08:40 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/?p=159</guid>
		<description><![CDATA[create file /etc/apt/apt.conf.d/76download with content: Acquire { Queue-mode "access"; http { Dl-Limit "25"; }; }; That limits apt-get to 25KB/s]]></description>
			<content:encoded><![CDATA[<p>create file /etc/apt/apt.conf.d/76download with content:</p>
<p><code>Acquire<br />
{<br />
Queue-mode "access";<br />
http<br />
{<br />
Dl-Limit "25";<br />
};<br />
};</code></p>
<p>That limits apt-get to 25KB/s</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2010/02/10/limiting-apt-get-download-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m just an old chunk of coal, but I&#8217;m gonna be a diamond some day</title>
		<link>http://www.imped.net/2008/12/10/im-just-an-old-chunk-of-coal-but-im-gonna-be-a-diamond-some-day/</link>
		<comments>http://www.imped.net/2008/12/10/im-just-an-old-chunk-of-coal-but-im-gonna-be-a-diamond-some-day/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 17:03:38 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Critique]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.imped.net/?p=141</guid>
		<description><![CDATA[A good ol' from Ubuntu *and* Debian bugs: Dimitrios Symeonidis wrote on 2008-10-14: (permalink) this bug will soon celebrate it's 3rd birthday. it's marked as confirmed, high importance, and reported upstream (debian). are we going to do something about it, or are we just waiting for debian to resolve this? (Emphasis added for extra lulz)]]></description>
			<content:encoded><![CDATA[<p>A good ol' from <a href="https://bugs.launchpad.net/debian/+source/grub-installer/+bug/32357">Ubuntu</a> *and* <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=283312">Debian</a> bugs:</p>
<blockquote><p>Dimitrios Symeonidis wrote on 2008-10-14: (<a href="https://bugs.launchpad.net/debian/+source/grub-installer/+bug/32357/comments/29">permalink</a>)</p>
<p>this bug will soon celebrate it's 3rd birthday. it's marked as confirmed, high importance, and reported upstream (debian). <strong>are we going to do something about it, or are we just waiting for debian to resolve this?</strong></p></blockquote>
<p>(Emphasis added for extra lulz)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2008/12/10/im-just-an-old-chunk-of-coal-but-im-gonna-be-a-diamond-some-day/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SoX, yeah!</title>
		<link>http://www.imped.net/2008/01/23/sox-yeah/</link>
		<comments>http://www.imped.net/2008/01/23/sox-yeah/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 19:35:09 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.imped.net/2008/01/23/sox-yeah/</guid>
		<description><![CDATA[ls -1 *.wav &#124; while read FILE; do sox "$FILE" -r 22050 "NOVO/$FILE" compand 0.001,0.15 -28,-inf,-24,-24 -0.3 0 0 resample -qs; done]]></description>
			<content:encoded><![CDATA[<pre name="code" class="python">
ls -1 *.wav | while read FILE; do sox "$FILE" -r 22050 "NOVO/$FILE" compand 0.001,0.15 -28,-inf,-24,-24 -0.3 0 0 resample -qs; done
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2008/01/23/sox-yeah/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove comments and empty lines sed one-liner</title>
		<link>http://www.imped.net/2007/11/22/remove-comments-and-empty-lines-sed-one-liner/</link>
		<comments>http://www.imped.net/2007/11/22/remove-comments-and-empty-lines-sed-one-liner/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 09:37:46 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/11/22/remove-comments-and-empty-lines-sed-one-liner/</guid>
		<description><![CDATA[sed -e 's/#.*//' -e 's/[ ^I]*$//' -e '/^$/ d' ...so I don't have to think of it again.]]></description>
			<content:encoded><![CDATA[<p><code>sed -e 's/#.*//' -e 's/[ ^I]*$//' -e '/^$/ d'</code></p>
<p>...so I don't have to think of it again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/11/22/remove-comments-and-empty-lines-sed-one-liner/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Deluge Torrent and Etch Backports</title>
		<link>http://www.imped.net/2007/11/10/deluge-torrent-and-etch-backports/</link>
		<comments>http://www.imped.net/2007/11/10/deluge-torrent-and-etch-backports/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 22:46:12 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/11/10/deluge-torrent-and-etch-backports/</guid>
		<description><![CDATA[Simply wonderful. I don't have to get it from testing and "break" my stable box with mixed trees!]]></description>
			<content:encoded><![CDATA[<p>Simply wonderful.</p>
<p>I don't have to get it from testing and "break" my stable box with mixed trees!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/11/10/deluge-torrent-and-etch-backports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>backports as default, stable as fallback</title>
		<link>http://www.imped.net/2007/10/21/backports-primary-stable-secondary-choice/</link>
		<comments>http://www.imped.net/2007/10/21/backports-primary-stable-secondary-choice/#comments</comments>
		<pubDate>Sat, 20 Oct 2007 22:44:37 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/10/21/backports-primary-stable-secondary-choice/</guid>
		<description><![CDATA[Add to /etc/apt/sources.list: deb http://www.backports.org/debian etch-backports main contrib non-free Add to /etc/apt/preferences: Package: * Pin: release a=etch-backports Pin-Priority: 750 Package: * Pin: release a=stable Pin-Priority: 700 Add to /etc/apt/apt.conf.d/00Cache: APT::Cache-Limit "33554432"; APT::Default-Release "etch-backports"; Do: apt-get update apt-get dist-upgrade]]></description>
			<content:encoded><![CDATA[<p>Add to <strong>/etc/apt/sources.list</strong>:<br />
<code>deb http://www.backports.org/debian etch-backports main contrib non-free</code></p>
<p>Add to <strong>/etc/apt/preferences</strong>:<br />
<code>Package: *<br />
Pin: release a=etch-backports<br />
Pin-Priority: 750<br />
Package: *<br />
Pin: release a=stable<br />
Pin-Priority: 700</code></p>
<p>Add to <strong>/etc/apt/apt.conf.d/00Cache</strong>:<br />
<code>APT::Cache-Limit "33554432";<br />
APT::Default-Release "etch-backports";</code></p>
<p>Do:</p>
<p>apt-get update<br />
apt-get dist-upgrade</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/10/21/backports-primary-stable-secondary-choice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htmldoc</title>
		<link>http://www.imped.net/2007/10/11/htmldoc/</link>
		<comments>http://www.imped.net/2007/10/11/htmldoc/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 13:06:22 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/10/11/htmldoc/</guid>
		<description><![CDATA[htmldoc --size a4 --linkstyle plain --webpage --no-jpeg --tocheader ... --tocfooter ... --top 0 --bottom 20 --right 20 --left 20 -f book.pdf *.html]]></description>
			<content:encoded><![CDATA[<p><code>htmldoc --size a4 --linkstyle plain --webpage --no-jpeg --tocheader ... --tocfooter ... --top 0 --bottom 20 --right 20 --left 20 -f book.pdf *.html</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/10/11/htmldoc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nice webserver uptime</title>
		<link>http://www.imped.net/2007/10/11/nice-webserver-uptime/</link>
		<comments>http://www.imped.net/2007/10/11/nice-webserver-uptime/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 12:36:00 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/10/11/nice-webserver-uptime/</guid>
		<description><![CDATA[Just checked: imp@extweb:~> uptime 2:34pm up 674 days 3:03, 1 user, load average: 0.02, 0.11, 0.09]]></description>
			<content:encoded><![CDATA[<p>Just checked:</p>
<p>imp@extweb:~> uptime<br />
  2:34pm  up 674 days  3:03,  1 user,  load average: 0.02, 0.11, 0.09</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/10/11/nice-webserver-uptime/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apt pinning: installing unstable packages on stable Debian</title>
		<link>http://www.imped.net/2007/07/20/apt-pinning-installing-unstable-packages-on-stable-debian/</link>
		<comments>http://www.imped.net/2007/07/20/apt-pinning-installing-unstable-packages-on-stable-debian/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 08:15:54 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/07/20/apt-pinning-installing-unstable-packages-on-stable-debian/</guid>
		<description><![CDATA[Minimal sources.list configuration. /etc/apt/sources.list: deb http://security.debian.org/ etch/updates main contrib deb-src http://security.debian.org/ etch/updates main contrib deb http://ftp.de.debian.org/debian stable main non-free contrib deb http://ftp.de.debian.org/debian testing main non-free contrib deb http://ftp.de.debian.org/debian unstable main non-free contrib When updgrading, stable versions of packages need to stay on stable. unstable versions are usually newer, so they overwrite stable versions if this [...]]]></description>
			<content:encoded><![CDATA[<p>Minimal sources.list configuration.</p>
<p>/etc/apt/sources.list:<br />
<code>deb http://security.debian.org/ etch/updates main contrib<br />
deb-src http://security.debian.org/ etch/updates main contrib<br />
deb http://ftp.de.debian.org/debian stable main non-free contrib<br />
deb http://ftp.de.debian.org/debian testing main non-free contrib<br />
deb http://ftp.de.debian.org/debian unstable main non-free contrib</code></p>
<p>When updgrading, stable versions of packages need to stay on stable. unstable versions are usually newer, so they overwrite stable versions if this is not properly handled with using Pin-Priority as stated below. If not explicitly requested, "apt-get install" installs stable version of a package.</p>
<p>/etc/apt/preferences:<br />
<code>Package: *<br />
Pin: release a=stable<br />
Pin-Priority: 700<br />
Package: *<br />
Pin: release a=testing<br />
Pin-Priority: 650<br />
Package: *<br />
Pin: release a=unstable<br />
Pin-Priority: 600</code></p>
<p>To install f.e. unstable version of a package with dependencies from unstable as well (preferred method, AFAIK), do the following:<br />
<code>apt-get install <em>package</em> -t unstable</code></p>
<p>To install the same package, but to resolve it's deps from stable:<br />
<code>apt-get install <em>package</em>/unstable</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/07/20/apt-pinning-installing-unstable-packages-on-stable-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 7.04: first thoughts</title>
		<link>http://www.imped.net/2007/07/12/ubuntu-704-first-thoughts/</link>
		<comments>http://www.imped.net/2007/07/12/ubuntu-704-first-thoughts/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 17:37:49 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Critique]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/07/12/ubuntu-704-first-thoughts/</guid>
		<description><![CDATA[So, I am about to replace the Linux distro on my desktops, on my laptop and desktop machine, so I'm considering my choices... Debian-based is the way to go, so it's either Debian or Ubuntu. I wouldn't go pure, vanilla Debian because of it's "correctness" (ok ok, I can add other repositories to the system, [...]]]></description>
			<content:encoded><![CDATA[<p>So, I am about to replace the Linux distro on my desktops, on my laptop and desktop machine, so I'm considering my choices... Debian-based is <em>the</em> way to go, so it's either Debian or Ubuntu.</p>
<p>I wouldn't go pure, vanilla Debian because of it's "correctness" (ok ok, I can add other repositories to the system, but it simply doesn't feel... "native" enough?). I've tried Kubuntu, but it simply didn't feel polished enough; it felt like Ubuntu's bastard child, management wise (Adept, KDE based apt frontend, crashed on me several times, dist-upgrade from 6.10 depended on some GTK stuff which wasn't installed automagically, so I had to figure out "by hand" what to install -- more info on that on my Launchpad bug report, etc).</p>
<p>That  lead me to try Gnome-based, good ol' Ubuntu, and I have to say that so far, few glitches aside, it looks good. I haven't used Gnome for some time now and it seems really nice. Gnome itself and Nautilus, as a file manager, really feel snappy and stable. Gnome Terminal looks nicer than before and more usable.</p>
<p>Anyway, as a regular nitpicker, few downsides. First, LILO didn't install properly (Grub was complaining about residing on XFS, which is a no-no, eh?), so I had to manually edit lilo.conf, only to find out that some vital options are left out, such as "prompt", "lba32" and "compact", framebuffer "vga" line, too, and I had to add the timeout... Hmm, some really pretty much expected stuff? Why are they left out? Beats me. Then, in fstab, vfat partition had fs_passno = 1, so it was checked on every boot. Onward to Gnome itself. Ugly, anti-aliased fonts? Unlike KDE, Gnome Font preferences don't include an option to exclude some font size ranges from anti-aliasing, so everything is anti-aliased. Ok, I edited it by hand only to find out that the fonts that came with Ubuntu look terrible when not anti-aliased. I installed MS fonts and... what? They look ugly, too? Hmmm... I remember that Freetype has some bytecode interpreter option that makes those fonts look just like in Windows, but it is, to quote Freetype site, "potentially patent infringing", so it's disabled by default in Ubuntu... Damn that correctness. I found on Ubuntu forums a source for bytecode interpreter-enabled version of Freetype, so I installed that and FINALLY fonts looked BEARABLE. Then, the system doesn't have Adobe Flash player installed as default. Ok, I can understand that, that perhaps in the licence it doesn't allow automatic installation, or even inclusion in some other form like a Linux distro, but SuSE somehow managed to pull it off: the installer asks you whether you want to install that plugin nicely.</p>
<p>That's it for the first thoughts, more on Ubuntu later (perhaps) heh.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/07/12/ubuntu-704-first-thoughts/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Linux 2.6.20</title>
		<link>http://www.imped.net/2007/06/07/linux-2620/</link>
		<comments>http://www.imped.net/2007/06/07/linux-2620/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 09:40:55 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/06/07/linux-2620/</guid>
		<description><![CDATA[Oooooh, WHAT THE FUCK? Used the config file from 2.6.17, did a "make oldconfig", answered to 20-sh questions (about new stuff), only to find out that it panics because it can't find root FS..!? Hmm, booted the old kernel, did menuconfig, only to find out that CONFIG_BLK_DEV_PIIX was moved to another option tree and wasn't [...]]]></description>
			<content:encoded><![CDATA[<p>Oooooh, WHAT THE FUCK?</p>
<p>Used the config file from 2.6.17, did a "make oldconfig", answered to 20-sh questions (about new stuff), only to find out that it panics because it can't find root FS..!? Hmm, booted the old kernel, did menuconfig, only to find out that CONFIG_BLK_DEV_PIIX was moved to another option tree and wasn't properly selected as "Y" from the old config, so SATA wasn't available. When I fixed that, I found out that NAT and most of previous iptables functionality (from the previous kernel) simply.. wasn't there. After some Googling, I found out that the kernel devs made a major reorganization of the option trees, for some unknown reason (to me at least). The jump was almost like from 2.4 -> 2.6..</p>
<p>Crazyness! Lunacy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/06/07/linux-2620/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix and virtual mailboxes</title>
		<link>http://www.imped.net/2007/04/05/postfix-and-virtual-mailboxes/</link>
		<comments>http://www.imped.net/2007/04/05/postfix-and-virtual-mailboxes/#comments</comments>
		<pubDate>Thu, 05 Apr 2007 14:01:31 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2007/04/05/postfix-and-virtual-mailboxes/</guid>
		<description><![CDATA[Solved a nasty configuration error on Postfix with only virtual users/domains where a domain was listed in $mydestination, causing mail received for that domain to be treated as local and for local user delivery instead of virtual. Whoops. Learning new stuff every day...]]></description>
			<content:encoded><![CDATA[<p>Solved a nasty configuration error on Postfix with only virtual users/domains where a domain was listed in $mydestination, causing mail received for that domain to be treated as local and for local user delivery instead of virtual. Whoops. Learning new stuff every day...</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2007/04/05/postfix-and-virtual-mailboxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DVD ripping under GNU/Linux</title>
		<link>http://www.imped.net/2005/07/15/dvd-ripping-under-gnulinux/</link>
		<comments>http://www.imped.net/2005/07/15/dvd-ripping-under-gnulinux/#comments</comments>
		<pubDate>Fri, 15 Jul 2005 17:53:21 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/2005/07/15/dvd-ripping-under-gnulinux/</guid>
		<description><![CDATA[First identify the part of the dvd containing the video: -Most of the time this is dvd://1 -If not try try dvd://2, dvd://3 etc. -The command would be mplayer dvd://1 -dvd-device /dev/hd* -* is your adress of the dvdrom Get all the information of the movie: -mplayer dvd://1 -dvd-device /dev/hd* -vo null -ao null -frames [...]]]></description>
			<content:encoded><![CDATA[<p>First identify the part of the dvd containing the video:<br />
-Most of the time this is dvd://1<br />
-If not try try dvd://2, dvd://3 etc.<br />
-The command would be mplayer dvd://1 -dvd-device /dev/hd*<br />
-* is your adress of the dvdrom</p>
<p>Get all the information of the movie:<br />
-mplayer dvd://1 -dvd-device /dev/hd* -vo null -ao null -frames 0 -v 2>&#038;1 | grep sid >log.txt &#038;& mplayer dvd://1 -dvd-device /dev/hdd -vo null -ao null -frames 0 -v 2>&#038;1 | grep aid >>log.txt</p>
<p>Use vobcopy to copy the disc:<br />
-vobcopy -l -t video.vob<br />
-Make sure you're dvd-drive is mounted or it may complain<br />
-Copy the .IFO file beloning to the movie part (dvd://number) from pathtodvd/VIDEO_TS/VTS_number_0.ifo</p>
<p>Detect the black borders:<br />
-mplayer video.vob -vf cropdetect<br />
-Skip through the video to let it do it's work<br />
-Note the suggested crop values in log.txt</p>
<p>Detect the filelength (for I never see the credits)<br />
-mplayer video.vob -osdlevel 3<br />
-Skip to the end, note down the time where the video ends in log.txt<br />
-If you want to include the credits, please ignore this step, it will cost quality though</p>
<p>Run the first pass of Xvid (fast):<br />
-mencoder video.vob -endpos hh:mm:ss -nosound -o pass1.avi -sws 2 -vf crop=xxx:xxx:xx:xx,scale=576:320 -ovc xvid -xvidencopts pass=1:chroma_me:max_bframes=2:bvhq=1:vhq=1:trellis<br />
-Your endpos is in your log.txt<br />
-The cropvalue in in your log.txt</p>
<p>If the size of the first pass is reasonable, you can encode the audio and then run the second pass.<br />
-The size is reasonable if the resulting video-only file has to be about < =30% smaller.<br />
-Don't forget some MB for the audio<br />
-If the resulting file has to be bigger, increase the resolution in steps of 32. For example try 640:352. Rerun the first pass with changed settings.<br />
-If the compression would be higher than 30%, rerun the first pass with a denoise filter or decide to go for 2 CD's. Recommended denoise filter: hqdn3d=2:1:3 (Put it right after cropping with a ",")<br />
-Based on the amount the video has to compress, choose a quality for the audio. I recommend using vorbis for movies. For hard to compress movies use vorbis at q0, otherwise stick to q2, or with real good compression q4. (Higher has no usage, for you won't possibly hear, if you insist just use the AC3 file)</p>
<p>Encode the audio:<br />
-mplayer -vo null -vc dummy -ao pcm -aofile 2channels.wav video.vob -aid 128<br />
-oggenc -q2 2channels.wav<br />
-vorbisgain 2channels.ogg (Pumping up the volume without distortion)<br />
-The -aid number you want is in your log.txt</p>
<p>Rip the subtitles:<br />
-mencoder video.vob -ifo movie.ifo -vobsubout subtitles -vobsuboutindex 0 -sid 0 -ovc frameno -nosound<br />
-for every extra subtitle you want to rip, increase vobsuboutindex with 1. With sid you can specify the languages found in your log.txt<br />
-One subtitle usually costs you about 1,5 MB (compressed)<br />
-Best way to measure the final size is to mux the subtitles only in a matroska file --> see end of instructions</p>
<p>Compute the bitrate:<br />
vbr=(totalsize-audiosize-subtitlesize)*fps*8/frames<br />
vbr=(734003200-62861936)*25*8/150750<br />
vbr=870926</p>
<p>-These are examplevalues<br />
-Bitrate is quite good, usually an undersize of about 1-2 MB.<br />
-We'll use this bitrate for the second pass</p>
<p>Run the second pass:<br />
mencoder video.vob -endpos hh:mm:ss -nosound -o pass2.avi -sws 2 -vf crop=xxx:xxx:xx:xx,scale=576:320 -ovc xvid -xvidencopts pass=2:bitrate=870926:chroma_me:max_bframes=2:bvhq=1:vhq=1:trellis</p>
<p>Now mux it all together and check for audio sync:<br />
-Use mkvtoolnix (mmg to start)<br />
-Open from mmg: pass2.avi, 2channel.ogg and subtitle.idx<br />
-Set aspect-ratio of the video according the information outputted at the end of pass1/2<br />
-Mux!<br />
-Check if the audio is in sync with mplayer (mplayer pass2.mkv)<br />
-Use control + or control - to see if it's getting better<br />
-Redo the muxing with an other audio offset. This is positive if you used control +.</p>
<p>Enjoy your new quality rip!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2005/07/15/dvd-ripping-under-gnulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux newbies</title>
		<link>http://www.imped.net/2005/06/04/linux-newbies/</link>
		<comments>http://www.imped.net/2005/06/04/linux-newbies/#comments</comments>
		<pubDate>Sat, 04 Jun 2005 12:21:29 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.imped.net/2005/06/04/linux-newbies/</guid>
		<description><![CDATA[How to spot a Linux user who (recently) switched from Windows? When something goes wrong, he reinstalls the whole system.]]></description>
			<content:encoded><![CDATA[<p>How to spot a Linux user who (recently) switched from Windows?</p>
<p>When something goes wrong, he reinstalls the whole system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2005/06/04/linux-newbies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with archaic machines</title>
		<link>http://www.imped.net/2005/04/05/fun-with-archaic-machines/</link>
		<comments>http://www.imped.net/2005/04/05/fun-with-archaic-machines/#comments</comments>
		<pubDate>Tue, 05 Apr 2005 21:05:42 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/archives/2005/04/05/fun-with-archaic-machines/</guid>
		<description><![CDATA[My PentiumII sidekick-machine, avatar, was supposed to receive a CPU upgrade today with a Celeron 633 MHz CPU, but alas, PCB revision which supports CPUs faster than 400 MHz must be at least v2.0 and my mobo is only v1.7. Crap. avatar had a nice uptime of 88 days, but then the HDD failure happened [...]]]></description>
			<content:encoded><![CDATA[<p>My PentiumII sidekick-machine, <strong>avatar</strong>, was supposed to receive a CPU upgrade today with a Celeron 633 MHz CPU, but alas, PCB revision which supports CPUs faster than 400 MHz must be at least v2.0 and my mobo is only v1.7. Crap.</p>
<p>avatar had a nice uptime of 88 days, but then the HDD failure happened and it's offline since then. 300 MHz have really did a nice job running fluxbox over TightVNC and monitoring the network with Cacti, among other things, including doing the print serving job... I must get a new hard drive for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2005/04/05/fun-with-archaic-machines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo experimental script repository</title>
		<link>http://www.imped.net/2005/03/27/gentoo-experimental-script-repository/</link>
		<comments>http://www.imped.net/2005/03/27/gentoo-experimental-script-repository/#comments</comments>
		<pubDate>Sun, 27 Mar 2005 16:00:32 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/archives/2005/03/27/gentoo-experimental-script-repository/</guid>
		<description><![CDATA[...sounds like a ton of fun.]]></description>
			<content:encoded><![CDATA[<p><a href="http://gentooexperimental.org/script/repo/list">...sounds like a ton of fun.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2005/03/27/gentoo-experimental-script-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gentoo in comparison</title>
		<link>http://www.imped.net/2005/03/27/gentoo-in-comparison/</link>
		<comments>http://www.imped.net/2005/03/27/gentoo-in-comparison/#comments</comments>
		<pubDate>Sun, 27 Mar 2005 09:15:47 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/arhiva/2005/03/27/gentoo-in-comparison/</guid>
		<description><![CDATA[Windows: A car with everything welded shut and you can only buy MS Gasoline and MS Oil. Other Linux Distros: You can run any brand of Gas or Oil but your parts all come from the same company. You can tinker with the engine (compile your own software) but it voids your warranty. It comes [...]]]></description>
			<content:encoded><![CDATA[<p>Windows: A car with everything welded shut and you can only buy MS Gasoline and MS Oil.</p>
<p>Other Linux Distros: You can run any brand of Gas or Oil but your parts all come from the same company. You can tinker with the engine (compile your own software) but it voids your warranty. It comes with leather seats but they don't match with the rest of the interior.</p>
<p>Gentoo Linux: The car comes to you in pieces and once assembled, you find yourself constantly tuning the carbs, checking exhaust back pressure, tuning mixtures. You can choose any kind of seat covering, but if it is leather, you have to shoot the cow yourself. But perhaps the car is easier to drive and add new parts.</p>
<p>;)</p>
<p>(from Gentoo Forums)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2005/03/27/gentoo-in-comparison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sendxmpp</title>
		<link>http://www.imped.net/2005/03/26/sendxmpp/</link>
		<comments>http://www.imped.net/2005/03/26/sendxmpp/#comments</comments>
		<pubDate>Sat, 26 Mar 2005 19:47:30 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/arhiva/2005/03/26/sendxmpp/</guid>
		<description><![CDATA[Nice application for sending all kinds of text (ie. cron outputs and warnings on machines you administer) directly to your JID or even chatroom! Example: [code]cat SOMETHING &#124; sendxmpp -u SRC-USERNAME -p SRC-PASSWORD -j SRC-SERVER -t -s "SUBJECT" DST-USERNAME@DST-SERVER[/code]]]></description>
			<content:encoded><![CDATA[<p>Nice application for sending all kinds of text (ie. cron outputs and warnings on machines you administer) directly to your JID or even chatroom!</p>
<p>Example:<br />
[code]cat SOMETHING | sendxmpp -u SRC-USERNAME -p SRC-PASSWORD -j SRC-SERVER -t -s "SUBJECT" DST-USERNAME@DST-SERVER[/code]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2005/03/26/sendxmpp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New category, thinking of blogging in english</title>
		<link>http://www.imped.net/2005/03/20/new-category-thinking-of-blogging-in-english/</link>
		<comments>http://www.imped.net/2005/03/20/new-category-thinking-of-blogging-in-english/#comments</comments>
		<pubDate>Sun, 20 Mar 2005 09:45:38 +0000</pubDate>
		<dc:creator>imp</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://www.imped.net/arhiva/2005/03/20/new-category-thinking-of-blogging-in-english/</guid>
		<description><![CDATA[I added a new category today, GNU/Linux. There I'll post stuff related to OSS and GNU/Linux, Gentoo especially. I'm doing some thinking whether to blog in english or not. The reason is simple: english-speaking blog visitors. Most serbian-speaking people can understand English very well and therefore there shouldn't be any problems. The only problem is [...]]]></description>
			<content:encoded><![CDATA[<p>I added a new category today, GNU/Linux. There I'll post stuff related to OSS and GNU/Linux, Gentoo especially. I'm doing some thinking whether to blog in english or not. The reason is simple: english-speaking blog visitors. Most serbian-speaking people can understand English very well and therefore there shouldn't be any problems. The only problem is my grammar, but this blogging in english can only help. So, see you soon with some new posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imped.net/2005/03/20/new-category-thinking-of-blogging-in-english/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

