Monday, 7 June 2010

Ubuntu Tip: Gnome Schedule

Ask someone in the Linux world how do you schedule tasks to activate automatically and they'll likely start blathering about cron jobs. Now cron is a great tool if you do a lot of task scheduling. But for those of us who want something simpler there is Gnome Schedule. In Ubuntu it's bizarrely not installed by default. Why not? It's an insanely useful little tool that's easy to get to grips with. Luckily installation simple.

  1. Open a terminal window.
  2. Type sudo apt-get -y install gnome-schedule and press enter.
  3. Start gnome-schedule from the Applications > System Tools menu.
That's it. All ready to go!

Monday, 15 February 2010

Why Fire Fox is not Doomed?

Okay I was going to comment on the article it's self. However InfoWorld appear to be afraid of feedback and require some sort of lengthy vetting process after registering. Like seriously!?! What is that all a bout!?!

So Firefox is doomed. I would disagree. Google might cut funding to better support it's own browser. But then again the whole point of Google funding Firefox is to get the default search position in the search bar. So far as I know Google don't intend to exit the search business just yet. So while Chrome is something of a threat or competition at least to Firefox. It's not the end game until Chrome gets significantly more market share.

IE is an immovable object? Clearly Randell is deliberately ignoring the fact that IE is well into decline. It's only actual strong hold now where Microsoft can still feel safe is on the corporate desktop. Everywhere else is up for grabs. Which is why every other major web browser on the market namely Firefox, Safari, Opera and Chrome are all gaining market share while IE is losing market share. What's more these browsers are gaining as much market share between them as IE is losing. Which means they're taking it from IE.

If that wasn't enough at least 3 or 4 countries have advised their citizens to ditch IE and use something else instead. Then of course there are countries like Brazil where significant numbers of people don't even use Windows let alone IE. They're all on Linux. So IE an immovable object? I hardly think so.

As for the critique of Mozillas intention to opt for smaller updates? This is what the Ubuntu developers do. They focus on one major thing they want to make better and by and large deliver on their goals. That doesn't mean other things don't get fixed or don't change. Clearly they do. But the developers do well out of that intense focus. Which is perhaps something Firefox actually needs.

I also don't think it's fair to compare Mozilla to Microsoft or to compare incremental updates to hot-fixes. First of all Microsoft and Mozilla are two entirely different companies with different motivations and goals. They have totally different business models that dictate how much funding they can dedicate to a single project and how the end product is marketed.

Hot-fixes are also intended to be temporary fixes to tide Windows over until the service pack arrives. Again that's a different coding style from an incremental update. A hot-fix is a quick and dirty patch to fix a problem in the short term. An incremental update is something that is integrated properly to the existing code base. That is what Mozilla does at the moment. The fact that it might want to do less but do it better doesn't mean the product will suffer.

Sunday, 7 February 2010

Ubuntu Targeted By Malware!

Apparently some malware has been found in both a .deb file claiming to install a screen saver and a theme pack over on Gnome-Look. Which is a shame since I use that site regularly to find new wallpapers and themes.

So Ubuntu is now the target of criminals? All the tech press places all of desktop Linux at 1% of the market and claim in the same breath that figure is a generous estimate. Why then are criminals targeting something that has only 1% of the desktop PC market. It makes no sense unless Linux is much bigger than 1%. It would be interesting to find out what has changed the criminals minds. Are Linux users simply too naive? Too cocky? Too arrogant? Too stupid? Clearly criminals now see Linux desktops as vulnerable targets ripe for the picking.

This is both an interesting and frighting development. However we have at least exposed a vector of infection for Linux systems. Anybody could build a .deb or .rpm package file or even a normal tarball. Clearly without the protection of the community maintained repositories these methods of installation are just as vulnerable to misuse as Windows .exe files. Which is something many people in the Linux community including myself hadn't considered. Normally we tell people an installation script requires permission to run. So we're protected. The trouble is I don't think many people give entering their password a second thought when installing from a .deb package. Most of us simply trust them.

