<?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>Silveira Neto &#187; ubuntu</title>
	<atom:link href="http://silveiraneto.net/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://silveiraneto.net</link>
	<description></description>
	<lastBuildDate>Fri, 09 Mar 2012 04:13:27 +0000</lastBuildDate>
	<language>pt-br</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Heroku on Ubuntu 11.04 (Natty Narwhal)</title>
		<link>http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/</link>
		<comments>http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 02:43:14 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[Heroku]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3892</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/" title="Heroku on Ubuntu 11.04 (Natty Narwhal)"></a>As root execute: apt-get update apt-get install build-essential ruby rails rubygems1.8 apt-get install ruby1.8-dev libopenssl-ruby Chance PATH at /etc/environment: PATH=&#34;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin&#34; Update your current environment: source /etc/environment Install the Heroku gem: sudo gem install heroku Run Heroku authentication configuration: heroku auth:login &#8230;<p class="read-more"><a href="http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/" title="Heroku on Ubuntu 11.04 (Natty Narwhal)"></a><p style="text-align: center;"><img class="size-full wp-image-3899 aligncenter" title="heroku logo" src="http://silveiraneto.net/wp-content/uploads/2011/09/herokulogo.jpg" alt="" width="185" height="73" /></p>
<p>As root execute:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential ruby rails rubygems1.8
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ruby1.8-dev libopenssl-ruby</pre></div></div>

<p>Chance PATH at /etc/environment:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">PATH</span>=<span style="color: #ff0000;">&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin&quot;</span></pre></div></div>

<p>Update your current environment:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">source</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>environment</pre></div></div>

<p>Install the Heroku gem:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> heroku</pre></div></div>

