<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2244254318500597584</id><updated>2012-02-16T20:34:19.395+01:00</updated><category term='pdflatex'/><category term='ramdisk'/><category term='grub'/><category term='package'/><category term='cover'/><category term='bootloader'/><category term='tex'/><category term='icons'/><category term='web'/><category term='documents'/><category term='latex'/><category term='macosx'/><category term='partitions'/><category term='fonts'/><category term='polar'/><category term='paperclip'/><category term='ocrfeeder'/><category term='heart rate monitor'/><category term='gnu'/><category term='gzip'/><category term='open source'/><category term='dvd'/><category term='gz'/><category term='ohci'/><category term='firefox'/><category term='gpl'/><category term='find'/><category term='copy'/><category term='shell'/><category term='truetype'/><category term='internet'/><category term='windows'/><category term='imagemagick'/><category term='busybox'/><category term='ocr'/><category term='thunderbird'/><category term='review'/><category term='inkscape'/><category term='vector'/><category term='ps2pdf'/><category term='kde3'/><category term='tesseract'/><category term='hardware'/><category term='chm'/><category term='linux'/><category term='facebook'/><category term='boot'/><category term='epstopdf'/><category term='usb'/><category term='howto'/><category term='bsd'/><category term='graphics'/><category term='ehci'/><category term='cd'/><category term='socialnetworking'/><category term='bash'/><category term='autocomplete'/><category term='font'/><category term='gaming'/><category term='multimedia'/><category term='uhci'/><category term='pdf'/><category term='kde'/><category term='tar'/><category term='kde4'/><category term='matlab'/><category term='chm2pdf'/><category term='copyright'/><category term='filesystem'/><category term='eps'/><category term='svg'/><category term='bygfoot'/><category term='unix'/><category term='gtwitter'/><category term='twitter'/><category term='scanning'/><category term='history'/><category term='standards'/><category term='oxygen'/><category term='udev'/><category term='ubuntu'/><category term='pdftk'/><title type='text'>the open device</title><subtitle type='html'>reviews, tips and tricks, opinions about open and less open technology</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8904296643884535871</id><published>2011-08-11T13:52:00.003+01:00</published><updated>2011-08-11T13:54:46.793+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='find'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Recursive find</title><content type='html'>Sometimes you don't have locate , or you want just to find recursively below your current directory. Here is a handy alias:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;alias fn='find . -name':&lt;/code&gt;&lt;br /&gt;Example usage: &lt;code&gt;$ fn "page*.htm"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.joegrossberg.com/archives/000387.html"&gt;Tip from Joe Grossberg.&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8904296643884535871?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8904296643884535871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8904296643884535871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8904296643884535871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8904296643884535871'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2011/08/recursive-find.html' title='Recursive find'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-6685653292915032166</id><published>2011-04-10T01:40:00.004+01:00</published><updated>2011-04-10T01:49:34.636+01:00</updated><title type='text'>Encode video FLV to AVI with one line</title><content type='html'>Just found on the Ubuntu forums a way to convert FLVs to AVI with a single shell line, using &lt;span style="font-weight: bold;"&gt;mencoder&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="margin: 0px; padding: 6px; border: 1px inset; width: 640px; height: 34px; text-align: left; overflow: auto;"&gt;for file in *.flv; do mencoder -oac mp3lame -ovc lavc "$file" -o "`echo $file | sed -e 's/\.flv$/\.avi/'`"; done&lt;/pre&gt;&lt;br /&gt;Source is &lt;a href="http://ubuntuforums.org/showthread.php?t=1391685"&gt;this thread&lt;/a&gt;.&lt;br /&gt;However with gnome-mplayer it seems I can't always navigate the resulting AVI.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-6685653292915032166?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/6685653292915032166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=6685653292915032166' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/6685653292915032166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/6685653292915032166'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2011/04/encode-video-flv-to-avi-with-one-line.html' title='Encode video FLV to AVI with one line'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-3147549991490077252</id><published>2011-02-18T20:25:00.002+01:00</published><updated>2011-02-18T20:36:13.710+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='documents'/><category scheme='http://www.blogger.com/atom/ns#' term='tesseract'/><category scheme='http://www.blogger.com/atom/ns#' term='scanning'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='ocr'/><category scheme='http://www.blogger.com/atom/ns#' term='ocrfeeder'/><title type='text'>OCR of scanned PDFs in Linux</title><content type='html'>It seems there is still no quick-and-ready solution, but found a few interesting scripts.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://amanzi.blogspot.com/2008/07/linux-open-source-ocr-batch-processing.html"&gt;This script&lt;/a&gt; based on &lt;a href="http://code.google.com/p/tesseract-ocr/"&gt;Tesseract&lt;/a&gt; worked well for me. It requires to have Tesseract and ghostscript installed, and returns a number of ASCII text files from the PDF. Given that the OCR engine is the same used by Google, you can be assured it works pretty well.&lt;br /&gt;&lt;br /&gt;A bit less comfy solution can be found on &lt;a href="http://www.linux.com/archive/feature/138511"&gt;this Linux.com article&lt;/a&gt;, with some shell script based on Tesseract as well.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://superuser.com/questions/28426/how-to-extract-text-with-ocr-from-a-pdf-on-linux"&gt;Another solution&lt;/a&gt; using other engines.&lt;br /&gt;&lt;br /&gt;It seems also there is a potentially elegant GUI solution by means of &lt;a href="http://live.gnome.org/OCRFeeder"&gt;OCRFeeder&lt;/a&gt;, but I still haven't tried it. I'll let you know how it works, for now I just bookmark these links.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-3147549991490077252?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/3147549991490077252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=3147549991490077252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3147549991490077252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3147549991490077252'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2011/02/ocr-of-scanned-pdfs-in-linux.html' title='OCR of scanned PDFs in Linux'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-7926746176934274933</id><published>2011-02-08T02:48:00.003+01:00</published><updated>2011-02-08T02:52:50.089+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='fonts'/><category scheme='http://www.blogger.com/atom/ns#' term='truetype'/><category scheme='http://www.blogger.com/atom/ns#' term='font'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Install True Type fonts on Ubuntu in three steps</title><content type='html'>It's very easy:&lt;br /&gt;&lt;br /&gt;1)Create a .fonts subdirectory in your home directory&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;cd ~&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mkdir .fonts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2)Move the .ttf file in the .fonts directory&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mv myfont.ttf ~/.fonts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3)Refresh the font cache&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;sudo fc-cache -f -v&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And your font should be ready to be used.&lt;br /&gt;Credits to &lt;a href="http://www.detector-pro.com/2009/04/how-to-install-fonts-on-ubuntu-904.html"&gt;Detector Pro&lt;/a&gt; -I streamlined the process a bit, being comfortable with the command line.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-7926746176934274933?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/7926746176934274933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=7926746176934274933' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/7926746176934274933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/7926746176934274933'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2011/02/install-true-type-fonts-on-ubuntu-in.html' title='Install True Type fonts on Ubuntu in three steps'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-580807355173037337</id><published>2011-01-26T18:57:00.002+01:00</published><updated>2011-01-26T19:00:47.557+01:00</updated><title type='text'>How to symlink all files in a directory</title><content type='html'>&lt;span style="font-family: courier new;"&gt;&lt;span style="font-family: lucida grande;"&gt;It seems that a simple ln -s /dir/* doesn't work, so:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;for f in $(ls -d /base/*); do ln -s $f /target; done &amp;amp;&amp;amp; ls -al /target&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;From &lt;/span&gt;&lt;a style="font-family: lucida grande;" href="http://www.commandlinefu.com/commands/view/1225/symlink-all-files-from-a-base-directory-to-a-target-directory"&gt;commandlinefu.com &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-580807355173037337?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/580807355173037337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=580807355173037337' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/580807355173037337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/580807355173037337'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2011/01/how-to-symlink-all-files-in-directory.html' title='How to symlink all files in a directory'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-4758212368329474349</id><published>2010-05-08T22:35:00.003+01:00</published><updated>2010-05-08T22:42:34.450+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='udev'/><title type='text'>udevinfo and udevadm</title><content type='html'>If you have ever tried to &lt;a href="http://reactivated.net/writing_udev_rules.html"&gt;write UDEV rules&lt;/a&gt; , say, to get your external hard drive to mount at your preferred custom mount point, you will have found necessary to use the little utility &lt;a href="http://linux.die.net/man/8/udevinfo"&gt;&lt;span style="font-weight: bold;"&gt;udevinfo&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Recently this utility has been superseded by &lt;a href="http://linux.die.net/man/8/udevadm"&gt;&lt;span style="font-weight: bold;"&gt;udevadm&lt;/span&gt;&lt;/a&gt;. However there is a way to get the old udevinfo output back with udevadm:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;udevadm info -a -p $(udevadm info -q  path -n /dev/your-device)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and you will have the same output you would have had with udevinfo. Very useful! Credits to &lt;a href="http://joomla.unlikelysource.com/index.php?option=com_content&amp;amp;view=article&amp;amp;id=34:howto-udevinfo&amp;amp;catid=10:tutorials-howto&amp;amp;Itemid=33"&gt;Unlikely Source&lt;/a&gt; for the hack.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-4758212368329474349?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/4758212368329474349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=4758212368329474349' title='31 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/4758212368329474349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/4758212368329474349'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2010/05/udevinfo-and-udevadm.html' title='udevinfo and udevadm'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>31</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-3183194275080220483</id><published>2008-05-25T11:22:00.002+01:00</published><updated>2008-05-25T11:25:08.330+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='bootloader'/><category scheme='http://www.blogger.com/atom/ns#' term='boot'/><title type='text'>Where is my GRUB?</title><content type='html'>On the Gentoo mailing list, a nice thread evolved a way to find where did you install your bootloader last time. The question is less trivial than it seems - is it on your disk MBR or on your partition? If you have a non-obvious setup, you may forget... and if you try to upgrade/reinstall GRUB without remembering where it is, bad things can happen.&lt;br /&gt;&lt;br /&gt;The solution is:&lt;br /&gt;&lt;pre wrap=""&gt;for i in&lt;span style="font-family: mon;"&gt; /dev/&lt;/span&gt;&lt;i class="moz-txt-slash"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/i&gt;[hs]d*&lt;br /&gt;dd if=$i bs=446 count=1 2&gt;/dev/null | strings | grep -q GRUB \&lt;br /&gt;&amp;amp;&amp;amp; echo "GRUB found in $i"&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-3183194275080220483?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/3183194275080220483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=3183194275080220483' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3183194275080220483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3183194275080220483'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2008/05/where-is-my-grub.html' title='Where is my GRUB?'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-1232079115990976956</id><published>2008-05-24T10:21:00.002+01:00</published><updated>2008-05-24T10:45:04.730+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='paperclip'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>The hacker's paperclip.</title><content type='html'>On Slashdot, I found &lt;a href="http://hardware.slashdot.org/comments.pl?sid=561162&amp;amp;cid=23513272"&gt;a comment&lt;/a&gt; giving little, good tips on how to solve annoying hardware problems with a paperclip.&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;The power supply tester&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Creation:&lt;/b&gt; Unbend a paperclip, and then bend it into a big &lt;b&gt;U&lt;/b&gt; shape.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usage:&lt;/b&gt; When you are unsure whether a PSU works (a) disconnect it from anything it is connected to (b) insert one leg of the &lt;b&gt;U&lt;/b&gt; into the hole in the 20/24 pin motherboard power plug for the &lt;i&gt;green&lt;/i&gt; wire (c) insert the other leg into a hole for a black wire (d) plug the PSU into power and turn it on.&lt;br /&gt;If the fans spin up, then the PSU at least partially works. At this point you can use a multimeter to verify the voltages of the different rails with no load.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The CD ejector&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Creation:&lt;/b&gt; Straighten a thick-gauge (strong) paperclip, and then put a loop in one end that is big enough to put your index finger through, at least to the first knuckle (this helps with gripping it during use).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usage:&lt;/b&gt; When you need to eject a CD from a powered-down computer (laptop OR desktop), push the paperclip into the emergency eject hole. On a laptop, this requires very little force, but on a standard (5.25") Desktop CD-ROM drive, this will take quite a bit of effort.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The multipurpose grabber&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Creation:&lt;/b&gt; Straighten a regular paperclip, and put a loop on the end, as you did for the CD Ejector. On the &lt;i&gt;other&lt;/i&gt; end, put a 90 degree bend, 2mm from the tip.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Usage:&lt;/b&gt; You can use this tool to remove or move jumpers (very handy for IDE hard drives), and to remove stuck floppy disks from floppy drives (use the R/W hole or 1.44MB hole as an anchor point).&lt;br /&gt;&lt;/blockquote&gt;Credit must be due to &lt;a href="http://slashdot.org/%7Ebeav007"&gt;beav007.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-1232079115990976956?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/1232079115990976956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=1232079115990976956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/1232079115990976956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/1232079115990976956'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2008/05/hackers-paperclip.html' title='The hacker&apos;s paperclip.'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-1981575820320906984</id><published>2008-05-12T14:08:00.002+01:00</published><updated>2008-05-12T14:14:00.708+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pdflatex'/><category scheme='http://www.blogger.com/atom/ns#' term='latex'/><category scheme='http://www.blogger.com/atom/ns#' term='eps'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='epstopdf'/><category scheme='http://www.blogger.com/atom/ns#' term='tex'/><title type='text'>EPS files and pdflatex</title><content type='html'>There is this odd quirk in LaTeX. The &lt;span style="font-weight: bold;"&gt;latex&lt;/span&gt; executable compiles your .tex files in the old-fashioned DVI format. As such, it accepts by default only .eps (Encapsulated PostScript) images. &lt;span style="font-weight: bold;"&gt;pdflatex&lt;/span&gt; compiles your .tex files in the standard PDF format. For some mysterious quirk, &lt;span style="font-weight: bold;"&gt;pdflatex&lt;/span&gt; accepts raster formats like .png and .jpg , but &lt;span style="font-style: italic;"&gt;does not accept&lt;/span&gt; .eps!&lt;br /&gt;&lt;br /&gt;Sometimes you want the best of both worlds. An undergraduate of my lab, after some googling, found you can force pdflatex to insert .eps files happily:&lt;br /&gt;&lt;br /&gt;1)Install texlive-extra packages, or any other package containing the &lt;span style="font-weight: bold;"&gt;epstopdf&lt;/span&gt; utility.&lt;br /&gt;&lt;br /&gt;2) Insert the following code in your .tex file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;\newif\ifpdf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;\ifx\pdfoutput\undefined&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \pdffalse&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;\else&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \pdfoutput=1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \pdftrue&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;\fi&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;\ifpdf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \usepackage{graphicx}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \usepackage{epstopdf}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \DeclareGraphicsRule{.eps}{pdf}{.pdf}{`epstopdf #1}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \pdfcompresslevel=9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;\else&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    \usepackage{graphicx}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;\fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3) Compile using pdflatex with the &lt;span style="font-weight: bold;"&gt;-shell-escape&lt;/span&gt; command line option&lt;br /&gt;&lt;br /&gt;It seems to work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-1981575820320906984?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/1981575820320906984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=1981575820320906984' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/1981575820320906984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/1981575820320906984'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2008/05/eps-files-and-pdflatex.html' title='EPS files and pdflatex'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-5739818433460680202</id><published>2008-05-11T11:59:00.003+01:00</published><updated>2008-05-11T12:04:51.749+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vector'/><category scheme='http://www.blogger.com/atom/ns#' term='svg'/><category scheme='http://www.blogger.com/atom/ns#' term='inkscape'/><category scheme='http://www.blogger.com/atom/ns#' term='cd'/><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='cover'/><category scheme='http://www.blogger.com/atom/ns#' term='dvd'/><title type='text'>Templates for CD jewel case cover in SVG - free</title><content type='html'>A quick useful link. If you need to do a CD jewel case cover and if you, like me, are an &lt;a href="http://www.inkscape.org"&gt;Inkscape&lt;/a&gt; addict, &lt;a href="http://kev.coolcavemen.com/2006/09/cd-templates-for-jewel-case-in-svg/"&gt;bookmark this link&lt;/a&gt;. These are beautiful templates for doing CD/DVD covers in SVG (Scalable Vector Graphics) format, free to download. Thanks to Kevin Deldycke for releasing them!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-5739818433460680202?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/5739818433460680202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=5739818433460680202' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5739818433460680202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5739818433460680202'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2008/05/templates-for-cd-jewel-case-cover-in.html' title='Templates for CD jewel case cover in SVG - free'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-3908346359468206453</id><published>2008-05-10T14:46:00.003+01:00</published><updated>2008-05-10T14:48:57.473+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gz'/><category scheme='http://www.blogger.com/atom/ns#' term='tar'/><category scheme='http://www.blogger.com/atom/ns#' term='package'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='gzip'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><title type='text'>Create a .tar.gz archive</title><content type='html'>Ok, this is admittedly really noobish. But it's something I always forget. While the&lt;span style="font-family: courier new;"&gt; tar -xzvf &lt;/span&gt;spell for &lt;span style="font-style: italic;"&gt;unpacking&lt;/span&gt; archives is well known, only seldomly I need to create archives.&lt;br /&gt;&lt;br /&gt;However, here's the magic:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;tar -pczf name_of_archive.tar.gz  /path/to/directory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That's more a reminder for me...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-3908346359468206453?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/3908346359468206453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=3908346359468206453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3908346359468206453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3908346359468206453'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2008/05/create-targz-archive.html' title='Create a .tar.gz archive'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-550363834536209177</id><published>2008-05-01T12:33:00.002+01:00</published><updated>2008-05-01T12:37:29.490+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Find and delete broken symlinks</title><content type='html'>&lt;p&gt;The &lt;a href="http://www.gentoo.org/proj/en/tex/texlive-migration-guide.xml"&gt;Gentoo guide to switch from tetex to texlive&lt;/a&gt; contains a little command line gem. It allows you to look for broken/dangling symbolic links and delete them interactively:&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;find /usr/bin -type l ! -xtype f ! -xtype d -ok rm -f {} \;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-550363834536209177?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/550363834536209177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=550363834536209177' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/550363834536209177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/550363834536209177'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2008/05/find-and-delete-broken-symlinks.html' title='Find and delete broken symlinks'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8688403240282661100</id><published>2008-02-29T18:48:00.001+01:00</published><updated>2008-02-29T18:49:20.662+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='socialnetworking'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>The trouble with Facebook</title><content type='html'>&lt;p&gt;It's only a couple of weeks I joined the Facebook network, and even if I find it handy, I certainly cannot be said to be a Facebook addicted and/or fanboy. To me, Facebook it's just a Myspace done right: while Myspace is a slow, disorganized, nearly unusable mess, Facebook has a clear, elegant interface and it is not prone to the horrendous, Flash-ridden bloating of most Myspace pages. Apart from that, Facebook is neither good nor wrong in itself: it is just a social networking tool, with defects and advantages.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I found only today an &lt;a href="http://www.guardian.co.uk/technology/2008/jan/14/facebook"&gt;article of this January on The Guardian&lt;/a&gt; about &lt;a href="http://www.facebook.com"&gt;Facebook&lt;/a&gt;, pointed out by a friend. No matter how you can hate social networking sites or Facebook itself, the article is a startling example of the inability of a journalist to understand Internet, social networking and the implications behind that.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Mr.Tom Hodgkinson, for a start, just cannot grasp the concept of social networking (or of instant messaging, or email, or the phone, for his arguments apply to nearly every communication protocol you can use to chat with friends). Its article starts like that:&lt;i&gt;Why on God's earth would I need a computer to connect with the people around me? Why should my relationships be mediated through the imagination of a bunch of supergeeks in California? What was wrong with the pub?&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;If it was for people like Hodgkinson, the Internet should not exist: what was wrong with the library? Here's what's wrong with the pub, mr.Hodgkinson. You can't reach the pub with your friends if your friends live on another city, or continent. I almost have no Facebook contact from my hometown in Italy. I have Facebook contacts of close friends that now work in other Italian cities, in Japan, the United States, Belgium or Holland. Try call all of them in the "pub".&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Problem is, Mr.Hodgkinson does not simply misunderstand Facebook. He simply doesn't understand the Net. Here's how he continues: &lt;i&gt;And does Facebook really connect people? Doesn't it rather disconnect us, since instead of doing something enjoyable such as talking and eating and dancing and drinking with my friends, I am merely sending them little ungrammatical notes and amusing photos in cyberspace, while chained to my desk? A friend of mine recently told me that he had spent a Saturday night at home alone on Facebook, drinking at his desk. What a gloomy image. Far from connecting us, Facebook actually isolates us at our workstations.&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Mr.Hodgkinson: if you don't like communicating with friends with the Internet, well, don't use that. But telling that "it disconnects us" is so amazingly self-contradictory I had to read that a bunch of times before being sure. Connecting with people, at least for me, is primarily talking with them, exchanging ideas, news and good laughs. You can do it in real life, of course, but there's no reason you can't do that online.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;I use to compare it with music. Surely, live music is good, and is a different experience from music on CD. But saying that you're disconnected from people because you are not in physical proximity with them is almost the same to say that recorded music is not "real" music, because you're not actually a few meters apart from a guitarist.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;This is without delving into the fact that meeting people on the Net often means to build close relationships in real life too. I had and have real life relationships (even romantic ones) that started on the Internet. I went "eating,dancing and drinking" with these people, and spent unforgettable moments with them, but I wouldn't have never been able to do it without the Internet. I wouldn't ever have known them. Mr.Hodgkinson, how many social occasions have you &lt;b&gt;lost&lt;/b&gt; by going everyday to the same pub with the same friends, instead of knowing new ones on the Internet?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;And finally, we don't always want to go outside eating,dancing and drinking. I often prefer to stay at home, drink some tea, and chat with close friends in the warmth of my room, with some good music. So I can relax, I don't have to think about coming back home, weather, and the like, I can do other little stuff in the meantime, and keeping contacts with my friends. Try do that without Internet.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Hodgkinson continues: &lt;i&gt;If I put up a flattering picture of myself with a list of my favourite things, I can construct an artificial representation of who I am in order to get sex or approval.&lt;/i&gt;. How clever, Tom! But do you need Internet to do that? Can't I just, ehm, cheat in real life too?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;And now, here's a pearl: &lt;i&gt;It also encourages a disturbing competitivness around friendship: it seems that with friends today, quality counts for nothing and quantity is king. The more friends you have, the better you are. You are "popular", in the sense much loved in American high schools.&lt;/i&gt; So, basically, what Tom is telling us is that Facebook is bad, just because kids on it behave just like they behave in their high school. I agree that the "quantity over quality" thing is superficial and stupid. But, sadly, that's not Facebook (or Myspace, which is infinitely worse in this sense) fault. It's just fault of people using it. It's people using Facebook that have that sense of popularity. Facebook doesn't push you to add kilotons of friends: in fact, on Facebook you usually add people you already know in real life.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;In the second part, Hodgkinson goes on a long piece on the personalities behind Facebook. He takes on Peter Thiel, showing him as a ruthless, activist, libertarian neocon. Now, there are a few political movements I despise as much as neoconservatism. Really. Give me Nazism everyday instead of neoconservatism. Yet the fact I disagree with the political campaigns of Facebook stakeholders doesn't make me disagree with Facebook. Facebook is a tool. It works. It may have been done by neocons, Islamic fundamentalists, evil clowns or alien abductors, ok, but: &lt;b&gt;who cares?&lt;/b&gt;  Tom Hodgkinson not only cares (I suppose he asks the supermarket guys what do they vote, to be sure his money doesn't go in the pockets of people he wouldn't like), but he goes forward, by connecting ties and saying that, behind Facebook, there is the BIG EVIL PLAN: &lt;i&gt;Facebook is a deliberate experiment in global manipulation&lt;/i&gt;. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Wohoo. Now, I agree that surely there is a lucrative social networking industry, and that this industry can manipulate you. Just like every other media, like radio or television broadcast, or newspapers and magazines, or advertising, can do. But frankly, Facebook seems the lesser evil in this case. Facebook doesn't bombard me with propaganda or biased information (like TV and magazines routinely do). Facebook doesn't ask me actively to buy stuff. Facebook doesn't incite hatred (quite the contrary). If there is an evil message being slitherily conveyed by mean of Facebook networks, well, let me know.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The article then fires against target advertising. Here Hodgkinson approach to the Net is just unexplicable. It tells you basic, obvious facts, but with an overtone like "DON'T YOU SEE HOW EVIL IT IS!!!1!". It basically boils down on this: &lt;i&gt;Facebook can target advertising with far greater precision than a newspaper. Admit on Facebook that your favourite film is This Is Spinal Tap, and when a Spinal Tap-esque movie comes out, you can be sure that they'll be sending ads your way.&lt;/i&gt;.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I don't know for sure, but what Tom is saying looks suspiciously like: "OMG! Advertising! And advertising that is currently &lt;b&gt;being targeted at my interests!&lt;/b&gt; So I could find myself in the cruel, painful situation I actually find something I like, instead of happily wasting time with ads I would never care about. How bad, a win-win situation! And while we're at it, we don't even mention that it is Google that actually made it mainstream, when Facebook still didn't exist."&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;And here's the end, enlightening indeed: &lt;i&gt;Why would I want to waste my time on Facebook when I still haven't read Keats' Endymion? And when there are seeds to be sown in my own back yard? I don't want to retreat from nature, I want to reconnect with it. Damn air-conditioning! And if I want to connect with the people around me, I will revert to an old piece of technology. It's free, it's easy and it delivers a uniquely individual experience in sharing information: it's called talking.&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I'm all for reading books (and I admittedly should have done it, instead of replying to this pile of bullshit). I understand a bit less the purpose of seeding random things in the backyard and avoiding air-conditioning (try that in the Mediterranean summer), but oh well, anyone has his own little perversions. About talking-only communication protocols, sure, it's cool. If you still feel that the world is something that doesn't exceed the boundaries of your backyard, of course.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8688403240282661100?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8688403240282661100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8688403240282661100' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8688403240282661100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8688403240282661100'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2008/02/its-only-couple-of-weeks-i-joined.html' title='The trouble with Facebook'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-9015981525886024585</id><published>2007-12-29T12:25:00.000+01:00</published><updated>2007-12-29T13:10:10.839+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='filesystem'/><category scheme='http://www.blogger.com/atom/ns#' term='copy'/><category scheme='http://www.blogger.com/atom/ns#' term='partitions'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Copying whole partitions preserving hidden files and attributes</title><content type='html'>How do you easily and coherently copy a whole large and complex directory, preserving attribution, hidden files etc? Good old cp -a could not be enough in this case (hidden files would be skipped), and maybe you don't want to use dd (e.g. you could like to move a ReiserFS partition to an ext3 partition). The trick is &lt;a href="http://www.us.debian.org/doc/manuals/reference/ch-tips.en.html#s-archiving"&gt;hidden in the Debian tips&lt;/a&gt;  , but can be applied to any Linux (and probably Unix) distribution. Since I got crazy yesterday trying to find it again, after using it to move partitions from my old hard drive to a new one, I repost it here:&lt;br /&gt;&lt;pre&gt;find . -depth -print0 | cpio --null --sparse -pvd /new/directory&lt;/pre&gt;That's it. A 1:1 copy of your filesystem hierarchy is deposited in the new directory. It saved my day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-9015981525886024585?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/9015981525886024585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=9015981525886024585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/9015981525886024585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/9015981525886024585'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/12/copying-whole-partitions-preserving.html' title='Copying whole partitions preserving hidden files and attributes'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-567341120207637325</id><published>2007-12-11T18:06:00.000+01:00</published><updated>2007-12-14T01:50:51.647+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='multimedia'/><category scheme='http://www.blogger.com/atom/ns#' term='standards'/><category scheme='http://www.blogger.com/atom/ns#' term='web'/><title type='text'>Removal of Ogg Vorbis and Theora from HTML5</title><content type='html'>&lt;a href="http://rudd-o.com/archives/2007/12/11/removal-of-ogg-vorbis-and-theora-from-html5-an-outrageous-disaster/"&gt;This&lt;/a&gt; blog post made some noise recently.&lt;br /&gt;&lt;br /&gt;Let's see. HTML 5 is the next revision of the old and beloved HTML. Such a spec is still under development and, among other things, should specify (or at least suggest) what the standard media formats of the Web should be. HTML5 in fact specifies a &lt;video&gt; element, and so it is going to decide what kind of data is being inside it.&lt;br /&gt;&lt;br /&gt;Among those standards, &lt;a href="http://en.wikipedia.org/wiki/Ogg"&gt;Ogg&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Vorbis"&gt;Vorbis&lt;/a&gt; and Ogg &lt;a href="http://en.wikipedia.org/wiki/Theora"&gt;Theora&lt;/a&gt; stand out as being among the few free (as in freedom) ones, for audio and video respectively. They are open and royalty free. Everyone can write a Vorbis or Theora codec, without asking anyone. The same cannot be said of other formats, like &lt;a href="http://en.wikipedia.org/wiki/H.264#Patent_licensing"&gt;H.264&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;An open standard (multimedia or not) offers clear advantages. Everyone can in principle read it, write it, on any platform. Being the specifications open, the file content could be retrieved even years after official support ended. You are not tied by any software vendor to use it.&lt;br /&gt;&lt;br /&gt;So people writing HTML5 decided at first to recommend Ogg Vorbis &amp;amp; Theora as multimedia formats to be supported by standards-compliant browsers. The word to remember here is: &lt;span style="font-weight: bold;"&gt;recommend&lt;span style="font-weight: bold;"&gt;. &lt;/span&gt;&lt;/span&gt;Of course there must be space for other codecs, because newer, better free codecs can pop out (think of &lt;a href="http://en.wikipedia.org/wiki/Dirac_%28codec%29"&gt;Dirac&lt;/a&gt;, for example) or someone wants a technically different solution. But having always Ogg as a minimum denominator would just help everyone.&lt;br /&gt;&lt;br /&gt;Simple? Not so. Apple and Nokia made pressure on the WHATWG group that is writing HTML5 so that the explicit mention of Ogg Vorbis/Theora &lt;a href="http://html5.org/tools/web-apps-tracker?from=1142&amp;amp;to=1143"&gt;has been removed&lt;/a&gt;. &lt;a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-December/thread.html#13152"&gt;And hell break loose&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This email on the WHATWG mailing list summarizes pretty well the feelings of the pro-Ogg camp:&lt;br /&gt;&lt;pre&gt;"Methinks you are being a bit myopic here. Where would we be today if the HTML&lt;br /&gt;spec didn't specify jpg, gif, and png as baseline standards for the image&lt;br /&gt;tag? Can you imagine a huge mishmash of competing proprietary image&lt;br /&gt;standards, many of which wouldn't even render in free software browsers like&lt;br /&gt;Firefox? That would be a nightmare, but unfortunately, that's what's&lt;br /&gt;currently happening with video. Much like the image standard in HTML means&lt;br /&gt;that any browser can display anything in an image tag, so too must the video&lt;br /&gt;standard in HTML guarantee that any browser can display anything in a video&lt;br /&gt;tag. That's what the proposed specification is about."&lt;br /&gt;&lt;br /&gt;Exactly.  For audio, Ogg Vorbis should be the baseline standard.  Companies&lt;br /&gt;are free to implement their own technology and installable kits or&lt;br /&gt;redistribution agreements that allow people to use their tech on their&lt;br /&gt;computers.  And for video, likewise but replace Vorbis for Theora.&lt;br /&gt;&lt;br /&gt;Otherwise, let's start preparing for 1995 and "To view this page, you need to&lt;br /&gt;install this piece of crapware" all over again.  I lived that (together with&lt;br /&gt;Windows 95, which in all fairness was rather good compared to the&lt;br /&gt;alternatives -- thank god for Linux).  I don't want to experience it all over&lt;br /&gt;again, especially since I know that even today, that crapware isn't even&lt;br /&gt;gonna be made for Linux, and I'm going to be screwed again.&lt;/pre&gt;The anti-Ogg camp revolved instead around two main concerns. The first is the fear of "submarine patents". That is, companies implementing and/or redistributing Ogg codecs could find themselves in a legal hell by being sued by some patent squatter claiming rights on Ogg Vorbis or Theora.  It is unclear how much this concern is more valid for the free codecs &lt;a href="http://en.wikipedia.org/wiki/MP3#Licensing_and_patent_issues"&gt;with respect to the patented, proprietary ones&lt;/a&gt;. Xiph.org, the organization behind Ogg/Vorbis/Theora, made a long research to show its codecs are unencumbered by known patents (As for unknown patents, no one can know).  The second concern posted is technical. While most people recognize Vorbis as an equivalent, if not superior, format with respect to MP3, WMA and the like, Theora is known to lag quite behind proprietary codecs. On OSNews, Eugenia Loli-Queru posted a &lt;a href="http://osnews.com/story.php/19019/Theora-vs.-h.264/"&gt;nice comparison of H.264 vs Theora&lt;/a&gt;, with H.264 winning hands down. So basically the issue becomes: yes, open and free is nice, but if it's technically inferior, people won't use it.&lt;br /&gt;Eugenia Loli-Queru &lt;a href="http://eugenia.gnomefiles.org/2007/12/09/the-next-web-media-format/"&gt;sums up the feelings&lt;/a&gt; of the anti-Ogg camp, with staunch pragmatism:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Now, the whole juice of the situation is just this: would you prefer a F/free but lower quality solution, or a higher quality but proprietary one? The open source advocates would go with the Free solution even if it will piss them off every other minute when using it. The companies and the general public would go with the best solution though, even if they have to put money on the table to license it (the consumer will end up paying for it anyway). I am personally a hard and harsh realist, so I only use the best tool for the job. I don’t want to get angry at software more than I already am. And most people are just like that too.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The obvious answers are: 1) the requirement wording was SHOULD , not MUST, therefore if you have good reasons to use H.264 or Flash instead of Ogg Theora, you are still putting up valid HTML5 pages. 2)providing a lower-quality Theora video alternative can nonetheless be better than no video at all for those using platforms devoid of proprietary codecs.&lt;br /&gt;&lt;br /&gt;There is much more at the stake, of course, &lt;a href="http://www.boingboing.net/2007/12/09/nokia-to-w3c-ogg-is.html"&gt;as this ridicolous attack by Nokia&lt;/a&gt; shows pretty well.&lt;br /&gt;The main problems are that mandating an open format for the Web hinders the ongoing war on formats that major companies are fighting. WMA vs AAC vs MP3 etc. If support for Ogg becomes strongly adviced and therefore widespread, companies will find harder to tie in customers by using proprietary, incompatible formats. The second concern is about Digital Rights Management. It is practically senseless to put DRM on top of an open media format, and for companies that want to use DRM , Ogg is not an option.&lt;br /&gt;&lt;br /&gt;On the other hand, Firefox, perhaps the only real open source player in the web game that no one can ignore, is &lt;a href="http://www.w3.org/2007/08/video/positions/mozilla.html"&gt;not only explicitly supporting&lt;/a&gt; Ogg/Vorbis/Theora in this flamewar, but it is also coding native Ogg support in the browser. Even more interestingly, &lt;a href="http://www.bluishcoder.co.nz/2007/08/svg-video-demo.html"&gt;magic is being made&lt;/a&gt; mixing Ogg and SVG for interactive content. The same is apparently happening for WebKit.&lt;br /&gt;&lt;br /&gt;So, the flamewar is now slowly cooling down (Xiph.org just posted &lt;a href="http://www.xiph.org/press/2007/w3c/"&gt;this statement&lt;/a&gt; on the issue), but the real war is still taking place. Basically what we are learning is:&lt;br /&gt;&lt;br /&gt;* Balkanization of the Web formats by patent-waving warlords is a real situation that makes no one life happy (apart from software companies) and that, if left unchallenged, can only get worse.&lt;br /&gt;* Most "OSS-friendly" companies use open source just when it suits them, and then throw it away when not. Stop cheering saying "Nokia/Apple is our friend" because it does Maemo or Webkit. They just don't care.&lt;br /&gt;* We will see if the weight of Firefox and Webkit will be enough to change the games, but there is hope.&lt;br /&gt;* There is a need for technically superior, open media formats. People supporting proprietary but superior formats have good practical reasons to do so.&lt;br /&gt;* Software patents are an abomination that only makes things worse. If H.264 was &lt;i&gt;not&lt;/i&gt; patent protected, we would be all happy and fine with H.264 open source implementations being taken as a standard for the web, and no flames would have been lit.&lt;br /&gt;&lt;br /&gt;As a sidenote, the only real way to support open standards is by using them. Rip your cd's in Ogg Vorbis format, rip your dvd's in Theora or Dirac format, if you can. Share your multimedia creation in open formats. Choose a music player that supports Ogg Vorbis. The web has become what it is because no one owns HTML or XHTML: anyone can write it and write a program that reads it. The same should hold for audio and video, in the future.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-567341120207637325?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/567341120207637325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=567341120207637325' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/567341120207637325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/567341120207637325'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/12/removal-of-ogg-vorbis-and-theora-from.html' title='Removal of Ogg Vorbis and Theora from HTML5'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-1425411520383793250</id><published>2007-11-01T13:08:00.000+01:00</published><updated>2007-11-01T14:50:51.356+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='macosx'/><title type='text'>A Linux user fights Mac OS X Leopard. Days 2-4</title><content type='html'>In the &lt;a href="http://opendevice.blogspot.com/2007/10/linux-user-fights-mac-os-x-leopard-day.html"&gt;previous post&lt;/a&gt;, I wrote about my very first (3 hours) impressions on using Mac OS X, comparing it with the operating system I mostly used before, that is Linux.&lt;br /&gt;&lt;br /&gt;Some day has passed, I used Leopard a bit more, and now it's time for some new random thought.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Of dock and stacks&lt;/span&gt;. I begin to have problems with the dock. I figured out that nothing like an application menu is easily available on this thing. I tried to "emulate" that by using stacks, but this does not really work. Stacks are an OS X Leopard innovation. Basically, if you drop a folder on the dock, this will show up as  single icon. Clicking on it , you see the content of the folder, stacked. See &lt;a href="http://www.norisberghen.it/it/wp-content/it-it-wp-udloads/2007/07/leopard-wwdc-04-dock-staks.jpg"&gt;here&lt;/a&gt; for example.&lt;br /&gt;&lt;br /&gt;There are several problems with stacks. First, the stack icon is basically a superimposition of individual icons of things in the stack. A very bad idea. For example, my Documents folder is represented in the dock by a .zip dull icon, because the first file OS X sees is a zip file. Of course, I cannot customize the icon appearance. Nothing in that icon tells me it's my Documents folder.&lt;br /&gt;&lt;br /&gt;Compare it with KDE standard behaviour, where you can place additional menus at will on your panel. Kubuntu uses it to have a standard "Places" menu where you have links to your home folder, the network computers, storage media and other users folder. No Finder clicking needed. See &lt;a href="http://www.thecodingstudio.com/opensource/linux/screenshots/scaled/Kubuntu%207.04/6.gif"&gt;this screenshot&lt;/a&gt; for example.  Also &lt;a href="http://www.linux-user.de/ausgabe/2005/05/046-xfce/xfce4-abb3.png"&gt;XFCE&lt;/a&gt; implements that. In this, for usability, Linux desktop environments beat OS X hands down.&lt;br /&gt;&lt;br /&gt;So, to have an application stack, you have to put your applications in a given folder, then drag this folder on the dock, and you'll find yourself with a crippled menu-like thing that doesn't allow for menu hierarchy, with incomprehensible icons. Don't like that, and the neat visual effects make me cry even more: instead of an awesome-looking menu-like thing, we have a crippled thing that just looks awesome.&lt;br /&gt;&lt;br /&gt;The Dock seems also subtly buggy ; it lost application links on me at least a couple of times. Hope it gets fixed soon.&lt;br /&gt;&lt;br /&gt;I like the fact that an active application is evidenced on the dock, instead of taking space of an application bar. It seems a bit inconsistent from time to time (now Firefox for example brought another icon of itself on the dock, with a bright spot underneath, instead of adding the spot on the icon I launched it from), but maybe it's me not understanding its logic.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Finder.&lt;/span&gt; It seems me and this thing cannot be friends. It's such a retarded file manager that makes Windows Explorer look cool. Tree view is available, but why can only you switch from tree view to icon view to the three-panes view? In Konqueror I have available a tree view of my folders on the left, like the Bookmarks panel of a browser, and then the main icon view of the currently selected folder. So you can have nice previews and you can easily navigate the tree, all in once. Windows too, if I remember correctly, allows this.&lt;br /&gt;&lt;br /&gt;If there is a free, decent OS X file manager let me know.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Open source applications.&lt;/span&gt; I mostly use open source software, and it is of course repackaged for Mac OS X too. Sadly, OS X looks a bit of a neglected platform for open source, which is very strange given its Unix foundations. I installed Firefox, Thunderbird, VLC, FreeCiv, Celestia, Inkscape, NeoOffice, aMSN and Gimp. Mixed results. Firefox and Thunderbird seem to work perfectly. Java and Flash support is installed by default, which is a good good thing. aMSN also integrates nicely, and is visually much better on OS X than on Linux.&lt;br /&gt;&lt;br /&gt;GTK applications, like GIMP and Inkscape, are another story. They work fine, provided the X server is on, but using a GTK app on OS X is tiring. I am accustomed to mix and match look-n-feels on Linux, so aestethics is not the problem. The problem is the mixmatch of two paradigms: the "menu-bar-always-on-top" of native OS X and the "menu-bar-is-in-the-window" of almost all other operating systems. Mixing widget appearance is fine; mixing usability paradigms is an hell.&lt;br /&gt;&lt;br /&gt;I think Apple should give the users the possibility to configure OS X so that the menu follows the application. I don't know if it does; it can be some advanced setting, but it has to be made easy. OS X forces its paradigms on the user and applications, disregarding anything away from this paradigm. It would also be nice if other operating systems can follow the OS X paradigm at user will, but the default is not the OS X one, so it's Apple that has do to that first. Good to think different, bad to force everyone to think like you.&lt;br /&gt;&lt;br /&gt;I noticed also that OS X packages are left behind in terms of stability and being up to date. Celestia and GIMP crashed on me quite often -GIMP regularly when I try to draw. The GIMP binary is a 2.4 release candidate -no 2.4 final binary is available. Freeciv 2.1.0 is unavailable for OS X, and 2.0.9 doesn't start at all -it shows the initial screen, then silently dies. OpenOffice is unavailable unless in the reincarnation NeoOffice, which is behind at version 2.2. On Linux, most of these packages are rock solid and up to date. I will have to try &lt;a href="http://www.macports.org"&gt;MacPorts&lt;/a&gt; soon, that probably can improve the situation, but it's not an easy install and it's OK only for power users.&lt;br /&gt;&lt;br /&gt;Don't know who's in fault here, but the situation could improve.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;iTunes.&lt;/span&gt; I wanted to play an mp3 folder from a DVD-r. So I inserted the disk and dragged the folder on iTunes. That bitch, instead of simply playing, copied all the mp3s in the Music folder, reorganized them on her way, and only after begun playing. Didn't. Ask. Me. Anything. This is an insult -I never asked you to copy a file, let alone to copy in a location I didn't told you and to reorganize them as you (not me) find pleasurable!! It's incredible such a totalitarian approach is default behaviour. iTunes should at the very least have asked if I wanted to copy-and-reorganize folders, or not. I didn't touch it anymore. I hope someone can point me to a better music player.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Terminal.&lt;/span&gt; Didn't use it a lot, but it's OK. Its default appearance is terrible, but it can be customized and has true ARGB transparency. It also has tabs, which are a really useful thing. It seems thing are not color-coded as much as in Linux, which is a bit sad, but not essential.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Spaces.&lt;/span&gt; Spaces is Mac OS X Leopard implementation of virtual desktops. Virtual desktops are something I simply cannot live without. Unix had it from decades, and I'm extremly happy to see them implemented by default and easily activable. Only little drawback is they lack a clickable preview on the menu bar or the dock. Virtual desktops lose a bit of usability if you can't see what's in them. Again, KDE (but also GNOME) here lead the pack.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Network management.&lt;/span&gt; As far as I can see, wireless and DHCP connections Just Work. Good.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Suspend.&lt;/span&gt; I still haven't understood what happens when I close the lid. Does it go to suspend-to-ram or suspend-to-disk? Can I choose? Can I freely bring the laptop with me without shutting it down? Probably it's just me not being accustomed to laptops, but OS X should give me a better control on this. However it works seamlessly, something that I doubt is on Linux.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Login screen.&lt;/span&gt; I haven't figured out a way to change the login screen background. Also, when choosing the picture login avatar, OS X doesn't rescale it if it's larger than the default, but allows only you to zoom it in. A minor detail, however.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;General impressions.&lt;/span&gt; This review was much on the negative side, but it's a simple selection effect. What I had to say in detail was on the negative. There is a positive side, of course. OS X is a usable and decent workplace, and beats standard Windows most of time. Aestethically, it's really pleasant and day to day work can be done. The problem for me is that there is not much to be enthusiast about. If the OS X interface was one of the Linux desktop managers, it would probably be considered cool but not really superior.  &lt;br /&gt;&lt;br /&gt;What really I dislike of OS X is its "totalitarian" approach. Do you want a different skin for the window manager, an application menu, a different menu layout? Too bad, you can't. If you like the OS X way, all is fine. If you don't, Apple simply does not care. I know that third-party applications can overcome most of these limitation, but it's simply wrong that I have to look for third party, unsupported apps to do things that every other OS allows me to do by default.&lt;br /&gt;&lt;br /&gt;Linux surely is still behind in terms of overall usability. Hardware support has incredibly improved but it's still flaky here and there, there are inconsistencies, things are not as perfectly polished as they should be. And Linux must be installed by hand, thus putting users in the realm of the unknown. However, from the interface productivity and usability point of view, Apple in my opinion has no more the high ground. They are more or less equal; strenghts and weaknesses being differently distributed but quantitatively not much different. It seems to me that now Apple has as much to learn from open source desktops as open source desktops learned from it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-1425411520383793250?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/1425411520383793250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=1425411520383793250' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/1425411520383793250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/1425411520383793250'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/11/linux-user-fights-mac-os-x-leopard-days.html' title='A Linux user fights Mac OS X Leopard. Days 2-4'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-5509580380574463439</id><published>2007-10-30T12:24:00.000+01:00</published><updated>2007-10-30T13:16:06.290+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='macosx'/><title type='text'>A Linux user fights Mac OS X Leopard. Day 1</title><content type='html'>So, I finally have a laptop. I bought a brand new Macbook Pro Santa Rosa yesterday morning. I choose it as a laptop mainly for the hardware combination: decent screen width (15"), low weight (2.4 kg), good battery life (4-5 hours). Definitely not a cheap gadget, but once in a lifetime...&lt;br /&gt;&lt;br /&gt;This Macbook is my first meeting with the Mac OS world. I have used DOS and Windows machines like everyone, and it's almost four years I use almost exclusively Linux on the desktop, both at home and in my laboratory (&lt;a href="http://www.gentoo.org"&gt;Gentoo&lt;/a&gt; at home, &lt;a href="http://www.kubuntu.org"&gt;Kubuntu&lt;/a&gt; at work). So for me the Mac OS is the new thing, but I guess my perspective is a bit different from the usual Windows-to-Mac transition.&lt;br /&gt;&lt;br /&gt;To be honest, I plan to install Gentoo Linux on the Macbook quite soon. No prejudice against Mac OS, but I like to run an open source operating system, and the customizability of Linux cannot be surpassed. But I want to dip my toes in Mac OS.&lt;br /&gt;&lt;br /&gt;I fired up the feline beast and used it for about three hours yesterday. These are just my very very first impressions, so take them for what they are. Biased, ignorant, emotion-loaded.&lt;br /&gt;&lt;br /&gt;0) &lt;span style="font-weight: bold;"&gt;Boot time.&lt;/span&gt; Incredibly fast. Being accustomed to minute-long Linux boots, I'm very impressed.&lt;br /&gt;&lt;br /&gt;1) &lt;span style="font-weight: bold;"&gt;The graphics.&lt;/span&gt; Shiny, smooth and slick as much as possible. Everyone knows that. I like the icon design, even if it's maybe a bit too detailed -maybe equally good but less baroque icons could be made. On the contrary, the folders icons are so minimal to be almost useless. The "special effects" are light (nothing as fancy as CompizFusion can get) but well made, and Exposé is something really useful, as I found using Beryl/CompizFusion. A pleasure for the eye.&lt;br /&gt;&lt;br /&gt;2) &lt;span style="font-weight: bold;"&gt;Finder.&lt;/span&gt; I have some beginner perplexity on the usability of Mac OS X Finder. To me, the finder sounds like a retarded concept. I understand it must be something like a desktop manager mixed with a file manager, but worse. For example, I expect that right clicking on the desktop brings up a menu. Ok, let's forget right mouse buttons in the Mac world. Apple+click. Well, it does nothing. To get to what we would call the desktop menu, you need to get to the Finder. Why?&lt;br /&gt;&lt;br /&gt;The file managing part also looks quite terrible me. The Itunes-like preview is cool but pretty useless. The system seems at first sight to go to every length possible to hide what for me is a basic information: filesystem hierarchy. I want to see where is everything. I want control. I want to reconstruct paths of my things blindly. OS X seems to mangle this all. I am sure that applications are not in a folder like my music and pictures are. So, why putting them together? What's gained by doing that? And I'm sure the "Pictures", "Documents" and "Music" folders are somewhere in my filesystem hierarchy, they are not dangling. Why don't you show me where they are attached?&lt;br /&gt;&lt;br /&gt;Actually, you can see it all clicking on "Macintosh HD". Still looks like a bit dumbed down information, but at least now I know there's a Unix-like hiearchy with Users/Massimo/ being my home folder. Good! That's what I like. Why don't you allow to show me a damn old good folder hierarchy tree on the left, Mr.Finder, instead of "Places"?&lt;br /&gt;&lt;br /&gt;Problem is, I am accustomed with &lt;a href="http://www.konqueror.org"&gt;Konqueror&lt;/a&gt;. Konqueror, the default KDE file manager, is probably one of the applications that hooked me definitely to Linux. It's incredibly easy to use, customizable and powerful at the same time. It's one of that open source miracles that should be advertised much more. I am accustomed to switch between filesystem hierarchy tree view, list view, my storage media, Windows connections etc. all at one mouse click. I can split the Konqueror window in two, with two completely different locations together, or I can use tabs. Or both. I have immediate access to ftp, sftp and smb connections. I'm not sure Finder manages half of this all; I'll look for it.&lt;br /&gt;&lt;br /&gt;3) &lt;span style="font-weight: bold;"&gt;Accessing to applications.&lt;/span&gt; Mac OS X , as far as I can see now, has no concept of an application menu. You get the dock, or you have to look for the application in the Applications folder, which mixes everything together. What if there are things that you don't want to see everyday in the dock, but you want to find easily when needed? Probably there's a way out, but I've still not found it (nor read about it).&lt;br /&gt;&lt;br /&gt;4) &lt;span style="font-weight: bold;"&gt;Application menus.&lt;/span&gt; This is a well known Mac idiosyncracy: application menu bar is on the top of the screen. Period. I suspect there's some usability theory behind that, and after fifteen minutes it becomes indeed not so bad. Unless you have a little window on the bottom right of the screen and you need a menu on the top left, in which case you have to move the mouse in diagonal through more than half screen. Why, oh why?&lt;br /&gt;&lt;br /&gt;5) &lt;span style="font-weight: bold;"&gt;Installing applications.&lt;/span&gt; I still believe that THE way to install applications on a system is using a package manager. Luckly Mac OS X has at least three available, so this will be no problem. However, I didn't dislike the .dmg approach too much. Download a disk image, copy application to Application folder, voilà. Easy enough (and much better than Windows), but I would like a lot to have an official package manager. Imagine looking for "Office" on a search bar, finding office apps you like (maybe even ones you would have never suspected about!), clicking on them, and voilà -they get downloaded from the net and installed. On Linux, this is commonplace. For proprietary apps, a PayPal button could be easily added.&lt;br /&gt;&lt;br /&gt;6) &lt;span style="font-weight: bold;"&gt;Safari.&lt;/span&gt; Used it the time needed to download and install Firefox, so I can't really comment on it.&lt;br /&gt;&lt;br /&gt;This is enough now, but I'd like to hear about opinions by Mac users and Linux users too. I'm sure I'm missing a lot of the picture, so I'm open for advices!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-5509580380574463439?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/5509580380574463439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=5509580380574463439' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5509580380574463439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5509580380574463439'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/10/linux-user-fights-mac-os-x-leopard-day.html' title='A Linux user fights Mac OS X Leopard. Day 1'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8521032131827202710</id><published>2007-09-18T18:33:00.000+01:00</published><updated>2007-09-18T18:36:28.838+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chm'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='chm2pdf'/><title type='text'>chm2pdf 0.0.3 is out!</title><content type='html'>&lt;p&gt;Sorry for the long delay, but this little script is not dead. chm2pdf&lt;br /&gt;0.0.3 is out: now with image support! (Intra-pdf links still dead, anyway. But I had suggestions on how to solve them.)&lt;/p&gt;&lt;p&gt;Download it &lt;a href="http://chm2pdf.googlecode.com/files/chm2pdf-0.0.3.tar.gz"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The script logic changed quite a lot, and it is still very rough&lt;br /&gt;around the edges (0.1 is still -relatively- far). I'd like everyone of&lt;br /&gt;you to test it as much as possible, since it is very likely that bugs&lt;br /&gt;and quirks will occur. My knowledge of the CHM file format is&lt;br /&gt;tentative at best.&lt;br /&gt;&lt;/p&gt;Let me know how it works for you.&lt;br /&gt;&lt;br /&gt;As for the xtopdf collaboration, I have to reconnect myself with the xtopdf developer to see. I'd like to have chm2pdf in a decent state (0.1) before, anyway.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8521032131827202710?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8521032131827202710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8521032131827202710' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8521032131827202710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8521032131827202710'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/09/chm2pdf-003-is-out.html' title='chm2pdf 0.0.3 is out!'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-4046742375468900787</id><published>2007-08-06T11:00:00.000+01:00</published><updated>2007-08-06T11:04:19.521+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='chm2pdf'/><title type='text'>chm2pdf merges with xtopdf ?</title><content type='html'>&lt;a href="http://sourceforge.net/projects/xtopdf"&gt;xtopdf&lt;/a&gt; is a neat collection of Python utilities currently in development whose aim is to convert every sensible document format into a PDF file. Nice project. I'm currently beginning talks with its main developer to see if my little chm2pdf can find a space in there..&lt;br /&gt;&lt;br /&gt;In the meantime chm2pdf already recieved 31 downloads! Really unexpected success but only a little feedback...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-4046742375468900787?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/4046742375468900787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=4046742375468900787' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/4046742375468900787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/4046742375468900787'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/08/chm2pdf-merges-with-xtopdf.html' title='chm2pdf merges with xtopdf ?'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-2057785550624010658</id><published>2007-08-02T00:07:00.000+01:00</published><updated>2007-08-02T00:14:54.781+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='chm'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='chm2pdf'/><title type='text'>Announcing chm2pdf</title><content type='html'>Again in the world of interconverting formats, but this time it is something little I did myself. I had the necessity to print a CHM file but printing it page-by-page is of course painstaking. How I would have liked a PDF of that file... but how?&lt;br /&gt;&lt;br /&gt;Well, I scratched my itch and I wrote a very little and raw, but functional CHM to PDF command line converter. You can find it &lt;a href="http://code.google.com/p/chm2pdf"&gt;here&lt;/a&gt; and it's called, quite obviously, chm2pdf.  It is a small Python script that glues together chmlib (via pychm), pdftk and htmldoc. Installation and usage should be straightforward. Functionality is still pretty limited (images are still not converted, for example) but hey, it's version 0.0.2 ...&lt;br /&gt;&lt;br /&gt;Let me know what do you think about it and drop me a mail for any feedback.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-2057785550624010658?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/2057785550624010658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=2057785550624010658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/2057785550624010658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/2057785550624010658'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/08/announcing-chm2pdf.html' title='Announcing chm2pdf'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8067172710249838012</id><published>2007-07-30T15:58:00.000+01:00</published><updated>2007-07-30T16:16:28.086+01:00</updated><title type='text'>A little problem of GIMP printing and Kubuntu</title><content type='html'>Usually printing with GIMP is a no-brainer. Once you've installed Gimp-Print, you're ready to go.&lt;br /&gt;&lt;br /&gt;On Kubuntu 7.'04 I found a tiny bug that can make things quite difficult. It happens that GIMP cannot find your printer -even if you correctly configure CUPS and Gimp-Print from the GIMP-Print gui. When you try to print using the default setting of "(Default &lt;span class="highlight"&gt;printer&lt;/span&gt;)" you'll get the following error: "lp: Error - no standard target available".&lt;br /&gt;&lt;br /&gt;For some reason, GIMP doesn't understand which printer is the default printer. What you have to do is:&lt;br /&gt;&lt;br /&gt;- Setup your model of printer etc. on GIMP-Print correctly&lt;br /&gt;- Have a look in /etc/cups/ppd and look for the .ppd files. There should be one corresponding to the name you gave the printer(s) when you installed. For example, I have a single file named HP_Laserjet_1300.ppd. Remember that filename.&lt;br /&gt;- In the GIMP-Print dialogue, look for "Setup printer..." and click. Another dialogue will open. Now check the "Custom command" button and write the following line:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;lp -s -d name_of_your_printer -oraw&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and substitute name_of_your_printer with the filename you found before, without the .ppd extension. So if your filename is "myprinter.ppd" the line will be "lp -s -d myprinter -oraw".&lt;br /&gt;&lt;br /&gt;Click "OK". Now you should be able to print. Try to see if you can save the settings -it seems it did it, but somehow after a reboot I had to do this again from scratch. Let me know.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8067172710249838012?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8067172710249838012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8067172710249838012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8067172710249838012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8067172710249838012'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/07/little-problem-of-gimp-printing-and.html' title='A little problem of GIMP printing and Kubuntu'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8048745461176859452</id><published>2007-07-19T16:46:00.000+01:00</published><updated>2007-07-19T17:24:29.696+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oxygen'/><category scheme='http://www.blogger.com/atom/ns#' term='kde3'/><category scheme='http://www.blogger.com/atom/ns#' term='icons'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='kde4'/><category scheme='http://www.blogger.com/atom/ns#' term='kde'/><title type='text'>Installing the new Oxygen icons under KDE 3</title><content type='html'>&lt;a href="http://en.wikipedia.org/wiki/KDE_4"&gt;KDE 4&lt;/a&gt; is coming, and it is bringing a truckload of improvements and goodies. Among these, there is the brand-new &lt;a href="http://www.oxygen-icons.org/"&gt;Oxygen icon theme&lt;/a&gt;. Oxygen will be the default icon theme of KDE 4 and it is going to be damn good. Look at the &lt;a href="http://www.oxygen-icons.org/?cat=3"&gt;preview&lt;/a&gt; to have an idea by yourself.&lt;br /&gt;&lt;br /&gt;With a strange move for an open source project, KDE 4 is quite secretive about the new icon theme. The plan is to present the whole suite together, keeping Oxygen as a "novelty", so, even if Oxygen is being currently developed and most icons are already done, there are no official downloads provided for Oxygen. Moreover, the KDE 4 developers somehow "discourage" using Oxygen on a KDE 3 system.&lt;br /&gt;&lt;br /&gt;However, Oxygen is open content (Creative Commons Attributions-Share Alike and LGPLv3 dual-licensed) and it is online in the KDE 4 SVN repository. So nothing legally prevents you to download and try the current Oxygen development version on your system.&lt;br /&gt;&lt;br /&gt;It is not straightforward to obtain a KDE 3 -installable theme from the KDE 4 SVN repository, however someone (as often happens in the OSS world) has done the dirty work for you. After a bit of googling I found a &lt;a href="http://www.kde-look.org/content/show.php/Fixed+Oxygen+Icon+Theme+Script?content=61556"&gt;handy script&lt;/a&gt; that automatically downloads the latest revision of Oxygen icons, converts them (using Inkscape for that purpose, so check you have it installed) and packages it as a theme (that is a single .tar.bz2 file) in your home directory.&lt;br /&gt;&lt;br /&gt;The script is a bit slow, but works: basically just download the file from the webpage above, unzip it, open a shell, enter in the directory, run ./install.sh as a normal user and wait. When it has finished, just look for the Control Center in your KDE menu and go through Appearance and Themes --&gt; Icons --&gt; Install new theme and open the oxygen-icon-theme.tar.bz2 file in your home directory created by the script. Voilà, theme installed.&lt;br /&gt;&lt;br /&gt;How does it looks? Really professional and cool. I must admit however that it can look somehow out-of-place on a common KDE 3 system, so probably KDE 4 developers are right -to fully experience Oxygen, better wait KDE 4 at the end of the year. However, here is some screenshot for your pleasure: &lt;a href="http://img211.imageshack.us/my.php?image=oxygenkonq001pz7.jpg"&gt;1&lt;/a&gt; , &lt;a href="http://img67.imageshack.us/my.php?image=oxygenicons001ry0.jpg"&gt;2&lt;/a&gt; , &lt;a href="http://img67.imageshack.us/my.php?image=oxygenicons002eg9.jpg"&gt;3&lt;/a&gt; , &lt;a href="http://img530.imageshack.us/my.php?image=oxygenicons003xl1.jpg"&gt;4&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8048745461176859452?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8048745461176859452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8048745461176859452' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8048745461176859452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8048745461176859452'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/07/installing-new-oxygen-icons-under-kde-3.html' title='Installing the new Oxygen icons under KDE 3'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8603871307681878120</id><published>2007-06-30T12:33:00.000+01:00</published><updated>2007-06-30T12:41:14.298+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gnu'/><category scheme='http://www.blogger.com/atom/ns#' term='copyright'/><category scheme='http://www.blogger.com/atom/ns#' term='gpl'/><category scheme='http://www.blogger.com/atom/ns#' term='bsd'/><title type='text'>The best GNU GPL vs BSD comparison ever</title><content type='html'>&lt;p&gt;Ok, this is not my work. But it deserves to be shared. Here is an &lt;a href="http://osnews.com/permalink.php?news_id=18174&amp;comment_id=251777"&gt;OSNews comment&lt;/a&gt; about GPL vs BSD :&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;If you want to give your software away for free, use BSD. If you want to share your software, use the GPL.&lt;br /&gt;&lt;br /&gt;Software under the GPL is not free. Microsoft office is not free, you have to pay Microsoft money. The Borland developer tools are not free, you have to pay Borland (or whatever they're called these days).&lt;br /&gt;&lt;br /&gt;Lastly, software released under the GPL is not free: if you choose to copy and paste GPL code into your own program you have to share it. This is how you pay for GPL code. This is a very egalitarian idea: I share my code, and if you use it in your own program, you pay me back by sharing your code or else you ask me to relicense the code under a different license to suit your needs (which was always possible).&lt;br /&gt;&lt;br /&gt;To make sure no-one can escape sharing (after all, this is how they're paying to use the software), GPL v3 requires the following&lt;br /&gt;&lt;br /&gt;(a) You make the source code available&lt;br /&gt;&lt;br /&gt;(b) You don't use patents to prevent people from using your code, which would effectively block code-sharing despite (a)&lt;br /&gt;&lt;br /&gt;(c) You don't use DRM to prevent people from using your code, which would effectively block code-sharing, like (a)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The GPL is no more viral than any commercial license, the only difference is in how you pay to use the software. And it's always worth remembering that you don't have to share until you distribute the source-code (and as corporations are legal entities, you can give a copy to all your 1000-odd co-workers without legally distributing it). It's further worth remembering that if this is a problem, you can always ask the original author to re-license their work under a commercial license if you would rather not share.&lt;br /&gt;&lt;br /&gt;This GPL is viral/evil/not-as-cool-as-BSD thing is rubbish. It does what it sets out to do: encourage people to share code. There's no excuse for "accidentally" using GPL code in your own software, just as there's no excuse for "accidentally" installing a pirated copy of MS Office on your friends PC. Both place value on software, and if you choose to use it in a certain way, then you have to pay for them: the only difference is in how you pay.&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;From &lt;a href="http://www.bfeeney.uklinux.net/"&gt;Bryan Freeney.&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Just an additional opinion: A lot of people bash GNU GPL because they feel it's too much restrictive. Disliking the actual concept of copyright, I feel sympathetic about them. However, what they often fail to grasp is that GPL is a licence made to mimick, in the copyright world, what would be a copyleft world. It is surely paradoxical the fact that the GPLv3 restrictions mean more freedom, but it's true, if you count the other's freedom as much as your one.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8603871307681878120?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8603871307681878120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8603871307681878120' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8603871307681878120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8603871307681878120'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/06/best-gnu-gpl-vs-bsd-comparison-ever.html' title='The best GNU GPL vs BSD comparison ever'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8356456284710435456</id><published>2007-06-21T17:23:00.000+01:00</published><updated>2007-06-21T17:34:06.974+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='thunderbird'/><title type='text'>How to open Thunderbird links in Firefox (or any other browser) under Kubuntu</title><content type='html'>&lt;p&gt;I prefer Kubuntu over Ubuntu, because I just love KDE, while I can't stand the "dumb-it-down-at-all-costs" philosophy of Gnome. Nonetheless, I use a lot of GTK/Gnome apps in my desktop, and two I can't live without are the Mozilla's Firefox and Thunderbird.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;However, Kubuntu sets Konqueror as the default browser. Not a wise choice IMHO (Konqueror is good but not as good as Firefox for a browser; it kicks ass as a file manager, by the way) but that's it. This means that when you click an URL in Thunderbird, it will open Konqueror. And there is no obvious setting to change it.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;You have two strategies to let Mozilla Thunderbird play nice with Firefox under Kubuntu/KDE. The first -and more drastic, since it changes global settings- is to change your default browser to Firefox. To do that (straight from the &lt;a href="http://kb.mozillazine.org/Default_browser#KDE"&gt;Mozilla Zine&lt;/a&gt;:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    * Open kcontrol (KDE configuration center).&lt;br&gt;&lt;br /&gt;    * Go to "Components -&gt; Components chooser -&gt; Web browser".&lt;br&gt;&lt;br /&gt;    * Check "The following browser", and type in "firefox" ("mozilla" for Mozilla). &lt;br&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;If you don't notice the "Web browser" component:&lt;br&gt;&lt;br&gt;&lt;br /&gt;    * Go to "Components -&gt; File association -&gt; text -&gt; html".&lt;br&gt;&lt;br /&gt;    * Select "Add..." under "Application Preference Order".&lt;br&gt;&lt;br /&gt;    * Write the command firefox %U (mozilla %U for Mozilla) and select OK. You need "%U" so you can load URLs that are non-local files. &lt;br&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Alternatively, you can change the setting only for Thunderbird. This is a bit more obscure, but even faster to do:&lt;br&gt;&lt;br /&gt;* Close Thunderbird.&lt;br&gt;&lt;br /&gt;* Find your Thunderbird prefs.js file -from the Linux shell, try using &lt;code&gt;locate prefs.js | grep thunderbird&lt;/code&gt;.&lt;br&gt;&lt;br /&gt;* Edit the prefs.js, adding the following line at the bottom:&lt;br&gt;&lt;br /&gt;&lt;code&gt;user_pref("network.protocol-handler.app.http", "/usr/bin/firefox"); &lt;/code&gt;&lt;br /&gt;* Reopen Thunderbird, &lt;span style="font-style:italic;"&gt;et voilà&lt;/span&gt; it should work.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8356456284710435456?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8356456284710435456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8356456284710435456' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8356456284710435456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8356456284710435456'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/06/how-to-open-thunderbird-links-in.html' title='How to open Thunderbird links in Firefox (or any other browser) under Kubuntu'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-5515128115769336207</id><published>2007-05-17T17:00:00.000+01:00</published><updated>2007-05-17T22:29:21.483+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eps'/><category scheme='http://www.blogger.com/atom/ns#' term='ps2pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><title type='text'>EPS to PDF : how to avoid clipping</title><content type='html'>Again, the fancy world of interconverting formats. I had to convert a bunch of Encapsulated Postscript (.EPS) files (generated by Inkscape) into PDF pages, for work. No problem, I initally thought, there is ps2pdf that will help me.&lt;br /&gt;&lt;br /&gt;Problem is, ps2pdf has the nasty habit to use a fixed page size by default, clipping everything that goes beyond the limits of the page. No matter if most of the drawing is outside the page: ps2pdf will silently and mercilessly cut most of it.&lt;br /&gt;&lt;br /&gt;Added to this, ps2pdf documentation is bad by almost any standard. The problem is that ps2pdf is a script that relies on GhostScript, so ps2pdf docs are (mostly) GhostScript docs.&lt;br /&gt;&lt;br /&gt;After almost 90 minutes of googling, I found what I needed. To convert an arbitrary EPS file into a PDF page of your standard GS page size, just type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ps2pdf -dEPSFitPage file.eps file.pdf&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-5515128115769336207?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/5515128115769336207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=5515128115769336207' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5515128115769336207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5515128115769336207'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/05/eps-to-pdf-how-to-avoid-clipping.html' title='EPS to PDF : how to avoid clipping'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-3112634499768566601</id><published>2007-03-24T16:30:00.000+01:00</published><updated>2007-03-24T16:31:03.612+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bygfoot'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='gaming'/><title type='text'>Bygfoot: an open source soccer manager game</title><content type='html'>&lt;p&gt;I've never been a lot into gaming, so the relative lack of good Linux games never bothered me much. The only game I really loved was Civilization, and &lt;a href="http://www.freeciv.org"&gt;Freeciv&lt;/a&gt; is, for me, a perfect replacement for it. Sport games were usually the ones I disliked more. Nevertheless I remember myself playing a game called "Soccer Manager" on a DOS box when I was 10-12 years old. I enjoyed it, since it was a purely micromanagement thing. In that game you played the character of a football manager that decides the team formation, sells and buys players looking at their age and skills, maintains the stadium etc. You don't actively play football, like in "Sensible Soccer": you manage the football team.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;It came to me as a nice surprise when I only recently discovered &lt;a href="http://bygfoot.sourceforge.net"&gt;Bygfoot&lt;/a&gt;, a free soccer management game, was available on Linux. I decided to give it a spin and come back to my childhood memories.&lt;/p&gt;&lt;br /&gt;&lt;a href="http://img487.imageshack.us/my.php?image=bygfootshoton6.jpg" target="_blank"&gt;&lt;img src="http://img487.imageshack.us/img487/8929/bygfootshoton6.th.jpg" align="left" border="0" alt="Free Image Hosting at www.ImageShack.us" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Bygfoot is actively maintained and has recently hit release 2.1, with new features added at each release. It is based on the GTK toolkit. You can find precompiled packages for Bygfoot for Windows as well for most Linux distributions and there are official FreeBSD ports. The game has one playing as a manager of a football team, training the players, buying and selling them, contracting loans, maintaining the stadium, and so on. Teams can be promoted or relegated, and a player can be fired if their skills are not up to scratch.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I played some days with Bygfoot and my reactions are mixed. There is a lot of positive to say. The GUI is overall very well thought, elegant and simple; anyone that already played a soccer manager should master most basic game's controls in less than half an hour. I've tested versions from 1.8 to 2.1 on different machines and I'm pleased with the visible fast progress of development, both in terms of functionality and user interface. The number of teams available is enormous, thanks to many contributors, albeit the names are not 100% real due to "copyright problems" (I don't really understand that one, since it baffles my mind on how someone can have copyright on the names of players in a soccer team, but so says Wikipedia). The latest versions of the game are quite stable (the 1.9.2 version available on Ubuntu Dapper had a horrible memory leak, however) and at a casual look seem quite bug-free and fast.&lt;/p&gt;&lt;br /&gt;&lt;a href="http://img467.imageshack.us/my.php?image=bygfootshot2zo8.jpg" target="_blank"&gt;&lt;img src="http://img467.imageshack.us/img467/3084/bygfootshot2zo8.th.jpg" align="right" border="0" alt="Free Image Hosting at www.ImageShack.us" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;On the other hand, the gaming experience is nice but not impressive. It must be said that Bygfoot is eerily addictive, at least at the beginning, and the game is well thought up to be both playable and challenging at first. However the game itself becomes repetitive too rapidly. There are not that much options to gain money apart from improving the stadium and waiting for people to come in or selling your players. Exchanging players with other teams, as far as I've seen, is not possible (if I'm wrong, tell me please!). The idea of the "Youth academy" is nice, but players coming from there take an excruciatingly long time to improve their skills as to be significant players. The recent addition of betting is nice but doesn't really spice up the game. More often than not the game is a repetitive "play match-play match-play match-substitute injured player-play match" with little or no user interaction.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Overall, Bygfoot is a good free soccer manager makes for a fun and well done casual game to play here and there, let's say, in breaks at work. However it is still not at the point to be a real challenge to spend your night with.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-3112634499768566601?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/3112634499768566601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=3112634499768566601' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3112634499768566601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3112634499768566601'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/bygfoot-open-source-soccer-manager-game.html' title='Bygfoot: an open source soccer manager game'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-523174165485181166</id><published>2007-03-15T22:59:00.000+01:00</published><updated>2007-03-15T23:01:35.976+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><category scheme='http://www.blogger.com/atom/ns#' term='autocomplete'/><category scheme='http://www.blogger.com/atom/ns#' term='history'/><category scheme='http://www.blogger.com/atom/ns#' term='matlab'/><title type='text'>Matlab-like interactive search in your Bash command history</title><content type='html'>&lt;p&gt;You probably already know that to navigate forward and backward in time your command line history, you use arrows. Arrow up: previous command. Arrow down: next command. What if you have to navigate more? &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;For example, suppose you yesterday looked at a text file. You don't remember its name, but you know you used "cat" to see it. And now you want to see it again. Normally you should have to (a)use the up arrow a lot until you meet the command you wanted or (b)use some trick like &lt;code&gt;cat ~/.bash_history | grep cat&lt;/code&gt; and then copy-and-paste the right command.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Good, but it could be better. The science package Matlab for example has a nifty feature that allows you to search in your Matlab command line intelligently, autocompleting the first characters you have typed with matching lines of your command line history. This means that you type "cat" on your command line, by using the up and down arrows you navigate &lt;i&gt;only the history of commands beginning with "cat"&lt;/i&gt;. A kind of interactive grep on the go. Nice, isn't it?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;For some reason this really useful feature is not enabled by default on most Unix distributions I am aware of, but it is really easy to activate it on Bash. Look for a file called &lt;code&gt;.inputrc&lt;/code&gt; in your home directory. If you haven't it, look for &lt;code&gt;/etc/inputrc&lt;/code&gt; instead (you of course have to be root to edit this one). Open it with your favourite text editor and look for these lines:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;"\e[5~": beginning-of-history&lt;br /&gt;"\e[6~": end-of-history&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Comment them with a "#" character in front of them:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#"\e[5~": beginning-of-history&lt;br /&gt;#"\e[6~": end-of-history&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Insert these lines below the ones you just commented:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;"\e[5~": history-search-backward&lt;br /&gt;"\e[6~": history-search-forward&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Save and exit. To make the changes have effect you probably have to login again. Now pressing Page-Up and Page-Down should autocomplete the first characters you type with the corresponding commands in the history. Once you get accustomed to this feature, you'll never want to come back.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-523174165485181166?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/523174165485181166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=523174165485181166' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/523174165485181166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/523174165485181166'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/matlab-like-interactive-search-in-your.html' title='Matlab-like interactive search in your Bash command history'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-5333795817925691459</id><published>2007-03-14T00:33:00.001+01:00</published><updated>2007-03-14T00:34:53.560+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ohci'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ehci'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><category scheme='http://www.blogger.com/atom/ns#' term='usb'/><category scheme='http://www.blogger.com/atom/ns#' term='uhci'/><title type='text'>Small Linux tip: Companion controllers and USB hardware</title><content type='html'>&lt;p&gt;Browsing the Gentoo forums I &lt;a href="http://forums.gentoo.org/viewtopic-t-546137.html"&gt;stumbled on an odd problem&lt;/a&gt; with one of these "easy-but-who-the-hell-would-have-thought-of-this" nasty solutions.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Symptoms: You connect a USB hardware (e.g. an USB scanner) and nothing happens. It seems it is not recognized. But you know that your scanner/printer/whatever works and it should work with Linux! (This often happens with SiS motherboards)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Solution: Check you have OHCI/UHCI support enabled. If not, enable it. Try &lt;code&gt;modprobe ohci-hcd&lt;/code&gt; and/or &lt;code&gt;modprobe uhci-hcd&lt;/code&gt; as root. If even this doesn't work, chances are you compiled your kernel by yourself (most distros should include OHCI): check in your kernel config you have OHCI enabled.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Rationale: The problem is that a USB 2.0 controller card is often coupled to OHCI (or sometimes UHCI) controllers, to deal with low or full speed devices, while the EHCI controller keeps the high speed devices for himself. The hardware switches controllers depending on the attached device. So if you only have EHCI drivers and your scanner switches to the OHCI/UHCI controller, there won't be a driver for that controller -and therefore, your PC cannot communicate with what's attached there. You can read the full explanation &lt;a href="http://www.linux-usb.org/usb2.html"&gt;here&lt;/a&gt;, look for "USB 1.1. "Companion Controllers"".&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-5333795817925691459?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/5333795817925691459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=5333795817925691459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5333795817925691459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/5333795817925691459'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/small-linux-tip-companion-controllers.html' title='Small Linux tip: Companion controllers and USB hardware'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-6650881656531345730</id><published>2007-03-11T19:44:00.000+01:00</published><updated>2007-03-11T19:45:22.985+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gtwitter'/><category scheme='http://www.blogger.com/atom/ns#' term='twitter'/><category scheme='http://www.blogger.com/atom/ns#' term='review'/><title type='text'>gTwitter 0.1: a Linux client for the Twitter social network</title><content type='html'>&lt;p&gt;&lt;a href="http://twitter.com"&gt;Twitter&lt;/a&gt; is among the last fads of social networking. For whose of you that don't know, Twitter is something in between a blog and an IM. It leaves you post a brief, SMS-like message (maximum 150 characters) that your Twitter friends can almost instantaneously read. Twitter is the place for every small idea, activity, thought you would like somehow to share, but that is not worth a blog post and you don't want to engage in a direct conversation about. It can be labeled among the best ways Internet has to distract you and make you absolutely non productive, but it is admittedly fun and somehow addictive.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Twitter has a relatively nice web interface, but it is often best used with a dedicated client. This is usually a small application, more like a desklet or widget, that periodically reads new "tweets" from your friends and allows you to instantaneously post a new one when you urge to. The most popular Twitter client is the Mac OS X &lt;a href="http://iconfactory.com/software/twitterrific"&gt;Twitterrific&lt;/a&gt;, and there are analogous clients for Windows.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;GNU/Linux and other free systems until a few days ago had little choice. This was even stranger and sadder given how simple the Twitter API are. I was just pondering about writing a Twitter client when I see that the 0.1 version of &lt;b&gt;&lt;a href="http://code.google.com/p/gtwitter/"&gt;gTwitter&lt;/a&gt;&lt;/b&gt;, the first free, Linux-friendly Twitter client I am aware of.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I immediately downloaded the source code tarball .tar.gz and tried it. gTwitter is written in C# with &lt;a href="http://www.mono-project.com"&gt;Mono&lt;/a&gt;, and needs a few dependencies (The latest GNOME development packages (gtk+-2.8), A full Mono Development stack (mono 1.1.x, gtk-sharp-2.0, etc.) and the Cairo graphics library (cairo 1.0.x) ). On my stable Gentoo Linux box it compiled extremly quickly and without a hitch with the usual source tarball procedure:&lt;br /&gt;&lt;li&gt;download the gTwitter .tar.gz&lt;br /&gt;&lt;li&gt;unzip gTwitter:&lt;br&gt;&lt;br /&gt;&lt;code&gt;tar -xzvf gtwitter-0.1.tar.gz&lt;/code&gt;&lt;br /&gt;&lt;li&gt;enter the gTwitter source directory:&lt;br&gt;&lt;br /&gt;&lt;code&gt;cd gtwitter-0.1&lt;/code&gt;&lt;br /&gt;&lt;li&gt;configure the source code:&lt;br&gt;&lt;br /&gt;&lt;code&gt;./configure&lt;/code&gt;&lt;br /&gt;&lt;li&gt;compile:&lt;be&gt;&lt;br /&gt;&lt;code&gt;make&lt;/code&gt;&lt;br /&gt;&lt;li&gt;now become root (or use "sudo" on Ubuntu) and install:&lt;br&gt;&lt;br /&gt;&lt;code&gt;make install&lt;/code&gt; &lt;br /&gt;&lt;li&gt;exit the root shell by typing &lt;code&gt;exit&lt;/code&gt; and just type:&lt;br&gt;&lt;br /&gt;&lt;code&gt;gtwitter&lt;/code&gt;&lt;br&gt;&lt;br /&gt;to run the program.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;a href="http://img49.imageshack.us/my.php?image=gtwittershotbb7.jpg" target="_blank"&gt;&lt;img src="http://img49.imageshack.us/img49/3447/gtwittershotbb7.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us" align="right" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;I played with gTwitter on my Linux box a bit and, despite its alpha status (just version 0.1, folks!) it seems to be perfectly usable for the main basic tasks of Twitter: reading and posting "tweets". The application is very small and fast and starts fantastically quickly. The GUI is very clean, and borrows a bit from Twitterrific: despite being GTK/Gnome based, integrates quite well in my KDE desktop. If you wanna see it in action , you can see a gTwitter screencast &lt;a href="http://ghaefb.rebootcomic.com/wp-content/uploads/2007/03/gTwitter_screencast.avi"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Of course, being a 0.1 release, it is still a bit rough around the edges. A notification area icon is, in my opinion, the first feature to implement, so that one can keep an eye on new tweets without having to open/activate gTwitter. A composite-enabled UI would be really cool, and the gTwitter author (&lt;a href="http://ghaefb.rebootcomic.com/"&gt;Nil Gradisnik&lt;/a&gt;) tells on his blog that it is already in the works. Making the whole GUI smaller would also be nice, so to have gTwitter working effectively as a small, unobtrusive widget.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Anyhow, gTwitter is a little but well implemented and promising application for Linux and other free software users that engage in this social network. I would advice twitters to give it a try without hesitation, and keep a look on its developments.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-6650881656531345730?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/6650881656531345730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=6650881656531345730' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/6650881656531345730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/6650881656531345730'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/gtwitter-01-linux-client-for-twitter.html' title='gTwitter 0.1: a Linux client for the Twitter social network'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-8493001244324277378</id><published>2007-03-07T23:09:00.000+01:00</published><updated>2007-03-07T23:34:43.744+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='heart rate monitor'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='polar'/><title type='text'>Polar heart rate monitors on Linux</title><content type='html'>&lt;p&gt;Do geeks keep fit? Well, if you are a self-trainer, or you simply like to keep fit, you may find a heart rate monitor useful. Personal heart rate monitors often are thought to output their data on a Windows machine. Can you keep fit on Linux?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;The answer is: yes, but it's not that easy (but hey, mind exercise is still exercise!). In general, it seems the best supported heart rate monitors are the ones from &lt;a href="http://www.polarusa.com/"&gt;Polar&lt;/a&gt;, so I will focus on that ones. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.saring.de/polarviewer/index.html"&gt;Polar Viewer&lt;/a&gt; is a Polar (and Ciclosport, actually) heart rate monitor application that has been now integrated into &lt;a href="http://www.saring.de/sportstracker"&gt;Sports Tracker&lt;/a&gt; from the version 2.0. It seems the best choice for heart rate monitoring on Linux: it supports a quite wide range of Polar models, is integrated in a self-training application, it's currently updated and looks polished. As the Sports Tracker page says, "you can easily create diagrams and statistics for specific time ranges and sport types." and, if you feel coding, "all the application data is stored in XML files. So it should be easy to access it with other tools or to write importers and exporters for other applications.". Note: it depends on Mono. Another GTK application similar to Polar Viewer is &lt;a href="http://polarscope.sourceforge.net/"&gt;Polar Scope&lt;/a&gt;. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;On the KDE side of things, I found a small application, &lt;a href="http://kde-apps.org/content/show.php?content=34705"&gt;KPersonalTrainer&lt;/a&gt;, that can help you sync with your Polar monitor. According to the description: &lt;blockquote&gt;&lt;br /&gt;KPersonalTrainer was developed to keep track of data collected by a heart rate monitor like the Polar Watches, or just any other watch.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;When you have added an exercise information is saved in a file and presented in a table. A calender is shown to give you an overview of the finished exercises.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;KPersonalTrainer also has an option, Weekly Reports, where you can keep track of your progress.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This first version of the program has all the basic functions, and more advanced functions are planned for future releases, for example show diagrams of different data.&lt;br&gt;&lt;br /&gt;&lt;/blockquote&gt;. Unfortunately, the last update is of more than a year ago, but I guess you can poke the developer if you need an update.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I found other attempts at using Polar heart rate monitors under Linux. They seem to be decidedly more hackish, but may be nonetheless interesting. &lt;a href="http://www.ieeta.pt/~tos/software/polar_s410.html"&gt;A program to decode the sound data recorded by Polar S410&lt;/a&gt; has been written: however keep in mind that it is a .tar.gz that needs to be compiled by hand and comes from the 2004. &lt;a href="http://daveb.net/s710/"&gt;A Linux software for the Polar s710&lt;/a&gt; that works via the serial IR interface exists and is updated. The author of this program also owns the (admittedly not so crowded) &lt;a href="http://daveb.net/forum/viewforum.php?f=2"&gt;polar-linux&lt;/a&gt; forum.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Last but not least: if you are really into the geeky thing, why don't you &lt;a href="http://www.fuzzymonkey.net/software/heartmonitor/"&gt;build a Linux-based heart rate monitor yourself?&lt;/a&gt; You only need a Linux PC, a soundcard and some circuit bending skills. Circuit schematics are ready for you to download, software is provided. Happy hacking.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-8493001244324277378?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/8493001244324277378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=8493001244324277378' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8493001244324277378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/8493001244324277378'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/polar-heart-rate-monitors-on-linux.html' title='Polar heart rate monitors on Linux'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-3451804975354311365</id><published>2007-03-07T17:37:00.000+01:00</published><updated>2007-03-07T17:38:00.835+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ramdisk'/><title type='text'>Create a Linux ram disk to use with an application</title><content type='html'>&lt;p&gt;If you have plenty of RAM memory, it may be useful to create a temporary RAM disk to use for fast file read-write of an application. Often guides tell you how to create an initial ram disk for the Linux boot, but what about building a ramdisk for everyday use?&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;It's matter of just four commands. First, create the device:&lt;br&gt;&lt;br /&gt;&lt;code&gt;mknod -m 660 /dev/ram b 1 1&lt;/code&gt;&lt;br&gt;&lt;br /&gt;Then, give the dimension you want to the new ramdisk, let's say, 4k. You do it by filling it with the right amount of zeroes:&lt;br /&gt;&lt;code&gt;dd if=/dev/zero of=/dev/ram bs=1k count=4k&lt;/code&gt;&lt;br&gt;&lt;br /&gt;Then it's just matter of creating your mountpoint:&lt;br&gt;&lt;br /&gt;&lt;code&gt;mkdir /mnt/ramdisk&lt;/code&gt;&lt;br&gt;&lt;br /&gt;and mounting it as an ext2:&lt;br /&gt;&lt;code&gt;mount -t ext2 /dev/ram /mnt/ramdisk&lt;/code&gt;&lt;br /&gt;That's it.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-3451804975354311365?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/3451804975354311365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=3451804975354311365' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3451804975354311365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3451804975354311365'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/create-linux-ram-disk-to-use-with.html' title='Create a Linux ram disk to use with an application'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-994083433633207807</id><published>2007-03-05T23:57:00.000+01:00</published><updated>2007-03-05T23:59:50.511+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='busybox'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Busybox: a lifesaver for your Linux system</title><content type='html'>&lt;p&gt;Sometimes it just happens. You do something bad with, let's say, the glibc, and suddenly you discover your command line is unusable. Even simple commands like "ls" die with a segmentation fault or similar errors. Nothing works. More often than not, chrooting won't help. Everyone would panic, unless you know you have a lifesaver: a statically linked &lt;a href="http://www.busybox.net"&gt;BusyBox.&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;This little free software miracle contains stripped down but fully usable versions of many common UNIX utilities into a single small executable. A command line in a box. Its supported commands (actual support depends on compile configuration) include:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;  [, [[, addgroup, adduser, adjtimex, ar, arping, ash, awk, &lt;br /&gt;        basename, bbconfig, bunzip2, busybox, bzcat, cal, cat, catv, &lt;br /&gt;        chattr, chgrp, chmod, chown, chroot, chvt, cksum, clear, cmp, &lt;br /&gt;        comm, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, &lt;br /&gt;        delgroup, deluser, devfsd, df, diff, dirname, dmesg, dnsd, &lt;br /&gt;        dos2unix, dpkg, dpkg_deb, du, dumpkmap, dumpleases, e2fsck, echo, &lt;br /&gt;        ed, eject, env, ether_wake, expr, fakeidentd, false, fbset, &lt;br /&gt;        fdflush, fdformat, fdisk, find, fold, free, freeramdisk, fsck, &lt;br /&gt;        fsck_minix, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, &lt;br /&gt;        gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, &lt;br /&gt;        hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, &lt;br /&gt;        install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, &lt;br /&gt;        iptunnel, kill, killall, klogd, lash, last, length, less, ln, &lt;br /&gt;        loadfont, loadkmap, logger, login, logname, logread, losetup, ls, &lt;br /&gt;        lsattr, lsmod, lzmacat, makedevs, md5sum, mdev, mesg, mkdir, &lt;br /&gt;        mke2fs, mkfifo, mkfs_minix, mknod, mkswap, mktemp, modprobe, &lt;br /&gt;        more, mount, mountpoint, mt, mv, nameif, nc, netstat, nice, &lt;br /&gt;        nohup, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, &lt;br /&gt;        pivot_root, poweroff, printenv, printf, ps, pwd, rdate, readlink, &lt;br /&gt;        readprofile, realpath, reboot, renice, reset, rm, rmdir, rmmod, &lt;br /&gt;        route, rpm, rpm2cpio, run_parts, runlevel, rx, sed, seq, setarch, &lt;br /&gt;        setconsole, setkeycodes, setlogcons, setsid, sha1sum, sleep, &lt;br /&gt;        sort, start_stop_daemon, stat, strings, stty, su, sulogin, sum, &lt;br /&gt;        swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, &lt;br /&gt;        tee, telnet, telnetd, test, tftp, time, top, touch, tr, &lt;br /&gt;        traceroute, true, tty, tune2fs, udhcpc, udhcpd, umount, uname, &lt;br /&gt;        uncompress, uniq, unix2dos, unlzma, unzip, uptime, usleep, &lt;br /&gt;        uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, &lt;br /&gt;        wget, which, who, whoami, xargs, yes, zcat, zcip&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Quite impressive, isn't it? You can call busybox in various ways. The simplest is calling busybox directly with the wanted command as an argument:&lt;/p&gt;&lt;br /&gt;&lt;br&gt;&lt;code&gt;busybox ls /&lt;/code&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;for example. But you can also enter a busybox shell by typing:&lt;/p&gt;&lt;br /&gt;&lt;br&gt;&lt;code&gt;busybox sh&lt;/code&gt;&lt;br&gt;&lt;br /&gt;&lt;p&gt;This starts a barebones shell that gives you access to all busybox commands, and allows you to have a working command line (On Gentoo Linux, you can have the same by calling /bin/bb, that is called the "rescue shell" in the docs). Another possibility is to symlink commands to the busybox binary. So, if /bin/ls is a symlink pointing to busybox, busybox will know the symlink called and execute ls. This of course has little sense when rescuing a system, but it is often used when busybox is the actual shell of an embedded or very lightweight Linux system.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Having a static busybox (static is important: you want it to be resilient to borked libraries) installed could make the difference between crying in front of a dead Linux that needs to be reinstalled and being able to grin while telling again the geeky story about how you happily rescued your system. Install it now, before it's too late.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-994083433633207807?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/994083433633207807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=994083433633207807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/994083433633207807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/994083433633207807'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/busybox-lifesaver-for-your-linux-system.html' title='Busybox: a lifesaver for your Linux system'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2244254318500597584.post-3671551837796550647</id><published>2007-03-05T15:10:00.000+01:00</published><updated>2007-03-07T23:42:02.987+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='pdftk'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>Merge PDF files on Linux</title><content type='html'>&lt;p&gt;Sometimes you need to merge PDF files made by someone else in a single file together. Your Windows or Mac user fellows will do probably by using Adobe Acrobat or the like. On Linux you don't need the Adobe software (although you can have it if you like). You can do it by the command line -it's Linux after all, isn't it?&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The first method is by using &lt;a href="http://www.imagemagick.org/script/convert.php"&gt;convert&lt;/a&gt; , directly from the &lt;a href="http://www.imagemagick.org/"&gt;ImageMagick&lt;/a&gt; toolkit. You probably already have this one installed on your favourite Linux distribution; if not, almost every known Linux distribution has a package for it. Even if you don't need to edit PDF files you should have it, it is a wonderful swiss army knife for command line image processing. The syntax for merging PDF files is simple:&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-style: italic;"&gt;convert file1.pdf file2.pdf file3.pdf out.pdf&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;(that is, the last file name is the output file name). This usually works quite correctly, but 1)it is slow 2)I found sometimes has issues with image resolution. So I looked for another solution, and I found &lt;a href="http://www.pdfhacks.com/pdftk/"&gt;&lt;b&gt;pdftk&lt;/b&gt;&lt;/a&gt;. The name stands for "PDF ToolKit", and really it is. It is a free (open source under the GNU GPL), wonderful command line utility that with a bit of magic allows you to manage PDF files from the command line. It works on Linux, Windows and Mac. pdftk can merge PDF documents, split PDF pages into a new document, rotate PDF Pages or Documents, decrypt and encrypt, fill PDF forms, apply a background watermark or a foreground stamp, burst a PDF Document into single pages... whatever.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The syntax for merging with pdftk is almost as simple:&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;pdftk file1.pdf file2.pdf file3.pdf cat output out.pdf&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;You just need to add the magic "cat output" between the input pdfs and the output file name. In comparison with convert, it is truly fast and in my experience gives better results. And it may come handy for when I have to work with PDF files in other ways. Also, KDE users may find nice &lt;a href="http://www.kde-apps.org/content/show.php?content=54213"&gt;PDF Concat&lt;/a&gt;, a Kommander script that acts as a simple pdftk frontend to merge PDFs.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2244254318500597584-3671551837796550647?l=opendevice.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opendevice.blogspot.com/feeds/3671551837796550647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2244254318500597584&amp;postID=3671551837796550647' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3671551837796550647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2244254318500597584/posts/default/3671551837796550647'/><link rel='alternate' type='text/html' href='http://opendevice.blogspot.com/2007/03/merge-pdf-files-on-linux.html' title='Merge PDF files on Linux'/><author><name>m. s.</name><uri>http://www.blogger.com/profile/14764317050525231663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry></feed>