So this is a wakeup call to Linux users and in particular to Gnome and Ubuntu users. Be vigilant. Be careful about your chosen software sources. If you're installing something from a web site be sure to scan it first! Linux has a very good anti-virus application available in the repositories of most decent distributions. It's called ClamAV. While this is a command line application there are several front ends available. The most popular at the moment is ClamTK. Use the following commands to install them to your system. Remember you'll need to enter your password when installing software.

  1. Open a terminal window.
  2. Type sudo apt-get -y install clamav clamtk then press enter.
  3. Remember to scan your system regularly.
There are other anti-virus scanners for Linux. They're not hard to install. Most come in .rpm or .deb files. The ones that come as tarballs generally tend to be binaries. So there's no need to compile anything. Check out this article for more info.

Sunday, 6 December 2009

Windows 7: Internet Connection Has Died!

Okay for some reason the internet connection on my dads Windows 7 computer has just died. Nothing I do makes it work again. Supposedly this was an issue on Windows Vista as well. Clearly Microsoft really has simply given Windows Vista a new coat of paint and then had the cheek to ask full price for it.

Some people have said Windows 7 is just a service pack to Windows Vista. I've even said as much myself. However the longer my family uses Windows 7 the more I find myself having to try and fix the damn thing. I'd say Windows 7 is actually nothing more than a theme pack for Windows Vista. There is absolutely nothing new on offer here. It's not even as stable as Vista. Why is it that a disparate group of engineers and programmers spread across the world can build and OS as good and stable as Linux but yet all the money Microsoft supposedly throws into R & D can't build a half decent desktop OS.

Yes I am pissed off as I write this blog entry. Just once, just one weekend I'd like to have to myself without having to trouble shoot a Windows PC. I don't get these problems with Ubuntu. Which is what I'm switching my family to even if they don't want it. Either that or they can pay for support from a commercial repair service. I am totally sick to the back teeth of Windows. Even after I stopped using it I still find myself fixing the damn thing.

Microsoft should be ashamed of it's self. It peoples money and delivers piss poor bug infested products in return. The Windows 7 Ultimate costs around £400. For what exactly? It doesn't work any better than any other version of Windows. It's shite! A totally useless pile of shite! The sooner the majority of people stop using it. Stop putting up with piss poor products the sooner the rest of us can move on.

That includes the OEMs! Dell, HP, Lenovo, Asus, Gateway, Acer and the rest. Stop forcing this crap on your customers!

If anybody tells me Windows 7 was their idea one more time, I'm going to punch them square in the face! It seems fair. They inflicted this suffering on me. I shall repay them in kind.

Sunday, 22 November 2009

Will Google Chrome OS Fail?

It might just be me. I might be biased because I'm a Linux user sick and tired of hearing Microsoft FUD about hardware support in Linux. But it seems to me as though the pro-Microsoft author of this article is suffering from a sever case of the skitters.

I mean isn't the writing on the wall for Microsoft and it's supporters? Linux is not as they claimed dead in the netbook market. It's flourishing apparently. Googles Android was not a failure as many predicted. In fact Googles smart-phone OS is gaining market share with ever increasing numbers of handsets appearing all the time while Windows is losing market share on the smart-phone.

Social media sites like Facebook are becoming increasingly important to mobile devices. So important in fact apps on smart-phones to access sites like Facebook seem to be essential features to just sell a handset. However Randall C Kennedy seems to think Googles web-centric netbook OS will fail? He thinks Linux is fatal flaw number one? A web based interface is fatal flaw number 2 and an inflexible hardware platform is also a fatal flaw.

For those reasons Googles web based OS will fail.

Personally I say he's wrong and here's why. People love Google for one simple reason. Google provides insanely useful services to people all over the world. And from the point of view of normal web users at least, those services are totally free of charge. No costs involved.

The Amazon kindle and it's ilk are the second reason. The fact that you can't upgrade a kindle the same way you can upgrade a desktop PC hasn't stopped people from buying them. The fact that the Kindle doesn't play with an iPod hasn't stopped people buying them. Even the fact that Amazon can and will delete your purchases at will for whatever reason it sees fit hasn't stopped people buying the Amazon kindle and similar devices. All of which by the way run an OS based on Linux.

But it's not the OS that's important here. It's how useful the device is to the consumer and how profitable it will be for the vendors. Get those two things right and you have a product you can sell to people with confidence. I strongly suspect netbook manufacturers will put their own spin on the basic Chrome OS user interface as they have done with Android.

