<?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>Y.A.P.O.S. by rangzen &#187; zenity</title>
	<atom:link href="http://tatouage.l-homme.com/tag/zenity/feed/" rel="self" type="application/rss+xml" />
	<link>http://tatouage.l-homme.com</link>
	<description>Il était une fois dans l&#039;web</description>
	<lastBuildDate>Sun, 05 Feb 2012 13:56:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>S&#8217;afficher des messages, des reminders ou d&#8217;autres trucs</title>
		<link>http://tatouage.l-homme.com/2008/09/safficher-des-messages-des-reminders-ou-dautres-trucs/</link>
		<comments>http://tatouage.l-homme.com/2008/09/safficher-des-messages-des-reminders-ou-dautres-trucs/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 18:16:39 +0000</pubDate>
		<dc:creator>rangzen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[reminder]]></category>
		<category><![CDATA[zenity]]></category>

		<guid isPermaLink="false">http://l-homme.com/tatouage/?p=31</guid>
		<description><![CDATA[Comment afficher tous les vendredis qu&#8217;il faut sauvegarder ? Comment afficher à 20h00 de mettre un enregistrement ? Utiliser les outils de base : crontab et zenity. Installation de gnome-schedule Rien de compliqué, il y a un paquet : gnome-schedule :) Création d&#8217;un rappel La seule astuce est l&#8217;utilisation du DISPLAY, c&#8217;est la variable qui <a href='http://tatouage.l-homme.com/2008/09/safficher-des-messages-des-reminders-ou-dautres-trucs/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Comment afficher tous les vendredis qu&#8217;il faut sauvegarder ? Comment afficher à 20h00 de mettre un enregistrement ? Utiliser les outils de base : crontab et zenity.</p>
<h1>Installation de gnome-schedule</h1>
<p>Rien de compliqué, il y a un paquet : gnome-schedule :)</p>
<h1>Création d&#8217;un rappel</h1>
<p>La seule astuce est l&#8217;utilisation du DISPLAY, c&#8217;est la variable qui donne aux programmes en ligne de commande l&#8217;adresse de l&#8217;écran. Et oui puisque X marche à travers le réseau, même si vous n&#8217;utilisait pas cette fonctionnalité, il faut dire au programme  d&#8217;utiliser l&#8217;écran de l&#8217;ordinateur local. Vous pouvez donc choisir toutes les options d&#8217;heures, etc. et utiliser la commande :</p>
<pre>DISPLAY=:0 /usr/bin/zenity --warning --text="relever les compteurs"</pre>
<div id="attachment_34" class="wp-caption alignnone" style="width: 462px"><a href="http://l-homme.com/tatouage/wp-content/uploads/2008/09/capture-gnome-schedule.jpg"><img class="size-full wp-image-34" title="Capture de gnome-schedule" src="http://l-homme.com/tatouage/wp-content/uploads/2008/09/capture-gnome-schedule.jpg" alt="Capture de gnome-schedule" width="452" height="563" /></a><p class="wp-caption-text">Capture de gnome-schedule</p></div>
<h1>Liens</h1>
<ul>
<li><a href="http://gnome-schedule.sourceforge.net">http://gnome-schedule.sourceforge.net</a></li>
<li><a href="http://forum.ubuntu-fr.org/viewtopic.php?id=66032">http://forum.ubuntu-fr.org/viewtopic.php?id=66032</a></li>
<li> <a href="http://ubuntuforums.org/showthread.php?t=431033">http://ubuntuforums.org/showthread.php?t=431033</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tatouage.l-homme.com/2008/09/safficher-des-messages-des-reminders-ou-dautres-trucs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Utiliser un casque Bluetooth (Jabra BT3030) avec Ubuntu Hardy Heron</title>
		<link>http://tatouage.l-homme.com/2008/09/casque-bluetooth-avec-hardy-heron/</link>
		<comments>http://tatouage.l-homme.com/2008/09/casque-bluetooth-avec-hardy-heron/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 18:34:58 +0000</pubDate>
		<dc:creator>rangzen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[gstreamer]]></category>
		<category><![CDATA[jabra]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[zenity]]></category>

		<guid isPermaLink="false">http://l-homme.com/tatouage/?p=18</guid>
		<description><![CDATA[Comment écouter sa musique avec un casque Bluetooth, en l&#8217;occurrence un Jabre BT3030, sous Hardy Heron avec n&#8217;importe quelle application qui gère GStreamer. Pour les autres cf. le premier lien. Référence http://wiki.bluez.org/wiki/HOWTO/AudioDevices http://ubuntuforums.org/showthread.php?t=633522 Identifier son casque Lancer cette commande pour identifier votre l&#8217;adresse de votre casque, il doit être en mode pairing : hcitool scan <a href='http://tatouage.l-homme.com/2008/09/casque-bluetooth-avec-hardy-heron/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Comment écouter sa musique avec un casque Bluetooth, en l&#8217;occurrence un Jabre BT3030, sous Hardy Heron avec n&#8217;importe quelle application qui gère GStreamer. Pour les autres cf. le premier lien.</p>
<h1>Référence</h1>
<ul>
<li><a href="http://wiki.bluez.org/wiki/HOWTO/AudioDevices">http://wiki.bluez.org/wiki/HOWTO/AudioDevices</a></li>
<li><a href="http://ubuntuforums.org/showthread.php?t=633522">http://ubuntuforums.org/showthread.php?t=633522</a></li>
</ul>
<h1>Identifier son casque</h1>
<p>Lancer cette commande pour identifier votre l&#8217;adresse de votre casque, il doit être en mode pairing :</p>
<pre>hcitool scan</pre>
<h1>.asoundrc</h1>
<p>Créer le fichier ~/.asoundrc :</p>
<pre>pcm.bluetooth {
	type bluetooth
	device 00:1D:82:04:28:78	#optionnel
	profile "hifi"			#optionnel
}</pre>
<h1>hcid.conf</h1>
<p>Rajouter dans /etc/bluetooth/hcid.conf :</p>
<pre>device 00:1D:82:04:28:78 {
        name "BT3030";
        auth enable;
        lm master;
        passkey "0000";
}</pre>
<h1>Gstreamer</h1>
<p>Un petit script avec une GUI pour changer d&#8217;un profil Bluetooth à vos enceintes par exemple :</p>
<pre>#!/bin/bash

answer=$(zenity --text "Bluetooth status by default in GStreamer" --list --radiolist --column "Choice" --column "Status" TRUE enable FALSE disable)

case $answer in
enable)
echo "Enabling Bluetooth"
gconftool -t string -s /system/gstreamer/0.10/default/musicaudiosink "alsasink buffer-time=6000000 latency-time=1000000 device=bluetooth" ;;
disable)
echo "Disabling Bluetooth"
gconftool -t string -s /system/gstreamer/0.10/default/musicaudiosink "autoaudiosink" ;;
esac</pre>
]]></content:encoded>
			<wfw:commentRss>http://tatouage.l-homme.com/2008/09/casque-bluetooth-avec-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

