Category Archives: Linux

Using Windows Live Writer on Linux ( Ubuntu )

I’m quite sure I’m not the only one who uses Windows Live Writer. It’s a wonderful tool and I’ve talked about it two years ago so I’m not going to say the same twice. Then, why am I talking about it? Easy, after a long time using Windows as my primary operating system, I switched to Ubuntu.

As you can imagine, Microsoft doesn’t develop a version of Windows Live Writer for Linux and I don’t know any tool for doing the same. Don’t get this wrong, there are a few of applications for blog posting, but every single one of them has an important drawback. Some don’t let you upload pictures, others doesn’t have spell checker or you have to type the HTML. Others simply doesn’t allow you to work with multiple accounts, or they let you manage different blogs, but only WordPress based, and so on…

Solution? Keep using Windows Live Writer. I’ve VirtualBox with Windows XP SP3 and I run it in seamless mode. I know it sounds a little bit strange using a virtual machine just for one program… but that wouldn’t be true. Just face it, sooner or later everyone needs to use some “only-windows” application. Did you ever tried to update your iPod Touch on a Linux box? Forget it, as far as I know it’s impossible… you need iTunes and wine is good, but no so great.

How-To: Webcamera working with Ubuntu 64bits and Skype

I’ve Microsoft VX-1000 webcam. It’s not awesome, but it was cheap and it’s doing the job. Troubles came when I wanted to make it work with Ubuntu 64 bits and Skype.

Skype recognises the camera, USB camera (/dev/video) but when you try to use it, its led goes to green for a second and then… darkness. According to the documentation, the camera is fully supported… apparently I’ve a different definition of “fully supported”. However, there is a method to make it work. Basically you’ve to start skype with this command: “LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype”

That’s a little bit uncomfortable, so lets make skype start with a script and be executed every time you boot your machine:

  1. Open a terminal
  2. Write: echo ‘#!/bin/bash’ > skype.sh && echo “LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype” >> skype.sh && chmod +x skype.sh
  3. Go to System -> Preferences -> Startup Applications

And there, add a new entry and fill the form. Here’re some images:

Startup applications menu

Now you can start skype by clicking the script you’ve created and it will be launched on each boot 🙂

I’m a Fedora user

I’ve been user of Mandrake (now Mandriva) back in the late 90’s. With the millennium change, I also changed my Linux distribution to Debian / Ubuntu. Hoever, I’ve never been close-minded to other distributions and operating systems. Recently one of my friends at AsturLinux was appointed ambassador of Fedora, so I’ve decided to give  it a try.

I started downloading the x86_64 version for my Core2Duo. I don’t know why on earth they hide the 64bits version. I had to browse through the whole FTP to get it. Fortunately that was the only trouble I had to solve.

The installation process was easy and painless. There was no problem with the boot-loader (actually, Fedora found my hackintosh!), and 20 minutes after my system was up and running. It was the first time my laptop could be suspended!

I’ve had some troubles with different applications (like Skype), but it was because I was trying to use 32 bits applications on my 64bits system without the appropriate 32bits libraries. It is really easy to solve… but you’ve to know where is the problem coming from.

Being honest, the only thing I’ve had to change was the size of the fonts, 10p is excessively huge for my 13” laptop screen.

At this very moment I’m writing this on OpenOffice -while listening music on Banshee– and I’ll publish it with Windows Live Writer running on Windows XP inside VirtualBox (which is incredibly fast by the way). Everything on my Fedora 10 without any problem. That’s what I like of Fedora, I do what I want without worries about “how” I want it.

Linux Kernel with Intel Compiler

It has been a long time since the last time I wrote here. I’ve been working on my project and it is almost done… just two milestones more and it should be ready 🙂 However that’s not the topic of this post.

Yesterday I saw a piece of news about the progress of the LinuxDNA group. I’m not using Linux right now, but I used to, and if you know anything about it, you know that GCC is everywhere. The kernel and the vast majority of all the GNU applications have been designed to be compiled with GCC. The LinuxDNA group has been working to bring the power of Intel C/C++ Compiler to Linux.

Recently they have been capable of compile the kernel in a Gentoo. According to their data, compiling the kernel with the Intel Compiler boosts up to 40% for certain parts and an average of 8.5%.

I don’t have an extensive knowledge about compilers, but it sounds to me like a good research without practical use. Don’t take this wrong, it’s an amazing work, I’m just saying that I don’t think this will make a difference in our machines performance.

We’re using GCC because it’s extremely portable. You can cross-compile whatever you want, and you can use it to compile all your system for a bunch of different architectures. With Intel Compiler we will boost our system around 8.5%, but only for those who run Intel processors… even AMD is out of the target!

In my opinion, we should wait until more performance date will be available and then, think if it’s worth.

Be that as it may, it’s a great research and another option to boost up our system 😉