Monthly Archive for January, 2010

Page 3 of 4

Microsoft’s policy of allowing piracy in China backfires

During a speech at the University of Washington in 1998, Bill Gates said:

“About 3 million computers get sold every year in China, but people don’t pay for the software. Someday they will, though. As long as they are going to steal it, we want them to steal ours. They’ll get sort of addicted, and then we’ll somehow figure out how to collect sometime in the next decade.”

Now that China is addicted to Windows, Microsoft is indeed coming to collect, but thanks to Linux their plan could backfire, badly.

Hi Debian, welcome to 1904

I tried to install Debian onto an old PPC iMac with 300MB RAM without success.

Firstly, the testing network and business card installers would segfault when booting. A known problem which hasn’t yet been fixed.

No matter, I just switched to the stable network installer and began my journey. Problem is, it gets stuck at configuring packages. Just sits there at 1% forever. When I see the log, I notice that it’s prompting me to confirm the installation of packages, which is hidden from the main screen and therefore what was causing it to die.

Changing root into /target I ran a few commands myself and noticed that apt-get update said that the GPG keys from debian-archive-keyring were invalid.

DAMN. What’s going on..

So I tried everything I could to fix it. Googled and Googled and Googled to no avail. Lots of people had similar issues, but forcing a re-install of debian-archive-keyring fixed it for them. Others said to use a different mirror.

I was about to curse Debian for no-longer caring about PPC and then it hit me. Check the date of the machine. Yes, sir, it was 3rd January 1904 – as far as Debian was concerned, the keys were well and truly invalid.

So a simple, apt-get install ntpdate && ntpdate ntp.internode.on.net and everything was sweet. Why it didn’t do this properly when I configured the time during the installer I don’t know. Nevertheless, I’m happy again.

Silly me.

-c

Linux Conference Australia 2010 streamed live, from NZ

Well, looks like the Kiwis have finally got it right. The Linux Conf Au conference is held in Wellington this year (and yes, I can’t be there) but those clever chaps have arranged live streaming, direct from the various auditoriums.

Just click on the day, and at the top is a link to Live Stream. For example, here’s the link to today’s miniconfs.

