<?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>Notes on ScopePort &#187; *NIX</title>
	<atom:link href="http://blog.scopeport.org/category/nix/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scopeport.org</link>
	<description>The ScopePort Blog</description>
	<lastBuildDate>Sun, 07 Feb 2010 01:08:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to add sound/audio to a video on Linux</title>
		<link>http://blog.scopeport.org/nix/add-soundaudio-video-linux/</link>
		<comments>http://blog.scopeport.org/nix/add-soundaudio-video-linux/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 19:29:07 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[avidemux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=212</guid>
		<description><![CDATA[I am planning to create a ScopePort screencast soon. I had no experience with screencasts when I started to work on that topic. This is why I encountered two main problems:

How do I create the video?
How do I add sound to that video?

The first problem was solved easily. I tried a few screen recorders and [...]]]></description>
			<content:encoded><![CDATA[<p>I am planning to create a ScopePort screencast soon. I had no experience with screencasts when I started to work on that topic. This is why I encountered two main problems:</p>
<ul>
<li>How do I create the video?</li>
<li>How do I add sound to that video?</li>
</ul>
<p>The first problem was solved easily. I tried a few screen recorders and decided to use <a href="http://recordmydesktop.sourceforge.net/about.php" target="_blank">recordmydesktop</a>. The main advantage of recordmydesktop is that it captures everything in a raw mode and encodes it when you stop recording. That makes it possible to record your screen without bigger speed problems. Everything looks pretty smooth and is usable for a screencast.</p>
<p>The second problem cost me a lot of Google searching. How can I add sound to that video? Here is the way I finally used:</p>
<p><strong>First step: Capture the video</strong></p>
<p>No Problem. I started recordmydesktop with the following parameters to capture only the first screen, with a fake cursor (the original one from KDE4 caused some problems) and with no sound. The sleep 3 before the execution of recordmydesktop gives me some time to close the shell and get ready to record.</p>
<pre>sleep 3 &amp;&amp; recordmydesktop -width 1680 -height 1050 -dummy-cursor black --no-sound</pre>
<p><strong>Second step: Convert the captured video to AVI</strong></p>
<p>The file recordmydesktop creates is in a OGG format. That is usually fine but we require an AVI file to add the sound. I converted the OGG file to AVI with <a href="http://en.wikipedia.org/wiki/MEncoder" target="_blank">mencoder</a> (Usually available in your favorite repository):</p>
<pre>mencoder -idx screencast.ogg -ovc lavc -oac mp3lame -o screencast.avi</pre>
<p><strong>Third and last step: Add the audio</strong></p>
<p>Now we can edit the video file with avidemux (also usually available in your repositories). Select &#8220;Audio&#8221; -&gt; &#8220;Main Track&#8221;.</p>
<p style="text-align: left;"><a href="http://blog.scopeport.org/wp-content/uploads/2009/06/avidemux.png" target="_blank"><img class="aligncenter size-large wp-image-213" title="avidemux" src="http://blog.scopeport.org/wp-content/uploads/2009/06/avidemux-1024x787.png" alt="How to add sound/audio to a video on Linux" width="556" height="427" /></a></p>
<p>Now select a AC3, MP3 or WAV file that should be added as the main audio track. Press okay, select &#8220;File&#8221; -&gt; &#8220;Save&#8221; -&gt; &#8220;Save video&#8221; and you are done. That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/nix/add-soundaudio-video-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>git: ‘init’ is not a git-command</title>
		<link>http://blog.scopeport.org/nix/git-init-not-command/</link>
		<comments>http://blog.scopeport.org/nix/git-init-not-command/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 08:09:19 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[init]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=162</guid>
		<description><![CDATA[You try to initialize a git repository with &#8220;git init&#8221; and get an error reply like:
git: ‘init’ is not a git-command
This happened to me on Debian Etch. You simply have a too old version of git! Uninstall your version (e.g. aptitude purge git) and download the current version from the git website.
]]></description>
			<content:encoded><![CDATA[<p>You try to initialize a git repository with &#8220;git init&#8221; and get an error reply like:</p>
<p><em><em>git</em>: ‘<em>init</em>’ is <em>not</em> a <em>git</em>-<em>command</em></em></p>
<p>This happened to me on Debian Etch. You simply have a too old version of git! Uninstall your version (e.g. aptitude purge git) and download the current version from the <a href="http://gitscm.org/">git website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/nix/git-init-not-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The LHC is using KDE</title>
		<link>http://blog.scopeport.org/nix/lhc-kde/</link>
		<comments>http://blog.scopeport.org/nix/lhc-kde/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 16:52:03 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[CERN]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[large hadron collider]]></category>
		<category><![CDATA[LHC]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=66</guid>
		<description><![CDATA[I just read that the CERN Large Hadron Collider (LHC) that started it first &#8220;live&#8221; runs today is using KDE for at least some parts of the projects software. This screenshot of a KDE at CERN/LHC looks like a monitoring program (with a knote  ):
http://www.bbc.co.uk/radio4/bigbang/gallery.shtml?select=13
I think this is a great prove for stability and [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://twitter.com/aseigo">just read</a> that the CERN Large Hadron Collider (LHC) that started it first &#8220;live&#8221; runs today is using KDE for at least some parts of the projects software. This screenshot of a KDE at CERN/LHC looks like a monitoring program (with a knote <img src='http://blog.scopeport.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' title="The LHC is using KDE" /> ):</p>
<p><a href="http://www.bbc.co.uk/radio4/bigbang/gallery.shtml?select=13">http://www.bbc.co.uk/radio4/bigbang/gallery.shtml?select=13</a></p>
<p>I think this is a great prove for stability and flexibility of free software. I mean&#8230; The &#8220;biggest experiment of all times&#8221; seems to use KDE to at least monitor the systems. It is highly presumable that other parts of the LHC systems are using KDE, too.</p>
<p>Do you have other screenshots of the LHC experiment? Comments are welcome!</p>
<p>Check out <a href="http://www.kde.org/">kde.org</a> and <a href="http://aseigo.blogspot.com/">the blog of Aaron Seigo</a> (the KDE hacker I got the information from)</p>
<p>[Edit]<br />
I found some more interesting images:</p>
<p><a href="http://www.spiegel.de/fotostrecke/fotostrecke-35141-5.html">http://www.spiegel.de/fotostrecke/fotostrecke-35141-3.html</p>
<p>http://www.spiegel.de/fotostrecke/fotostrecke-35141-5.html</a></p>
<p><a href="http://img388.imageshack.us/my.php?image=ohptoftimemeasured13sepjy2.png">http://img388.imageshack.us/my.php?image=ohptoftimemeasured13sepjy2.png</a> (from <a href="http://www.slashdot.org/">slashdot.org</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/nix/lhc-kde/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>How to permanently mount a samba share on GNU/Linux</title>
		<link>http://blog.scopeport.org/nix/permanently-mount-samba-share-gnulinux/</link>
		<comments>http://blog.scopeport.org/nix/permanently-mount-samba-share-gnulinux/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 09:37:52 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[share]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=47</guid>
		<description><![CDATA[It can be very useful to mount a samba share on a GNU/Linux system so that you can use it like a folder on a local hard disk.
It requires only 4 easy steps:
1. Check if smbfs is installed. Because smbfs is not an executable in e.g. /usr/bin you can check that by using &#8220;locate smbfs&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<p>It can be very useful to mount a samba share on a GNU/Linux system so that you can use it like a folder on a local hard disk.</p>
<p>It requires only 4 easy steps:</p>
<p><span style="font-weight: bold;">1.</span> Check if smbfs is installed. Because smbfs is not an executable in e.g. /usr/bin you can check that by using &#8220;locate smbfs&#8221;. It is available in the repositories of many distributions. (try &#8220;aptitude install smbfs&#8221; on Debian)</p>
<p><span style="font-weight: bold;">2.</span> Create (mkdir) a folder you want to mount the share in. I created /mnt/nas (because the share is on a NAS)</p>
<p><span style="font-weight: bold;">3.</span> Try to mount the samba share (we will permanently mount it in the next step) by using this command:</p>
<p><span style="font-size: 85%;"><span style="font-family: courier new;">mount -t smbfs -o username=youruser,password=yourpw //192.168.1.2/share /mnt/nas</span></span></p>
<p><span style="font-weight: bold;">4.</span> If this works (ls /mnt/nas) you can permanently add the share to the fstab (so that it will be mounted on every boot):</p>
<p><span style="font-size: 85%;"><span style="font-family: courier new;">vim /etc/fstab</span></span> and add:</p>
<p><span style="font-size: 85%;"><span style="font-family: courier new;">//192.168.1.2/share  /mnt/nas  smbfs  username=youruser,password=yourpw</span></span></p>
<p>Have fun with your new permanent samba share!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/nix/permanently-mount-samba-share-gnulinux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to get information about your own process</title>
		<link>http://blog.scopeport.org/nix/information-process/</link>
		<comments>http://blog.scopeport.org/nix/information-process/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 19:57:56 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[*NIX]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=34</guid>
		<description><![CDATA[If you want to get Information of your own process on a GNU/Linux system you should take a look at the /proc/self/ pseudo-directory. This directory contains information of the process that is reading it. You could also find out the PID of the process and read files in the /proc/[PID]/ directory. However, the /proc/self/ directory [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to get Information of your own process on a GNU/Linux system you should take a look at the /proc/self/ pseudo-directory. This directory contains information of the process that is reading it. You could also find out the PID of the process and read files in the /proc/[PID]/ directory. However, the /proc/self/ directory always keeps information of the process that is reading it.</p>
<p>Take a look at the proc manual pages to get an explanation of the files. (man proc) The most interesting may be /proc/self/status. It is a human readable version of the most values from /proc/self/stat and /proc/self/statm.</p>
<p>The /proc/ directory should be well known by every GNU/Linux system programmer as it contains a lot of useful information about your system and your processes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/nix/information-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Shell. Great proof of wise JS usage.</title>
		<link>http://blog.scopeport.org/worth-looking-at/javascript-shell-great-proof-wise-js-usage/</link>
		<comments>http://blog.scopeport.org/worth-looking-at/javascript-shell-great-proof-wise-js-usage/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 08:44:00 +0000</pubDate>
		<dc:creator>Lennart</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[Worth looking at]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://blog.scopeport.org/?p=30</guid>
		<description><![CDATA[JavaScript can be annoying. I don&#8217;t want elements in my browser to fade and wiggle. It consumes system ressources and slows down your workflow.
On the other hand wise usage of JavaScript can be helpful. I am currently writing on an article about how to use JavaScript in web applications and found this great proof of [...]]]></description>
			<content:encoded><![CDATA[<p>JavaScript can be annoying. I don&#8217;t want elements in my browser to fade and wiggle. It consumes system ressources and slows down your workflow.</p>
<p>On the other hand wise usage of JavaScript can be helpful. I am currently writing on an article about how to use JavaScript in web applications and found this great proof of ingenious JavaScript programming while researching:</p>
<p><a title="A virtual FreeBSD shell" href="http://cb.vu/">http://cb.vu/</a> &#8211; A virtual FreeBSD shell<br />
<code>[www@cb.vu]~&gt; uname<br />
FreeBSD<br />
[www@cb.vu]~&gt; uname -a<br />
FreeBSD cb.vu 6.3-STABLE FreeBSD 6.3-STABLE #2: Wed Jan 30 16:21:05 CET 2008 c@cb.vu:/usr/obj/usr/src/sys/CB  i386 </code></p>
<p>Try out the VI!</p>
<p>Did you find some program or command that is worth to be tried out? Please leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.scopeport.org/worth-looking-at/javascript-shell-great-proof-wise-js-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
