<?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>Data Access Notes &#187; Linux</title>
	<atom:link href="http://www.accessdataservices.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.accessdataservices.com/blog</link>
	<description>Linux, Freedom, and More</description>
	<lastBuildDate>Tue, 10 Jan 2012 18:05:59 +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>ubuntu vnc slow fix</title>
		<link>http://www.accessdataservices.com/blog/ubuntu-vnc-slow-fix/</link>
		<comments>http://www.accessdataservices.com/blog/ubuntu-vnc-slow-fix/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 16:10:37 +0000</pubDate>
		<dc:creator>gare</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.accessdataservices.com/blog/?p=518</guid>
		<description><![CDATA[Vino / VNC was not refreshing the screen on the remote desktop of an Ubuntu machine. Found a fix for ubuntu 11.04: v_2ryann (v-2ryann) wrote on 2010-07-30: #18 Here is the answer guys, on how to do it without changing &#8230; <a href="http://www.accessdataservices.com/blog/ubuntu-vnc-slow-fix/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Vino / VNC was not refreshing the screen on the remote desktop of an Ubuntu machine.  Found a fix for ubuntu 11.04:</p>
<blockquote><p>
v_2ryann (v-2ryann) wrote on 2010-07-30:         #18<br />
Here is the answer guys, on how to do it without changing the effects:<br />
1) Open a terminal o press ALT+F2, then run/type: gconf-editor<br />
2) Go to /desktop/gnome/remote_access and enable &#8220;disable_xdamage&#8221;
</p></blockquote>
<p>some launchpad bugs for this issue:</p>
<p>https://bugs.launchpad.net/ubuntu/+source/vino/+bug/299112</p>
<p>https://bugs.launchpad.net/ubuntu/+source/vino/+bug/772873</p>
<p>related ubuntu forum posts:</p>
<p>http://ubuntuforums.org/showthread.php?t=1744161</p>
<p>Please note:  This workaround does NOT appear to work on the new ubuntu 11.10.  There is no &#8220;disable_xdamage&#8221; in the remote_access keys:</p>
<div id="attachment_520" class="wp-caption alignleft" style="width: 310px"><a href="http://www.accessdataservices.com/blog/wp-content/uploads/2011/10/gconf-editor_screenshot.png"><img src="http://www.accessdataservices.com/blog/wp-content/uploads/2011/10/gconf-editor_screenshot-300x168.png" alt="No disable_xdamage key available for 11.10" title="11.10 remote_access options" width="300" height="168" class="size-medium wp-image-520" /></a><p class="wp-caption-text">No disable_xdamage key available for 11.10</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.accessdataservices.com/blog/ubuntu-vnc-slow-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos set dns</title>
		<link>http://www.accessdataservices.com/blog/centos-set-dns/</link>
		<comments>http://www.accessdataservices.com/blog/centos-set-dns/#comments</comments>
		<pubDate>Mon, 23 May 2011 11:31:58 +0000</pubDate>
		<dc:creator>gare</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.accessdataservices.com/blog/?p=496</guid>
		<description><![CDATA[domain name not resolving on a CentOS box? [root@localhost ~]# ping -c2 www.google.com ping: unknown host www.google.com Edit /etc/resolv.conf to add some nameservers: # Googles Public DNS nameserver 8.8.8.8 nameserver 8.8.4.4 search localdomain No reboot necessary! (writing this basic step &#8230; <a href="http://www.accessdataservices.com/blog/centos-set-dns/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>domain name not resolving on a CentOS box?</p>
<blockquote><p>[root@localhost ~]# ping -c2 www.google.com<br />
ping: unknown host www.google.com
</p></blockquote>
<p>Edit /etc/resolv.conf to add some nameservers:</p>
<blockquote><p>
# Googles Public DNS<br />
nameserver 8.8.8.8<br />
nameserver 8.8.4.4<br />
search localdomain
</p></blockquote>
<p>No reboot necessary!</p>
<p><em>(writing this basic step because Googling does not provide simple answer. ) This is not obviously how to set up a DNS server &#8211; it is just how to get the box to resolve DNS. old school basics that no one seems to want to document.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.accessdataservices.com/blog/centos-set-dns/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>html to pdf including the css</title>
		<link>http://www.accessdataservices.com/blog/html-to-pdf-including-the-css/</link>
		<comments>http://www.accessdataservices.com/blog/html-to-pdf-including-the-css/#comments</comments>
		<pubDate>Mon, 09 May 2011 10:40:19 +0000</pubDate>
		<dc:creator>gare</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WebTechnology]]></category>

		<guid isPermaLink="false">http://www.accessdataservices.com/blog/?p=483</guid>
		<description><![CDATA[.. because I wasted way to much time on finding easiest way to convert an html file to pdf , including the css : 1. On apt based Linux, install wkhtmltopdf and its dependencies : sudo apt-get install wkhtmltopdf 2. &#8230; <a href="http://www.accessdataservices.com/blog/html-to-pdf-including-the-css/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>.. because I wasted <em>way to much time </em> on finding easiest way to convert an html file to pdf , including the css :</p>
<p>1. On apt based Linux, install wkhtmltopdf and its dependencies :<br />
<code>sudo apt-get install wkhtmltopdf</code></p>
<p>2. Usage:</p>
<blockquote>
<p>To convert a remote HTML file to PDF:<br />
<code>wkhtmltopdf http://www.google.com google.pdf</code></p>
<p>To convert a local HTML file to PDF:<br />
<code>wkhtmltopdf my.html my.pdf</code></p>
<p>You can also convert to PS files if you like:<br />
<code>wkhtmltopdf my.html my.ps</code></p>
<p>The eler2.pdf sample file<br />
<code>wkhtmltopdf http://geekz.co.uk/lovesraymond/archive/eler-highlights-2008 eler2.pdf -H --outline</code></p></blockquote>
<p>source: http://code.google.com/p/wkhtmltopdf/wiki/Usage</p>
<p>Creator/maintainer has also recently created some PHP bindings for this as well.  More on this version at http://blog.perplexedlabs.com/2010/09/15/convert-html-to-pdf-in-php-libwkhtmltox-extension/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accessdataservices.com/blog/html-to-pdf-including-the-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>firefly media server</title>
		<link>http://www.accessdataservices.com/blog/firefly-media-server/</link>
		<comments>http://www.accessdataservices.com/blog/firefly-media-server/#comments</comments>
		<pubDate>Sun, 08 May 2011 22:57:43 +0000</pubDate>
		<dc:creator>gare</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.accessdataservices.com/blog/?p=358</guid>
		<description><![CDATA[Firefly Media Server (mt-daapd) sudo apt-get install mt-daapd will get you a nice reliable music server. Available in Ubuntu repositories. >mt-daapd -V Firefly Media Server: Version svn-1696 You can configure from the web interface: If you must manually configure a &#8230; <a href="http://www.accessdataservices.com/blog/firefly-media-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>Firefly Media Server (mt-daapd)</h3>
<p><code>sudo apt-get install mt-daapd </code><br />
will get you a nice reliable music server.  Available in Ubuntu repositories.</p>
<p><code> >mt-daapd -V<br />
Firefly Media Server: Version svn-1696<br />
</code><br />
You can configure from the web interface:<br />
<a href="http://www.accessdataservices.com/blog/wp-content/uploads/2011/05/firefly-mt-daapd.png"><img src="http://www.accessdataservices.com/blog/wp-content/uploads/2011/05/firefly-mt-daapd-150x150.png" alt="original version of firefly " title="firefly-mt-daapd" width="150" height="150" class="alignleft size-thumbnail wp-image-488" /></a><br />
If you must manually configure a setting,  /etc/mt-daapd.conf can be manually edited.<br />
<code><br />
g@gubuntu:~$ sudo more  /etc/mt-daapd.conf<br />
</code></p>
<blockquote><p># $Id: mt-daapd.conf.templ 1660 2007-09-12 13:08:04Z rpedde $<br />
#<br />
# This is the mt-daapd config file.<br />
#<br />
# If you have problems or questions with the format of this file,<br />
# direct your questions to rpedde@users.sourceforge.net.<br />
#<br />
# Questions and discussions about the format and content of this<br />
# config file can probably be obtained by consulting the wiki:<br />
#<br />
# http://wiki.fireflymediaserver.org/Config_File<br />
#<br />
# Or by asking questions on the forums at<br />
#<br />
# http://forums.fireflymediaserver.org<br />
#<br />
#<br />
[general]<br />
# If you installed from tarball without &#8211;prefix=/usr, then the correct<br />
# path is probably /usr/local/share/mt-daapd/admin-root.<br />
#</p>
<p>web_root = /usr/share/mt-daapd/admin-root</p>
<p>#<br />
# port (required)<br />
#<br />
# What port to listen on.  It is possible to use a different<br />
# port, but this is the default iTunes port<br />
#</p>
<p>port = 3689</p>
<p>#<br />
# admin_pw (required)<br />
#<br />
# This is the password to the administrative pages<br />
#</p>
<p>admin_pw = yourpwd_here</p>
<p>#<br />
# db_type (required)<br />
#<br />
# This is what kind of backend database to store the song<br />
# info in.  Valid choices are &#8220;sqlite&#8221; and &#8220;sqlite3&#8243;.<br />
#</p>
<p>db_type = sqlite3
</p></blockquote>
<h3>Firefly Media Server is being re-written (forked-daapd)</h3>
<p><em>Note: Adding these software repositories to your ubuntu installation can have undesired effects if you leave them in the sources.list after their initial use.</em> </p>
<p>
The mt-daapd media server has been forked by the last contributor Julien Blache, and is being totally re-written. See http://blog.technologeek.org/2009/06/12/217 and <a href="http://blog.technologeek.org/2011/04/09/483">http://blog.technologeek.org/2011/04/09/483</a></p>
<p>The latest debian build http://alioth.debian.org/~jblache/forked-daapd/</p>
<p>One way to install forked-daapd on an Ubuntu system from http://jamesdanylik.com/articles/undoing-the-damage-replacing-mt-daapd-firefly-with-forked-daapd/</p>
<blockquote><p>Basically, it includes adding “deb http://ftp.debian.org/debian squeeze main” to your /etc/apt/sources.list, running an “apt-get update,” and then using the Debian testing build of forked-daapd to install with a “sudo apt-get install forked-daapd.”  Very clever, and makes the whole process pretty painless.  </p>
<blockquote><p>
One caveat: if you’re like me and Jason, you’ll probably get an error saying “main: libgcrypt version mismatch” when forked-daapd tries to start up. This is due to Debian using a different version of gcrypt; install it with “sudo apt-get install libgcrypt11,” and you should be right as rain. <strong> <em>Just don’t forget to delete the Debian line from your sources.list after you get everything working, or you’ll have all sorts of strange problems. </strong></em> Edit your setting in /etc/forked-daapd.conf, and start the party by running “sudo /etc/init.d/forked-daapd start.</p>
</blockquote>
</blockquote>
<p>Key Server Error fix from</p>
<p>http://en.kioskea.net/faq/809-debian-apt-get-no-pubkey-gpg-error</p>
<blockquote><p>Issue</p>
<p>When updating the Debian based system, it may happens that the apt-get displays an error message like: </p>
<blockquote><p>W: GPG error: ftp://ftp.debian.org/ testing Release:</p>
<p>The following signatures couldn&#8217;t be verified because the public key is not available: NO_PUBKEY 010908312D230C5F </p>
<p>W: There is no public key available for the following key IDs:</p>
<p>010908312D230C5F</p>
</blockquote>
<p>This is a new feature of the apt-get system that guarantee the authenticity of servers for updating Debian.</p>
<p>Solution</p>
<p>Type the following commands, REPLACE the number of the key that displayed in the error message: </p>
<blockquote><p>
gpg &#8211;keyserver pgpkeys.mit.edu &#8211;recv-key  010908312D230C5F</p>
<p>gpg -a &#8211;export 010908312D230C5F | sudo apt-key add -
</p>
</blockquote>
</blockquote>
<p>http://packages.debian.org/squeeze/mt-daapd</p>
<blockquote><p>
/usr/share/doc/mt-daapd$ more changelog.Debian</p>
<p>mt-daapd (0.9~r1696.dfsg-16) unstable; urgency=low</p>
<p>  * debian/patches/18_itunes10_fix.dpatch:</p>
<p>    + Added; handle aeMK tag, mandatory for iTunes 10 (closes: #596250).</p>
<p> &#8212; Julien BLACHE <jblache@debian.org>  Thu, 09 Sep 2010 19:50:24 +0200</p>
<p>mt-daapd (0.9~r1696.dfsg-15) unstable; urgency=low</p>
<p>  * debian/control:</p>
<p>    + Bump Standards-Version to 3.8.3 (no changes).</p>
<p>  * debian/rules:</p>
<p>    + Call dh_installlogcheck.</p>
<p>  * debian/mt-daapd.logcheck.ignore.server:</p>
<p>    + Added logcheck rules to ignore trivial mt-daapd log messages</p>
<p>      (closes: #547010).</p>
<p> &#8212; Julien BLACHE <jblache@debian.org>  Sat, 19 Sep 2009 10:48:07 +0200
</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.accessdataservices.com/blog/firefly-media-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>talking weather alarm clock</title>
		<link>http://www.accessdataservices.com/blog/talking-weather-alarm-clock/</link>
		<comments>http://www.accessdataservices.com/blog/talking-weather-alarm-clock/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 09:14:54 +0000</pubDate>
		<dc:creator>gare</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.accessdataservices.com/blog/?p=433</guid>
		<description><![CDATA[espeak + weather-util + cron = a fun little talking weather program &#8220;What&#8217;s the weather going to be like today?&#8221; &#8211; in Iowa this is an especially relevant question. The weather seems to change day to day. With this little &#8230; <a href="http://www.accessdataservices.com/blog/talking-weather-alarm-clock/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>espeak + weather-util + cron = a fun little talking weather program</em></p>
<p>&#8220;What&#8217;s the weather going to be like today?&#8221;   &#8211; in Iowa this is an especially relevant question.  The weather seems to change day to day.  With this little setup, now have weather retrieved and spoken to us.</p>
<p><strong>espeak</strong></p>
<p>https://help.ubuntu.com/community/TextToSpeech</p>
<p>espeak is already installed on Ubuntu Linux.   </p>
<p><strong>weather-util </strong></p>
<p>http://manpages.ubuntu.com/manpages/natty/en/man1/weather-util.1.html</p>
<p>So install weather-util:<br />
<code> > sudo apt-get install  weather-util</code></p>
<p>Setup our bash shell script:</p>
<p><code>#!/bin/bash<br />
## check out this list!  http://weather.noaa.gov/pub/data/forecasts/<br />
## http://aviationweather.gov/adds/metars/stations.txt  Iowa City is KIOW, Cedar Rapids is KCID<br />
CURRENTWEATHER=$(weather-util -i KCID)<br />
# speak english with Scottish accent<br />
espeak -s 110  -v en-sc "Todays weather is $CURRENTWEATHER"</p>
<p>espeak -s 110  -v en-sc "What! You want the Forecast too?  This is only my first day!  "<br />
</code></p>
<p>Save to a file , say &#8216;/home/gare/readWeather.sh&#8217;.</p>
<p>Make File Executable:<br />
<code>> chmod u+x /home/gare/readWeather.sh<br />
</code></p>
<p>Setup our crontab schedule for 6 am:<br />
<code></p>
<p>> crontab -e</p>
<p># at 5 a.m every week with:<br />
0 6 * * * /home/gare/readWeather.sh<br />
</code></p>
<p>Done!  </p>
<p>For extra fun, set this up on a netbook , and set under your wife&#8217;s bed for a wakeup surprise!</p>
<p>If interest I can post a script that reads the current time as well.</p>
<p>modified for espeak from this thread :  http://ubuntuforums.org/showthread.php?t=928060&#038;page=2  and updated to use espeak</p>
]]></content:encoded>
			<wfw:commentRss>http://www.accessdataservices.com/blog/talking-weather-alarm-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

