Monthly Archive for October, 2006

Amarok 1.4.4 for Mandriva 2007

amarok-1-4-41 Here is the ultimate version of Amarok ! The version 1.4.4 of Amarok was released today, and I’ve added it to my brand new Mandriva 2007 repository. As a bonus, this RPM support three database system to store audio collections: SQLite (default), MySQL and Postgresql.

I’ve noticed that MusicBrainz features are broken in the default Amarok 1.4.3 which come with Mandriva 2007. Unfortunately, those features are still broken in this release. Sorry.

Website Backup script: New Version Save you Disk Space.

I’ve updated my website-backup.py script. I added a little optimization to delete the yesterday’s backup if nothing was changed on the remote website. This let me save some megabytes on the hard drive for everyday backups of near-static websites. The optimization I added is simply based on checksum comparison. This is the context to the previous script I wrote today: it was a tool to help me debug and experiment this new feature.

You can find the latest version of the website-backup.py script in my Linux script page. Here is the direct link to today’s version.

Find Duplicate Files in a Folder

Here is a simple script I created today that use md5sum to track duplicate files in a folder.

Samsung Q35 XIC-5500 : Tiny Review of a Strong Compact Laptop.

samsung-q35-xic-5500 I’m the happy owner of a brand new Samsung Q35 XIC-5500 laptop. Here is a review of the machine hardware, not the software.

The hard disk of the machine is supposed to be a 120 GB one, and as usual a hidden partition is reserved for windows backups. I deleted this one and reformatted the whole disk. After this operation, fdisk (fdisk -l /dev/hda) report me a total usable space of 112.4 GiB. Not bad.

Now I’ll tell you what I noticed about the aesthetic and the usability of the machine itself.

samsung-q35-touchpad The touchpad has a good soft touch, but is located so close of the keyboard that I inadvertently activate it while typing. This is quite bad, especially when you write long texts. I think with some practice I’ll be able to move my fingers to avoid this unintended behavior.

I feared having a glossy screen but I’m finally happy. This one is not as reflexive as I thought, and bright colors are welcomed for watching movies. I still hadn’t the opportunity to test it in a sunny environment. October is not the sunniest month in the north of France ! ;)

samsung-q35-strange-keys To keep the machine as compact as possible, some keys of the keyboard were located in unusual places. Page Up / Page Down keys are for example on the right and on the left of the Upper key. Home and End need the function (Fn) key to work. This slow me down because I use them a lot when programming or editing blog posts.

The fan is located on the right side of the machine. I’m right handed so it’s not cool (pun intended). In reality it’s not a problem at all since the fan is not often activated during “normal” use (Internet surfing, mails, etc…).

I don’t like having sounds connectors in front of the machine.

The battery is unpleasant because half of it appear outside the laptop case. But having twice the capacity (6 cells instead of 3) is welcomed.

Finally the laptop is not ultra-mobile. It’s a very compact laptop (only 1.9 Kg), but not “ultra”: it has big margins around the keyboard and the screen, and is as large as usual 14” laptops. It is also as thick as others, because of the optical drive.

My Conclusion: If you need an ultra light laptop or if you are a gamer, this is not a machine for you. But if you need a light-weight notebook with everything heavy laptops have (including the optical drive), it’s a very good deal. I paid mine 1160 € on a French online store. This laptop is not an object of design. But for 100 € more than a 13” MacBook, you have a compact machine with superior hardware: Core 2 Duo, 1GB of RAM, 120GB HDD, 7 hours of max autonomy and 1280×800 screen. This is why I choose this machine, and I’m very happy with it ! :)

Usefull Commands: CD Burning

  • List all CD devices:
    cdrdao scanbus
    
  • Blank a CD-RW:
    cdrdao blank --device ATA:0,1,0 --driver generic-mmc
    
  • Burn an ISO:
    cdrecord -v speed=8 dev=ATA:0,1,0 ./geexbox-0.98-fr.iso
    
  • Generate an ISO image of a CD-ROM:
    dd if=/dev/cdrom of=/tmp/cdrom-image.iso
    
  • Create an ISO from a local directory:
    mkisofs -R -r -l -J -V volid -o /tmp/cdrom-image.iso src
    

    volid is the volume ID to be written into the master block;
    /tmp/cdrom-image.iso is the destination filename of the newly created ISO image;
    src is the temporary ISO directory containing the files and file structure you wish to have included in the ISO image.

  • Mount a local ISO image as if it’s a physical CD-Rom:
    mount -t iso9660 -o loop /tmp/cdrom-image.iso /media/cd-image/
    
  • Mount an UDF file system image:
    fuseiso -p dvd.img /media/dvd-image/
    
  • Convert a Nero’s proprietary .nrg CD image to standard ISO file:
    nrg2iso dvd-image.nrg dvd-image.iso