Linux as a "device" OS has in fact been extreamly successful. Linux powers everything from toasters and satnavs all the way up to DVD players, smart-phones, ebook readers and beyond. None of these "devices" seem to be "failing". Consumers don't care that these devices run Linux. They just want them to work. Which is a key point Microsoft apologisers like Randall C. Kennedy always deliberately miss.

People don't care which operating system is on their PC, their smart-phone or their netbook. What they care about is, does it work? Does it let them do the things they want to do the way they want to do them? Google are answering those questions. Microsoft keep serving up more of the same.

Now it's interesting to note that while Chrome OS isn't even completed yet. Microsoft apologists have it marked as a failure. Could this be to distract attention away from the failure of Windows 7 to convert the Windows XP faithful? Windows 7 has been such a great success Microsoft and it's army of apologetic bloggers are already talking about Windows 8 arriving in 2012 (the end of the world apparently) and even Windows 9!

It's time the Microsoft faithfull woke up to reality. Microsoft just aren't going to have it all their own way any longer. At least not by playing nice.

Friday, 6 November 2009

Ubuntu 9.10: 64-bit Installation

Okay so I've just installed Ubuntu 9.10 (Karmic Koala) to my desktop. It's not going great.

The first attempt was an "in place upgrade". The reasoning behind this was simple. I had a lot of notes in Tomboy Notes that I didn't want to lose. Previous experience has taught me that Tomboy Notes doesn't deal with upgrades well. However Ubuntu One has a Tomboy Notes synchronisation feature. So the reasoning was simple. Do an inplace upgrade. Upload my notes. Do a clean install later if I need to.

After the in-place upgrade was done I noticed the PC was very unresponsive. minutes pass by while I wait for the top panel menus to respond. I don't know what the issue is. But the 32-bit version running on my laptop doesn't suffer from this problem. But hey! No problem. I thought I'd just do a clean install. Same problem!

Now admittedly I did preserve my home directory. So perhaps there's some sort of conflict with my old settings. So my next plan of action is to wipe the system clean and start completely fresh. If that doesn't work I'll install the 32-bit version. Perhaps the 64-bit copy is experiencing issues? Who knows.

It's not all bad though. I have an SLI setup. Previously this would mean I'd have to use the text based installer. But this time the standard live CD handled my dual graphics cards with no issues. The installer can even deal with RAID arrays like Nvidia Stripe. It will even offer to install Ubuntu to the RAID array.

Considering very little seems to have changed on the desktop, RAID and SLI support in the installer would suggest all the big changes (if there are any) in Ubuntu 9.10 have taken place under the hood.

Edit 08-11-2009: As I suspected some settings from my previous installation were causing issues. With a 100% fresh install everything seems to be working fine. My advice is, do a 100% completely fresh install. Remember to back up your /home directory first and anything else you don't want to lose.

Wednesday, 4 November 2009

Ubuntu One: First Impressions

First off, what exactly is Ubuntu One? Well basically it's a file sharing and synchronisation service from Canonical. The basic package is free and provides a reasonable 2GB of storage. Canonical claims it's your personal cloud.

So my first impressions? It sucks. Canonical produces client software for both Ubuntu 9.04 and Ubuntu 9.10. However support for 9.04 seems pretty feeble. There's no Tomboy notes synchronisation for 9.04 as there is in 9.10. Which makes that feature useless if your not the type to dive in and upgrade all your PCs all at once.

Even worse however is the file synchronisation feature. It just doesn't seem to work. This being the basic concept of the whole package anybody would have thought Canonical would have gone out of their way to make this work. But it seems not.

So far I've been able to get files and indeed whole folders to upload my Ubuntu One storage space. But they don't ever seem to download to the other PC. It doesn't matter which PC does the uploading. The other PC just doesn't "synchronise" with my on-line Ubuntu One storage space.

Now the client software isn't the only way to interact with Ubuntu One. There is a web interface. But then again there are loads of places on-line for me to upload my stuff to that I can later download from using a web browser. The point and attraction of Ubuntu One is the desktop integration. Which just doesn't seem to be working properly.

Frankly I get a better service using the 50MB of free web space my ISP provides me with. It's simpler to set up as well. All I need to do is FTP into my web space from Places > Connect To Server. No software to install. No PPA to setup. Just a user name, password and FTP address. It's also 100% compatible with both versions of Ubuntu I'm using at the moment.