<p>Run Heroku authentication configuration:</p>
<pre>heroku auth:login</pre>
<p>Enter the credentials for your Heroku account.</p>
<p>Done!</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/09/28/heroku-on-ubuntu-11-04-natty-narwhal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AVCHD (.MTS) video files</title>
		<link>http://silveiraneto.net/2011/06/10/avchd-mts-video-files/</link>
		<comments>http://silveiraneto.net/2011/06/10/avchd-mts-video-files/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 03:48:15 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[avchd]]></category>
		<category><![CDATA[Panasonic Lumix DMC-TS3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3816</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2011/06/10/avchd-mts-video-files/" title="AVCHD (.MTS) video files"></a>I&#8217;m dealing with video format of my new camera (Panasonic Lumix DMC-TS3). It&#8217;s the AVCHD format (.MTS file extension). You can convert it to other formats using HandBrake on Ubuntu.]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2011/06/10/avchd-mts-video-files/" title="AVCHD (.MTS) video files"></a><p><img class="aligncenter size-full wp-image-3819" title="Advanced Video Coding High Definition logo" src="http://silveiraneto.net/wp-content/uploads/2011/06/200px-Advanced_Video_Coding_High_Definition.svg_.png" alt="" width="200" height="31" /></p>
<p>I&#8217;m dealing with video format of my new camera (Panasonic Lumix DMC-TS3). It&#8217;s the <a href="http://en.wikipedia.org/wiki/AVCHD">AVCHD</a> format (.MTS file extension). You can convert it to other formats using <a href="http://handbrake.fr/">HandBrake</a> on Ubuntu.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2011/06/10/avchd-mts-video-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Miojo Script</title>
		<link>http://silveiraneto.net/2010/01/28/miojo-script/</link>
		<comments>http://silveiraneto.net/2010/01/28/miojo-script/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 05:37:29 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[libnotify]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[miojo]]></category>
		<category><![CDATA[notify]]></category>
		<category><![CDATA[notify-send]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=3133</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2010/01/28/miojo-script/" title="Miojo Script"></a>O pre-requisito é o notify-send, um utilitário de linha de comando do libnotify. No Ubuntu: sudo aptitude install libnotify-bin E aqui o script em si: sleep 5m; notify-send "aviso" "tirar o miojo do fogo" Pronto, depois de cinco minutos isso &#8230;<p class="read-more"><a href="http://silveiraneto.net/2010/01/28/miojo-script/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2010/01/28/miojo-script/" title="Miojo Script"></a><p>O pre-requisito é o notify-send, um utilitário de linha de comando do libnotify. No Ubuntu:</p>
<p><code>sudo aptitude install libnotify-bin</code></p>
<p>E aqui o script em si:</p>
<p><code>sleep 5m; notify-send "aviso" "tirar o miojo do fogo"</code></p>
<p>Pronto, depois de cinco minutos isso vai aparecer:</p>
<p style="text-align: center;"><img class="size-full wp-image-3134 aligncenter" title="notify" src="http://silveiraneto.net/wp-content/uploads/2010/01/notify.png" alt="" width="427" height="258" /></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2010/01/28/miojo-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenCV on Ubuntu</title>
		<link>http://silveiraneto.net/2009/12/21/opencv-on-ubuntu/</link>
		<comments>http://silveiraneto.net/2009/12/21/opencv-on-ubuntu/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 04:18:49 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[open computer vision library]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2786</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2009/12/21/opencv-on-ubuntu/" title="OpenCV on Ubuntu"></a>Open Computer Vision Library or just OpenCV, is a cross-platform computer vision library focused on real-time image processing for video files or webcams. You have two options to obtain the environment to develop on OpenCV. You can insert a new &#8230;<p class="read-more"><a href="http://silveiraneto.net/2009/12/21/opencv-on-ubuntu/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2009/12/21/opencv-on-ubuntu/" title="OpenCV on Ubuntu"></a><p style="text-align: center;"><img class="size-full wp-image-2974 aligncenter" title="digital_eye" src="http://silveiraneto.net/wp-content/uploads/2009/11/digital_eye.jpeg" alt="digital_eye" width="350" height="309" /></p>
<p><a href="http://sourceforge.net/projects/opencvlibrary/">Open Computer Vision Library</a> or just OpenCV, is a cross-platform computer vision library focused on real-time image processing for video files or webcams.</p>
<p>You have two options to obtain the environment to develop on OpenCV. You can insert a new repository in your package manager or compile it by yourself.</p>
<p><a title="OpenCV Package for Ubuntu 9.10" href="https://launchpad.net/~gijzelaar/+archive/opencv2-karmic">For Ubuntu 9.10 Karmic Koala there&#8217;s this repository with OpenCV&#8217;s package</a>.</p>
<p>To compile it you have to install some additional libraries compile it by your self. And it&#8217;s instructions vary for each distribution and version. For example, from Ubuntu Linux 9.10 to 9.04, the process varies slightly. I followed the instructions on this post <a title="how to install OpenCV on Ubuntu 9.10" href="http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/">&#8220;Installing OpenCV 2.0 on Ubuntu 9.10 Karmic Koala&#8221;</a>.</p>
<p>After you have installed and have a well configured OpenCV development environment, you can compile a &#8220;source.c&#8221; file into a &#8220;program&#8221; binary like this:</p>
<blockquote><p>gcc gcc source.c -o program `pkg-config opencv ‑‑libs ‑‑cflags`</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/12/21/opencv-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Congelando e Ressuscitando Processos</title>
		<link>http://silveiraneto.net/2009/11/14/congelando-e-resucitando-processos/</link>
		<comments>http://silveiraneto.net/2009/11/14/congelando-e-resucitando-processos/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 06:21:14 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[português]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[batman]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mr freeze]]></category>
		<category><![CDATA[pidof]]></category>
		<category><![CDATA[posix]]></category>
		<category><![CDATA[SH]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2935</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2009/11/14/congelando-e-resucitando-processos/" title="Congelando e Ressuscitando Processos"></a>Nem só de morte vive o kill. Suponha que você tem um processo chamado program e quer congelar seu funcionamento. Para congela-lo sem mata-lo você pode mandar um sinal SIGSTOP com: kill -s stop `pidof program` Para ressuscitar o mesmo &#8230;<p class="read-more"><a href="http://silveiraneto.net/2009/11/14/congelando-e-resucitando-processos/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2009/11/14/congelando-e-resucitando-processos/" title="Congelando e Ressuscitando Processos"></a><p style="text-align: center;"><img class="size-full wp-image-2936 aligncenter" title="batman mr freeze" src="http://silveiraneto.net/wp-content/uploads/2009/11/batman_mr_freeze.jpg" alt="batman mr freeze" width="374" height="253" /></p>
<p>Nem só de morte vive o kill.</p>
<p>Suponha que você tem um processo chamado <em>program</em> e quer congelar seu funcionamento. Para congela-lo sem mata-lo você pode mandar um sinal SIGSTOP com:</p>
<blockquote><p><span style="color: #000000;"><span style="color: #0163b3;"> </span>kill -s stop `pidof program`</span></p>
</blockquote>
<p><span style="color: #000000;">Para </span>ressuscitar o mesmo processo:</p>
<blockquote><p><span style="color: #000000;">kill -s cont `pidof program`</span></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/11/14/congelando-e-resucitando-processos/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JavaFX 1.1 for Linux workaround</title>
		<link>http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/</link>
		<comments>http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/#comments</comments>
		<pubDate>Sat, 16 May 2009 11:53:15 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[HuaSong Liu]]></category>
		<category><![CDATA[jaunty jackalope]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[javafx4linux]]></category>
		<category><![CDATA[jfx]]></category>
		<category><![CDATA[Kaesar Alnijres]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Weiqi Gao]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2581</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/" title="JavaFX 1.1 for Linux workaround "></a>Download javafx4linux.tar.bz2 (~ 36Mb). Installing 1) Extract the javafx4linux.tar.bz2 file. In this example I&#8217;m placing it on my Desktop. After the installing process you can remove it. 2) Open your NetBeans 6.5 and go at Tools → Plugins and go &#8230;<p class="read-more"><a href="http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/" title="JavaFX 1.1 for Linux workaround "></a><p><strong>Download</strong></p>
<blockquote><p><a title="JavaFX for Linux" href="http://silveiraneto.net/downloads/javafx4linux.tar.bz2">javafx4linux.tar.bz2</a> (~ 36Mb).</p></blockquote>
<p><strong>Installing</strong></p>
<p>1) Extract the javafx4linux.tar.bz2 file. In this example I&#8217;m placing it on my Desktop. After the installing process you can remove it.</p>
<p style="text-align: center;"><strong><a href="http://silveiraneto.net/wp-content/uploads/2009/05/javafx_linux_ubuntu_extract.png"><img class="size-medium wp-image-2593 aligncenter" title="javafx linux ubuntu extract" src="http://silveiraneto.net/wp-content/uploads/2009/05/javafx_linux_ubuntu_extract-500x312.png" alt="javafx linux ubuntu extract" width="500" height="312" /></a><br />
</strong></p>
<p>2) Open your NetBeans 6.5 and go at <em>Tools</em> → <em>Plugins</em> and go to <em>Downloaded</em> tab. In a plain and new NetBeans installation there will be no plugin in this tab yet.</p>
<p style="text-align: center;"><strong><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step01.png"><img class="alignnone size-medium wp-image-2582" title="netbeans javafx linux step01" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step01-500x312.png" alt="netbeans javafx linux step01" width="500" height="312" /></a><br />
</strong></p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step02.png"><img class="size-medium wp-image-2583 aligncenter" title="netbeans javafx linux step02" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step02-500x312.png" alt="netbeans javafx linux step02" width="500" height="312" /></a></p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step03.png"><img class="size-medium wp-image-2584 aligncenter" title="netbeans javafx linux step03" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step03-500x312.png" alt="netbeans javafx linux step03" width="500" height="312" /></a></p>
<p>3) Click on the <em>Add Plugins</em> button and head to the directory you extracted the file and select all .nbm files.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step04.png"><img class="size-medium wp-image-2585 aligncenter" title="netbeans javafx linux step 04" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step04-500x312.png" alt="netbeans javafx linux step 04" width="500" height="312" /></a></p>
<p>4) You will see a list of 22 plugins selected. Click on the <em>Install</em> button.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step05.png"><img class="size-medium wp-image-2586 aligncenter" title="netbeans javafx linux step 05" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step05-500x312.png" alt="netbeans javafx linux step 05" width="500" height="312" /></a></p>
<p>5) Just keep clicking on the <em>Next</em> button.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step06.png"><img class="size-medium wp-image-2587 aligncenter" title="netbeans javafx linux step 6" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step06-500x312.png" alt="netbeans javafx linux step 6" width="500" height="312" /></a></p>
<p>6) Check the license agreement accept box.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step07.png"><img class="size-medium wp-image-2588 aligncenter" title="netbeans javafx linux step 7" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step07-500x312.png" alt="netbeans javafx linux step 7" width="500" height="312" /></a></p>
<p>7) You&#8217;ll see a warning because the Linux pluggin is not signed. Don&#8217;t worry, just click <em>Continue</em>.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step08.png"><img class="size-medium wp-image-2589 aligncenter" title="netbeans javafx linux step 8" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step08-500x312.png" alt="netbeans javafx linux step 8" width="500" height="312" /></a></p>
<p>8) Click on Finish to restart NetBeans.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step09.png"><img class="size-medium wp-image-2590 aligncenter" title="netbeans javafx linux step 9" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step09-500x312.png" alt="netbeans javafx linux step 9" width="500" height="312" /></a></p>
<p>9) Now we can test it. Go at <em>File</em> → <em>New Project</em>, select the JavaFX on <em>Categories</em> and <em>JavaFX Script Application</em> on Projects.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step10.png"><img class="alignnone size-medium wp-image-2591" title="netbeans javafx linux step 10" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step10-500x312.png" alt="netbeans javafx linux step 10" width="500" height="312" /></a></p>
<p>10) Put some code and run it. There is. JavaFX on Linux.</p>
<p style="text-align: center;"><a href="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step11.png"><img class="size-medium wp-image-2592 aligncenter" title="netbeans javafx linux step 11" src="http://silveiraneto.net/wp-content/uploads/2009/05/netbeans_javafx_linux_step11-500x312.png" alt="netbeans javafx linux step 11" width="500" height="312" /></a></p>
<p><strong>Considerations</strong></p>
<p>This is not a official of JavaFX for Linux! This solution was tested on Ubuntu 9.04 &#8220;Jaunty Jackalope&#8221; with Java 6 update 13 and NetBeans 6.5.1, but should also work with others Linux distributions and Java versions greater than 5.</p>
<p><strong>Known bugs</strong></p>
<p>As a non official workaround for JavaFX for Linux you may notice some drawbacks. Some parts of the JavaFX runtime rely on native implementations on the specific operational system. You may not use some multimedia capabilities as video playback, JavaFX Mobile emulator and some performance issues in some effects. Despite that, is perfectly possible to develop applications using JavaFX on NetBeans.</p>
<p><strong>Thanks</strong></p>
<p>I&#8217;d like to thanks some guys around the world. <a href="http://www.weiqigao.com/blog/2008/12/04/using_javafx_1_0_on_linux.html">Weiqi Gao&#8217;s original post on JavaFX on Linux</a>, <a href="http://java.dzone.com/tips/javafx-11-linux-netbeans">HuaSong Liu article on DZone</a> and <a href="http://java-javafx-iipt.blogspot.com/2009/03/javafx-111-netbeans-651-on-linux.html">Kaesar Alnijres post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/16/javafx-11-for-linux-workaround/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Ubuntu Jaunty: má performance gráfica</title>
		<link>http://silveiraneto.net/2009/05/13/ubuntu-jaunty-ma-performance-grafica/</link>
		<comments>http://silveiraneto.net/2009/05/13/ubuntu-jaunty-ma-performance-grafica/#comments</comments>
		<pubDate>Wed, 13 May 2009 22:53:58 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[português]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[jaunty jackalope]]></category>
		<category><![CDATA[lspci]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2564</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2009/05/13/ubuntu-jaunty-ma-performance-grafica/" title="Ubuntu Jaunty: má performance gráfica"></a>Nas versões anteriores do Ubuntu, inclusive no 8.04 que eu utilizava anteriormente, não havia do que me queixar. Porém com a mudança para o 9.04 (Jaunty Jackalope) de imediato foi possível reparar uma queda drástica na performance da aceleração gráfica &#8230;<p class="read-more"><a href="http://silveiraneto.net/2009/05/13/ubuntu-jaunty-ma-performance-grafica/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2009/05/13/ubuntu-jaunty-ma-performance-grafica/" title="Ubuntu Jaunty: má performance gráfica"></a><p style="text-align: center;"><img class="size-full wp-image-2563 aligncenter" title="ubuntu glass logo" src="http://silveiraneto.net/wp-content/uploads/2009/05/ubuntu_glass_logo.jpg" alt="ubuntu glass logo" width="399" height="259" /></p>
<p>Nas versões anteriores do Ubuntu, inclusive no 8.04 que eu utilizava anteriormente, não havia do que me queixar. Porém com a mudança para o 9.04 (Jaunty Jackalope) de imediato foi possível reparar uma queda drástica na performance da aceleração gráfica 3D.</p>
<p>Minha placa gráfica no meu notebook, um <a href="http://silveiraneto.net/2008/01/08/notebook-amazon-pc-fl-31/">Amazon FL31</a>.</p>
<blockquote><p>silveira@fl31:~$   lspci -nn | grep VGA<br />
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)</p></blockquote>
<p>Na release desta versão do Ubuntu havia <a title="Release Note" href="http://www.ubuntu.com/getubuntu/releasenotes/904#Performance%20regressions%20on%20Intel%20graphics%20cards">um aviso de possível regreção na performance em placas de vídeo da Intel</a> onde há a indicação de algumas soluções provisórias.</p>
<p><strong>Regressão do Driver</strong></p>
<p>Eu experimentei uma solução mais drástica que foi <a title="Ubuntu older driver" href="https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4">alternar o driver de vídeo para a versão anterior</a>. O desempenho melhorou bastante, mas ainda senti uma boa diferença para os padrões que eu estou habituado. Além disso continuava impossível rodar alguns jogos, as texturas eram carregadas nos lugares errados e poucos quadros por segundo. Eu acabei por retornar os drivers para o default do Jaunty e descartar essa opção.</p>
<p><strong>Atualização do Driver</strong></p>
<p>Uma solução alternativa que eu <a title=" Agora sim a minha placa de video Intel GM950 esta funcionando corretamente" href="http://blog.cropalato.com.br/?p=37">me deparei</a> foi atualizar os drivers para uma versão mais nova. Como root execute os comandos abaixo para adicionar os repositórios a lista do APT, adicionar suas chaves e atualizar as informações de pacote e instalar os novos drivers:</p>
<blockquote><p>echo “deb <a href="http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu">http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu</a> <span id="series-deb">jaunty</span> main” &gt;&gt; /etc/apt/sources.list.d/intel.list</p></blockquote>
<blockquote><p>sudo apt-key adv &#8211;recv-keys &#8211;keyserver keyserver.ubuntu.com 165d673674a995b3e64bf0cf4f191a5a8844c542</p></blockquote>
<blockquote><p>aptitude update &amp;&amp; aptitude safe-upgrade</p></blockquote>
<p>A performance ainda não está tão boa quanto já foi mas está completamente suave e usável.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2009/05/13/ubuntu-jaunty-ma-performance-grafica/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Ubuntu Shipit</title>
		<link>http://silveiraneto.net/2008/12/30/ubuntu-shipit/</link>
		<comments>http://silveiraneto.net/2008/12/30/ubuntu-shipit/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 09:58:24 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shipit]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Ubuntu 8.04]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=2035</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2008/12/30/ubuntu-shipit/" title="Ubuntu Shipit"></a>Those days I received my box of free Ubuntu CDs and sticks, free of charges.  Courtesy of Canonical throught the Ubuntu Shipit project, thanks guys! I love those Internet free stuff. It&#8217;s essential having a few CDs distros always with &#8230;<p class="read-more"><a href="http://silveiraneto.net/2008/12/30/ubuntu-shipit/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2008/12/30/ubuntu-shipit/" title="Ubuntu Shipit"></a><p style="text-align: center;"><img class="aligncenter" src="http://farm4.static.flickr.com/3264/3149476569_1a270e9f01.jpg" alt="Ubuntus!" /></p>
