<?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>JD&#039;s Blog &#187; Filezilla</title>
	<atom:link href="http://www.jdsblog.it/tag/filezilla/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jdsblog.it</link>
	<description>no, Scrubs non c&#039;entra proprio niente.</description>
	<lastBuildDate>Mon, 22 Feb 2010 16:08:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tema Human per FileZilla</title>
		<link>http://www.jdsblog.it/informatica/1174/tema-human-per-filezilla/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tema-human-per-filezilla</link>
		<comments>http://www.jdsblog.it/informatica/1174/tema-human-per-filezilla/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 16:13:34 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[Filezilla]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[terminale]]></category>

		<guid isPermaLink="false">http://www.jdsblog.it/?p=1174</guid>
		<description><![CDATA[Guida su come installare un tema con set di icone Human in FileZilla]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-236" title="Logo Ubuntu" src="http://www.jdsblog.it/wp-content/uploads/2009/06/UbuntuLogo.png" alt="Logo Ubuntu" width="64" height="64" />In questi giorni ho cambiato client FTP: ho sostituito GFTP con FileZilla.</p>
<p>Non ho ancora avuto modo di provarlo a fondo, ma mi sembra gestire meglio il trasferimento di grandi quantità di file (che in genere mette in crisi GFTP).</p>
<p>Una delle cose che però proprio non mi piace di FileZilla è il discutibile set di icone del tema predefinito:</p>
<p><img class="aligncenter size-full wp-image-1175" title="filezilla-classic-theme" src="http://www.jdsblog.it/wp-content/uploads/2009/12/filezilla-classic-theme.png" alt="filezilla-classic-theme" width="613" height="121" />Non mi ritengo un maniaco del design (utilizzo il tema di default di Ubuntu!) ma queste icone proprio non riesco a guardarle  <img src='http://www.jdsblog.it/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  .<span id="more-1174"></span></p>
<p>Cercando su google non si trova molto, però insistendo sono giunto a <a href="http://www.gnome-look.org/content/show.php/Humanity+FileZilla?content=114893" target="_blank">questa</a> pagina, dove è possibile scaricare un tema ispirato allo Human di Ubuntu:</p>
<p><img class="aligncenter size-full wp-image-1176" title="filezilla-human-theme" src="http://www.jdsblog.it/wp-content/uploads/2009/12/filezilla-human-theme.png" alt="filezilla-human-theme" width="613" height="121" />Tutta un&#8217;altra cosa <img src='http://www.jdsblog.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Purtroppo, per quanto so io, FileZilla non consente l&#8217;installazione di temi direttamente sulla home dell&#8217;utente, pertanto si è costretti a copiare i files del tema nella directory <span style="font-family: courier new,courier;">/usr/share/filezilla/resources</span>.</p>
<p>Per semplificare le cose ho scritto un piccolo script bash che installa automaticamente il tema:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<br />
<span style="color: #007800;">DIRDEST</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>filezilla<span style="color: #000000; font-weight: bold;">/</span>resources<br />
<span style="color: #007800;">DIRTHEME</span>=humanity<br />
<br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$EUID</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><br />
<span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Lo script richiede l'esecuzione con i permessi di root.&quot;</span> <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span><br />
&nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">777</span> .<span style="color: #000000; font-weight: bold;">/`</span><span style="color: #c20cb9; font-weight: bold;">basename</span> <span style="color: #007800;">$0</span><span style="color: #000000; font-weight: bold;">`</span><br />
&nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/`</span><span style="color: #c20cb9; font-weight: bold;">basename</span> <span style="color: #007800;">$0</span><span style="color: #000000; font-weight: bold;">`</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span><br />
<span style="color: #000000; font-weight: bold;">else</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Permessi di root: OK&quot;</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$DIRDEST</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Errore: la directory <span style="color: #007800;">$DIRDEST</span> non esiste&quot;</span><br />
&nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span><br />
<span style="color: #000000; font-weight: bold;">fi</span><br />
<br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-vR</span> <span style="color: #007800;">$DIRTHEME</span> <span style="color: #007800;">$DIRDEST</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Installazione terminata&quot;</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></div></div>
<p>È possibile scaricarlo, assieme a tutti i files grafici, a questo indirizzo:</p>
<div class='stb-download_box' >Tema Human per FileZilla: <a href="http://dl.dropbox.com/u/202594/varie/filezilla-human-theme.tar.gz" target="_blank">http://dl.dropbox.com/u/202594/varie/filezilla-human-theme.tar.gz</a></div>
<p>Scaricato il file si dovrà decomprimerlo e recarsi nella directory dove sono presenti i files estratti.</p>
<p>A questo punto per installarlo si può utilizzare lo script che ho creato:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.<span style="color: #000000; font-weight: bold;">/</span>install.sh</div></div>
<p>o procedere con la semplice copia manuale dei files:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> humanity <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>filezilla<span style="color: #000000; font-weight: bold;">/</span>resources</div></div>
<p>Copiati i files sarà possibile scegliere in FileZilla il nuovo tema cliccando su Modifica -&gt; Impostazioni -&gt; Temi e selezionando Humanity.</p>
<h3>Installare l&#8217;ultima versione di FileZilla</h3>
<p>Non so voi ma io ho avuto qualche difficoltà ad aggiornare la versione di FileZilla (v3.2.7.2) presente nei repo ufficiali di Ubuntu. Questo perché non esiste un repository ufficiale del progetto. Fortunatamente è possibile trovare una versione più recente (v3.3.0) sul repository di GetDeb.<br />
Le istruzioni su come aggiungere questo repository in karmic si possono trovare in <a href="http://www.jdsblog.it/informatica/1196/repository-ufficiale-getdeb-per-karmic/" target="_blank">questo</a> articolo.</p>
<p>PS</p>
<p>A chi si domandasse come mai ho creato uno script per compiere un&#8217;azione così semplice rispondo che l&#8217;ho fatto per evitare di ricercare, ad ogni installazione del tema, il percorso in cui copiare i files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jdsblog.it/informatica/1174/tema-human-per-filezilla/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