Perhaps Ubuntu One will work better when I'm running Ubuntu 9.10 on both PCs.

Monday, 2 November 2009

Ubuntu 9.10: First Impressions

My first impression of Ubuntu 9.10? A whole lot of people are interested. My first few attempts to download the ISO file resulted in a corrupted ISO. After waiting a few days for the traffic to calm down, I downloaded new ISOs and they work fine.

So far I've only just finished the initial installation on my Dell M1330n laptop. Since I want to take advantage of the new ext4 file system this is a clean install. To get all my applications installed and running I've created a script based on this How To from Ubuntu Forums. Personally I feel strong command line scripting is one of the greatest strengths of Linux. It just makes migrating to a new system so easy.

My laptop is equiped with an SSD. Which is why ext4 is so important to me. So far as I can work out ext4 has supposedly been optimised to work better with SSDs. Boot times are fast. Although I'm not sure if they are a massive improvement on 9.04 which was already very fast at boot time on my laptop.

Speaking of impressive boot-ups! The little animation that appears where the grub menu would normally appear is awesome. If that is the effect using Grub2 has on the overall polish to the OS then Canonical and the Ubuntu devs made an excellent choice here. It makes the OS feel like some sat down and made an effort to polish the final product rather than just make it work.

The new login screen is pretty cool. It functions very smoothly indeed. It was also a bit of a surprise. I can't remember anybody mentioning anything like that would be there. The new functionality (that I've seen so far) is purely cosmetic. However good looking OS that operates smoothly does make using PCs less stressful and irritating. It's reasuring to know that Canonical and the rest if the Ubuntu development team understands little tweaks can make a huge difference to the user experience. The fade to the desktop is very cool. Windows 7 does the same sort of thing. But over all I think Ubuntu does it better with the initial animated logo at the very start, through the updated boot screen to the very smooth new log-in screen, to the desktop. The whole thing just feels more polished than Windows 7.

The wider selection of desktop backgrounds and themes is also a welcome addition. Although I do get the feeling some of the wallpapers were grabbed off the web at random at the last minute. For some reason they just don't seem to fit with the prodominantly dark brown earthy window themes. Just five more minutes of effort could have avoided that. But it's easily fixed.

A big dissapointment was the restricted drivers manager. For some reason it just doesn't seem to work. I had to install my Nvidia drivers from Synaptic manually. Something for Canonical to work on for 10.04.

My next task is to migrate all of my personal data back to my laptop. Which won't be too hard as I don't keep much on the laptop anyway.

Update 03-11-2009: Added link to Ubuntu Forums. Forgot to do that. DOH! http://ubuntuforums.org/showthread.php?t=766683

Update 04-11-2009: Some videos to make life more interesting.


Saturday, 17 October 2009

PC Gamers Need To Vote!

I've just been to Dells IdeaStorm web site and submitted an idea asking Dell to help the PC gaming industry establish a long term base level of hardware to help bolster the PC gaming industry and pull it out of decline. I'll post the text of the idea below. But first let me say PC gamers need to do something to push the hardware and software industry together to establish a base level of hardware that will support all games at decent settings.

When developers develop for the Wii or Playstation they know it's a long term commitment. The hardware will be supported for at least the next 5 to 10 years. It takes on average 3 to 5 years to develop, test and polish a major gaming title. If not, then longer. Microsoft want to refresh Windows every 2 to 3 years. As we've seen with Vista there is no guarantee of backwards compatibility.

So a game which started development with one Windows platform in mind might suddenly become usless unless the developers alter the game to support the new platform. This is very costly and time consuming. We need a better solution for PC gaming than Windows!

The Dell IdeaStorm post: Establish A Base Level For PC Gaming Hardware.

Ever since games consoles could hold their own against the processing muscle of the PC, the PC gaming industry has been in decline. There are a number of reasons for this. Which I will detail below.

1) The PC as a gaming platform shifts far too rapidly for games developers to keep up with. There is no base level of hardware to target. This makes it very difficult and costly for games developers to develop for the PC.

When a games developer target the Playstation, they know the hardware spec will be good for at least 5 to 10 years. Typically it can take 3 to 5 years just to develop, test and polish a game for distribution. So an unchanging stable platform is absolutely essential!

