<?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 &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<atom:link href="https://blog.sephiroth.it/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sephiroth.it</link>
	<description>programmer by pure chance</description>
	<lastBuildDate>Sun, 20 Jun 2010 13:14:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.sephiroth.it/wp-content/uploads/2019/03/cropped-sepy-big-32x32.png</url>
	<title>ubuntu &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<link>https://blog.sephiroth.it</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>iPhone &#038; Ubuntu notes&#8230;</title>
		<link>https://blog.sephiroth.it/2008/03/29/iphone-ubuntu-notes/</link>
					<comments>https://blog.sephiroth.it/2008/03/29/iphone-ubuntu-notes/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Sat, 29 Mar 2008 08:14:32 +0000</pubDate>
				<category><![CDATA[general]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=247</guid>

					<description><![CDATA[No Flash stuff this time &#240;&#159;&#153;&#130; During my last trip to New York city I finally decided to buy an iPhone for me too (I think I have everything from Apple right now.. except a mac &#240;&#159;&#153;&#130; ). The most annoying thing for a linux user like me is obviously the fact that the iPhone &#8230; <a href="https://blog.sephiroth.it/2008/03/29/iphone-ubuntu-notes/" class="more-link">Continue reading <span class="screen-reader-text">iPhone &#038; Ubuntu notes&#8230;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://blog.sephiroth.it/wp-content/uploads/2008/03/IMG_0025.jpg"><img decoding="async" class="alignleft size-thumbnail wp-image-1085" style="margin: 4px;" title="IMG_0025" src="https://blog.sephiroth.it/wp-content/uploads/2008/03/IMG_0025-150x150.jpg" alt="" width="150" height="150" /></a>No Flash stuff this time 🙂<br />
During my last trip to New York city I finally decided to buy an iPhone for me too (I think I have everything from Apple right now.. except a mac 🙂 ).<br />
The most annoying thing for a linux user like me is obviously the fact that the iPhone syncronization should pass from iTunes, which is not available for linux&#8230;<br />
Ok, there are some ways indeed to copy music like this: <a title="iphone and ubuntu" href="http://help.ubuntu.com/community/PortableDevices/iPhone" target="_blank">http://help.ubuntu.com/community/PortableDevices/iPhone</a>, but as you can see is not so smart.</p>
<p>Sync your address book isn&#8217;t easy too. The AddressBook sqlite can be easily browse using an SQLite browser such as SQLite Database Browser http://sqlitebrowser.sourceforge.net/, just get the AddressBook.sqlitedb (it&#8217;s into  /private/var/mobile/Library/AddressBook/)  from the iphone via sftp (just remember to install <span style="font-weight: bold;">BSD Subsystem</span> and <span style="font-weight: bold;">OpenSSH</span>) and call a simple query like this:<br />
<code>SELECT t1.First, t1.Last, t2.value from ABPerson as t1, ABMultiValue as t2 WHERE t2.record_id = t1.ROWID</code><br />
For a full AddressBook sync you can read more here: <a title="linux addressbook iphone syncronization" href="http://www.estamos.de/blog/2007/10/29/iphone-address-book-synchronization-with-syncevolution-the-making-of/" target="_blank">http://www.estamos.de/blog/&#8230;the-making-of/</a></p>
<p>Another tip I just discovered is how to upload into the iPhone my own Ringtones.<br />
First convert the mp3 file into an M4R file using this command line script:<br />
<code>mplayer -ao pcm input_file.mp3 -ao pcm:file="~temp.wav"<br />
faac ~temp.wav -o output_file.m4r -w<br />
rm ~temp.wav</code><br />
then using sftp put the output_file.m4r into /Library/Ringtones directory. A sample workflow can be this one:<br />
<code>~/iphone/Ringtones$ mplayer -ao pcm The_Spell.mp3 -ao pcm:file="~temp.wav"<br />
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team<br />
CPU: Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz (Family: 6, Model: 15, Stepping: 6)<br />
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1<br />
Compiled with runtime CPU detection.<br />
mplayer: could not connect to socket<br />
mplayer: No such file or directory<br />
Failed to open LIRC support. You will not be able to use your remote control.<br />
Playing The_Spell.mp3.<br />
Audio file file format detected.<br />
Clip info:<br />
Title: The Spell<br />
Artist: Lunatica<br />
Album: Fables &amp; Dreams<br />
Year: 2004<br />
Comment:  00001A75 000016D0 00004374<br />
Track: 6<br />
Genre: Other<br />
==========================================================================<br />
Forced audio codec: mad<br />
Opening audio decoder: [libmad] libmad mpeg audio decoder<br />
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000-&gt;176400)<br />
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)<br />
==========================================================================<br />
[AO PCM] File: ~temp.wav (WAVE)<br />
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le<br />
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast<br />
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).<br />
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)<br />
Video: no video<br />
Starting playback...<br />
Cannot sync MAD frame 538.0 (08:58.0)  0.8%<br />
Cannot sync MAD frame<br />
Cannot sync MAD frame<br />
Cannot sync MAD frame 538.0 (08:58.0)  0.8%<br />
A: 288.3 (04:48.2) of 538.0 (08:58.0)  0.8%<br />
Exiting... (End of file)<br />
alessandro@alessandro-u-laptop:~/iphone/Ringtones$ faac ~temp.wav -o The_Spell.m4r<br />
Freeware Advanced Audio Coder<br />
FAAC 1.26.1 (Jan 22 2008) UNSTABLE<br />
Quantization quality: 100<br />
Bandwidth: 16000 Hz<br />
Object type: Low Complexity(MPEG-2) + M/S<br />
Container format: Transport Stream (ADTS)<br />
Encoding ~temp.wav to The_Spell.m4r<br />
frame          | bitrate | elapsed/estim | play/CPU | ETA<br />
12388/12388 (100%)|  137.8  |   12.5/12.5   |   22.95x | 0.0<br />
alessandro@alessandro-u-laptop:~/iphone/Ringtones$ sftp root@192.168.1.203<br />
Connecting to 192.168.1.203...<br />
root@192.168.1.203's password:<br />
sftp&gt; cd /Library/Ringtones<br />
sftp&gt; put The_Spell.m4r</code></p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2008/03/29/iphone-ubuntu-notes/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Flex Builder on Ubuntu Hardy 8</title>
		<link>https://blog.sephiroth.it/2008/01/29/flex-builder-on-ubuntu-hardy-8/</link>
					<comments>https://blog.sephiroth.it/2008/01/29/flex-builder-on-ubuntu-hardy-8/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Wed, 30 Jan 2008 00:02:09 +0000</pubDate>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=244</guid>

					<description><![CDATA[I don&#8217;t know exactly why, but the first time I found the link of an article about the first Ubuntu 8 hardy alpha release I couldn&#8217;t wait anymore and so I immediately upgraded my distribution.. I can&#8217;t resist to alphas and betas! damn! Anyway, a part the obvious problems related to an alpha version, such &#8230; <a href="https://blog.sephiroth.it/2008/01/29/flex-builder-on-ubuntu-hardy-8/" class="more-link">Continue reading <span class="screen-reader-text">Flex Builder on Ubuntu Hardy 8</span></a>]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" title="Ubuntu" src="http://www.ubuntu.com/themes/ubuntu07/images/icon-ubuntu.png" border="0" alt="Ubuntu" hspace="3" vspace="3" width="40" height="40" align="left" />I don&#8217;t know exactly why, but the first time I found the link of an article about the first <a title="ubuntu hardy" href="http://www.ubuntu.com/testing/hardy/alpha3" target="_blank">Ubuntu 8 hardy alpha</a> release I couldn&#8217;t wait anymore and so I immediately upgraded my distribution..<br />
I can&#8217;t resist to alphas and betas! damn!</p>
<p>Anyway, a part the obvious problems related to an alpha version, such as video card, mouse etc.. the most frustrating thing was the fact my eclipse installation was corrupted.. I reinstalled eclipse again and downloaded again <a title="Flex builder linux" href="http://labs.adobe.com/technologies/flex/flexbuilder_linux/" target="_blank">flex builder for linux</a>.<br />
But when trying to install Flex builder  I received a really nonsense java exception error, which more or less was:</p>
<p><strong>xcb_xlib_unlock: Assertion `c-&gt;xlib.lock&#8217; failed</strong></p>
<p>After some google searches I found out the solution for my problems ( I&#8217;m posting here in case someone else is so crazy to upgrade his ubuntu version with a flex builder installed into ):</p>
<p>In a terminal window:<br />
<code>sudo sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so</code><br />
Then restarting flex builder bin installation everything worked again and now I&#8217;m happy with my flex builder linux version again 🙂</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2008/01/29/flex-builder-on-ubuntu-hardy-8/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>FlashTracer 2.1.0</title>
		<link>https://blog.sephiroth.it/2007/12/01/flashtracer-2-1-0/</link>
					<comments>https://blog.sephiroth.it/2007/12/01/flashtracer-2-1-0/#comments</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Sat, 01 Dec 2007 21:53:20 +0000</pubDate>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[fbtracer]]></category>
		<category><![CDATA[flash tracer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=242</guid>

					<description><![CDATA[Thanks to Chad Upton who sent me some suggestions on how to improve FlashTracer I recently updated this extension adding some new features beside those already installed. Now it is possible to define rules ( using the options panel ), which allow you to style the output messages (defining font-weight, font-style, color and text underline); &#8230; <a href="https://blog.sephiroth.it/2007/12/01/flashtracer-2-1-0/" class="more-link">Continue reading <span class="screen-reader-text">FlashTracer 2.1.0</span></a>]]></description>
										<content:encoded><![CDATA[<p>Thanks to Chad Upton who sent me some suggestions on how to improve <a title="My first Firefox extension! (FlashTracer)" href="https://blog.sephiroth.it/2006/10/01/my-first-firefox-extension-flashtracer/">FlashTracer</a> I recently updated this extension adding some new features beside those already installed.<br />
Now it is possible to define rules ( using the options panel ), which allow you to style the output messages (defining font-weight, font-style, color and text underline); they can work also like a filter to discard all the messages which don&#8217;t match the rules.</p>
<p>Here a screenshot of the new rules panel:</p>
<p><a href="https://blog.sephiroth.it/wp-content/uploads/2007/12/flashtracer-rules.png"><img fetchpriority="high" decoding="async" class="alignnone size-medium wp-image-1071" title="flashtracer-rules" src="https://blog.sephiroth.it/wp-content/uploads/2007/12/flashtracer-rules-300x294.png" alt="" width="300" height="294" srcset="https://blog.sephiroth.it/wp-content/uploads/2007/12/flashtracer-rules-300x294.png 300w, https://blog.sephiroth.it/wp-content/uploads/2007/12/flashtracer-rules.png 688w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>I also took advantage of this update to write the extension from scratch. It was my first extension and so the code wasn&#8217;t so clear, moreover I learnt how to use xul <a title="XUL:command" href="http://developer.mozilla.org/en/docs/XUL:command" target="_blank">commands</a> and <a title="XUL:observer" href="http://developer.mozilla.org/en/docs/XUL:observes" target="_blank">observers</a>.<br />
I tested this extension on <strong>Vista</strong>, <strong>Ubuntu</strong> 7.10 and <strong>OSX</strong> 10.4. Here some screenshots of the running extension on those different OS:</p>
<p><a href="http://www.sephiroth.it/weblog/archives/images/linux.png" target="_blank"></a><a href="https://blog.sephiroth.it/wp-content/uploads/2007/12/vista.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-1076" style="margin: 4px;" title="vista" src="https://blog.sephiroth.it/wp-content/uploads/2007/12/vista-150x150.png" alt="" width="150" height="150" /></a><a href="https://blog.sephiroth.it/wp-content/uploads/2007/12/osx.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-1075" style="margin: 4px;" title="osx" src="https://blog.sephiroth.it/wp-content/uploads/2007/12/osx-150x150.png" alt="" width="150" height="150" /></a><a href="https://blog.sephiroth.it/wp-content/uploads/2007/12/linux.png"><img loading="lazy" decoding="async" class="alignnone size-thumbnail wp-image-1074" style="margin: 4px;" title="linux" src="https://blog.sephiroth.it/wp-content/uploads/2007/12/linux-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Note. In some case you should first remove the mm.cfg file first. In Windows and linux it is placed into the user folder, in OSX you can find it under &#8220;/Library/Application Support/Macromedia&#8221;</p>
<p><strong>Install now</strong><br />
P.S. Remember that you need the <a href="http://www.adobe.com/support/flashplayer/downloads.html" target="_blank">flash player debug</a>.</p>
<div style="margin: 5px; padding: 5px; border: 2px solid #FF0000;">
<p><span style="color: #ff0000;"><strong>UPDATE:</strong></span> A new <strong>flash tracer</strong> called fbtracer has been released. This new extension is integrated into Firebug. <a title="Flash Tracer for Firebug" href="https://blog.sephiroth.it/firefox-extensions/flash-tracer-for-firebug/">Read more here</a></p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2007/12/01/flashtracer-2-1-0/feed/</wfw:commentRss>
			<slash:comments>40</slash:comments>
		
		
			</item>
	</channel>
</rss>
