<?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>Ubuntu For Free &#187; Scripting</title>
	<atom:link href="http://www.forwardyouth.com/ubuntu/category/scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.forwardyouth.com/ubuntu</link>
	<description>A blog covering the Ubuntu Linux distro for you and your wallet.</description>
	<lastBuildDate>Thu, 04 Mar 2010 01:01:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Add Programs To Your Startup In KDE</title>
		<link>http://www.forwardyouth.com/ubuntu/how-to-add-programs-to-your-startup-in-kde/</link>
		<comments>http://www.forwardyouth.com/ubuntu/how-to-add-programs-to-your-startup-in-kde/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 00:22:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Autostart]]></category>
		<category><![CDATA[KDE4]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sshfs]]></category>

		<guid isPermaLink="false">http://www.forwardyouth.com/ubuntu/?p=109</guid>
		<description><![CDATA[I discovered the best way for me to mount my ssh shares via sshfs automatically when I log in. I add shares and folders from time to time, and I also wanted this technology to automatically be backed up for me, so I wanted the solution to lie inside my home folder. I did some [...]]]></description>
			<content:encoded><![CDATA[<p>I discovered the best way for me to mount my ssh shares via sshfs automatically when I log in. I add shares and folders from time to time, and I also wanted this technology to automatically be backed up for me, so I wanted the solution to lie inside my home folder. I did some research and learned that KDE has an Autostart folder. For KDE 3.x this is currently at ~/.kde/Autostart, and for KDE4 it is ~/.kde4 (which will eventually drop the 4). I&#8217;m already hosting my scripts in ~/bin, so I created a script in that folder to execute sshfs and create the mounts. I then created a link by right-dragging the icon in Konqueror from the ~/bin/ folder to ~/.kde/Autostart. This will work for any executable or script. Now my sshfs mounts automatically at login.</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.forwardyouth.com/ubuntu/how-to-add-programs-to-your-startup-in-kde/&title=How+To+Add+Programs+To+Your+Startup+In+KDE&srcURL=http://www.forwardyouth.com/ubuntu" target="_blank" rel="nofollow"><img
src="http://www.forwardyouth.com/ubuntu/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://www.forwardyouth.com/ubuntu/how-to-add-programs-to-your-startup-in-kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Useful In Folder Script</title>
		<link>http://www.forwardyouth.com/ubuntu/my-useful-in-folder-script/</link>
		<comments>http://www.forwardyouth.com/ubuntu/my-useful-in-folder-script/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 03:55:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.forwardyouth.com/ubuntu/my-useful-in-folder-script/</guid>
		<description><![CDATA[Having been a long time user of 4DOS in my pre-win95 days, I had developed some batch files and/or aliases that I were quite handy in that environment. Switching to another operating system that&#8217;s more flexible with the command line, I&#8217;ve re-implemented some of those batch files and aliases. Here&#8217;s one of my favorites, and [...]]]></description>
			<content:encoded><![CDATA[<p>Having been a long time user of 4DOS in my pre-win95 days, I had developed some batch files and/or aliases that I were quite handy in that environment. Switching to another operating system that&#8217;s more flexible with the command line, I&#8217;ve re-implemented some of those batch files and aliases. Here&#8217;s one of my favorites, and while it&#8217;s pretty simple, I use it all the time. It switches to a folder using the <em>pushd</em> command, executes your chosen command, and then uses <em>popd</em> to switch back to the original folder. It has no error checking of it&#8217;s own and it has no instructions. I did it in this fashion to keep it as light and quick as possible.</p>
<p><code>#!/bin/bash<br />
## In Folder script by Joshua Kersey<br />
## http://www.forwardyouth.com/ubuntu<br />
pushd "$1"<br />
"$2"<br />
popd<br />
</code></p>
<p>Let me know if you&#8217;ve got any suggestions for improvement.</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://www.forwardyouth.com/ubuntu/my-useful-in-folder-script/&title=My+Useful+In+Folder+Script&srcURL=http://www.forwardyouth.com/ubuntu" target="_blank" rel="nofollow"><img
src="http://www.forwardyouth.com/ubuntu/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://www.forwardyouth.com/ubuntu/my-useful-in-folder-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