2) Security is an issue!!! Increasingly modern games are becoming on-line affairs. We no longer pit our wits against AI. We join virtual battle with each other. However PC gamers are at a disadvantage. Windows.

Making Windows secure for on-line activities can be a costly business. PC gamers take a hit in the wallet and performance of their gaming rigs. As though Windows it's self wasn't enough of a resource hog. PC gamers need to shell out for anti-virus software, anti-malware software, spam filters and firewalls.

Now it's true all this software can be had for free. But the free versions are always crippled in some way. They're never as fully functional as their paid for equivalents. Even worse! Some malware has now started pretending to me anti-malware! Gamers who get duped risk losing their passwords and privet details. Including payment details. Credit card numbers, bank account numbers and the like. The potential for fraud here is massive!

The solution is quite simple and one the likes of Sony has been using for years now. Don't use Windows for gaming. The Sony Playstation doesn't use Windows as it's OS. But the games run just fine all the same. The graphics are excellent and the games have on-line connectivity. Nobody seems to be worried about viruses or malware.

Dell already supports Ubuntu. The World of Goo and the Penumbra Trilogy both run flawlessly on Linux and sold well. It might be an old game now but Doom 3 runs perfect with no loss of detail or functionality. Clearly Linux can handle complex and demanding on-line multi-player games.

A secure PC platform for gamers is essential! That security shouldn't bring with it a performance cost. Gamers should not be installing additional software just to make their gaming rigs secure. Linux is the answer.

3) Performance and Stability. Anybody who has played a game on Windows knows the frustration of BSODs at just the wrong moment. It's unacceptable. All gamers also know the reason they need PCs with fans so loud they are in danger of suffering industrial deafness is because Windows needs a reasonably beefy system just for its' self if its' to be responsive and sprightly.

Adding a demanding game with high resolution graphics and a web connection adds a load Windows often just can't handle. So Windows throws it's hands in the air and hides behind a BSOD. The problem is resource management. Windows just can't do it well enough.

Linux on the other hand does a much better job out of the box. No tweaking. No over clocking to squeeze some sort of performance out of the processors. No industrial refrigeration required. That doesn't mean Linux can run Halo on the BBC Micro. But it does mean more of the systems resources are freed to help the game run smoother with greater stability.

But even Linux software crashes sometimes. So what then? Well Linux crashes in a graceful manner. Normally the app will simply shut down and the user will return to the desktop. In very bad crashes the user will be kicked out to the log-in screen. However the system will almost never lock up completely in a BSOD like scenario no matter how badly the game is written.

A robust OS like Linux is essential for high-end demanding games. Linux is that OS.

Dell needs to serve its' gamers better. Help the PC industry establish a base level of hardware by producing a gaming rig and commiting to that hardware spec for 5 to 10 years. Preferably 10 years.

Choose hardware that is Linux compatible. The XPS 700 series is already Linux compatible. This will allow the industry and gamers to choose their OS. Gamers who want more security and performance can choose Linux. Gamers who want to be compatible with yesterday can choose Windows. Or we can dual boot and be compatible with everything.

Don't be Gartner Sheep!

Okay I'm confused. But since when was it written in law that people or businesses absolutely had to refresh their hardware? Surely it's good business sense to only buy what you need? Right?

Apparently not. Gartner has decided it's time we all bought new PCs. Why exactly? Well obviously because Microsoft are bring out Windows 7. Since nobody bought Windows Vista it's time we upgraded right?

Wrong! The time to upgrade or refresh is when you can predict your current IT investment is no longer going to meet your needs. How close you can wait until that time comes depends on how large your organisation is and how efficently it can move through the refresh cycle. A single person working self employed can make the transition in as little as a few hours. Larger business will take days to weeks. While other will take months or even as much as a year or more for full deployment of a new operating system.

So given that this guilt trip induced refresh can be so costly in terms of money, lost man hours and man hours expended on the refresh, what is the single most crucial question to ask? What's in it for me? What will Windows 7 deliver that other operating systems can't? Is it security? Better resource management? Cloud connectivity and integration?

Do you really want to trust a Microsoft cloud solution after the Sidekick debacle?

