<?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>EquinoxeFR &#187; Linux</title>
	<atom:link href="http://www.equinoxefr.org/post/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.equinoxefr.org</link>
	<description>DIY Lab</description>
	<lastBuildDate>Fri, 03 Feb 2012 08:39:55 +0000</lastBuildDate>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Archlinux: J&#8217;ai cassé mon kernel !</title>
		<link>http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/</link>
		<comments>http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 17:00:53 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Non classé]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[réparer]]></category>
		<category><![CDATA[rescue]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1378</guid>
		<description><![CDATA[A la suite d&#8217;une fausse manip lors d&#8217;une mise à jour, mon PC ne démarre plus avec archlinux. Après expertise, il s&#8217;avère que l&#8217;installation du paquet de mise à jour du noyau n&#8217;est pas allée à son terme. Le noyau ( Vmlinuz ) est à jour mais le initrd lui est trop ancien. Pour s&#8217;en &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.equinoxefr.org/wp-content/uploads/2012/01/archlinux-logo.png" rel="lightbox[1378]"><img class="aligncenter size-full wp-image-1381" title="archlinux-logo" src="http://www.equinoxefr.org/wp-content/uploads/2012/01/archlinux-logo.png" alt="" width="600" height="199" /></a></p>
<p>A la suite d&#8217;une fausse manip lors d&#8217;une mise à jour, mon PC ne démarre plus avec archlinux. Après expertise, il s&#8217;avère que l&#8217;installation du paquet de mise à jour du noyau n&#8217;est pas allée à son terme. Le noyau ( Vmlinuz ) est à jour mais le initrd lui est trop ancien.</p>
<p>Pour s&#8217;en sortir, rien de très compliqué:</p>
<p>Démarrer l&#8217;installable d&#8217;Archlinux sur un CD ou une clef USB.</p>
<p>Réglez votre clavier correctement avec la commande <em>km</em>, c&#8217;est plus facile ensuite <img src='http://www.equinoxefr.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Montez votre partition root</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>recup
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1 <span style="color: #000000; font-weight: bold;">/</span>recup</pre></div></div>

<p>Mettez à jour le mtab de la partition root</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> rootfs <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>mounts <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mtab</pre></div></div>

<p>Montez ensuite les filesystem spéciaux</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>proc <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>proc
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>dev <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>dev
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>sys <span style="color: #000000; font-weight: bold;">/</span>recup<span style="color: #000000; font-weight: bold;">/</span>sys</pre></div></div>

<p>Un petit chroot</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chroot</span> <span style="color: #000000; font-weight: bold;">/</span>recup
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>Vous pouvez retrouver les derniers paquets installés dans <em>/var/cache/pacman/pkg/</em> et en réinstaller un avec <em>pacman -U XXX.pkg.tar.gz</em>, pour moi se sera <em>linux-3.1.7-1-x86_64.pkg.tar.xz</em></p>
<p>Bingo ! Un redémarrage plus tard, tout refonctionne. J&#8217;ai trouvé après coup une doc similaire ici <a href="http://wiki.archlinux.fr/Install_chroot" target="_blank">http://wiki.archlinux.fr/Install_chroot</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2012/01/05/archlinux-jai-casse-mon-kernel/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compilation de RPM et erreur &#171;&#160;*** ERROR: No build ID note found&#160;&#187;</title>
		<link>http://www.equinoxefr.org/post/2012/01/04/compilation-de-rpm-et-erreur-error-no-build-id-note-found/</link>
		<comments>http://www.equinoxefr.org/post/2012/01/04/compilation-de-rpm-et-erreur-error-no-build-id-note-found/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 10:25:25 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[rpmbuild]]></category>
		<category><![CDATA[spec]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1364</guid>
		<description><![CDATA[Si vous avez des erreurs &#171;&#160;*** ERROR: No build ID note found&#160;&#187; lors de la construction de paquets RPM ( J&#8217;utilise ici une Centos 6.2 x64 ) ça vient du script find-debuginfo.sh + /usr/bin/install -d /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install + /bin/cp -R ./FILES ./Makefile.PL ./apps ./bin ./doc ./etc ./installer ./lib ./man ./resources ./vmware-install.pl ./yes /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install + /usr/lib/rpm/find-debuginfo.sh --strict-build-id &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2012/01/04/compilation-de-rpm-et-erreur-error-no-build-id-note-found/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Si vous avez des erreurs &laquo;&nbsp;<em>*** ERROR: No build ID note found</em>&nbsp;&raquo; lors de la construction de paquets RPM ( J&#8217;utilise ici une Centos 6.2 x64 ) ça vient du script <strong>find-debuginfo.sh</strong></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">+ /usr/bin/install -d /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install
+ /bin/cp -R ./FILES ./Makefile.PL ./apps ./bin ./doc ./etc ./installer ./lib ./man ./resources ./vmware-install.pl ./yes /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/build/rpm/BUILD/vmware-vsphere-sdk-4.0.0.161974
*** ERROR: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/XML-LibXML-1.63/lib/auto/XML/LibXML/LibXML.so
erreur: Mauvais status de sortie pour /home/build/rpm/tmp/rpm-tmp.3M3FWw (%install)
    Mauvais status de sortie pour /home/build/rpm/tmp/rpm-tmp.3M3FWw (%install)
Exécution_de(%prep): /bin/sh -e /home/build/rpm/tmp/rpm-tmp.ilG9fL</pre></div></div>

<p>Vous pouvez passer outre en ajoutant la directive</p>
<p><strong><code>%undefine _missing_build_ids_terminate_build</code></strong></p>
<p><strong><code></code></strong> au début de votre fichier SPEC. Voici un extrait de mon fichier:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">%</span>undefine _missing_build_ids_terminate_build
Name:           vmware-vsphere-sdk
Version:        4.0.0.161974
Release:        <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>?dist<span style="color: #7a0874; font-weight: bold;">&#125;</span>
Summary:       Vmware SDK <span style="color: #000000; font-weight: bold;">for</span> Perl</pre></div></div>

<p>L&#8217;erreur précédente devient qu&#8217;un simple Warning sans incidence.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">+ /usr/bin/install -d /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install
+ /bin/cp -R ./FILES ./Makefile.PL ./apps ./bin ./doc ./etc ./installer ./lib ./man ./resources ./vmware-install.pl ./yes /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install
+ /usr/lib/rpm/find-debuginfo.sh /home/build/rpm/BUILD/vmware-vsphere-sdk-4.0.0.161974
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/XML-LibXML-1.63/lib/auto/XML/LibXML/LibXML.so
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/Compress-Raw-Zlib-2.005/lib/auto/Compress/Raw/Zlib/Zlib.so
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/Data-Dumper-2.121/lib/auto/Data/Dumper/Dumper.so
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/UUID-0.03/lib/auto/UUID/UUID.so
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/bin/libcrypto.so.0.9.8
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/bin/libssl.so.0.9.8
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/Class-MethodMaker-2.10/lib/auto/Class/MethodMaker/MethodMaker.so
*** WARNING: No build ID note found in /home/build/rpm/BUILDROOT/vmware-vsphere-sdk-4.0.0.161974-2.el6.x86_64/usr/local/vmware-sdk-install/lib/XML-LibXML-Common-0.13/lib/auto/XML/LibXML/Common/Common.so</pre></div></div>

<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2012/01/04/compilation-de-rpm-et-erreur-error-no-build-id-note-found/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Agent d&#8217;inventaire OCS-NG et clients légers</title>
		<link>http://www.equinoxefr.org/post/2011/12/27/agent-dinventaire-ocs-ng-et-clients-legers/</link>
		<comments>http://www.equinoxefr.org/post/2011/12/27/agent-dinventaire-ocs-ng-et-clients-legers/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 11:07:14 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[agent]]></category>
		<category><![CDATA[Embarqué]]></category>
		<category><![CDATA[inventaire]]></category>
		<category><![CDATA[ocs-ng]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[t5tux]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1354</guid>
		<description><![CDATA[Depuis quelques années nous utilisons des clients légers HP pour lesquels nous avons développé une image sous linux (t5tux). Cette drôle d&#8217;idée présente de nombreux avantages: On ne dépend de personne pour les mises à jour des client ( RDP, Citrix et autres&#8230; ). Cette image a été faite quand HP ne proposait pas linux &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2011/12/27/agent-dinventaire-ocs-ng-et-clients-legers/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/12/t5.jpg" rel="lightbox[1354]"><img class="aligncenter size-full wp-image-1355" title="t5" src="http://www.equinoxefr.org/wp-content/uploads/2011/12/t5.jpg" alt="" width="220" height="220" /></a></p>
<p>Depuis quelques années nous utilisons des clients légers HP pour lesquels nous avons développé une image sous linux (<a href="http://linuxfr.org/news/naissance-de-t5tux">t5tux</a>). Cette drôle d&#8217;idée présente de nombreux avantages:</p>
<ul>
<li>On ne dépend de personne pour les mises à jour des client ( RDP, Citrix et autres&#8230; ).</li>
<li>Cette image a été faite quand HP ne proposait pas linux sur ses clients légers.</li>
<li>La même image fonctionne sur plusieurs générations de clients.</li>
<li>La config est téléchargée en TFTP.</li>
<li>L&#8217;image se met à jour toute seule avec PXE.</li>
<li>On apprend plein de choses&#8230;</li>
</ul>
<p>Bref&#8230; l&#8217;histoire continue avec un nouveau problème: inventorier ces postes avec <a href="http://www.ocsinventory-ng.org/en/" target="_blank">OCS-NG</a>.</p>
<p>OCS dispose d&#8217;un agent d&#8217;inventaire pour linux mais celui-ci est assez lourd. De plus, il dispose d&#8217;un grand nombre de fonctionnalités inutiles dans notre cas. Nous souhaitons un minimum d&#8217;infos: numéro de série, model, ip, mac&#8230;</p>
<p>La communication entre l&#8217;agent et le serveur se fait avec un fichier XML compressé ou non avec ZLIB et transmis dans une reqûete de type POST. Pourquoi ne pas générer un XML minimaliste et l&#8217;envoyer nous même ?</p>
<p>Un simple script bash, épaulé de quelques utilitaires: dmidecode, busybox, wget fera l&#8217;affaire.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #666666; font-style: italic;">#! /bin/sh</span>
&nbsp;
<span style="color: #007800;">model</span>=<span style="color: #000000; font-weight: bold;">`/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>dmidecode <span style="color: #660033;">-s</span> system-product-name<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">type</span>=<span style="color: #000000; font-weight: bold;">`/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>dmidecode <span style="color: #660033;">-s</span> baseboard-product-name<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">bytes</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">free</span> <span style="color: #660033;">-k</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> Mem <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{ print $2 }'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">memory</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">$bytes</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1024</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">bytes</span>=<span style="color: #000000; font-weight: bold;">`</span>fdisk <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> Disk <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> da <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-f2</span> -d, <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{ print $1 }'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">disk</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">$bytes</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1024</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1024</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">serial</span>=<span style="color: #000000; font-weight: bold;">`/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>dmidecode <span style="color: #660033;">-s</span> system-serial-number<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">hwaddr</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> eth0 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> HWaddr <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">&quot;s/.*HWaddr \(.*\)/\1/&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">ip</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ifconfig</span> eth0 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;inet addr&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">&quot;s/.*addr:\(.*\) B.*/\1/&quot;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">tag</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">hostname</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-f1</span> -d-<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">hostname</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">hostname</span><span style="color: #000000; font-weight: bold;">`</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Model: <span style="color: #007800;">$model</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Ram: <span style="color: #007800;">$memory</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Disk: <span style="color: #007800;">$disk</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Serial: <span style="color: #007800;">$serial</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Mac: <span style="color: #007800;">$hwaddr</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;ip: <span style="color: #007800;">$ip</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;tag: <span style="color: #007800;">$tag</span>&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;hostname: <span style="color: #007800;">$hostname</span>&quot;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">&lt;&lt;</span> EOF <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>inventory.xml
<span style="color: #000000; font-weight: bold;">&lt;</span>?xml <span style="color: #007800;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #007800;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span>?<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>REQUEST<span style="color: #000000; font-weight: bold;">&gt;</span>
  <span style="color: #000000; font-weight: bold;">&lt;</span>CONTENT<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;</span>ACCOUNTINFO<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>KEYNAME<span style="color: #000000; font-weight: bold;">&gt;</span>TAG<span style="color: #000000; font-weight: bold;">&lt;/</span>KEYNAME<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>KEYVALUE<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$tag</span><span style="color: #000000; font-weight: bold;">&lt;/</span>KEYVALUE<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;/</span>ACCOUNTINFO<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;</span>BIOS<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>ASSETTAG<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$serial</span><span style="color: #000000; font-weight: bold;">&lt;/</span>ASSETTAG<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>BMANUFACTURER<span style="color: #000000; font-weight: bold;">&gt;</span>Hewlett-Packard<span style="color: #000000; font-weight: bold;">&lt;/</span>BMANUFACTURER<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>MMANUFACTURER<span style="color: #000000; font-weight: bold;">&gt;</span>Hewlett-Packard<span style="color: #000000; font-weight: bold;">&lt;/</span>MMANUFACTURER<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>MSN<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$serial</span><span style="color: #000000; font-weight: bold;">&lt;/</span>MSN<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>SMANUFACTURER<span style="color: #000000; font-weight: bold;">&gt;</span>Hewlett-Packard<span style="color: #000000; font-weight: bold;">&lt;/</span>SMANUFACTURER<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>SMODEL<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$model</span> - <span style="color: #007800;">$type</span><span style="color: #000000; font-weight: bold;">&lt;/</span>SMODEL<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>SSN<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$serial</span><span style="color: #000000; font-weight: bold;">&lt;/</span>SSN<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;/</span>BIOS<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;</span>HARDWARE<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>CHECKSUM<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">131071</span><span style="color: #000000; font-weight: bold;">&lt;/</span>CHECKSUM<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>MEMORY<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$memory</span><span style="color: #000000; font-weight: bold;">&lt;/</span>MEMORY<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>NAME<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$hostname</span><span style="color: #000000; font-weight: bold;">&lt;/</span>NAME<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>OSCOMMENTS<span style="color: #000000; font-weight: bold;">&gt;</span>T5TUX<span style="color: #000000; font-weight: bold;">&lt;/</span>OSCOMMENTS<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>OSNAME<span style="color: #000000; font-weight: bold;">&gt;</span>t5tux<span style="color: #000000; font-weight: bold;">&lt;/</span>OSNAME<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>VMSYSTEM<span style="color: #000000; font-weight: bold;">&gt;</span>Physical<span style="color: #000000; font-weight: bold;">&lt;/</span>VMSYSTEM<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;/</span>HARDWARE<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;</span>NETWORKS<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>DESCRIPTION<span style="color: #000000; font-weight: bold;">&gt;</span>eth0<span style="color: #000000; font-weight: bold;">&lt;/</span>DESCRIPTION<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>IPADDRESS<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$ip</span><span style="color: #000000; font-weight: bold;">&lt;/</span>IPADDRESS<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>MACADDR<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$hwaddr</span><span style="color: #000000; font-weight: bold;">&lt;/</span>MACADDR<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>TYPE<span style="color: #000000; font-weight: bold;">&gt;</span>Ethernet<span style="color: #000000; font-weight: bold;">&lt;/</span>TYPE<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;/</span>NETWORKS<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;</span>STORAGES<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>DESCRIPTION<span style="color: #000000; font-weight: bold;">&gt;</span>FLASH<span style="color: #000000; font-weight: bold;">&lt;/</span>DESCRIPTION<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>DISKSIZE<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$disk</span><span style="color: #000000; font-weight: bold;">&lt;/</span>DISKSIZE<span style="color: #000000; font-weight: bold;">&gt;</span>
      <span style="color: #000000; font-weight: bold;">&lt;</span>TYPE<span style="color: #000000; font-weight: bold;">&gt;</span>disk<span style="color: #000000; font-weight: bold;">&lt;/</span>TYPE<span style="color: #000000; font-weight: bold;">&gt;</span>
    <span style="color: #000000; font-weight: bold;">&lt;/</span>STORAGES<span style="color: #000000; font-weight: bold;">&gt;</span>
  <span style="color: #000000; font-weight: bold;">&lt;/</span>CONTENT<span style="color: #000000; font-weight: bold;">&gt;</span>
  <span style="color: #000000; font-weight: bold;">&lt;</span>DEVICEID<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$hostname</span>-<span style="color: #000000;">9999</span>-01-01-01-01-01<span style="color: #000000; font-weight: bold;">&lt;/</span>DEVICEID<span style="color: #000000; font-weight: bold;">&gt;</span>
  <span style="color: #000000; font-weight: bold;">&lt;</span>QUERY<span style="color: #000000; font-weight: bold;">&gt;</span>INVENTORY<span style="color: #000000; font-weight: bold;">&lt;/</span>QUERY<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>REQUEST<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
EOF
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">--post-file</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>inventory.xml http:<span style="color: #000000; font-weight: bold;">//</span>ocs-ng.xxxx.fr<span style="color: #000000; font-weight: bold;">/</span>ocsinventory</pre></td></tr></table></div>

<p>Quelques astuces:</p>
<ul>
<li>wget avec un &laquo;&nbsp;&#8211;post-file monfichier&nbsp;&raquo; ou curl avec un &laquo;&nbsp;&#8211;binary-data @monfichier&nbsp;&raquo; permettent de poster des données.</li>
<li>le CHECKSUM à 131071 indique que toutes les données sont modifiées. J&#8217;ai trouvé cette info sur un forum mais pas dans la doc officielle.</li>
<li>Le client léger est en lecture seule du coup le DEVICEID ne peut être stocké. La date servant à sa génération est falsifiée: &laquo;&nbsp;9999-01-01-01-01-01&#8243;</li>
</ul>
<p>Très simple et pas forcément très élégant mais ça marche très bien !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2011/12/27/agent-dinventaire-ocs-ng-et-clients-legers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[METEO] Fichiers GRIB sous Linux avec ZyGrib</title>
		<link>http://www.equinoxefr.org/post/2011/07/25/meteo-fichiers-grib-sous-linux-avec-zygrib/</link>
		<comments>http://www.equinoxefr.org/post/2011/07/25/meteo-fichiers-grib-sous-linux-avec-zygrib/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 16:46:31 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[grib]]></category>
		<category><![CDATA[meteo]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[zygrib]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1209</guid>
		<description><![CDATA[Les fichiers GRIB sont des fichiers contenant des données météo librement téléchargeable (GRIB (GRIdded Binary) is a mathematically concise data format commonly used in meteorology to store historical and forecast weather data. Source wikipedia). Ils sont souvent utilisés pour la navigation. Certains sites web comme Windguru permettent de visualiser ces données en ligne. Mais il peut s&#8217;avérer utile de disposer &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2011/07/25/meteo-fichiers-grib-sous-linux-avec-zygrib/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Les fichiers GRIB sont des fichiers contenant des données météo librement téléchargeable (GRIB (GRIdded Binary) is a mathematically concise data format commonly used in <a title="Meteorology" href="http://en.wikipedia.org/wiki/Meteorology">meteorology</a> to store historical and <a title="Weather forecast" href="http://en.wikipedia.org/wiki/Weather_forecast">forecast</a> weather data.<span style="font-size: xx-small;"><em> Source wikipedia</em></span>). Ils sont souvent utilisés pour la navigation. Certains sites web comme <a href="http://www.windguru.cz/fr/" target="_blank">Windguru</a> permettent de visualiser ces données en ligne. Mais il peut s&#8217;avérer utile de disposer d&#8217;un logiciel permettant de télécharger et d&#8217;utiliser ces données hors ligne. Il existe <a href="http://www.zygrib.org/" target="_blank">ZyGrib</a> disponible pour Linux, Windows et MacOS.</p>
<p>L&#8217;installation est simple:</p>
<ul>
<li>Pour Archlinux:<em> yaourt -S zygrib zygrib-maps</em> (Avec les dépots AUR activés)</li>
<li>Pour Ubuntu / Debian: Les paquets sont disponibles <a href="http://www.zygrib.org/index.php?page=download" target="_blank">ici</a></li>
</ul>
<p><span>Des cartes plus détaillées sont disponibles sur le site de zygrib.</span></p>
<div>Lors de son lancement, le logiciel affiche un fond de carte. Vous pouvez alors vous déplacer/zoomer vers la zone qui vous intéresse.</div>
<div><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/001_zyGrib-5.0.2.png" rel="lightbox[1209]"><img class="aligncenter size-large wp-image-1216" title="001_zyGrib-5.0.2" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/001_zyGrib-5.0.2-1024x619.png" alt="" width="590" height="356" /></a>Sélectionnez à l&#8217;aide de la souris la zone pour laquelle vous souhaitez télécharger les données météo.</div>
<div><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/002_zyGrib-5.0.2.png" rel="lightbox[1209]"><img class="aligncenter size-large wp-image-1217" title="002_zyGrib-5.0.2" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/002_zyGrib-5.0.2-1024x619.png" alt="" width="590" height="356" /></a>Cliquez ensuite sur l&#8217;icône représentant une &laquo;&nbsp;terre&nbsp;&raquo;. Une boite de dialogue permettant d&#8217;affiner les données à télécharger va s&#8217;ouvrir.</div>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/003_Téléchargement-GRIB.png" rel="lightbox[1209]"><img class="aligncenter size-full wp-image-1219" title="003_Téléchargement - GRIB" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/003_Téléchargement-GRIB.png" alt="" width="568" height="483" /></a>Réglez les différents paramètres comme vous le souhaitez. Pensez aussi à changer la durée des prévisions, qui peut aller de 1 à 8 jours.</p>
<p>Pour ceux qui le souhaitent, des informations sur les vagues sont aussi disponibles dans le dernier onglet.</p>
<div><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/004_Téléchargement-GRIB.png" rel="lightbox[1209]"><img class="aligncenter size-full wp-image-1221" title="004_Téléchargement - GRIB" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/004_Téléchargement-GRIB.png" alt="" width="568" height="483" /></a></div>
<p>Lancez le téléchargement et patientez quelques instants. Vous avez ensuite une magnifique carte des données météo. Vous pouvez afficher les informations précises concernant une zone à l&#8217;aide de la souris.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/006_zyGrib-5.0.2-20110725_142742_.grb_.bz2_.png" rel="lightbox[1209]"><img class="aligncenter size-large wp-image-1223" title="006_zyGrib-5.0.2 - 20110725_142742_.grb.bz2" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/006_zyGrib-5.0.2-20110725_142742_.grb_.bz2_-1024x619.png" alt="" width="590" height="356" /></a>Un clic droit sur une zone de la carte permet d&#8217;afficher les prévisions sous forme de tableau, ce qui est très utile.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/007_-44°3624N-001°2530W.png" rel="lightbox[1209]"><img class="aligncenter size-large wp-image-1224" title="007_ 44°36'24&quot;N  001°25'30&quot;W" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/007_-44°3624N-001°2530W-1024x487.png" alt="" width="590" height="280" /></a>Le menu &laquo;&nbsp;<strong>Données</strong>&nbsp;&raquo; permet d&#8217;afficher différentes données sur la carte.</p>
<ul>
<li>La couverture nuageuse</li>
</ul>
<p>&nbsp;</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/008_zyGrib-5.0.2-20110725_143124_.grb_.bz2_.png" rel="lightbox[1209]"><img class="aligncenter size-large wp-image-1225" title="008_zyGrib-5.0.2 - 20110725_143124_.grb.bz2" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/008_zyGrib-5.0.2-20110725_143124_.grb_.bz2_-1024x619.png" alt="" width="590" height="356" /></a></p>
<ul>
<li>Les précipitations</li>
</ul>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/009_zyGrib-5.0.2-20110725_143124_.grb_.bz2_.png" rel="lightbox[1209]"><img class="aligncenter size-large wp-image-1226" title="009_zyGrib-5.0.2 - 20110725_143124_.grb.bz2" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/009_zyGrib-5.0.2-20110725_143124_.grb_.bz2_-1024x619.png" alt="" width="590" height="356" /></a></p>
<ul>
<li>Le vent</li>
</ul>
<div><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/010_zyGrib-5.0.2-20110725_143124_.grb_.bz2_.png" rel="lightbox[1209]"><img class="aligncenter size-large wp-image-1227" title="010_zyGrib-5.0.2 - 20110725_143124_.grb.bz2" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/010_zyGrib-5.0.2-20110725_143124_.grb_.bz2_-1024x619.png" alt="" width="590" height="356" /></a></div>
<p>Comble du raffinement, on peut afficher les données météo de la période sous forme d&#8217;animation. Cette animation peut même être exportée sous forme de série d&#8217;images. Vous pourrez alors les convertir en video avec ffmpeg.</p>
<pre>ffmpeg -r 3 -i test_%03d.jpg -b 2000k -r 25 -vcodec mpeg4 -sameq test.mp4</pre>
<p>Ce qui donne ceci: <a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/test.mp4">test</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2011/07/25/meteo-fichiers-grib-sous-linux-avec-zygrib/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
<enclosure url="http://www.equinoxefr.org/wp-content/uploads/2011/07/test.mp4" length="7463594" type="video/mp4" />
		</item>
		<item>
		<title>Créez des &#171;&#160;routes&#160;&#187; pour GPS Garmin avec Viking sous Linux</title>
		<link>http://www.equinoxefr.org/post/2011/07/25/gerer-votre-gps-garmin-sous-linux-avec-viking/</link>
		<comments>http://www.equinoxefr.org/post/2011/07/25/gerer-votre-gps-garmin-sous-linux-avec-viking/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 11:57:46 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[garmin]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[gpsbabel]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[viking]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1181</guid>
		<description><![CDATA[Sous linux, la véritable trousse à outil du GPS c&#8217;est l&#8217;excellent gpsbabel. Il permet de transférer, transformer, filtrer toutes sortes de données provenant de nos GPS. Par contre, pour préparer un trajet et créer une route ou pour visualiser ses données sur une carte &#171;&#160;hors ligne&#160;&#187; ce n&#8217;est pas le bon outil. C&#8217;est là qu&#8217;intervient &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2011/07/25/gerer-votre-gps-garmin-sous-linux-avec-viking/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Sous linux, la véritable trousse à outil du GPS c&#8217;est l&#8217;excellent <a href="http://www.gpsbabel.org/" target="_blank">gpsbabel</a>. Il permet de transférer, transformer, filtrer toutes sortes de données provenant de nos GPS. Par contre, pour préparer un trajet et créer une route ou pour visualiser ses données sur une carte &laquo;&nbsp;hors ligne&nbsp;&raquo; ce n&#8217;est pas le bon outil. C&#8217;est là qu&#8217;intervient <a href="http://sourceforge.net/apps/mediawiki/viking/index.php?title=Main_Page" target="_blank">Viking</a>, il permet d&#8217;afficher les informations provenant de votre GPS sur des fonds de carte <a href="http://www.openstreetmap.org/" target="_blank">openstreetmap</a> et surtout de préparer vos trajets en planifiant des routes.</p>
<p>Ces 2 logiciels sont fournis avec de nombreuses distribution. L&#8217;installation se résume à:</p>
<ul>
<li>pour Archlinux: <span style="background-color: #ffffff;"><em>yaourt -S viking gpsbabel</em></span></li>
<li>pour Ubuntu:<span style="background-color: #ffffff;"><em> apt-get install <em>viking gpsbabel</em></em></span></li>
<li>pour Fedora:<span style="background-color: #ffffff;"><em><em> yum -y install <em>viking gpsbabel</em></em></em></span></li>
</ul>
<p><span style="font-size: x-small;"><em><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_001.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1186" title="SansTitre - Viking_001" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_001.png" alt="" width="1002" height="774" /></a></em></span>Viking est très simple d&#8217;emploi, son usage essentiel se résume à l&#8217;import / export de données GPS et à l&#8217;ajout de calques représentant des fonds cartographiques.</p>
<p>Une fois le logiciel lancé, ajoutons un fond de carte avec le menu <strong>&laquo;&nbsp;Nouveau calque &laquo;&nbsp;Map&nbsp;&raquo;"</strong><br />
<a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_003.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1190" title="SansTitre - Viking_003" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_003.png" alt="" width="1002" height="774" /></a>Le logiciel propose différents fonds de cartes, la plupart basés sur les données openstreetmap. Nous choisirons ici le type de carte par défaut et nous demanderons le<strong> &laquo;&nbsp;téléchargement automatique&nbsp;&raquo;</strong> des cartes.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/Propriétés-du-calque_004.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1192" title="Propriétés du calque_004" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/Propriétés-du-calque_004.png" alt="" width="413" height="231" /></a></p>
<p>Nous avons maintenant une carte à l&#8217;écran. Pour la manipuler, on peut utiliser la <strong>routette de la souris</strong> pour zoomer et les touches<strong> CTRL + Flèches</strong> pour se déplacer sur la carte. Des outils de recherche de lieux sont aussi disponibles dans le menu <strong>&laquo;&nbsp;Vue&nbsp;&raquo;</strong> / <strong>&laquo;&nbsp;Aller à la position&nbsp;&raquo;</strong>.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_005.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1195" title="SansTitre - Viking_005" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_005.png" alt="" width="1002" height="774" /></a>Nous allons maintenant ajouter une couche avec les données GPS. Pour cela allez dans le menu <strong>&laquo;&nbsp;Nouveau calque &laquo;&nbsp;GPS&nbsp;&raquo;"</strong>.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_006.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1196" title="SansTitre - Viking_006" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_006.png" alt="" width="1002" height="774" /></a></p>
<p>Sélectionnez alors votre marque de GPS (ici Garmin) avec le protocole de communication (ici USB:).</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/Propriétés-du-calque_007.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1197" title="Propriétés du calque_007" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/Propriétés-du-calque_007.png" alt="" width="413" height="310" /></a>Dans la liste des calques sur la gauche, sélectionnez la couche<strong> &laquo;&nbsp;traces&nbsp;&raquo;</strong>. Vous avez alors 2 icônes pour dessiner des traces sur le fond de carte.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_008.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1198" title="SansTitre - Viking_008" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_008.png" alt="" width="1002" height="774" /></a>Utilisez l<strong>&#8216;icone verte </strong>ou<strong> orange</strong>, peu importe, pour commencer votre trace. Donnez un nom à la route que vous souhaitez charger dans votre GPS.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/Ajouter-une-trace_009.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1199" title="Ajouter une trace_009" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/Ajouter-une-trace_009.png" alt="" width="192" height="104" /></a></p>
<p>A chaque changement de direction important, cliquez avec le<strong> bouton gauche</strong> sur la carte pour tracer votre route. Un<strong> clic droit</strong> efface le dernier point de la trace.</p>
<p>&nbsp;</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_010.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1201" title="SansTitre - Viking_010" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_010.png" alt="" width="1002" height="774" /></a>Une fois votre trajet défini, vous pouvez exporter cette trace au format GPX.</p>
<p>&nbsp;</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_011.png" rel="lightbox[1181]"><img class="aligncenter size-full wp-image-1202" title="SansTitre - Viking_011" src="http://www.equinoxefr.org/wp-content/uploads/2011/07/SansTitre-Viking_011.png" alt="" width="1002" height="774" /></a></p>
<p>Maintenant que notre trace est exportée, nous avons un fichier GPX compatible avec notre GPS. Nous aurions pu l&#8217;exporter vers le GPS directement depuis Viking mais le fichier est au format &laquo;&nbsp;trace&nbsp;&raquo; et non &laquo;&nbsp;route&nbsp;&raquo;, notre GPS ne gérera donc pas le routage ! C&#8217;est là que le génialissime gpsbabel est utile. Nous allons appliquer un filtre au fichier GPX qui va transformer la trace en route et l&#8217;envoyer directement au GPS.</p>
<p>&nbsp;</p>
<pre>gpsbabel -w -r -t -i gpx -f test.gpx -x transform,rte=trk \</pre>
<pre>-x simplify,count=500 -o garmin -F usb:</pre>
<p>&laquo;&nbsp;count=500&#8243; permet de &laquo;&nbsp;simplifier&nbsp;&raquo; la route en limitant le nombre de points pour les traces très longues.</p>
<p>&nbsp;</p>
<p>Si jamais vous trouviez les cartes d&#8217;openstreetmap incomplètes, rien ne vous empêche de <a href="http://wiki.openstreetmap.org/wiki/FR:Beginners_Guide_1.3" target="_blank">participer au projet</a> en les complétant !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2011/07/25/gerer-votre-gps-garmin-sous-linux-avec-viking/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fraiseuse CNC DIY v3 &#8211; Episode 2</title>
		<link>http://www.equinoxefr.org/post/2011/02/05/fraiseuse-cnc-diy-v3-episode-2/</link>
		<comments>http://www.equinoxefr.org/post/2011/02/05/fraiseuse-cnc-diy-v3-episode-2/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 08:43:00 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Do it]]></category>
		<category><![CDATA[Electronique]]></category>
		<category><![CDATA[Hack it]]></category>
		<category><![CDATA[CNC]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[emc2]]></category>
		<category><![CDATA[fraiseuse numérique]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[odcnc]]></category>
		<category><![CDATA[open hardware]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1048</guid>
		<description><![CDATA[Voilà la suite tant attendue ( par moi surtout ) de la construction de ma fraiseuse numérique. La voilà presque terminée. il me reste 1 moteur à câbler et la vis sans fin de l&#8217;axe des X à installer, tout le reste est en place. On est bien loin de l&#8217;épisode 1 avec ses quelques &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2011/02/05/fraiseuse-cnc-diy-v3-episode-2/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Voilà la suite tant attendue ( par moi surtout <img src='http://www.equinoxefr.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ) de la construction de ma fraiseuse numérique.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/02/2011-01-23-17.49.16.jpg" rel="lightbox[1048]"><img class="aligncenter size-medium wp-image-1049" title="En cours de conception" src="http://www.equinoxefr.org/wp-content/uploads/2011/02/2011-01-23-17.49.16-225x300.jpg" alt="En cours de conception" width="225" height="300" /></a>La voilà presque terminée. il me reste 1 moteur à câbler et la vis sans fin de l&#8217;axe des X à installer, tout le reste est en place. On est bien loin de l&#8217;épisode 1 avec ses quelques pièces éparses !</p>
<p><a class="tt-flickr tt-flickr-Small" title="DIY CNC Parts" href="http://www.flickr.com/photos/equinoxefr/4121878222/"><img class="alignnone" src="http://farm3.static.flickr.com/2551/4121878222_ed5a427a4c_m.jpg" alt="DIY CNC Parts" width="240" height="150" /></a></p>
<p><br class="spacer_" /></p>
<p>N&#8217;ayant pas eu le temps de faire un article à chaque étape de l&#8217;avancement de la construction, j&#8217;ai mis en place un Wiki dans lequel je vais essayer de documenter l&#8217;ensemble du projet afin d&#8217;aider ceux qui comme moi veulent se lancer dans la fabrication d&#8217;un tel outil. Le wiki est &laquo;&nbsp;ouvert&nbsp;&raquo;, si vous aussi vous construisez une machine et que voulez m&#8217;aider à documenter, je peux vous donner un accès en écriture. Pour le moment il n&#8217;y a pas grand chose, mais je compte l’enrichir régulièrement et je compte aussi sur votre aide !</p>
<p>L&#8217;adresse du projet: <a href="http://odcnc.equinoxefr.org" target="_blank">http://odcnc.equinoxefr.org</a></p>
<p><br class="spacer_" /></p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2011/02/Capture-d’écran-2011-02-05-à-09.36.58.png" rel="lightbox[1048]"><img class="aligncenter size-large wp-image-1050" title="Capture d’écran 2011-02-05 à 09.36.58" src="http://www.equinoxefr.org/wp-content/uploads/2011/02/Capture-d’écran-2011-02-05-à-09.36.58-1024x590.png" alt="" width="725" height="417" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2011/02/05/fraiseuse-cnc-diy-v3-episode-2/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Installer le client Oracle pour PHP sur Centos 5.x</title>
		<link>http://www.equinoxefr.org/post/2010/11/10/installer-le-client-oracle-pour-php-sur-centos-5-x/</link>
		<comments>http://www.equinoxefr.org/post/2010/11/10/installer-le-client-oracle-pour-php-sur-centos-5-x/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 17:15:10 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Planet-Libre]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=1012</guid>
		<description><![CDATA[Si vous souhaitez utiliser une base de données depuis PHP sur une Centos 5.x, voilà la procédure à suivre. On partira du principe que vous avez déjà installé PHP et apache. Vous devez aussi installer les outils de développement afin de pouvoir compiler PECL: yum -y groupinstall "development tools" Sur Centos 5.4 X64, les paquets &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2010/11/10/installer-le-client-oracle-pour-php-sur-centos-5-x/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Si vous souhaitez utiliser une base de données depuis PHP sur une Centos 5.x, voilà la procédure à suivre.</p>
<p>On partira du principe que vous avez déjà installé PHP et apache.</p>
<p>Vous devez aussi installer les outils de développement afin de pouvoir compiler PECL:</p>
<pre>yum -y groupinstall "development tools"
</pre>
<p>Sur Centos 5.4 X64, les paquets suivants sont installés:</p>
<pre>flex-2.5.4a-41.fc6.x86_64
gcc-4.1.2-48.el5.x86_64
redhat-rpm-config-8.0.45-32.el5.centos.noarch
strace-4.5.18-5.el5_5.5.x86_64
rpm-build-4.4.2.3-20.el5_5.1.x86_64
1:make-3.81-3.el5.x86_64
1:pkgconfig-0.21-2.el5.x86_64
gettext-0.14.6-4.el5.x86_64
gettext-0.14.6-4.el5.i386
automake-1.9.6-2.3.el5.noarch
gdb-7.0.1-23.el5_5.2.x86_64
bison-2.3-2.1.x86_64
libtool-1.5.22-7.el5_4.x86_64
autoconf-2.59-12.noarch
gcc-c++-4.1.2-48.el5.x86_64
binutils-2.17.50.0.6-14.el5.x86_64
ltrace-0.5-13.45svn.el5.x86_64
diffstat-1.41-1.2.3.el5.x86_64
splint-3.1.1-16.el5.x86_64
1:valgrind-3.5.0-1.el5.x86_64
1:valgrind-3.5.0-1.el5.i386
systemtap-1.1-3.el5_5.2.x86_64
subversion-1.4.2-4.el5_3.1.x86_64
subversion-1.4.2-4.el5_3.1.i386
texinfo-4.8-14.el5.x86_64
python-ldap-2.2.0-2.1.x86_64
patchutils-0.2.31-2.2.2.x86_64
byacc-1.9-29.2.2.x86_64
gcc-gfortran-4.1.2-48.el5.x86_64
elfutils-0.137-3.el5.x86_64
rcs-5.7-30.1.x86_64
automake16-1.6.3-8.el5.1.noarch
automake17-1.7.9-7.el5.2.noarch
automake14-1.4p6-13.el5.1.noarch
automake15-1.5-16.el5.2.noarch
ctags-5.6-1.1.x86_64
dogtail-0.6.1-3.el5.noarch
swig-1.3.29-2.el5.x86_64
dev86-0.16.17-2.2.x86_64
1:doxygen-1.4.7-1.1.x86_64
indent-2.2.9-14.fc6.x86_64
cvs-1.11.22-7.el5.x86_64
pstack-1.2-7.2.2.x86_64
oprofile-0.9.4-15.el5.x86_64
cscope-15.5-15.1.el5_3.1.x86_64
</pre>
<p>Sur le site d&#8217;oracle, télécharger les paquets suivants (en RPM):</p>
<ol>
<li>oracle-instantclient11.2-basic</li>
<li>oracle-instantclient11.2-sqlplus (optionnel)</li>
<li>oracle-instantclient11.2-devel</li>
</ol>
<p>Installer les paquets fraîchement téléchargés:</p>
<pre>rpm -Uvh oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm oracle-instantclient11.2-devel-11.2.0.2.0.x86_64.rpm oracle-instantclient11.2-sqlplus-11.2.0.2.0.x86_64.rpm
</pre>
<p>Il est nécessaire d&#8217;indiquer au système le chemin des nouvelles librairies:</p>
<pre>echo "/usr/lib/oracle/11.2/client64/lib/" > /etc/ld.so.conf.d/oracle_lib.conf
ldconfig
</pre>
<p>Vous pouvez tester votre installation d&#8217;oracle en lançant <em>/usr/bin/sqlplus64</em>.</p>
<pre>SQL*Plus: Release 11.2.0.2.0 Production on Wed Nov 10 14:41:50 2010
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
Enter user-name:
</pre>
<p><br class="spacer_" /></p>
<p>Ensuite on va installer OCI8 à l&#8217;aide de PECL:</p>
<p>Si vous passez par un proxy HTTP, configurez PECL comme suit:</p>
<pre>pear config-set http_proxy http://proxy.xxx:3128</pre>
<p>Lancez l&#8217;installation proprement dite.</p>
<pre>pecl install oci8</pre>
<p>L&#8217;installation se lance. A la question &laquo;&nbsp;<em>Please provide the path to the ORACLE_HOME directory. Use &#8216;instantclient,/path/to/instant/client/lib&#8217; if you&#8217;re compiling with Oracle Instant Client [autodetect] :</em>&laquo;&nbsp;, donnez le chemin où est installé le client oracle, ici:<em> instantclient,/usr/lib/oracle/11.2/client64/lib</em></p>
<pre>downloading oci8-1.4.3.tgz ...
Starting to download oci8-1.4.3.tgz (153,515 bytes)
............done: 153,515 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : instantclient,/usr/lib/oracle/11.2/client64/lib
building in /var/tmp/pear-build-root/oci8-1.4.3
running: /tmp/tmppNXlUK/oci8-1.4.3/configure --with-oci8=instantclient,/usr/lib/oracle/11.2/client64/lib
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes

...
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
running: make INSTALL_ROOT="/var/tmp/pear-build-root/install-oci8-1.4.3" install
Installing shared extensions:     /var/tmp/pear-build-root/install-oci8-1.4.3/usr/lib64/php/modules/
running: find "/var/tmp/pear-build-root/install-oci8-1.4.3" -ls
4149348    4 drwxr-xr-x   3 root     root         4096 nov 10 13:38 /var/tmp/pear-build-root/install-oci8-1.4.3
4149377    4 drwxr-xr-x   3 root     root         4096 nov 10 13:38 /var/tmp/pear-build-root/install-oci8-1.4.3/usr
4149378    4 drwxr-xr-x   3 root     root         4096 nov 10 13:38 /var/tmp/pear-build-root/install-oci8-1.4.3/usr/lib64
4149379    4 drwxr-xr-x   3 root     root         4096 nov 10 13:38 /var/tmp/pear-build-root/install-oci8-1.4.3/usr/lib64/php
4149380    4 drwxr-xr-x   2 root     root         4096 nov 10 13:38 /var/tmp/pear-build-root/install-oci8-1.4.3/usr/lib64/php/modules
4149376  476 -rwxr-xr-x   1 root     root       481338 nov 10 13:38 /var/tmp/pear-build-root/install-oci8-1.4.3/usr/lib64/php/modules/oci8.so
Build process completed successfully
Installing '/var/tmp/pear-build-root/install-oci8-1.4.3//usr/lib64/php/modules/oci8.so'
install ok: channel://pecl.php.net/oci8-1.4.3
You should add "extension=oci8.so" to php.ini
</pre>
<p>Comme indiqué, il faut maintenant configurer php pour utiliser le module OCI8.</p>
<pre>echo "extension=oci8.so" > /etc/php.d/oci8.ini</pre>
<p>redémarrez apache pour prendre en compte les modifications ( <em>/etc/init.d/httpd restart</em> ) . Vous pouvez vérifier la prise en compte d&#8217;OCI en utilisant  la fonction PHP phpinfo();</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/11/oci8.png" rel="lightbox[1012]"><img class="aligncenter size-full wp-image-1028" title="oci8" src="http://www.equinoxefr.org/wp-content/uploads/2010/11/oci8.png" alt="" width="666" height="518" /></a></p>
<p>Vous pouvez maintenant profiter d&#8217;ORACLE au travers du couple PHP / APACHE.</p>
<p>La doc officielle d&#8217;installation d&#8217;OCI8 est <a href="http://www.php.net/manual/en/oci8.installation.php" target="_blank">ici</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2010/11/10/installer-le-client-oracle-pour-php-sur-centos-5-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Calibrer son écran sous Linux (Ubuntu 10.4)</title>
		<link>http://www.equinoxefr.org/post/2010/07/10/calibrer-son-ecran-sous-linux-ubuntu-10-4/</link>
		<comments>http://www.equinoxefr.org/post/2010/07/10/calibrer-son-ecran-sous-linux-ubuntu-10-4/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 14:33:52 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[10.4]]></category>
		<category><![CDATA[argyllcms]]></category>
		<category><![CDATA[datacolor]]></category>
		<category><![CDATA[dispcalGUI]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[macbook unibody]]></category>
		<category><![CDATA[Photos]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[sonde colorimétrique]]></category>
		<category><![CDATA[spyder3]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=966</guid>
		<description><![CDATA[Afin de traiter au mieux ses photos en RAW, il vaut mieux disposer d&#8217;un moniteur calibré. Pour cela il est nécessaire d&#8217;utiliser une sonde: c&#8217;est un petit périphérique USB ( On en trouve autour de 80€ ) qui vient se placer sur l&#8217;écran et qui va analyser le rendu des couleurs afin de déterminer le &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2010/07/10/calibrer-son-ecran-sous-linux-ubuntu-10-4/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 250px"><a class="tt-flickr tt-flickr-Small" title="Pop" href="http://www.flickr.com/photos/equinoxefr/4591758670/"><img src="http://farm5.static.flickr.com/4056/4591758670_071a113272_m.jpg" alt="Pop" width="240" height="240" /></a><p class="wp-caption-text">Pop</p></div>
<p>Afin de traiter au mieux ses photos en RAW, il vaut mieux disposer d&#8217;un moniteur calibré. Pour cela il est nécessaire d&#8217;utiliser une sonde: c&#8217;est un petit périphérique USB ( On en trouve autour de 80€ ) qui vient se placer sur l&#8217;écran et qui va analyser le rendu des couleurs afin de déterminer le profil colorimétrique correspondant à votre écran. Ce profil, un fichier <a href="http://fr.wikipedia.org/wiki/Profil_ICC">ICC</a>, sera utilisé par le système pour avoir un rendu de couleur très proche de la réalité et ainsi permettre de traiter au mieux ses photos. Autant avant avec des photos JPG en 8bits l&#8217;intérêt était très limité, autant maintenant avec des fichiers RAW de 14 bits, la calibration prend tout son sens.</p>
<p><br class="spacer_" /></p>
<p>Sous linux, on commence à voir apparaitre des outils pour calibrer les écrans. Parmi ces logiciels, 3 vont nous intéresser ici:</p>
<ul>
<li><a href="http://argyllcms.com/" target="_blank">Argyll</a>: Logiciel permettant de gérer un grand nombre de sondes colorimétriques. Il est indispensable au calibrage de l&#8217;écran. Son utilisation est par contre peu aisée pour les novices.</li>
</ul>
<ul>
<li><a href="http://hoech.net/dispcalGUI/" target="_blank">dispcalGUI</a>:Logiciel permettant de gérer la calibration de son écran. Il utilise Argyll pour piloter les sondes colorimétriques.</li>
<li><a href="http://projects.gnome.org/gnome-color-manager/" target="_blank">Gnome Color Manager</a>: Permet de charger un profil colorimétrique dans gnome.</li>
</ul>
<p><br class="spacer_" /></p>
<h3>Première étape: Installer Argyll</h3>
<p>Cette suite logicielle est fournie de base dans Ubuntu Lucid, il n&#8217;y a donc aucun soucis d&#8217;installation.</p>
<pre> sudo apt-get install argyll
</pre>
<p>Suivant le modèle de votre sonde, il faudra ou non importer le firmware du fabricant. Pour cela, reportez vous à la <a href="http://argyllcms.com/doc/ArgyllDoc.html" target="_blank">documentation officielle d&#8217;argyll.</a><br class="spacer_" /></p>
<h3>Deuxième étape: installer dispcalGUI</h3>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_004.png" rel="lightbox[966]"><img class="alignleft size-medium wp-image-991" title="Espace de travail 1_004" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_004-300x204.png" alt="" width="300" height="204" /></a>Ce petit logiciel n&#8217;est malheureusement pas disponible dans les dépots officiels. Par contre, l&#8217;auteur nous fourni un système d&#8217;installation fort simple basé sur autopackage.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Il suffit de se rendre à <a href="http://hoech.net/dispcalGUI/#download" target="_blank">cette addresse</a> et de télécharger le fichier<strong> .package</strong> (Linux Autopackage)</p>
<p>ensuite dans une console rendez ce fichier exécutable:</p>
<pre>chmod +x dispcalGUI-0.4.9.2.package</pre>
<p>puis lancez l&#8217;installation:</p>
<pre>./dispcalGUI-0.4.9.2.package
</pre>
<p>Suivez les étapes.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_005.png" rel="lightbox[966]"><img class="alignright size-medium wp-image-994" title="Espace de travail 1_005" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_005-300x123.png" alt="" width="300" height="123" /></a></p>
<p>Le mot de passe peut vous être demandé plusieurs fois au cours de l&#8217;installation afin de copier les fichiers dans les répertoires système.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Les pré-requis sont vérifiés puis l&#8217;installation est lancée</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_006.png" rel="lightbox[966]"><img class="aligncenter size-medium wp-image-995" title="Espace de travail 1_006" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_006-300x179.png" alt="" width="300" height="179" /></a></p>
<p><br class="spacer_" /></p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_007.png" rel="lightbox[966]"><img class="aligncenter size-medium wp-image-996" title="Espace de travail 1_007" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_007-300x176.png" alt="" width="300" height="176" /></a></p>
<p><br class="spacer_" /></p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_003.png" rel="lightbox[966]"><img class="aligncenter size-medium wp-image-993" title="Espace de travail 1_003" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Espace-de-travail-1_003-300x178.png" alt="" width="300" height="178" /></a></p>
<p>Ca y est, dispcalGUI est installé sur votre système. Il peut être lancé depuis la console avec un &laquo;&nbsp;dispcalGUI&nbsp;&raquo; ou depuis le menu &laquo;&nbsp;Graphisme&nbsp;&raquo; de gnome.</p>
<p><br class="spacer_" /></p>
<h3>Troisième étape: Installer Gnome Color Manager</h3>
<p>La paquet fait partie des dépôts de base dans Ubuntu Lucid, il n&#8217;y a donc aucun soucis d&#8217;installation.</p>
<pre> sudo apt-get install gnome-color-manager
</pre>
<p><br class="spacer_" /></p>
<p>Maintenant que toute notre chaine de calibrage est prête, lançons nous !</p>
<h3>Le calibrage</h3>
<ul>
<li>Branchez votre sonde (J&#8217;utilise une Spyder 3 Express)</li>
</ul>
<ul>
<li> Lancez dispcalGUI</li>
</ul>
<ul>
<li>Allez dans le menu &laquo;&nbsp;options&nbsp;&raquo; puis cliquez sur &laquo;&nbsp;Détecter les périphériques d&#8217;affichage est les instruments&nbsp;&raquo;</li>
</ul>
<p>Vous devez alors voir le nom de votre sonde dans la fenêtre principale. Ici la Spyder 3.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Sélection_008.png" rel="lightbox[966]"><img class="aligncenter size-medium wp-image-999" title="Sélection_008" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Sélection_008-300x24.png" alt="" width="300" height="24" /></a></p>
<p>Ne connaissant pas encore la signification de toutes les options du logiciel, j&#8217;ai préféré laisser les options par défaut. La seule modification apportée concerne la qualité du profil que j&#8217;ai poussé au maximum.</p>
<ul>
<li>Cliquez alors sur &laquo;&nbsp;calibrer et caractériser&nbsp;&raquo;. Une fenêtre s&#8217;ouvre et vous invite à placer la sonde sur la croix. Faites le et cliquez sur &laquo;&nbsp;lancer la mesure&nbsp;&raquo;.</li>
</ul>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Sélection_009.png" rel="lightbox[966]"><img class="aligncenter size-medium wp-image-1001" title="Sélection_009" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Sélection_009-289x300.png" alt="" width="289" height="300" /></a></p>
<ul>
<li>Dans le menu qui s&#8217;ouvre sur le côté, choisissez &laquo;&nbsp;Calibrer&nbsp;&raquo; en appuyant sur 7. Pour améliorer la qualité vous pouvez cocher &laquo;&nbsp;Arrière-plan noir&nbsp;&raquo; mais ce n&#8217;est pas très pratique, les derniers choix avant la calibration se faisant en aveugle.</li>
</ul>
<ul>
<li>Vous pouvez aller vous préparer un café, l&#8217;opération dure de longues minutes&#8230;</li>
</ul>
<p>Vous disposez maintenant d&#8217;un fichier ICC prêt à être utilisé dans votre logiciel de traitement de photos. Vous pouvez aussi l&#8217;utiliser dans &laquo;&nbsp;gnome color manager&nbsp;&raquo; afin qu&#8217;il soit chargé au lancement de votre session. Pour cela allez dans les préférences de gnome est lancez &laquo;&nbsp;Gestion des couleurs&nbsp;&raquo;.</p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/Sélection_010.png" rel="lightbox[966]"><img class="aligncenter size-medium wp-image-1003" title="Sélection_010" src="http://www.equinoxefr.org/wp-content/uploads/2010/07/Sélection_010-300x143.png" alt="" width="300" height="143" /></a></p>
<p>Si vous trouvez votre écran légèrement &laquo;&nbsp;jaune&nbsp;&raquo;, ne vous inquiétez pas c&#8217;est qu&#8217;il est calibré correctement !</p>
<p>J&#8217;utilise <a href="http://www.bibblelabs.com/">BibblePro</a> 5 ( Oui, je sais ce n&#8217;est pas Opensource, mais&#8230; ) paramétré comme suit:</p>
<ul>
<li>Profil de l&#8217;écran: Le profil fraichement créé par la sonde</li>
<li>Epreuvage à l&#8217;écran: Encore le profil fraichement créé par la sonde</li>
<li>Gestion des couleurs: Profil ICC</li>
<li>Espace de travail: Pro Photo RGB</li>
</ul>
<p>Pour ceux qui n&#8217;ont pas de sonde et qui ont comme moi un MacBook Unibody (5.1) voilà le <a href="http://www.equinoxefr.org/wp-content/uploads/2010/07/macbook.icc.zip" target="_blank">fichier</a> de calibration de l&#8217;écran.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2010/07/10/calibrer-son-ecran-sous-linux-ubuntu-10-4/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Nas Buffalo et mise en veille</title>
		<link>http://www.equinoxefr.org/post/2009/06/26/nas-buffalo-et-mise-en-veille/</link>
		<comments>http://www.equinoxefr.org/post/2009/06/26/nas-buffalo-et-mise-en-veille/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 18:26:40 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[buffalo]]></category>
		<category><![CDATA[linkstation]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[Planet-Libre]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=665</guid>
		<description><![CDATA[J&#8217;ai un NAS Buffalo Linkstation Duo pro qui a la possibilité de passer en veille quand il n&#8217;est pas utilisé. Seulement voilà, comme bien souvent, cette fontionnalité n&#8217;est disponible que sous Windows ou MacOs pour lesquels des drivers  sont fournis. Heureusement pour nous, le réveil du NAS est une opération assez simple, elle consiste simplement &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2009/06/26/nas-buffalo-et-mise-en-veille/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.equinoxefr.org/wp-content/uploads/2009/06/LS-WTGL-R1.png" rel="lightbox[665]"><img class="alignnone size-full wp-image-671" title="LS-WTGL-R1" src="http://www.equinoxefr.org/wp-content/uploads/2009/06/LS-WTGL-R1.png" alt="LS-WTGL-R1" width="254" height="300" /></a></p>
<p>J&#8217;ai un <strong>NAS Buffalo Linkstation Duo pro</strong> qui a la possibilité de passer en veille quand il n&#8217;est pas utilisé. Seulement voilà, comme bien souvent, cette fontionnalité n&#8217;est disponible que sous <em>Windows</em> ou <em>MacOs</em> pour lesquels des drivers  sont fournis.</p>
<p>Heureusement pour nous, le réveil du NAS est une opération assez simple, elle consiste simplement à envoyer au NAS des paquets &laquo;&nbsp;WakeOnLan&nbsp;&raquo; toutes les 20 secondes. Nous allons donc écrire un petit script qui une fois lancé maintiendra le NAS en éveil. Ce script nécessite l&#8217;installation du paquet &laquo;&nbsp;wakeonlan&nbsp;&raquo;.</p>

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

<p>Ouvrez un nouveau script  à l&#8217;aide de gedit</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
gedit ~<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>wakenas.sh</pre></div></div>

<p>Insérez y le code suivant en remplaçant les variables IP et MAC par les vôtres.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #666666; font-style: italic;">#! /bin/sh</span>
<span style="color: #666666; font-style: italic;"># Insert IP of your NAS</span>
<span style="color: #007800;">IP</span>=<span style="color: #ff0000;">&quot;192.168.1.25&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Insert ethernet address of your NAS</span>
<span style="color: #007800;">MAC</span>=<span style="color: #ff0000;">&quot;00:1D:73:XX:XX:XX&quot;</span>
&nbsp;
<span style="color: #007800;">PID</span>=<span style="color: #007800;">$$</span>
<span style="color: #7a0874; font-weight: bold;">&#40;</span>
zenity <span style="color: #660033;">--notification</span> <span style="color: #660033;">--window-icon</span>=<span style="color: #ff0000;">&quot;/usr/share/icons/gnome/scalable/devices/drive-harddisk.svg&quot;</span> <span style="color: #660033;">--text</span>=<span style="color: #ff0000;">&quot;Clic to quit&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #660033;">-9</span> <span style="color: #007800;">$PID</span>
<span style="color: #7a0874; font-weight: bold;">exit</span>
<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">&amp;</span>amp;
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">do</span>
wakeonlan <span style="color: #660033;">-i</span> <span style="color: #007800;">$IP</span> <span style="color: #007800;">$MAC</span>
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">20</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>Puis rendez le éxécutable</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +x ~<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>wakenas.sh</pre></div></div>

<p>Lorsqu&#8217;il est lancé, une icone apparaît dans la barre des taches. Un clic sur l&#8217;icone termine le script et permet au nas de se remettre en veille. Voilà quelques watts d&#8217;économisés facilement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2009/06/26/nas-buffalo-et-mise-en-veille/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bye bye Gnome, hello Openbox</title>
		<link>http://www.equinoxefr.org/post/2009/05/19/bye-bye-gnome-hello-openbox/</link>
		<comments>http://www.equinoxefr.org/post/2009/05/19/bye-bye-gnome-hello-openbox/#comments</comments>
		<pubDate>Tue, 19 May 2009 20:33:52 +0000</pubDate>
		<dc:creator>EquinoxeFR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[awn]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[openbox]]></category>
		<category><![CDATA[Planet-Libre]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.equinoxefr.org/?p=621</guid>
		<description><![CDATA[Adapter son environnement  de travail à vos envies du moment, voilà un domaine ou Linux a beaucoup d&#8217;avance sur ses concurrents ! Au cours de ces dernières années passées sous Linux, j&#8217;ai essayé un peu tous les environnements de bureau, e16, kde, gnome, fluxbox, xfce&#8230; tout y est passé ou presque. Ces temps-ci, je m&#8217;étais &#8230; </p><p><a class="more-link block-button" href="http://www.equinoxefr.org/post/2009/05/19/bye-bye-gnome-hello-openbox/">Lire la Suite &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Adapter son environnement  de travail à vos envies du moment, voilà un domaine ou Linux a beaucoup d&#8217;avance sur ses concurrents !</p>
<p>Au cours de ces dernières années passées sous Linux, j&#8217;ai essayé un peu tous les environnements de bureau, e16, kde, gnome, fluxbox, xfce&#8230; tout y est passé ou presque.</p>
<p>Ces temps-ci, je m&#8217;étais arrêté sur Gnome, pour une raison essentielle, c&#8217;est simple et efficace, et bien &laquo;&nbsp;packagé&nbsp;&raquo; dans les grandes distributions. Seulement voilà, l&#8217;envie de changer est de retour, et ce pour de bonnes raisons (enfin, tout est question de point de vue;-) : a force d&#8217;utiliser gnome, je l&#8217;ai adapté à mes besoins, je n&#8217;utilise pas le bureau, pas plus que gnome-terminal (depuis l&#8217;épisode <a href="http://http://www.equinoxefr.org/post/2009/04/27/un-terminal-ameliore-merci-artisan-numerique/" target="_blank">urxvt / screen</a> ),  je ne me sers que de nautilus, du panel et de nombreuses applications GTK ou QT. Pourquoi alors conserver Gnome, qui n&#8217;est pas particulièrement réactif et léger<em> (tiens un troll !)</em>? Ici où là, au fil des flux RSS, je vois fleurir des expériences, heureuses le plus souvent, avec un gestionnaire de fenêtres que je ne connais pas encore : OpenBox.</p>
<p>Après quelques tests rapides, j&#8217;ai retenu comme environnement OpenBox équipé du fameux dock &laquo;&nbsp;Avant Window Manager&nbsp;&raquo;, de nautilus, urxvt / screen  et quelques autres &laquo;&nbsp;bouts&nbsp;&raquo; de gnome (gnome-power-manager, gnome-settings-daemon, nm-applet&#8230;)</p>
<p>Rien ne vaut une petite capture d&#8217;écran pour résumer tout ça <img src='http://www.equinoxefr.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><a href="http://www.equinoxefr.org/wp-content/uploads/2009/05/screenshot_002.png" rel="lightbox[621]"><img class="alignnone size-medium wp-image-624" title="OpenBox" src="http://www.equinoxefr.org/wp-content/uploads/2009/05/screenshot_002-300x187.png" alt="OpenBox" width="300" height="187" /></a></p>
<p>Pour ce qui est de l&#8217;installation, c&#8217;est simple, il ne faut que quelques coups d&#8217;&nbsp;&raquo;apt-get&nbsp;&raquo;&#8230;</p>
<p>[code]</p>
<p>sudo apt-get install openbox obmenu obconf awn-applets-c-core awn-applets-c-extras awn-applets-python-core awn-applets-python-extras awn-manager libawn-extras0 libawn0 python-awn python-awn-extras python-awnlib parcellite</p>
<p>[/code]</p>
<p>seulement voilà, un vilain bug c&#8217;est glissé dans la code d&#8217;OpenBox et la combinaison OpenBox /awn provoque des problèmes de focus. Il y a une &laquo;&nbsp;barre&nbsp;&raquo; d&#8217;une centaine de pixels en bas de l&#8217;écran qui reste innaccessible aux &laquo;&nbsp;clics&nbsp;&raquo; de souris. Pas de problème, notre chère communauté a bien travaillé, un patch est déjà disponible. Le bug est référencé <a href="https://bugs.launchpad.net/awn/+bug/239277" target="_blank">ici</a>, et le pach <a href="http://bugzilla-attachments.icculus.org/attachment.cgi?id=1893" target="_blank">là</a>.</p>
<p>Pour être le plus propre possible, nous allons &laquo;&nbsp;patcher&nbsp;&raquo; le paquet OpenBox d&#8217;Ubuntu (Je suis actuellement sous Jaunty 64bits)</p>
<p>[code]</p>
<p>mkdir ~/compil</p>
<p>cd ~/compil</p>
<p>sudo apt-get source openbox</p>
<p>wget -O openbox.patch http://bugzilla-attachments.icculus.org/attachment.cgi?id=1893</p>
<p>cd openbox-3.4.7.2/</p>
<p>cat ../openbox.patch | sudo patch -p0</p>
<p>sudo apt-get install devscripts</p>
<p>sudo apt-get build-dep openbox</p>
<p>sudo debuild -us -uc</p>
<p>cd ..</p>
<p>sudo dpkg -i *.deb</p>
<p>[/code]</p>
<p>Ca y est, après quelques minutes, on a notre openbox patché et installé. Fini le bug de la barre en bas.</p>
<p>Il ne reste plus qu&#8217;à &laquo;&nbsp;customiser&nbsp;&raquo; l&#8217;environnement. La configuration d&#8217;openbox est accessible soit via les utilitaires obconf et obmenu soit avec un bon éditeur de texte dans <strong>.config/openbox/&#8230;</strong></p>
<p>J&#8217;ai ajouté un certain nombre de programmes au démarrage de ma session. Voilà le fichier <strong>autostart.sh</strong> d&#8217;openbox.</p>
<p>[code]</p>
<p># This shell script is run before Openbox launches.<br />
# Environment variables set here are passed to the Openbox session.</p>
<p>xcompmgr &amp;</p>
<p># Set a background color<br />
BG=""<br />
if which hsetroot &gt;/dev/null; then<br />
BG=hsetroot<br />
else<br />
if which esetroot &gt;/dev/null; then<br />
BG=esetroot<br />
else<br />
if which xsetroot &gt;/dev/null; then<br />
BG=xsetroot<br />
fi<br />
fi<br />
fi<br />
test -z $BG || $BG -solid "#303030"</p>
<p># D-bus<br />
if which dbus-launch &gt;/dev/null &amp;&amp; test -z "$DBUS_SESSION_BUS_ADDRESS"; then<br />
eval `dbus-launch --sh-syntax --exit-with-session`<br />
fi</p>
<p># Make GTK apps look and behave how they were set up in the gnome config tools<br />
if test -x /usr/libexec/gnome-settings-daemon &gt;/dev/null; then<br />
/usr/libexec/gnome-settings-daemon &amp;<br />
elif which gnome-settings-daemon &gt;/dev/null; then<br />
gnome-settings-daemon &amp;<br />
# Make GTK apps look and behave how they were set up in the XFCE config tools<br />
elif which xfce-mcs-manager &gt;/dev/null; then<br />
xfce-mcs-manager n &amp;<br />
fi</p>
<p># Run XDG autostart things.  By default don't run anything desktop-specific<br />
# See xdg-autostart --help more info<br />
DESKTOP_ENV=""<br />
if which /usr/lib/openbox/xdg-autostart &gt;/dev/null; then<br />
/usr/lib/openbox/xdg-autostart $DESKTOP_ENV<br />
fi</p>
<p>(<br />
sleep 3<br />
awn&amp;<br />
sleep 1<br />
nm-applet&amp;<br />
pidgin&amp;<br />
parcellite&amp;<br />
conky&amp;<br />
gnome-power-manager&amp;<br />
)&amp;</p>
<p>[/code]</p>
<p>Pour finir, voilà un petit voyage sur mon environnement ! <object width="500" height="400"><param name="movie" value="http://blip.tv/play/2133383 type=application/x-shockwave-flash width=500 height=400 allowscriptaccess=always allowfullscreen=true"></param><param name="wmode" value="transparent"></param><embed src="http://blip.tv/play/2133383 type=application/x-shockwave-flash width=500 height=400 allowscriptaccess=always allowfullscreen=true" type="application/x-shockwave-flash" wmode="transparent" width="500" height="400"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equinoxefr.org/post/2009/05/19/bye-bye-gnome-hello-openbox/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

