<?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>The Maemo &#187; N900 Tricks</title>
	<atom:link href="http://www.themaemo.com/tag/n900-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.themaemo.com</link>
	<description>Maemo News , Hacks , Themes , Wallpapers and More</description>
	<lastBuildDate>Tue, 25 May 2010 10:36:39 +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>HowTo: Fix the annoying &#8216;Unable to connect via USB. Device storage in use&#8217; error on the N900 without rebooting</title>
		<link>http://www.themaemo.com/howto-fix-the-annoying-unable-to-connect-via-usb-device-storage-in-use-error-on-the-n900-without-rebooting/</link>
		<comments>http://www.themaemo.com/howto-fix-the-annoying-unable-to-connect-via-usb-device-storage-in-use-error-on-the-n900-without-rebooting/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 22:19:49 +0000</pubDate>
		<dc:creator>archebyte</dc:creator>
				<category><![CDATA[Devices]]></category>
		<category><![CDATA[Hacks ,Tricks and Tips]]></category>
		<category><![CDATA[Nokia N900]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[maemo5]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[n900 softwares]]></category>
		<category><![CDATA[N900 Tricks]]></category>
		<category><![CDATA[Nokia N900 portrait mode]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.themaemo.com/?p=387</guid>
		<description><![CDATA[
If you connect the N900 to a computer via USB frequently, you will sooner or later encounter this error where the N900 will refuse to be used as external media.

This is because a program (or programs) is accessing files in the /home/user/MyDocs folder. To fix the problem, the program(s) in question needs to be found [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.themaemo.com%2Fhowto-fix-the-annoying-unable-to-connect-via-usb-device-storage-in-use-error-on-the-n900-without-rebooting%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.themaemo.com%2Fhowto-fix-the-annoying-unable-to-connect-via-usb-device-storage-in-use-error-on-the-n900-without-rebooting%2F" height="61" width="51" /></a></div>
<p>If you connect the N900 to a computer via USB frequently, you will sooner or later encounter this error where the N900 will refuse to be used as external media.</p>
<p><img class="aligncenter size-medium wp-image-389" title="Screenshot-20091217-222352" src="http://www.themaemo.com/wp-content/uploads/2009/12/Screenshot-20091217-222352-300x180.png" alt="Screenshot-20091217-222352" width="300" height="180" /></p>
<p>This is because a program (or programs) is accessing files in the /home/user/MyDocs folder. To fix the problem, the program(s) in question needs to be found and stopped. To find the program(s), open a root terminal and type</p>
<pre> lsof | grep MyDocs</pre>
<p>This will display the programs accessing the MyDocs folder something similar to this:</p>
<pre>Nokia-N900-42-11:~# lsof | grep MyDocs
sh        <span style="color: #ff0000;">3474</span>       user  cwd    DIR      179,1    65536       4326 /home/user/MyDocs/tmp</pre>
<p>The second column displays the process-ID of the program (in RED above). Now, terminate the program with this command (repeat for multiple programs):</p>
<pre>kill 3474</pre>
<p>Now, run the lsof command again (press UP arrow to go back) and make sure the program is not displayed. If it is still running, execute this:</p>
<pre>kill -9 3474</pre>
<p>Reconnect the USB cable and you should now be able to use the N900 as external media.<img src="http://www.themaemo.com/?ak_action=api_record_view&#038;id=387&#038;type=feed" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.themaemo.com/howto-fix-the-annoying-unable-to-connect-via-usb-device-storage-in-use-error-on-the-n900-without-rebooting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Launch a terminal app from a shortcut on Nokia N900</title>
		<link>http://www.themaemo.com/howto-launch-a-terminal-app-from-a-shortcut/</link>
		<comments>http://www.themaemo.com/howto-launch-a-terminal-app-from-a-shortcut/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 07:27:31 +0000</pubDate>
		<dc:creator>archebyte</dc:creator>
				<category><![CDATA[Device]]></category>
		<category><![CDATA[Devices]]></category>
		<category><![CDATA[Hacks ,Tricks and Tips]]></category>
		<category><![CDATA[Nokia N900]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[n900 tips]]></category>
		<category><![CDATA[N900 Tricks]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[xterm]]></category>

		<guid isPermaLink="false">http://www.themaemo.com/howto-launch-a-terminal-app-from-a-shortcut/</guid>
		<description><![CDATA[
On the N900, it is possible to run a terminal program like &#8216;top&#8217; directly from the Desktop/Shortcut. The following example creates a shortcut to launch the system monitior program &#8216;top&#8217;.
1. Use a text-editor like vi or Leafpad to create a file with the following text:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=topx
Exec=/usr/bin/osso-xterm top
Icon=
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

2. Save the file as topx.desktop.
3. As root, copy [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.themaemo.com%2Fhowto-launch-a-terminal-app-from-a-shortcut%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.themaemo.com%2Fhowto-launch-a-terminal-app-from-a-shortcut%2F" height="61" width="51" /></a></div>
<p>On the N900, it is possible to run a terminal program like &#8216;top&#8217; directly from the Desktop/Shortcut. The following example creates a shortcut to launch the system monitior program &#8216;top&#8217;.</p>
<p>1. Use a text-editor like vi or Leafpad to create a file with the following text:</p>
<pre>
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=topx
Exec=/usr/bin/osso-xterm top
Icon=
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
</pre>
<p>2. Save the file as topx.desktop.</p>
<p>3. As root, copy the file to the &#8216;/usr/share/applications/hildon/&#8217; directory. This will create an ugly blue application icon in the Application list called &#8216;topx&#8217;. </p>
<div style="text-align:center"><img src="http://www.themaemo.com/wp-content/uploads/2009/12/BmKervie.jpg" /></div>
<p>Launching &#8216;topx&#8217; will execute &#8216;top&#8217; directly in xterm. You may now put a shortcut on the desktop for quick access. The not-so-great part of this desktop-shortcut is that it displays the default icon.</p>
<p><img src="http://www.themaemo.com/?ak_action=api_record_view&#038;id=181&#038;type=feed" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.themaemo.com/howto-launch-a-terminal-app-from-a-shortcut/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