One of the most recently touted selling points for Windows 7 has been it's ability to run Windows XP software. This might come as a shock to some. Windows XP runs Windows XP software! But if you're running a business and you're gullable enough to follow the fasion trends the like of Gartner demand then at least look around before commiting all your money to Microsoft.

There are alternative options out there. Some other operating systems also run Windows XP software. Intall WINE on an Ubuntu desktop or laptop and it'll run most XP software just fine. It might struggle with MS Office. However OpenOffice.org comes pre-bundled with Ubuntu. For free!

So please do consider refreshing your hardware and software. But when you do. Ask yourself what your business really needs. Do you need Windows 7? Would a cloud solution be better? Could you ditch the Microsoft lock-in cycle all together and use something completly different? What software do you use? What do you use it for? Is it unique? Could you migrate? Would migration save you money? How much money? Will Windows 7 be good value for money? Windows needs licences, Ubuntu doesn't. Can you reuse your old hardware?

Can you save money on an IT refresh during a recession?

Consider your options people! Don't be sheep!

Sunday, 11 October 2009

How Bad Is The Malware Issue?

Okay this is just a quick post to pose the question. Just how bad is the malware problem really? It's a fair question to ask. Indeed a very important question to ask since some pundits claim 9 in every 10 PCs sold in the world has Microsoft Windows pre-installed.

That's a lot of PCs running an OS that is not only the prime target for criminals, but has also been criticised time and again for being too lax with security. As people depend on their PCs more and more for essential basic services in modern life like banking, security becomes a major issue. One that flies in the face of conventional wisdom.

Traditionally home users have taken second place in the security stakes. Especially on the Microsoft Windows platform. Without third-party products, which cost extra to the consumer, Windows is wide open. Windows 7 clearly doesn't address this security issue. If it did Microsoft would be pushing their "Security Essentials" free product. Well at least it's free.

But back to my question. How bad is the malware issue? Well since subscribing to the Avira Anti-Virus update notifications about a year ago I've had 1573 update notifications. The vast majority of which are simply virus definition updates. None of these notifications are duplicates. 1573 from 1st October 2008 until 9th October 2009.

My advice to anybody using the web to do essential things like banking is to use a secure platform. Windows is not that platform. It's just to big a target with too many holes.

Saturday, 10 October 2009

Desktop Linux Is Ready!

For a long time Linux was criticised as being too complicated and difficult for non-technical people to use. Personally I don't think that was ever really the case. I mean if Linux came pre-installed like Windows then the OEM would tweak it and install it to suit their hardware.

However Canonical has gone out of it's way now to prove to bury this myth once and for all. Take a look at the installation slide show for Ubuntu 9.10. Linux is ready for the desktop. It's ready for the mass market. It's ready for anybody that wants to use it. It doesn't matter if it's pre-installed or installed after market.

With respect to the basic installation, Ubuntu is now on par with Windows XP, Vista and even Windows 7. After the compiz effects have been enabled Ubuntu goes well beyond what Windows 7 is offering in terms of entertaining and useful desktop effects. And lets not forget the host of free software applications available directly from Canonicals Ubuntu repositories. Which contain everything from games to office productivity suits to web browsers to e-mail clients to extremely powerful tools for ICT professionals.

Ubuntu is also an OS well suited to "power users" with it's extremely high degree of customisability. There's nothing that can't be changed or tweaked. You can even change the entire desktop environment!

Now since Windows 7 has been available for testing many different sources have been quoting "boot times" of 20 to 30 seconds for Windows 7. It's become something of a selling point due to the fact Vista was so slow and a 6 month old installation of XP crawled along at a snails pace.

Well a default installation of Ubuntu 9.04 boots in around 15 to 20 seconds. From a cold start. Potentially 5 to 10 seconds faster than Microsofts latest and greatest Windows 7. The "boot times" for which by the way are actually restore from hibernation times!

At the time of writing, 10th October 2009, we're about 19 days from the final release of Ubuntu 9.10. Windows 7 will be out on October 22nd 2009. Ubuntu 9.10 has already been quoted as being able to boot from a cold start in 5 seconds when installed to an SSD.

So desktop Linux can now claim feature parity with desktop Windows. And as an added bonus it can also claim faster boot times as well as many other advantages. Linux is ready! Ubuntu is ready!

