<?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>Astuces d&#039;Absolacom</title>
	<atom:link href="http://astuces.absolacom.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://astuces.absolacom.com</link>
	<description>La voie est libre mais pleine d&#039;achoppements</description>
	<lastBuildDate>Wed, 01 Feb 2012 17:59:43 +0000</lastBuildDate>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 11.10 (Oneiric) ne s&#8217;arrête pas</title>
		<link>http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/</link>
		<comments>http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 17:59:43 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[oneiric]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1278</guid>
		<description><![CDATA[Sur certains ordinateur, avec Oneiric, l&#8217;ordinateur ne s&#8217;arrête pas véritablement. L&#8217;ordinateur reste sous tension, même si le système est coupé. Il est alors nécessaire de faire un réset manuellement, ce qui peut être gênant quand l&#8217;ordinateur n&#8217;est pas accessible. Cela peut se produire autant lors de la demande d&#8217;arrêt que pour celle du redémarrage. Parfois [...]]]></description>
			<content:encoded><![CDATA[<p>Sur certains ordinateur, avec Oneiric, l&#8217;ordinateur ne s&#8217;arrête pas véritablement. L&#8217;ordinateur reste sous tension, même si le système est coupé.<br />
Il est alors nécessaire de faire un réset manuellement, ce qui peut être gênant quand l&#8217;ordinateur n&#8217;est pas accessible.<br />
Cela peut se produire autant lors de la demande d&#8217;arrêt que pour celle du redémarrage. Parfois cela fonctionne depuis le gestionnaire de fenêtre, parfois non. La commande &laquo;&nbsp;halt&nbsp;&raquo; en ligne de commande ne fonctionne pas, elle<sup><a href="http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/#footnote_0_1278" id="identifier_0_1278" class="footnote-link footnote-identifier-link" title="2 machine diff&eacute;rentes, m&ecirc;me OS, comportement diff&eacute;rent. M&ecirc;me avec des syst&egrave;mes diff&eacute;rents (ubuntu/voyager) ">1</a></sup> .<br />
Je n&#8217;ai pas trouvé de solution, et des rapports de bug ont été ouverts, et on en parle sur beaucoup de forums<sup><a href="http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/#footnote_1_1278" id="identifier_1_1278" class="footnote-link footnote-identifier-link" title="par exemple ici ou l&agrave;">2</a></sup>  mais en attendant, il faut bien pouvoir agir.</p>
<p>J&#8217;ai trouvé une solution de contournement qui permet d&#8217;effectuer ce qui est véritablement désiré et qui fonctionne sans problèmes.<br />
Créez un script <em>/usr/bin/force_halt</em> et mettez y ce code dedans:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
dbus-send <span style="color: #660033;">--system</span> <span style="color: #660033;">--print-reply</span> <span style="color: #660033;">--dest</span>=org.freedesktop.ConsoleKit <span style="color: #000000; font-weight: bold;">/</span>org<span style="color: #000000; font-weight: bold;">/</span>freedesktop<span style="color: #000000; font-weight: bold;">/</span>ConsoleKit<span style="color: #000000; font-weight: bold;">/</span>Manager org.freedesktop.ConsoleKit.Manager.Stop</pre></div></div>

<p>Rendez le exécutable et remplacez vos appels à &laquo;&nbsp;<em>halt</em>&nbsp;&raquo; par &laquo;&nbsp;<em>force_halt</em>&laquo;&nbsp;. Vous pouvez aussi remplacer <em>/sbin/halt</em> par un lien vers <em>force_halt</em></p>
<p>Concernant le reboot, il faut répéter les mêmes opérations mais remplacer le <strong>Stop</strong> de la fin de la ligne de commande par <strong>Restart</strong></p>
Notes:<ol class="footnotes"><li id="footnote_0_1278" class="footnote">2 machine différentes, même OS, comportement différent. Même avec des systèmes différents (ubuntu/voyager) </li><li id="footnote_1_1278" class="footnote">par exemple <a href="http://ubuntuforums.org/showthread.php?t=1865725">ici</a> ou <a href="http://ubuntuforums.org/showthread.php?t=1863456">là</a></li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/ubuntu-11-10-oneiric-ne-sarrete-pas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Solution] ushare bind: Adresse déjà utilisée</title>
		<link>http://astuces.absolacom.com/ubuntu/solution-ushare-bind-adresse-deja-utilisee/</link>
		<comments>http://astuces.absolacom.com/ubuntu/solution-ushare-bind-adresse-deja-utilisee/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 16:58:54 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[borne]]></category>
		<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[média]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1273</guid>
		<description><![CDATA[Si vous avez le message d&#8217;erreur bind: Adresse déjà utilisée lorsque vous lancez ushare, vérifiez que celui ci n&#8217;est pas déjà lancé. Dans tous les cas, vous pouvez lancez la commande suivante avant de relancer ushare: sudo killall ushare &#160;]]></description>
			<content:encoded><![CDATA[<p>Si vous avez le message d&#8217;erreur <em><strong>bind: Adresse déjà utilisée</strong></em> lorsque vous lancez ushare, vérifiez que celui ci n&#8217;est pas déjà lancé.</p>
<p>Dans tous les cas, vous pouvez lancez la commande suivante avant de relancer ushare:</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;">killall</span> ushare</pre></div></div>

<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/solution-ushare-bind-adresse-deja-utilisee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu: faire fonctionner la carte Ethernet Atheros AR8151</title>
		<link>http://astuces.absolacom.com/ubuntu/ubuntu-faire-fonctionner-la-carte-ethernet-atheros-ar8151/</link>
		<comments>http://astuces.absolacom.com/ubuntu/ubuntu-faire-fonctionner-la-carte-ethernet-atheros-ar8151/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 17:01:27 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ar8151]]></category>
		<category><![CDATA[atheros]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[reseau]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[système]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1266</guid>
		<description><![CDATA[Ethernet controller [0200]: Atheros Communications AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1) Les derniers pilotes Athéros ne sont pas disponibles. Le serveur semble down ou cassé, mais il est possible d&#8217;installer les drivers pour faire fonctionner cette carte réseau grâce à un forum allemand. Installons d&#8217;abord les éléments nécessaires sudo apt-get install --reinstall linux-headers-$&#40;uname -r&#41; [...]]]></description>
			<content:encoded><![CDATA[<h2>Ethernet controller [0200]: Atheros Communications AR8152 v2.0 Fast Ethernet [1969:2062] (rev c1)</h2>
<p>Les derniers pilotes <a href="http://partner.atheros.com/Drivers.aspx" target="_blank">Athéros</a> ne sont pas disponibles. Le serveur semble down ou cassé, mais il est possible d&#8217;installer les drivers pour faire fonctionner cette carte réseau grâce à un forum allemand.</p>
<p><strong>Installons d&#8217;abord les éléments nécessaires</strong></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> <span style="color: #660033;">--reinstall</span> linux-headers-$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span> build-essential</pre></div></div>

<p>Nous allons ensuite installer DKMS pour installer le module</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> <span style="color: #660033;">--reinstall</span> linux-headers-$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span> build-essential dkms        <span style="color: #666666; font-style: italic;"># s'ils ne sont pas déjà installés</span>
<span style="color: #666666; font-style: italic;">## Pour Ubuntu 10.04</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>media.cdn.ubuntu-de.org<span style="color: #000000; font-weight: bold;">/</span>forum<span style="color: #000000; font-weight: bold;">/</span>attachments<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2666793</span><span style="color: #000000; font-weight: bold;">/</span>AR81Family-linux-v1.0.1.14_dkms.tar.gz
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf AR81Family-linux-v1.0.1.14_dkms.tar.gz <span style="color: #660033;">-C</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src
&nbsp;
<span style="color: #666666; font-style: italic;"># Pour Ubuntu 10.10 et supérieur</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>media.cdn.ubuntu-de.org<span style="color: #000000; font-weight: bold;">/</span>forum<span style="color: #000000; font-weight: bold;">/</span>attachments<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2666793</span><span style="color: #000000; font-weight: bold;">/</span>AR81Family-linux-v1.0.1.14_10.10.tar.gz
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf AR81Family-linux-v1.0.1.14_10.10.tar.gz <span style="color: #660033;">-C</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src</pre></div></div>

<p><strong>Création du module et installation</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> dkms add <span style="color: #660033;">-m</span> atl1e <span style="color: #660033;">-v</span> 1.0.1.14
<span style="color: #c20cb9; font-weight: bold;">sudo</span> dkms build <span style="color: #660033;">-m</span> atl1e <span style="color: #660033;">-v</span> 1.0.1.14
<span style="color: #c20cb9; font-weight: bold;">sudo</span> dkms <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-m</span> atl1e <span style="color: #660033;">-v</span> 1.0.1.14</pre></div></div>

<p><strong>Chargement du module et test</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe atl1e
<span style="color: #c20cb9; font-weight: bold;">dmesg</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #ff0000;">'atl1e|eth'</span>
<span style="color: #c20cb9; font-weight: bold;">ifconfig</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>Malheureusement, l&#8217;archive pour 10.10 et supérieurs n&#8217;est plus disponible sur ce site. Je met donc au moins l&#8217;archive pour 10.04 à disposition sur le mien au cas où elle disparaitrait</p>
<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/12/AR81Family-linux-v1.0.1.14_dkms.tar.gz">AR81Family-linux-v1.0.1.14_dkms.tar</a></p>
<p>Source: <a href="http://forum.ubuntuusers.de/topic/lan-geht-nicht-wlan-schon/#post-2666793" target="_blank">http://forum.ubuntuusers.de/topic/lan-geht-nicht-wlan-schon/#post-2666793</a></p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/ubuntu-faire-fonctionner-la-carte-ethernet-atheros-ar8151/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Activer XDMCP sur Ubuntu Lucid 10.04</title>
		<link>http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/</link>
		<comments>http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 17:42:18 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[borne]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[lucid]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1171</guid>
		<description><![CDATA[Cette astuce fonctionne peut être avec les versions suivantes, mais je ne l&#8217;ai pas testée. A confirmer. Si vous avez besoin d&#8217;utiliser XDMCP sur votre réseau, vous constaterez qu&#8217;avec la &#171;&#160;nouvelle&#160;&#187; version de GDM, il n&#8217;est plus possible de l&#8217;activer facilement1. Or, il suffit de quelques manipulations pour la remettre en place. Paramétrer le serveur [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Cette astuce fonctionne peut être avec les versions suivantes, mais je ne l&#8217;ai pas testée. A confirmer.</p></blockquote>
<p>Si vous avez besoin d&#8217;utiliser XDMCP sur votre réseau, vous constaterez qu&#8217;avec la &laquo;&nbsp;nouvelle&nbsp;&raquo; version de GDM, il n&#8217;est plus possible de l&#8217;activer facilement<sup><a href="http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/#footnote_0_1171" id="identifier_0_1171" class="footnote-link footnote-identifier-link" title="en tout cas, pas aussi facilement qu&amp;#8217;avant">1</a></sup>.</p>
<p>Or, il suffit de quelques manipulations pour la remettre en place.</p>
<h2>Paramétrer le serveur XDMCP</h2>
<p>Tout d&#8217;abord, il faut créer le fichier<em> /etc/gdm/custom.conf</em> qui va enregistrer les options de GDM, et en particulier celles concernant XDMCP.</p>
<p>Remplissez le avec ceci:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>daemon<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">User</span>=gdm
 <span style="color: #007800;">Group</span>=gdm
<span style="color: #7a0874; font-weight: bold;">&#91;</span>security<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">DisallowTCP</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>xdmcp<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">Enable</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
 <span style="color: #007800;">DisplaysPerHost</span>=<span style="color: #000000;">2</span>
 <span style="color: #007800;">HonorIndirect</span>=<span style="color: #c20cb9; font-weight: bold;">false</span>
 <span style="color: #007800;">MaxPending</span>=<span style="color: #000000;">4</span>
 <span style="color: #007800;">MaxSessions</span>=<span style="color: #000000;">16</span>
 <span style="color: #007800;">MaxWait</span>=<span style="color: #000000;">30</span>
 <span style="color: #007800;">MaxWaitIndirect</span>=<span style="color: #000000;">30</span>
 <span style="color: #007800;">PingIntervalSeconds</span>=<span style="color: #000000;">60</span>
 <span style="color: #007800;">Port</span>=<span style="color: #000000;">177</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>greeter<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>chooser<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">Multicast</span>=<span style="color: #c20cb9; font-weight: bold;">false</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>debug<span style="color: #7a0874; font-weight: bold;">&#93;</span>
 <span style="color: #007800;">Enable</span>=<span style="color: #c20cb9; font-weight: bold;">false</span></pre></div></div>

<p>Il suffit ensuite de redémarrer le service GDM pour activer le XDMCP.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">service gdm restart</pre></div></div>

<p>Cependant, si vous avez désactivé IPV6 sur votre réseau, cela ne fonctionnera pas, puisque XDMCP écoute par défaut en IPV6 désormais. Vous pouvez le voir en root avec la commande <em>netstat</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>test4:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>manu<span style="color: #666666; font-style: italic;"># netstat -putan|grep 177</span>
udp6       <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> :::<span style="color: #000000;">177</span>        :::<span style="color: #000000; font-weight: bold;">*</span>        <span style="color: #000000;">646</span><span style="color: #000000; font-weight: bold;">/</span>gdm-binary</pre></div></div>

<p>Il faut alors désactiver IPV6 sur l&#8217;ordinateur qui diffusera son affichage, par exemple en le désactivant au niveau du noyau.</p>
<p>On peut le faire en rajoutant une option au fichier de configuration de grub. Modifiez les fichier /etc/default/grub pour ajouter l&#8217;option &laquo;&nbsp;ipv6.disable=1&#8243;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">GRUB_CMDLINE_LINUX_DEFAULT</span>=<span style="color: #ff0000;">&quot;ipv6.disable=1 quiet splash&quot;</span></pre></div></div>

<p>Reconstruisez le fichier de configuration de grub par &laquo;&nbsp;sudo update-grub&nbsp;&raquo; puis redémarrez votre ordinateur. <em>Netstat</em> vous indique alors que XDMCP écoute en IPV4<sup><a href="http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/#footnote_1_1171" id="identifier_1_1171" class="footnote-link footnote-identifier-link" title="notez le 6 qui a disparu et la notation des adresses">2</a></sup></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>test4:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>manu<span style="color: #666666; font-style: italic;"># netstat -putan|grep 177</span>
udp       <span style="color: #000000;">0</span>      <span style="color: #000000;">0</span> 0.0.0.0:<span style="color: #000000;">177</span>        0.0.0.0<span style="color: #000000; font-weight: bold;">*</span>        <span style="color: #000000;">658</span><span style="color: #000000; font-weight: bold;">/</span>gdm-binary</pre></div></div>

<h2>Utiliser le client XDMCP</h2>
<p>On peut utiliser <a href="http://sourceforge.net/projects/xming/" target="_blank">Xming</a> depuis Windows, mais depuis Linux, il est plus simple d&#8217;utiliser <a href="http://doc.ubuntu-fr.org/tsclient" target="_blank"><em>tsclient</em></a>. Dans la liste des protocoles, si vous ne voyez pas XDMCP, c&#8217;est qu&#8217;il vous faut l&#8217;installer le paquet <em>xnest</em></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> xnest</pre></div></div>

<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/07/tsclient.png"><img class="aligncenter size-medium wp-image-1176" title="tsclient" src="http://astuces.absolacom.com/wp-content/uploads/2011/07/tsclient-270x300.png" alt="tsclient avec XDMCP" width="270" height="300" /></a>Ensuite, pour la connexion, c&#8217;est du classique.</p>
<h2>Un client XDMCP en console</h2>
<p>Si vous désirez lancer une session XDMCP systématiquement, il est inutile se charger gnome ou un gestionnaire de fenêtres simplement pour lancer tsclient puis votre session XDMCP. Il est possible de lancer celle ci directement.</p>
<p><a title="Désactiver le lancement de GDM sur Lucid" href="http://astuces.absolacom.com/serveur/desactiver-le-lancement-de-gdm-sur-lucid/" target="_blank">Désactivez le lancement de GDM</a>, puis logguez vous sur l&#8217;ordinateur et tapez la commande suivante:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>X11R6<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>X <span style="color: #660033;">-query</span> 192.168.1.2</pre></div></div>

<p>où 192.168.1.2 est le serveur sur lequel vous avez activé XDMCP.</p>
<h4>Sources:</h4>
<ul>
<li><a class="linkification-ext" title="Linkification: http://doc.ubuntu-fr.org/tutoriel/comment_creer_un_terminal_x_ou_recycler_une_vieille_machine?s=xdmcp" href="http://doc.ubuntu-fr.org/tutoriel/comment_creer_un_terminal_x_ou_recycler_une_vieille_machine?s=xdmcp">http://doc.ubuntu-fr.org/tutoriel/comment_creer_un_terminal_x_ou_recycler_une_vieille_machine?s=xdmcp</a></li>
<li><a class="linkification-ext" title="Linkification: http://ubuntuforums.org/showthread.php?t=1471703" href="http://ubuntuforums.org/showthread.php?t=1471703">http://ubuntuforums.org/showthread.php?t=1471703</a></li>
</ul>
Notes:<ol class="footnotes"><li id="footnote_0_1171" class="footnote">en tout cas, pas aussi facilement qu&#8217;avant</li><li id="footnote_1_1171" class="footnote">notez le 6 qui a disparu et la notation des adresses</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/activer-xdmcp-sur-ubuntu-lucid-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tftpd-hpa sur Lucid (erreur TFTP open timeout)</title>
		<link>http://astuces.absolacom.com/ubuntu/tftpd-hpa-sur-lucid-erreur-tftp-open-timeout/</link>
		<comments>http://astuces.absolacom.com/ubuntu/tftpd-hpa-sur-lucid-erreur-tftp-open-timeout/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 10:34:55 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[borne]]></category>
		<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[client léger]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1248</guid>
		<description><![CDATA[La mise à jour du programme tftpd-hpa sur lucid modifie son fichier de configuration par défaut. Si vous utilisez des clients légers avec LTSP, vous vous retrouvez avec des clients qui s&#8217;arrêtent à l&#8217;erreur PXE: TFTP open timeout juste après avoir obtenu leur adresse IP du dhcp. Avant, votre fichier de configuration était ainsi: root@ltsp:#cat [...]]]></description>
			<content:encoded><![CDATA[<p>La mise à jour du programme <strong>tftpd-hpa</strong> sur <strong>lucid</strong> modifie son fichier de configuration par défaut. Si vous utilisez des clients légers avec <a href="http://www.ltsp.org/">LTSP</a>, vous vous retrouvez avec des clients qui s&#8217;arrêtent à l&#8217;erreur<strong> PXE: TFTP open timeout</strong> juste après avoir obtenu leur adresse IP du dhcp.</p>
<p>Avant, votre fichier de configuration était ainsi:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>ltsp:<span style="color: #666666; font-style: italic;">#cat /etc/default/tftpd-hpa</span>
<span style="color: #666666; font-style: italic;">#Defaults for tftpd-hpa</span>
<span style="color: #007800;">RUN_DAEMON</span>=<span style="color: #ff0000;">&quot;yes&quot;</span>
<span style="color: #007800;">OPTIONS</span>=<span style="color: #ff0000;">&quot;-l -s /var/lib/tftpboot&quot;</span></pre></div></div>

<p>Or, maintenant, le fichier se présente ainsi:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /etc/default/tftpd-hpa</span>
<span style="color: #007800;">TFTP_USERNAME</span>=<span style="color: #ff0000;">&quot;tftp&quot;</span>
<span style="color: #007800;">TFTP_DIRECTORY</span>=<span style="color: #ff0000;">&quot;/srv/tftp&quot;</span>
<span style="color: #007800;">TFTP_ADDRESS</span>=<span style="color: #ff0000;">&quot;0.0.0.0:69&quot;</span>
<span style="color: #007800;">TFTP_OPTIONS</span>=<span style="color: #ff0000;">&quot;&quot;</span></pre></div></div>

<p>Du coup, le serveur ne se lance plus (il n&#8217;apparait pas dans les processus) même si vous avez un message disant qu&#8217;il est déjà en cours de fonctionnement lorsque vous tentez de le relancer.</p>
<p>Il suffit alors de modifier votre fichier de la manière suivante:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /etc/default/tftpd-hpa</span>
<span style="color: #007800;">TFTP_USERNAME</span>=<span style="color: #ff0000;">&quot;tftp&quot;</span>
<span style="color: #007800;">TFTP_DIRECTORY</span>=<span style="color: #ff0000;">&quot;/var/lib/tftpboot&quot;</span>
<span style="color: #007800;">TFTP_ADDRESS</span>=<span style="color: #ff0000;">&quot;0.0.0.0:69&quot;</span>
<span style="color: #007800;">TFTP_OPTIONS</span>=<span style="color: #ff0000;">&quot;--secure&quot;</span></pre></div></div>

<p>Relancez ensuite votre serveur tftpd et vos clients devraient démarrer.</p>
<p>Si vous avez utilisé des outils qui paramètrent automatiquement le fichier de configuration avec l&#8217;ancienne version, réinstallez le paquet pour obtenir le nouveau fichier de configuration:</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> <span style="color: #660033;">--reinstall</span> tftpd-hpa</pre></div></div>

<p>puis effectuez manuellement les modifications.</p>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/tftpd-hpa-sur-lucid-erreur-tftp-open-timeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changer la couleur de fenêtre de Pidgin</title>
		<link>http://astuces.absolacom.com/gnome/changer-la-couleur-de-fenetre-de-pidgin/</link>
		<comments>http://astuces.absolacom.com/gnome/changer-la-couleur-de-fenetre-de-pidgin/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 10:24:37 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[empathy]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[pidgin]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1229</guid>
		<description><![CDATA[J&#8217;ai eu besoin de communiquer par IRC sur un chan particulier, mais j&#8217;ai été confronté à un problème auquel je ne m&#8217;attendais pas: les administrateurs utilisant mirc (qui utilise par défaut un fond noir), ou irssi (qui fonctionne en console&#8230;noire de base) avaient choisi d&#8217;avoir des couleurs de polices blanches et jaunes pour certains éléments. [...]]]></description>
			<content:encoded><![CDATA[<p>J&#8217;ai eu besoin de communiquer par <a title="Internet Relay Chat" href="http://fr.wikipedia.org/wiki/Internet_Relay_Chat" target="_blank">IRC</a> sur un chan particulier, mais j&#8217;ai été confronté à un problème auquel je ne m&#8217;attendais pas: les administrateurs utilisant <a title="mIRC" href="http://fr.wikipedia.org/wiki/Mirc" target="_blank">mirc</a> (qui utilise par défaut un fond noir), ou <a title="Irssi" href="http://fr.wikipedia.org/wiki/Irssi" target="_blank">irssi</a> (qui fonctionne en console&#8230;noire de base) avaient choisi d&#8217;avoir des couleurs de polices blanches et jaunes pour certains éléments.</p>
<p>Or, Pidgin utilise un fond blanc, ce qui fait que beaucoup de choses étaient illisibles<sup><a href="http://astuces.absolacom.com/gnome/changer-la-couleur-de-fenetre-de-pidgin/#footnote_0_1229" id="identifier_0_1229" class="footnote-link footnote-identifier-link" title="et effectuer des s&eacute;lections du texte pour arriver &agrave; le lire est fatiguant &agrave; la longue.">1</a></sup>.<a href="http://astuces.absolacom.com/wp-content/uploads/2011/12/pidgin_.jpg"><img class="alignright size-thumbnail wp-image-1230" title="pidgin_" src="http://astuces.absolacom.com/wp-content/uploads/2011/12/pidgin_-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Empathy permet de changer les thèmes, et de voir les messages écrits en noir sans tenir compte de la couleur d&#8217;origine, mais ne m&#8217;affichait pas les personnes présentes dans le salon. Donc, il n&#8217;a pas été retenu comme solution.</p>
<p>Mais comme avec le libre, tout est faisable, et un simple changement de couleur devant être à ma portée, j&#8217;ai cherché comment modifier Pidgin, et j&#8217;ai fini par trouver.</p>
<p>Simple quand on le sait, mais quand on ne sait pas, c&#8217;est autre chose&#8230;</p>
<ul>
<li>Tout d&#8217;abord, ne cherchez pas le dossier <strong>pidgin</strong>, mais bien <strong>purple</strong>, qui se trouve dans votre home (<em>~/.purple</em>)</li>
<li>Par défaut, pidgin utilise le thème GTK de votre environnement. Sinon, et seulement sinon, il crée un fichier <strong>gtkrc-2.0</strong> dans le dossier <em>~/.purple</em>.</li>
<li>Si vous utilisez un gestionnaire de fenêtre basé sur GTK et que vous ne voulez pas changer votre thème général, il faudra créer un fichier nommé <strong>gtkrc-2.0</strong> dans le dossier <em>~/.purple</em> qui apportera des modification à pidgin par rapport à votre thème général.</li>
<li>Vous mettrez dans ce fichier texte les informations que vous voulez selon la syntaxe que vous donne la <a title="How to change..." href="http://developer.pidgin.im/wiki/Using%20Pidgin#HowdoIchangethefontPidginusesThebackgroundcolor" target="_blank">FAQ de Pidgin</a>.((si vous connaissez un peu le CSS, vous devriez comprendre comment fonctionne le fichier))</li>
</ul>
<p>Dans mon cas, cherchant juste à modifier l&#8217;aspect des fenêtres, j&#8217;ai utilisé le code fourni:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Create a style called &quot;inverted&quot; where the text and base (the base color behind the widget) are the reverse of typical.</span>
style <span style="color: #ff0000;">&quot;inverted&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
text<span style="color: #7a0874; font-weight: bold;">&#91;</span>NORMAL<span style="color: #7a0874; font-weight: bold;">&#93;</span> = <span style="color: #ff0000;">&quot;#FFFFFF&quot;</span>
base<span style="color: #7a0874; font-weight: bold;">&#91;</span>NORMAL<span style="color: #7a0874; font-weight: bold;">&#93;</span> = <span style="color: #ff0000;">&quot;#000000&quot;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Apply &quot;inverted&quot; to conversation entry box--where you type.</span>
widget <span style="color: #ff0000;">&quot;*pidgin_conv_entry&quot;</span> style <span style="color: #ff0000;">&quot;inverted&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Apply &quot;inverted&quot; to conversation history pane--where you read the conversation.</span>
widget <span style="color: #ff0000;">&quot;*pidgin_conv_imhtml&quot;</span> style <span style="color: #ff0000;">&quot;inverted&quot;</span></pre></div></div>

<p>Après avoir relancé Pidgin, c&#8217;est tout de suite beaucoup plus lisible<sup><a href="http://astuces.absolacom.com/gnome/changer-la-couleur-de-fenetre-de-pidgin/#footnote_1_1229" id="identifier_1_1229" class="footnote-link footnote-identifier-link" title="Il ne s&amp;#8217;agit pas du chan qui m&amp;#8217;int&eacute;ressait, mais celui ci pr&eacute;sente les m&ecirc;mes caract&eacute;ristiques et me sert d&amp;#8217;exemple">2</a></sup>.</p>
<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/12/Capture-Quizz.png"><img class="aligncenter size-medium wp-image-1231" title="Capture-#Quizz" src="http://astuces.absolacom.com/wp-content/uploads/2011/12/Capture-Quizz-300x232.png" alt="Du texte en couleur, mais lisible" width="300" height="232" /></a>Sources: <a href="http://developer.pidgin.im/wiki/Using%20Pidgin" target="_blank">http://developer.pidgin.im/wiki/Using%20Pidgin</a></p>
Notes:<ol class="footnotes"><li id="footnote_0_1229" class="footnote">et effectuer des sélections du texte pour arriver à le lire est fatiguant à la longue.</li><li id="footnote_1_1229" class="footnote">Il ne s&#8217;agit pas du chan qui m&#8217;intéressait, mais celui ci présente les mêmes caractéristiques et me sert d&#8217;exemple</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/gnome/changer-la-couleur-de-fenetre-de-pidgin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clavier qwerty sur Ubuntu Oneiric Ocelot</title>
		<link>http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/</link>
		<comments>http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 12:09:49 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[ça a fonctionné pour moi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[planet-libre]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[clavier]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1214</guid>
		<description><![CDATA[Après une install d&#8217;Oneiric sur une machine, je me suis retrouvé avec un clavier US dans l&#8217;environnement graphique et dans le gestionnaire de connexion lightdm. J&#8217;ai bien sûr réglé le clavier avec les outils de gnome1 mais à chaque redémarrage, je me retrouvais en clavier qwerty au lieu de l&#8217;azerty voulu. Après avoir longuement cherché [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.semageek.com/diy-fabriquer-un-rubiks-cube-bien-geek-a-l-aide-d-un-vieux-clavier/"><img class="alignleft size-thumbnail wp-image-1224" title="rubiks-cube-geek-clavier-touche-diy-2" src="http://astuces.absolacom.com/wp-content/uploads/2011/12/rubiks-cube-geek-clavier-touche-diy-2-150x150.jpg" alt="" width="150" height="150" /></a>Après une install d&#8217;Oneiric sur une machine, je me suis retrouvé avec un clavier US dans l&#8217;environnement graphique et dans le gestionnaire de connexion lightdm.</p>
<p>J&#8217;ai bien sûr réglé le clavier avec les outils de gnome<sup><a href="http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/#footnote_0_1214" id="identifier_0_1214" class="footnote-link footnote-identifier-link" title="et de lxde puisque j&amp;#8217;ai install&eacute; les deux environnements">1</a></sup> mais à chaque redémarrage, je me retrouvais en clavier qwerty au lieu de l&#8217;azerty voulu.</p>
<p>Après avoir longuement cherché , je suis tombé sur une discussion qui m&#8217;a donné la bonne solution.</p>
<p>Il faut aller consulter le fichier <em><strong>/etc/default/keyboard</strong></em> qui, s&#8217;il fait référence à un clavier US, est prioritaire sur les autres réglages.<br />
Si c&#8217;est le cas, il faut reconfigurer le clavier pour corriger ce fichier et faire en sorte d&#8217;obtenir les bonnes touches</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dpkg-reconfigure keyboard-configuration</pre></div></div>

<p>Et suivre les instructions, ce qui devrait donner un résultat tel que celui ci:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># If you change any of the following variables and X is configured to</span>
<span style="color: #666666; font-style: italic;"># use this file, then the changes will become visible to X only if udev</span>
<span style="color: #666666; font-style: italic;"># is restarted. You may need to reboot the system.</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># The following variables describe your keyboard and can have the same</span>
<span style="color: #666666; font-style: italic;"># values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options</span>
<span style="color: #666666; font-style: italic;"># in /etc/X11/xorg.conf.</span>
&nbsp;
<span style="color: #007800;">XKBMODEL</span>=<span style="color: #ff0000;">&quot;pc105&quot;</span>
<span style="color: #007800;">XKBLAYOUT</span>=<span style="color: #ff0000;">&quot;fr&quot;</span>
<span style="color: #007800;">XKBVARIANT</span>=<span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #007800;">XKBOPTIONS</span>=<span style="color: #ff0000;">&quot;lv3:ralt_switch,compose:rctrl&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># If you don't want to use the XKB layout on the console, you can</span>
<span style="color: #666666; font-style: italic;"># specify an alternative keymap. Make sure it will be accessible</span>
<span style="color: #666666; font-style: italic;"># before /usr is mounted.</span>
<span style="color: #666666; font-style: italic;"># KMAP=/etc/console-setup/defkeymap.kmap.gz</span></pre></div></div>

<p>J&#8217;ai perdu du temps à trouver la solution, espérons que ça vous sera utile.</p>
<p>Source: http://forum.ubuntu-fr.org/viewtopic.php?pid=6654251#p6654251</p>
Notes:<ol class="footnotes"><li id="footnote_0_1214" class="footnote">et de lxde puisque j&#8217;ai installé les deux environnements</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/clavier-qwerty-sur-ubuntu-oneiric-ocelot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editer les pages web avant de les imprimer</title>
		<link>http://astuces.absolacom.com/logiciel/editer-les-pages-web-avant-de-les-imprimer/</link>
		<comments>http://astuces.absolacom.com/logiciel/editer-les-pages-web-avant-de-les-imprimer/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 15:43:26 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[impression]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1200</guid>
		<description><![CDATA[Ne vous est il jamais arrivé de vouloir imprimer une recette, un article ou n&#8217;importe quelle information d&#8217;une page sans vouloir imprimer l&#8217;ensemble des commentaires, des pubs, des menus, des bannières, des boutons, &#8230; ? Moi, c&#8217;est souvent. Alors que j&#8217;imprime peu et que ça m&#8217;horripile d&#8217;imprimer des pages inutiles (sauvons les arbres, mangeons des [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/10/firefox-no-beaver.png"><img class="alignleft size-medium wp-image-1202" title="firefox-no-beaver" src="http://astuces.absolacom.com/wp-content/uploads/2011/10/firefox-no-beaver-300x293.png" alt="" width="300" height="293" /></a>Ne vous est il jamais arrivé de vouloir imprimer une recette, un article ou n&#8217;importe quelle information d&#8217;une page sans vouloir imprimer l&#8217;ensemble des commentaires, des pubs, des menus, des bannières, des boutons, &#8230; ?</p>
<p>Moi, c&#8217;est souvent.</p>
<p>Alors que j&#8217;imprime peu et que ça m&#8217;horripile d&#8217;imprimer des pages inutiles (sauvons les arbres, mangeons des castors), la partie qui m&#8217;intéresse est toujours coupée entre deux pages ou mise en page sur une largeur de 3 cm&#8230;</p>
<p>Au moment où je me décide enfin à chercher une solution pratique, korben fait <a title="imprimer-proprement-une-page-web" href="http://korben.info/imprimer-proprement-une-page-web.html" target="_blank">un article sur le sujet</a>, le jour même<sup><a href="http://astuces.absolacom.com/logiciel/editer-les-pages-web-avant-de-les-imprimer/#footnote_0_1200" id="identifier_0_1200" class="footnote-link footnote-identifier-link" title="et c&amp;#8217;est pas la premi&egrave;re fois, il doit lire dans mes pens&eacute;es">1</a></sup>.</p>
<p><a href="http://astuces.absolacom.com/wp-content/uploads/2011/10/print-edit.png"><img class="alignright size-medium wp-image-1203" title="print-edit" src="http://astuces.absolacom.com/wp-content/uploads/2011/10/print-edit-300x148.png" alt="" width="300" height="148" /></a>Ça s’appelle <a href="https://addons.mozilla.org/en-US/firefox/addon/print-edit/" target="_blank">Print Edit</a> et c&#8217;est une extension Firefox qui rajoute une option au menu d&#8217;impression et dans la barre de boutons permettant de sélectionner les cadres de la page pour les supprimer ou les masquer. Ça fonctionne très bien, il faut juste faire attention à ses sélections (elles se cumulent quand vous cliquez n&#8217;importe où) avant de supprimer, mais un bouton &laquo;&nbsp;undo&nbsp;&raquo; existe permettant le retour en arrière.</p>
Notes:<ol class="footnotes"><li id="footnote_0_1200" class="footnote">et c&#8217;est pas la première fois, il doit lire dans mes pensées</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/logiciel/editer-les-pages-web-avant-de-les-imprimer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entête Crontab</title>
		<link>http://astuces.absolacom.com/ubuntu/entete-crontab/</link>
		<comments>http://astuces.absolacom.com/ubuntu/entete-crontab/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 09:55:32 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[système]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[cron]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1195</guid>
		<description><![CDATA[Pour mémo, voici les lignes devant être présentes en entête de crontab pour éviter les soucis. En effet, le cron utilise son propre processus/shell au lancement, et on a parfois des erreurs difficiles à cerner de chemin non trouvé ou de langage. A adapter à votre situation # m h  dom mon dow   command MAILTO=&#160;&#187;monadressel@monfai.fr&#160;&#187; [...]]]></description>
			<content:encoded><![CDATA[<p>Pour mémo, voici les lignes devant être présentes en entête de crontab pour éviter les soucis. En effet, le cron utilise son propre processus/shell au lancement, et on a parfois des erreurs difficiles à cerner de chemin non trouvé ou de langage.</p>
<p>A adapter à votre situation</p>
<blockquote><p># m h  dom mon dow   command<br />
MAILTO=&nbsp;&raquo;monadressel@monfai.fr&nbsp;&raquo;<br />
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games<br />
SHELL=/bin/bash<br />
LC_ALL=fr_FR.UTF-8</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/ubuntu/entete-crontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meuh!*</title>
		<link>http://astuces.absolacom.com/web/meuh/</link>
		<comments>http://astuces.absolacom.com/web/meuh/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 09:13:15 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[humeur]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1188</guid>
		<description><![CDATA[Hier, on avait: Des forfaits téléphoniques sans internet1 ou avec internet mais sans voix2 Des forfaits dont le moindre changement d&#8217;option ré-engage pour 2 ans3 Des forfaits qui &#171;&#160;prennent en compte le financement du mobile&#160;&#187; même quand le mobile voulu n&#8217;est pas proposé dans les choix et qu&#8217;on le paye cash, à part. Des forfaits [...]]]></description>
			<content:encoded><![CDATA[<p>Hier, on avait:</p>
<ul>
<li>Des forfaits téléphoniques sans internet<sup><a href="http://astuces.absolacom.com/web/meuh/#footnote_0_1188" id="identifier_0_1188" class="footnote-link footnote-identifier-link" title="si tu appelles, forc&eacute;ment, tu n&amp;#8217;utilises pas le mail">1</a></sup> ou avec internet mais sans voix<sup><a href="http://astuces.absolacom.com/web/meuh/#footnote_1_1188" id="identifier_1_1188" class="footnote-link footnote-identifier-link" title="si t&amp;#8217;as internet, t&amp;#8217;es sur facebook, donc pas besoin ni le temps de t&eacute;l&eacute;phoner. A qui, d&amp;#8217;abord, t&amp;#8217;as pas d&amp;#8217;amis?">2</a></sup></li>
<li>Des forfaits dont le moindre changement d&#8217;option ré-engage pour 2 ans<sup><a href="http://astuces.absolacom.com/web/meuh/#footnote_2_1188" id="identifier_2_1188" class="footnote-link footnote-identifier-link" title="V&eacute;cu: modifier mon forfait de 2h &agrave; 3h ne changeait rien (sauf le prix) mais le modifier de 3h &agrave; 2h rallonge ma p&eacute;riode d&amp;#8217;engagement">3</a></sup></li>
<li>Des forfaits qui &laquo;&nbsp;prennent en compte le financement du mobile&nbsp;&raquo; même quand le mobile voulu n&#8217;est pas proposé dans les choix et qu&#8217;on le paye cash, à part.</li>
<li>Des forfaits dont le moindre usage classique actuel (voix +mail) coûte un bras</li>
<li>Des forfaits qu&#8217;il est parfois plus avantageux de prendre <span style="text-decoration: underline;">chez le même opérateur</span>&#8230;à l&#8217;étranger, avec l&#8217;option roaming!</li>
<li>Un service client qui n&#8217;a que le nom pour associer les mots service et client<sup><a href="http://astuces.absolacom.com/web/meuh/#footnote_3_1188" id="identifier_3_1188" class="footnote-link footnote-identifier-link" title=" v&eacute;cu: devant ma menace de r&eacute;silier, mon correspondant hilare: &amp;laquo;&amp;nbsp;Vous pensez vraiment trouver mieux ailleurs? Vous reviendrez chez nous dans 2 mois!&amp;nbsp;&amp;raquo; et qui me fait des &amp;laquo;&amp;nbsp;cadeaux&amp;nbsp;&amp;raquo; &agrave; tour de bras par courrier apr&egrave;s ma lettre de r&eacute;siliation &amp;laquo;&amp;nbsp;sous r&eacute;serve de r&eacute;engagement">4</a></sup></li>
<li>Des sonneries de 10 secondes, qui obligent à répondre tout de suite (y compris au volant, avec les conséquences qu&#8217;on connait), comptent pour un appel vers la messagerie et un rappel du correspondant.</li>
</ul>
<p>Les opérateurs commencent à admettre qu&#8217;ils ont pris leurs clients pour des vaches à traire. J&#8217;espère vraiment que <em>demain</em> sera aussi fracassant <a href="http://www.youtube.com/watch?v=lggCH__DDHk"><em>qu&#8217;avant hier</em></a>&#8230;</p>
<p>*Tu sais ce qu&#8217;elle te dit, la vache à lait?</p>
Notes:<ol class="footnotes"><li id="footnote_0_1188" class="footnote">si tu appelles, forcément, tu n&#8217;utilises pas le mail</li><li id="footnote_1_1188" class="footnote">si t&#8217;as internet, t&#8217;es sur facebook, donc pas besoin ni le temps de téléphoner. A qui, d&#8217;abord, t&#8217;as pas d&#8217;amis?</li><li id="footnote_2_1188" class="footnote">Vécu: modifier mon forfait de 2h à 3h ne changeait rien (sauf le prix) mais le modifier de 3h à 2h rallonge ma période d&#8217;engagement</li><li id="footnote_3_1188" class="footnote"> vécu: devant ma menace de résilier, mon correspondant hilare: &laquo;&nbsp;Vous pensez vraiment trouver mieux ailleurs? Vous reviendrez chez nous dans 2 mois!&nbsp;&raquo; et qui me fait des &laquo;&nbsp;cadeaux&nbsp;&raquo; à tour de bras par courrier après ma lettre de résiliation &laquo;&nbsp;sous réserve de réengagement</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/web/meuh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Traduisez les sites en un clic avec google</title>
		<link>http://astuces.absolacom.com/memo/traduisez-les-sites-en-un-clic-avec-google/</link>
		<comments>http://astuces.absolacom.com/memo/traduisez-les-sites-en-un-clic-avec-google/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 12:32:46 +0000</pubDate>
		<dc:creator>manuberro</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[tuning]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[logiciel]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://astuces.absolacom.com/?p=1178</guid>
		<description><![CDATA[Lost in translation (Je suis perdu dans ma traduction) Auparavant , google permettait l&#8217;accès à un outil permettant la traduction d&#8217;une page en un clic, en mettant un marque page dans la barre personnelle. Bien pratique pour naviguer sur des forums en norvégien, russe ou tagalog que je pratique peu mais qui sont parfois les [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1183" class="wp-caption alignright" style="width: 310px"><a href="http://astuces.absolacom.com/wp-content/uploads/2011/07/drapeau_europe.jpg"><img class="size-medium wp-image-1183" title="drapeau_europe" src="http://astuces.absolacom.com/wp-content/uploads/2011/07/drapeau_europe-300x200.jpg" alt="" width="300" height="200" /></a><p class="wp-caption-text">Ne pas se froisser avec l&#39;Europe...</p></div>
<h2>Lost in translation (Je suis perdu dans ma traduction)</h2>
<p>Auparavant , google permettait l&#8217;accès à un outil permettant la traduction d&#8217;une page en un clic, en mettant un marque page dans la barre personnelle. Bien pratique pour naviguer sur des forums en norvégien, russe ou <a href="http://fr.wikipedia.org/wiki/Tagalog">tagalog</a> que je pratique peu mais qui sont parfois les seuls à contenir les infos que l&#8217;on cherche.</p>
<p>J&#8217;ai essayé de remettre la main sur la page en question<sup><a href="http://astuces.absolacom.com/memo/traduisez-les-sites-en-un-clic-avec-google/#footnote_0_1178" id="identifier_0_1178" class="footnote-link footnote-identifier-link" title="google, traductions, outils, liens de traduction">1</a></sup> ,  mais impossible. Si vous savez où le retrouver, indiquez le moi dans les commentaires.</p>
<p>Heureusement, il est possible de refaire la même chose, puisque j&#8217;ai gardé une version sur l&#8217;une de mes machine. Il m&#8217;a suffit de reprendre l&#8217;adresse du raccourci.</p>
<h2>Back to the future (retrouver la fonction en avance sur son temps)</h2>
<p>Pour recréer le bouton, sous firefox, faites un clic droit sur la barre personnelle, et choisissez <em>nouveau marque page</em>. Nommez le <em>Français</em> (ou ce que vous voulez), puis copiez le code ci dessous dans le <em>champ d&#8217;adresse</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">javascript:var<span style="color: #000000; font-weight: bold;">%</span>20<span style="color: #007800;">t</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>window.getSelection<span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp;window.getSelection<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">||</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>document.getSelection<span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp;document.getSelection<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">||</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>document.selection<span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp;document.selection.createRange<span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp;document.selection.createRange<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>.text<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;var<span style="color: #000000; font-weight: bold;">%</span>20<span style="color: #007800;">e</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>document.charset<span style="color: #000000; font-weight: bold;">||</span>document.characterSet<span style="color: #7a0874; font-weight: bold;">&#41;</span>;<span style="color: #000000; font-weight: bold;">if</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>t<span style="color: #000000; font-weight: bold;">!</span>=<span style="color: #ff0000;">''</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>location.href=<span style="color: #ff0000;">'http://translate.google.fr/translate_t?text='</span>+t+<span style="color: #ff0000;">'&amp;amp;hl=fr&amp;amp;langpair=auto|fr&amp;amp;tbb=1&amp;amp;ie='</span>+e;<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #000000; font-weight: bold;">else</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>location.href=<span style="color: #ff0000;">'http://translate.google.fr/translate?u='</span>+escape<span style="color: #7a0874; font-weight: bold;">&#40;</span>location.href<span style="color: #7a0874; font-weight: bold;">&#41;</span>+<span style="color: #ff0000;">'&amp;amp;hl=fr&amp;amp;langpair=auto|fr&amp;amp;tbb=1&amp;amp;ie='</span>+e;<span style="color: #7a0874; font-weight: bold;">&#125;</span>;</pre></div></div>

<p>Enregistrez et rendez vous ensuite sur un site &laquo;&nbsp;en étranger&nbsp;&raquo; (par exemple <a href="http://edition.cnn.com/">http://edition.cnn.com/</a> ou <a href="http://ubuntu.de/">Ubuntu, c&#8217;est vraiment le cirque en Allemagne</a> ) puis cliquez sur le bouton du marque page créé. Le site sera automatiquement traduit.</p>
<h2>A simple plan (Faisons simple)</h2>
<p>Il y a une méthode encore plus simple! Faites glisser le lien ci dessous (ne cliquez pas dessus, faites le glisser) dans votre barre personnelle puis lâchez le. Vous aurez le bouton souhaité.La méthode est identique avec <a title="Navigateur Opera" href="http://www.opera.com/">Opera</a>, sauf qu&#8217;il faut appuyer sur <em>majuscule</em> pour lâcher le bouton en barre d&#8217;outils.</p>
<p style="text-align: center;"><a href="javascript:var%20t=((window.getSelection&amp;&amp;window.getSelection())||(document.getSelection&amp;&amp;document.getSelection())||(document.selection&amp;&amp;document.selection.createRange&amp;&amp;document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.fr/translate_t?text='+t+'&amp;hl=fr&amp;langpair=auto|fr&amp;tbb=1&amp;ie='+e;}else{location.href='http://translate.google.fr/translate?u='+escape(location.href)+'&amp;hl=fr&amp;langpair=auto|fr&amp;tbb=1&amp;ie='+e;};">Français</a></p>
<h2>Plus loin (que le bleu du ciel)</h2>
<p>Si vous voulez des boutons dans d&#8217;autres langues, il suffit de modifier les &laquo;&nbsp;fr&nbsp;&raquo; du code par l’abréviation de la langue désirée.</p>
<p>Cette méthode doit pouvoir fonctionner avec les autres navigateurs et les autres systèmes d&#8217;exploitation. Si ça marche pour vous, merci de l&#8217;indiquer dans les commentaires.</p>
Notes:<ol class="footnotes"><li id="footnote_0_1178" class="footnote">google, traductions, outils, liens de traduction</li></ol>]]></content:encoded>
			<wfw:commentRss>http://astuces.absolacom.com/memo/traduisez-les-sites-en-un-clic-avec-google/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

