<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/assets/rss.xsl" type="text/xsl"?><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>Sacha Chua - tag - ubuntu</title>
	<atom:link href="https://sachachua.com/blog/tag/ubuntu/feed/index.xml" rel="self" type="application/rss+xml" />
	<atom:link href="https://sachachua.com/blog/tag/ubuntu" rel="alternate" type="text/html" />
	<link>https://sachachua.com/blog/tag/ubuntu/feed/index.xml</link>
	<description>Emacs, sketches, and life</description>
  
	<lastBuildDate>Mon, 20 Jul 2026 12:27:43 GMT</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>daily</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>11ty</generator>
  <item>
		<title>Calibre and Qt 5.5</title>
		<link>https://sachachua.com/blog/2016/01/calibre-qt-5-5/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Tue, 26 Jan 2016 13:00:00 GMT</pubDate>
    <category>geek</category>
<category>linux</category>
		<guid isPermaLink="false">https://sachachua.com/blog/?p=28588</guid>
		<description><![CDATA[<p>A recent apt-get dist-upgrade resulted in the removal of calibre and calibre-bin from my system. I've been using Calibre to convert e-books from HTML and EPUB (some developer references, some fanfiction =) ) and copy them onto my Kindle.</p>
<p>It turned out that the Calibre packaged in Ubuntu required qtbase-abi-5-4-2 and my recent dist-upgrade installed Qt 5.5. I needed to upgrade to Calibre 2.49, which wasn't available on any of the PPAs I checked (despite instructions to the <a href="http://linuxg.net/install-calibre-on-ubuntu-via-ppa/">contrary</a>).</p>
<p>Installing Calibre from the <a href="http://calibre-ebook.com/download_linux">Calibre website</a> made it work, though. In fact, the Calibre website says:</p>
<blockquote><p>Please do not use your distribution provided calibre package, as those are often buggy/outdated. Instead use the Binary install described below.</p></blockquote>
<p>I wasn't too keen on piping the output of a wget command to sudo , but a quick scan of the script didn't turn up anything suspicious. Anyway, now I can convert EPUBs to MOBIs and easily copy them onto my Kindle, yay!</p>

<p>You can <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2016%2F01%2Fcalibre-qt-5-5%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item><item>
		<title>Using supervisord for Nginx+FastCGI+PHP</title>
		<link>https://sachachua.com/blog/2010/06/using-supervisord-for-nginxfastcgiphp/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Wed, 23 Jun 2010 12:00:00 GMT</pubDate>
    <category>geek</category>
<category>linux</category>
		<guid isPermaLink="false">https://sachachua.com/blog/?p=7227</guid>
		<description><![CDATA[<p>I was having problems with spawn-fcgi-standalone occasionally resulting in dead PHP processes, which caused 502 Bad Gateway errors on my site. Crontabbing an <code>/etc/init.d/init-fastcgi start</code> didn't help much, so I looked for other ways to do it. Supervisord looked promising.</p>
<p>Here’s how to get Supervisord:</p>
<pre>apt-get install python-setuptools
easy_install supervisor
</pre>
<p>&nbsp;</p>
<p>Here’s what to <a href="http://agiletesting.blogspot.com/2010/06/setting-up-php5fastcgi-with-nginx.html">add to /etc/supervisord.conf</a>: </p>
<pre>[fcgi-program:php5-cgi]
socket=tcp://127.0.0.1:9000
command=/usr/bin/php5-cgi
numprocs=5
priority=999
process_name=%(program_name)s_%(process_num)02d
user=www-data
autorestart=true
autostart=true
startsecs=1
startretries=3
stopsignal=QUIT
stopwaitsecs=10
redirect_stderr=true
stdout_logfile=/var/log/php5-cgi.log
stdout_logfile_maxbytes=10MB</pre>
<p>So far, so good. When I kill the php process, supervisord starts it back up. Progress! </p>
<p>supervisord doesn’t come with an init.d script, but you can <a href="http://serverfault.com/questions/96499/how-to-automatically-start-supervisord-on-linux-ubuntu">get one for Ubuntu.</a></p>

<p>You can <a href="https://sachachua.com/blog/2010/06/using-supervisord-for-nginxfastcgiphp/#comment">view 8 comments</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2010%2F06%2Fusing-supervisord-for-nginxfastcgiphp%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item><item>
		<title>Getting sound to work again</title>
		<link>https://sachachua.com/blog/2006/09/getting-sound-to-work-again/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Fri, 15 Sep 2006 05:20:00 GMT</pubDate>
    <category>laptop</category>
<category>linux</category>
		<guid isPermaLink="false">https://sachachua.com/blog/?p=3860</guid>
		<description><![CDATA[<p>Things to remember when setting up sound in Ubuntu Linux on a Sony Vaio U1:</p>
<ul>
<li>modprobe trident</li>
<li>modprobe snd_trident</li>
<li>Be very very thorough with alsamixer settings. For some brain-dead reason, all the important stuff is muted.</li>
</ul>


<p>You can <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2006%2F09%2Fgetting-sound-to-work-again%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item><item>
		<title>Moved to Vaio!</title>
		<link>https://sachachua.com/blog/2006/07/moved-to-vaio/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Wed, 26 Jul 2006 22:50:00 GMT</pubDate>
    
		<guid isPermaLink="false">https://sachachua.com/blog/?p=3699</guid>
		<description><![CDATA[<p>The power adapter on my Fujitsu Lifebook P1110 has just completely given up. Fortunately, my parents had given me the Sony Vaio U1 to use as a backup computer. After a day of upgrading it from Ubuntu Breezy Badger to Ubuntu Dapper Drake (that should teach me to deselect all of the GNOME packages before I dist-upgrade!) and another afternoon for getting my various CVS Emacs stuff compiled and put together, I'm now back on an approximately working system. I still need to get software suspend working, but everything else works beautifully.</p>
<p>The Sony Vaio U1 is actually a pretty sweet machine. It's *tiny* &#8211; 8.9&#8243; screen and a keyboard that even I find just a bit small. No Dvorak on this one; the combination of a Japanese keyboard and chiclet keys makes it too difficult for me to remember the proper keyboard mappings through muscle memory. I type with four fingers: the middle finger and index finger of my left hand and the thumb and index finger of my right.</p>
<p>When Simon saw me setting up the Vaio, he insisted that I borrow a proper-sized keyboard. Heh. ;)</p>
<p>So I'm on Ubuntu now. It's certainly slicker than the Debian system I've just moved from, with a pretty bootup sequence and a lot of other things that Just Work. I'm no longer a poseur. The Ubuntu stickers on my skateboard actually mean something. ;) Sweet.</p>
<p>Now that that's sorted out, maybe I can work on my writing backlog. I owe so many people e-mail and I owe Don Marti an article&#8230;</p>


<p>You can <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2006%2F07%2Fmoved-to-vaio%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item>
	</channel>
</rss>