Microsoft and Apple are not the only game in town any longer!

http://www.workswithu.com/2009/10/09/installer-slideshow-in-ubuntu-910-helps-new-users/

Saturday, 3 October 2009

In the time it takes your computer to boot up ...

"In the time it takes your computer to boot up ..." is a phrase I have heard over and over. What people should be saying is "in the time it takes Microsoft Windows to boot up you could go make a cup of tea, some toast, cook a Sunday lunch and dash out to the shops." This generalisation bothers me. It bothers me because not all computers are the same. They might contain the same hardware. But the software that makes that hardware do useful things makes all the difference.

Even with Linux, which generally boots fairly quickly the hardware and software setup makes all the difference. With an SSD drive at it's disposal Ubuntu 9.10 will boot in 5 seconds. Without the SSD drive it will be more like 10 to 15 seconds. The last time I tested Windows 7 Beta 1 on my Dell XPS 720, which has an Intel Core 2 Quad CPU runnung at 2.66 GHz and 8 GB of RAM, I was still counting Windows boot times from a cold start in minutes. Ubuntu 9.04 boots in 15 to 20 seconds on the same machine.

So bloggers and particuarly Priya Ganapati who is the latest offender to annoy me with this rediculous generalisation. Get it right! If you're talking about Windows PCs then say so. If your talking about Macs? Say so. If you're talking about Linux based PCs. Say so!

This is an important distinction to make. The PC landscape is changing rapidly. New OS players are coming into the market and they're all fighting for their slice of the pie. People tend to look to the media, blogs, forums etc to help them understand and figure out the differences between new products coming to the market. So it's important to get it right. Slow boot times are no longer an issue for everybody.

Apple seems to be able to do no wrong. Even though some of their business practices are worse than Microsofts'. Google is trying to muscle in with Android and Chrome OS. Both Linux based OSs. And of course we can't forget Linux it's self. Ubuntu is making good ground. Canonical, the parent developers of Ubuntu, are gaining support from the likes of IBM, Intel, Dell, HP and Sun Microsystems. All big names with interests in making Linux  success.

So in the time it takes your PC to boot. Try and see if you can figure out with OS you're running!

Sunday, 27 September 2009

Ubuntu Tip: Simple Backup Command Using CP

Backing up your computers hard drive is extremely important. Should the worst happen and you lose all of your important data, you need a way back. While there are many excellent utilities in the Ubuntu repositories that handle partial and full system backups. Sometimes a simpler solution is all that is needed.

Fortunately Ubuntu and Linux in general in fact comes with everything you need in the for of the very simple but also extremely powerful cp command. In case you haven't figured it out yet, cp is Linux command line speak for copy. The examples below will show you how to use cp to back up your entire system.

sudo cp -r -u -x -v [source directory] [destination directory]

Example 1:
sudo cp -r -u -x -v /home/ /media/MY_USB_DRIVE

sudo: Gives temporary root privileges.

cp: Linux command line copy command.

-r: Used with cp this switch causes cp to copy directory content recursively. Meaning it will copy all files and subdirectories in the directory being copied.

-u: Used with cp this switch causes cp to only copy files that have changed or don't already exist at the destination.

-x: Used with cp this switch stops cp jumping to other file systems which it will do if it encounters hard links or symbolic links.

This switch also stops cp eating it's tail if you choose to back up your entire system. See examples 2 and 3 below.

-v: Used with cp this switch cause cp to give feed back on what's happening.

Full System Backup With CP
If we wish to perform a full system backup then we might feel inclined to use a command similar to that in Example 2 below. The trouble is without the -x switch cp will also attempt to backup the backup to the backup. Basically eating it's own tail in a never ending loop until all disk space is used up.

This happens because all other file systems are mounted to a location branching from the root file system. So if root is / then home is mounted to /home. Within Ubuntu all USB drives tend to be mounted to /media/a_USB_drive, etc.

However with the -x switch the command in example 2 will not be enough to back up the entire system if there are several storage devices or file systems mounted to different mount points. To get around this problem we must write a small script that will backup each file system separately. Example 3 shows a small example where the root files system / and /home are backed up separately.

Example 2:
sudo cp -r -u -v / /media/MY_USB_DRIVE