<p>Those days I received my box of free Ubuntu CDs and sticks, free of charges.  Courtesy of <a title="Canonical" href="http://www.canonical.com/">Canonical</a> throught the <a title="Ubuntu Shipit" href="https://shipit.ubuntu.com/">Ubuntu Shipit project</a>, thanks guys! I love those Internet free stuff. It&#8217;s essential having a few CDs distros always with me.</p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2008/12/30/ubuntu-shipit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JavaFX SDK 1.0 on Linux</title>
		<link>http://silveiraneto.net/2008/12/06/javafx-sdk-10-on-linux/</link>
		<comments>http://silveiraneto.net/2008/12/06/javafx-sdk-10-on-linux/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 07:15:35 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[JavaFX]]></category>
		<category><![CDATA[jfx]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openjfx]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unofficial]]></category>
		<category><![CDATA[vídeo]]></category>
		<category><![CDATA[Weiqi Gao]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=1853</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2008/12/06/javafx-sdk-10-on-linux/" title="JavaFX SDK 1.0 on Linux"></a>JavaFX 1.0 is out and is absolutely amazing. You guys did really a great work on it. As I really need a working SDK on Linux to continue to study and I don&#8217;t have any Windows/Mac near me, I&#8217;m using &#8230;<p class="read-more"><a href="http://silveiraneto.net/2008/12/06/javafx-sdk-10-on-linux/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2008/12/06/javafx-sdk-10-on-linux/" title="JavaFX SDK 1.0 on Linux"></a><p><a href="http://javafx.com">JavaFX 1.0</a> is out and is absolutely amazing. You guys did really a great work on it.</p>
<p style="text-align: center;"><a title="JavaFX Site" href="http://javafx.com"><img class="size-full wp-image-1854 aligncenter" title="javafx site" src="http://silveiraneto.net/wp-content/uploads/2008/12/javafxsite.png" alt="" width="400" height="311" /></a></p>
<p>As I really need a working SDK on Linux to continue to study and I don&#8217;t have any Windows/Mac near me, I&#8217;m using the <a title="Weiqigao Blog" href="http://www.weiqigao.com/blog/2008/08/05/watch_javafx_sdk_run_on_linux.html">Weiqi Gao&#8217;s workaround</a>. I tried to simplify a little bit more the process for those who need JavaFX SDK working on Linux right now.</p>
<p><strong>Download</strong> <a title="JavaFX for Linux" href="http://silveiraneto.net/downloads/javafxsdk_linux_unofficial.tar.bz2">javafxsdk_linux_unofficial.tar.bz2</a> (~18Mb).</p>
<p>And then</p>
<blockquote><p>tar -xjvf javafxsdk_linux_unofficial.tar.bz2<br />
sudo cp javafx /opt/javafx<br />
echo &#8220;PATH=\$PATH:/opt/javafx/bin&#8221; &gt;&gt; ~/.profile<br />
echo &#8220;JAVAFX_HOME=/opt/javafx&#8221; &gt;&gt; ~/.profile<br />
source ~/.profile</p></blockquote>
<p>Now you can call javafx, javafxc, javafxdoc and javafxpackager from your terminal. Don&#8217;t forget that you need Java 1.6 or greater installed.</p>
<p>Here&#8217;s a video showing the SDK working, I&#8217;m compiling and running two sample applications. Remeber that as a temporary unofficial port for Linux, there&#8217;s not native video support nor hardware acceleration.</p>
<p style="text-align: center;"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ENf5mXEIiD8&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/ENf5mXEIiD8&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2008/12/06/javafx-sdk-10-on-linux/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Compiling Inkscape</title>
		<link>http://silveiraneto.net/2008/08/04/compiling-inkscape/</link>
		<comments>http://silveiraneto.net/2008/08/04/compiling-inkscape/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 17:12:34 +0000</pubDate>
		<dc:creator>Silveira</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Inkscape]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://silveiraneto.net/?p=1046</guid>
		<description><![CDATA[<a href="http://silveiraneto.net/2008/08/04/compiling-inkscape/" title="Compiling Inkscape"></a>Inkscape is a Open Source vector graphics editor that works with SVG (Scalable Vector Graphics) format, Inkscape works with transparency, gradients, node editing, pattern fills, PNG export, and more. It also runs on Linux, Windows and OSX, those three are &#8230;<p class="read-more"><a href="http://silveiraneto.net/2008/08/04/compiling-inkscape/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://silveiraneto.net/2008/08/04/compiling-inkscape/" title="Compiling Inkscape"></a><p style="text-align: center;"><img class="size-full wp-image-1048 aligncenter" title="inkscape screenshot" src="http://silveiraneto.net/wp-content/uploads/2008/08/inkscape_screenshot.jpg" alt="Inkscape running" width="400" height="320" /></p>
<p><a title="Inkscape.org" href="http://inkscape.org">Inkscape</a> is a Open Source vector graphics editor that works with SVG (Scalable Vector Graphics) format, Inkscape works with transparency, gradients, node editing, pattern fills, PNG export, and more. It also runs on Linux, Windows and OSX, those three are officially supported, but also runs in a broad list of Operational Systems. Is a software that I work daily and frequently is featured <a href="http://silveiraneto.net/tag/svg">here in my blog</a>.</p>
<p>You can download <a title="Inkscape Download" href="http://inkscape.org/download/?lang=en">Inkscape</a> or directly install it via some package system like Apt:</p>
<blockquote><p>sudo apt-get install inskcape</p></blockquote>
<p>But sometimes we need some special feature that is not available yet in the repositories or we want gain speed by having special binaries for our platforms or we want to help developing a new feature. In those cases we need to compile the software by ourself.</p>
<p>Those tips are valid for Ubuntu 8.04 but some part of them can be applied in others distributions. The Inkscape compiled here is the version 0.46+devel so newest versions can have compiling procedures slightly different.</p>
<p><strong>Getting sources via APT.</strong>The easiest way to compile Inkscape on Ubuntu is</p>
<blockquote><p>sudo su<br />
apt-get build-dep inkscape<br />
apt-get source inkscape<br />
cd inkscape<br />
./autogen.sh<br />
./configure<br />
make<br />
make install</p></blockquote>
<p>This will get a version of inkscape, compile it and install. If the first step doesn&#8217;t work well, you can try install all necessary packages by yourself using:</p>
<blockquote><p>sudo apt-get install autotools-dev fakeroot dh-make build-essential autoconf automake intltool libglib2.0-dev libpng12-dev libgc-dev libfreetype6-dev liblcms1-dev libgtkmm-2.4-dev libxslt1-dev libboost-dev libpopt-dev libgsl0ldbl libgsl0-dev libgsl0-dbg libgnome-vfsmm-2.6-dev libssl-dev libmagick++9-dev libwpg-dev</p></blockquote>
<p><strong>Getting sources via SVN.</strong> The recipe I showed above will compile a stable version of Inkscape but not the last version of Inkscape. For that we need to grab the source directly from the Subversion repositories and so compile it.</p>
<p>At your home folder:</p>
<blockquote><p>sudo apt-get install subversion<br />
svn checkout https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk inkscape</p></blockquote>
<p>A alternative way to subversion is getting sources from <a href="http://inkscape.modevia.com/svn-snap/?M=D">here</a>. Those are tarballs built every hour after someone change something in the development repositories. Download a tarball, and decompress it on your home folder.</p>
<p>Install all tools we need to compile Inkscape, this should fits:</p>
<blockquote><p>sudo apt-get install autotools-dev fakeroot dh-make build-essential autoconf automake intltool libglib2.0-dev libpng12-dev libgc-dev libfreetype6-dev liblcms1-dev libgtkmm-2.4-dev libxslt1-dev libboost-dev libpopt-dev libgsl0ldbl libgsl0-dev libgsl0-dbg libgnome-vfsmm-2.6-dev libssl-dev libmagick++9-dev libwpg-dev</p></blockquote>
<p>Enter in the directory with the Inkscape source and do:</p>
<blockquote><p>./autogen.sh<br />
mkdir build<br />
cd build<br />
../configure<br />
make<br />
sudo make install</p></blockquote>
<p>In both cases, grabbing sources via svn or via apt, or can set the place where the software will be installed so it not cause conflicts with you already installed version of Inkscape. You can do that replacing the <em>./configure</em> step with something like:</p>
<blockquote><p>./configure &#8211;prefix=/home/yourname/inkscape</p></blockquote>
<p>If you had some trouble in one of those steps, consider reading some of those other tutorials:</p>
<ul>
<li><a href="http://www.inkscape.org/wiki/index.php/CompilingInkscape">http://www.inkscape.org/wiki/index.php/CompilingInkscape</a></li>
<li><a href="http://www.inkscape.org/wiki/index.php/CompilingUbuntu">http://www.inkscape.org/wiki/index.php/CompilingUbuntu</a></li>
<li><a href="https://help.ubuntu.com/community/CompilingEasyHowTo">https://help.ubuntu.com/community/CompilingEasyHowTo</a></li>
</ul>
<p><small><strong>ps:</strong> thanks guys from the inkscape-devel@lists.sourceforge.net specially heathenx.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://silveiraneto.net/2008/08/04/compiling-inkscape/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

