<?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>Dragly &#187; terminal</title>
	<atom:link href="http://dragly.org/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://dragly.org</link>
	<description>It was about time I started writing my own tutorials to share some of the knowledge I&#039;ve picked up from around.</description>
	<lastBuildDate>Mon, 14 May 2012 22:32:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Bookmarks in terminal</title>
		<link>http://dragly.org/2011/11/01/bookmarks-in-terminal/</link>
		<comments>http://dragly.org/2011/11/01/bookmarks-in-terminal/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 12:02:34 +0000</pubDate>
		<dc:creator>Svenn-Arne Dragly</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://dragly.org/?p=567</guid>
		<description><![CDATA[Today I found a great tool to ease the navigation in terminal, called apparix. It lets you bookmark a folder so that you easily can navigate to it just by typing to nameofbookmark To install apparix in Ubuntu, type sudo &#8230; <a href="http://dragly.org/2011/11/01/bookmarks-in-terminal/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I found a great tool to ease the navigation in terminal, called apparix. It lets you bookmark a folder so that you easily can navigate to it just by typing</p>
<pre class="brush:shell">to nameofbookmark</pre>
<p>To install apparix in Ubuntu, type</p>
<pre class="brush:shell">sudo apt-get install apparix</pre>
<p>in a terminal window.</p>
<p>After installation you need to set up the aliases &#8220;bm&#8221; for bookmarking and &#8220;to&#8221; for going to a bookmark by adding a few functions to your .bashrc file in your home folder (if you don&#8217;t have this file, you can create it yourself).</p>
<p>You&#8217;ll find the functions you need to add by issuing the command</p>
<pre class="brush:shell">apparix --shell-examples</pre>
<p>in a terminal window. Copy everything below &#8220;Bash-style functions&#8221; except the &#8220;CSH-style aliases&#8221;. Paste this into your .bashrc file.</p>
<p>Open up a new terminal, cd to your directory of choice and type</p>
<pre class="brush:shell">bm mybookmark</pre>
<p>to bookmark the folder. Afterwards you can go to any folder and type</p>
<pre class="brush:shell">to mybookmark</pre>
<p>to go to your bookmark.</p>
<p>This tool is of course available for other Linux distributions too.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragly.org/2011/11/01/bookmarks-in-terminal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Connect to your N900 while developing via usb</title>
		<link>http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/</link>
		<comments>http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 17:16:43 +0000</pubDate>
		<dc:creator>Svenn-Arne Dragly</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[N900]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Network Manager]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://dragly.org/?p=251</guid>
		<description><![CDATA[Sometimes it feels good to be a bit lazy and let your OS do that boring terminal-typing for you whenever you connect a new device. <a href="http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are developing for Nokia N900 using the Nokia Qt SDK, you are most likely following <a href="http://doc.qt.nokia.com/nokia-qtsdk-1.0/creator-developing-maemo.html">this guide</a> to set up your environment. This is all nice and easy, but if you are connecting using usb you have to open a terminal each time you plug in your N900 and write</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> usb0 192.168.2.14 up</pre></div></div>

<p>If you, like me, get tired of doing this you may instead let Network Manager in Gnome do the work for you. First of all, connect your N900 via an available USB port. Next, right click the Network Manager icon and hit &#8220;Edit Connections&#8230;&#8221;.</p>
<p><span id="more-251"></span></p>
<p><a href="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Network-Connections.png" rel="lightbox[251]"><img class="size-full wp-image-252 alignnone" title="Screenshot-Network Connections" src="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Network-Connections.png" alt="" width="436" height="300" /></a></p>
<p>This window will pop up. Press the &#8220;Add&#8221; button.</p>
<p><a href="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb.png" rel="lightbox[251]"><img class="alignnone size-full wp-image-253" title="Screenshot-Editing N900 via usb" src="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb.png" alt="" width="361" height="471" /></a></p>
<p>Type in a useful name, such as &#8220;N900 via usb&#8221;, and leave everything under &#8220;Wired&#8221; as is. Select the &#8220;IPv4 Settings&#8221; tab.</p>
<p><a href="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb-1.png" rel="lightbox[251]"><img class="alignnone size-full wp-image-254" title="Screenshot-Editing N900 via usb-1" src="http://dragly.org/wp-content/uploads/2010/07/Screenshot-Editing-N900-via-usb-1.png" alt="" width="403" height="471" /></a></p>
<p>Set the Method to &#8220;Manual&#8221; and click &#8220;Add&#8221;.</p>
<p>Type in 192.168.2.14 as the address and 255.255.255.0 as the netmask. Leave the gateway blank.</p>
<p>Hit &#8220;Apply&#8221; and you are good to go!</p>
<p>Next, just click the Network Manager icon and select &#8220;N900 via usb&#8221;. If nothing went wrong, you should now be connected to your device, enabling you to use Qt Creator to its full extent. The next time you plug in your N900, Network Manager will do the work for you automatically.</p>
<p><strong>Update: </strong>Note that if you already have a wired connection, Network Manager might try to connect to this so-called &#8220;Auto Ethernet&#8221; connection when you plug in. If this happens, just click the network manager icon and select the correct connection.</p>
<p>This might also happen the other way around, connecting to your USB connection with your Ethernet card, which of course won&#8217;t work. To avoid this completely, you might want to disable auto-connection for you N900 USB.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragly.org/2010/07/18/connect-to-your-n900-while-developing-via-usb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