Example 3:
#!/bin/sh
#
# cp based backup script.
#
sudo cp -r -u -x -v / /media/MY_USB_DRIVE
sudo cp -r -u -x -v /home/ /media/MY_USB_DRIVE

This script can be created in any text editor like gedit or nano. After the script has been saved it must be given permission to be run as a program. Example 4 shows the command needed to change to the directory/folder where the script is stored. How to apply execute permissions and how to run the script.

Example 4:
First open a terminal window if you haven't already done so and enter the following commands. The actual location of your script is where you chose to save it.

cd /home/aikiwolfie/scripts/ (press enter)
chmod a+x my_backup_script (press enter)
./my_backup_script (press enter)

And that's it. Sit back and watch the backup script do it's job.

Sunday, 20 September 2009

Friday, 18 September 2009

Microsoft Thinks Your Stupid!

Does anybody seriously believe this child just happened to perfectly copy and paste all the key promotional slogans for Windows 7 into a slide show? My nieces and nephews don't even play with Power Point. They jump right onto cbbc and play games!




Boycott Windows 7

Digg doesn't like the direct IdeaStorm link. It does go through a lot of redirections. So here it is.

Redmond Running Scared!

Microsoft are seriously pushing the boat out here. But still manage to put the boot into their UK customers. Why is Windows 7 cheaper in the US for students than it is in the UK? If memory serves me correctly Microsoft pulled a similar pricing stunt with Windows Vista. How much longer are people going to tolerate such shoddy treatment?

The price gap can't be explained purely by exchange rates alone. So what gives? Does Microsoft think students in UK colleges and universities are stupid? Are they just sheep to be pumped dry and ripped off? Why is it Microsoft has decided to climb aboard the "rip-off Britain" band wagon? Any company treating you like this does not deserve your money. Vote with your feet and your wallets and buy something else.

You could also head on over to Dell IdeaStorm and show one of Microsofts largest OEM partners exactly how you feel about Microsoft ripping you off. Register an account and vote to Boycott Windows 7. Better yet, if you're looking for a new netbook to take to college. Order one of Dells Ubuntu Linux based models. Which contrary to Microsofts BestBuy indoctrination FUD are fully supported by Dell.

Of course it's only fair we ask the question. Why are Microsoft being so agressive with their pricing of Windows 7? It can't be because of Linux. Linux is free to download, install and use. You can even get your hands on the raw source code if that's what floats your boat. Linux in short is a fully functional and fully customisable all purpose OS. Ubuntu, which is pre-installed on some Dell netbooks is a fully featured OS with no artificial limts imposed on it. In contrast netbooks with Windows 7 will be running the "Starter Edition".

What is the "Starter Edition"? Basically it's cripple ware. Microsoft in one way or another artificially limit the capabilities of Windows to force you the consumer who has already "paid money" for a legal copy of pre-installed Windows to cough up more cash. Hardly seems fair. But Microsoft have been getting away with it for years.

Note: Windows 7 Starter Edition no longer has the infamouse "3 applications" artificial limitation. Microsoft buckled under preasure of scathing critisim by almost the entire technology press and on-line publications, blogs, twitters and whatever else. If it was talking about Windows 7 Starter Edition (other than the Microsoft Windows 7 blog), the artificial 3 applications limitation was torn apart.

Saturday, 5 September 2009

I Want To Be Blissfully Ignorant



Okay I demand to be told what is in the water these people are drinking. I personally feel it is my God given right to be this blissfully ignorant of the world.

Friday, 4 September 2009

Ubuntu Tip: How To Mount ISO Disk Images

If you use .iso CD/DVD images here's how to mount them from the command line or in a terminal window.

Open a terminal window and type the following commands;
  • sudo mkdir /media/iso
  • sudo modprobe loop
  • sudo mount filename.iso /media/iso -t iso9660 -o loop
Notes:
  • mkdir creates a new directory. This directory will be used as a "mount point" by Ubuntu to allow you access to the .iso file. In reality any directory can be used. It's good practice however to use a clearly defined location. You avoid problems and keep your file system clean and tidy.
  • filename.iso is the name of the iso file you wish to mount. Substitute "filename.iso" for the name of your .iso file.
  • To unmount the file use the following command: sudo umount /media/iso or whatever you called your new mount point.