My quick look at B’Dale’s talk on LSB appears good. Finally, someone has gotten it right (it just took the Kiwis to do it! Thanks guys.

My only complaint is the support for Silverlight.. Urgh.. why, why, why..

-c

Getting full 32-bit support in 64-bit Fedora

Is as easy as installing the 32bit version of Red Hat’s Linux Standard Base (LSB) package:
yum install redhat-lsb.i686

Bye Bye, SysReq

IBM/Lenovo laptops always seemed to have great Linux support. Shortly however, Lenovo products will ship without the SysReq key.

New Lenovo keyboard

Luckily, with Ext4 issues sorted out, there’s no need to use Magic Keys, right?

Windows based Internet cafés “illegal”

I never realised before, but Windows based Internet cafés violate Microsoft’s license terms, because:

Windows desktop operating system and Microsoft Office system licenses do not permit renting, leasing, or outsourcing the software to a third party.

Interesting.

Now however, by paying an extra licensing fee to Microsoft café owners can become legit.

Seems to me that a Linux based kiosk with OpenOffice.org is just going to become even more attractive..

Microsoft screencast shows Linux easier than Windows

In their attack on free software, Microsoft has launched a website which compares various aspects of Windows to its counterpart on Linux.

One of the latest videocasts compares getting Perl and PHP running on a webserver.

In the Windows screencast the author (who happens to be an Australian) says:

“In the past it was kinda difficult to set up Perl on Internet Information Services, now I’d actually argue it’s probably easier to set up Perl on IIS than it is to actually set it up on Linux.”

OK then, let’s watch both of his screencasts and see whether that is indeed true!

Excluding the tasks of installing Linux and Windows, installing the respective webserver, creating the Perl and PHP scripts themselves (which just print “$LANG is working”) and downloading the PHP/Perl install files (which you only have to do on Windows of course) here is the number of tasks required for each. As an aside, he is using Ubuntu Feisty Fawn, that’s SIX releases of Ubuntu ago.

Ubuntu – install and configure Perl
Total tasks = 7

Open terminal
    Open "Terminal"
Install Apache Perl module
    sudo apt-get install libapache2-mod-perl2
    Type "y" to proceed

Restart Apache
    sudo /etc/init.d/apache2 force-reload
Copy Perl script to cgi-bin directory
    sudo cp testperl.pl /usr/lib/cgi-bin/
Make Perl script executable
    sudo chmod a+x /usr/lib/cgi-bin/testperl.pl
Use Firefox to test
    http://localhost/cgi-bin/testperl.pl

Windows – install and configure Perl
Total tasks = 34

Run Perl installer
    Click "Run"
    Click "Next"

Accept license agreement
    Click "Next"
    Click "Next"
    Click "Next"
    Click "Install"
    Click "Finish

Open Command Prompt
    Click "Start Menu"
    Click "Command Prompt"

Make cgi-gin directory
    mkdir C:\Inetpub\cgi-bin
Copy the script
    cd Desktop
    copy *.pl C:\Inetpub\cgi-bin
    exit

Open IIS Manager
    Click "Start Menu"
    Click "Administrative Tools"
    Click "Internet Information Services (IIS) Manager"

Configure Perl
    Select "Perl CGI Extension" from "Web Service Extensions"
    Click "Allow"

Create Virtual Directory for cgi-bin
    Expand "Web Sites"
    Right Click "Default Web Site"
    Click "New -> Virtual Directory"
    Click "Next"
    Type name "cgi-bin"
    Click "Next"
    Set path "C:\Inetpub\cgi-bin"
    Click "OK"
    Click "Next"
    Tick "Run"
    Tick "Execute"
    Click "Next"
    Click "Finish"
    Click "Close"

Use Internet Explorer to test
    http://localhost/cgi-bin/testperl.pl

Perl Conclusion
If you live on planet Microsoft, then I guess you might deduce that Windows is indeed easier than Linux. Of course in reality that’s complete bunkum.

Now, let’s have a look at PHP, where our presenter says the following:

It’s as easy to install these particular services and languages on IIS as it is, or even easier to install them on Windows than is it on Linux.

Ubuntu – install and configure PHP
Total tasks = 5

Open terminal
    Open "Terminal"
Install PHP mod for Apache
    sudo apt-get install libapache2-mod-php5
    Enter "y" to continue

Copy the php file
    sudo cp testphp.php /var/www/
Use Firefox to test
    http://localhost/testphp.php

Windows – install and configure Perl
Total tasks = 23 (or 42 if configuring cgi-bin)

Run PHP installer
    Click "Run"
    Click "Next"

Accept license agreement
    Click "Next"
    Modify path to "C:\PHP"
    Click "Next"
    Select "IIS CGI"
    Click "Next"
    Click "Next"
    Click "Finish

Copy the script
    Right click on php file
    Select "Copy"
    Click "Start Menu"
    Open "My Computer"
    Browse to "C:\"
    Open "Inetpub" folder
    Right click
    Click "Paste"

Open IIS Manager
    Click "Start Menu"
    Click "Administrative Tools"
    Click "Internet Information Services (IIS) Manager"

Confirm PHP is active
    Select "Web Service Extensions"
    Ensure "PHP: Hypertext Processor" set to "Allow"

Use Internet Explorer to test
    http://localhost/cgi-bin/testphp.php

PHP Conclusion
Of course, he had already set up the cgi-bin virtual directory when he did Perl, so he’s getting that configuration for free. If you were configuring just PHP (or PHP first) this would take a total of 42 steps, instead of 23.

Conclusion, Conclusion
Either way, this guy sure has a funny idea of what “easy” means. I think it’s easy for him to make money from Microsoft by spreading lies about Linux.

Get different plasmoids on each workspace in KDE4

Came across a way to get different plasmoids (widgets) in each workspace under KDE4.

I must say that it’s nice being back in KDE where you can tweak and customise things a whole lot more than GNOME.

Make Firefox look like a KDE app in one simple step

Firefox is the most popular browser on the Linux platform, but it’s a GTK app and doesn’t integrate as nicely into KDE (which uses Qt). There are a number of ways to get it to integrate better, such as kgtk, but this is an easier and more stable method.

The Oxygen KDE Firefox addon does a great job of theming Firefox to look like a KDE app.

Simple download it and drag to add-ons. I scanned the extracted files with ClamAV and it was clean, but I always recommend that you do the same yourself for 3rd party add-ons.

Unfortunately it doesn’t modify Firefox to use KDE’s file manager or anything like that (unlike openSUSE’s modification), it’s just a theme. But it certainly looks great!

KDE Firefox themed

Other stuff
There are some extra things you can do to make it integrate even better.

KDE file picker
You can replace the GTK file picker with a simple KDE-ish file manager (as pictured above) by changing a setting in your config. Browse to:
about:config

Search for ui.allow_platform_file_picker and set it to False. Restart and now you’ll get a simple, but KDE themed file picker.

Plasma notifications
Install the PlasmaNotify add-on to get Firefox to use Plasma for notifications. Turn off the “Downloads window” under Preferences, for a more integrated experience.

Download with KGet
You can get Firefox to download with KDE’s KGet download program by installing the FlashGot add-on.

Resources
Here are some handy pages for integrating Firefox into KDE:
Making Firefox 3.x Look at Home in KDE4 (Part I)
Making Firefox 3.x Look at Home in KDE4 (Part II)

Lenovo ARM and Linux based Smartbook looks interesting

Lenovo Skylight Smartbook

“Skylight is a sleek, stylish 10″ mobile HD device with a web-optimized interface that lets you enjoy the web and rich media everywhere you go.

“Skylight is the digital solution for mobile users demanding a no-compromise, full web and media experience in a light, compact device. And since Skylight is equipped with a Qualcomm Snapdragon™ ARM processor, 20GB storage on device with 2GB online, it’s exactly what you need to enjoy the web on the go.”

With the cloud and Web 2.0 stuff rampaging across the Internet, Mobile Internet Devices like this might actually take of this time…