Monday, January 31, 2011

Linux and Hardware - For Beginners

As I have mentioned in previous posts, the Linux kernel (the very heart of Ubuntu) comes with support for a wide range of hardware devices ranging from mice/keyboards through to graphics cards and TV tuners. However there are always going to be manufacturers who don't offer Linux support or devices that simply aren't supported by the kernel – if this was the Windows world your interest in an unsupported device would end there. But with Linux there are nearly always ways to get things to work if you don't mind spending a few minutes working on it.

Lets run with a  factual example (personal experience here); a shiny new Acer laptop I bought came with Windows 7, nice but after a month I realised I didn't really need Windows and decided to install Linux as per usual. Being the thoughtful user that I am I elected to try Live versions of a couple of distributions before re-formatting and installing, and sure enough my patience paid off. My wireless card was a prototype only used in this particular laptop and my video card required proprietary drivers from the manufacturer, Nvidia.

Now the video card was no problem (except under OpenSUSE which simply refused to install the Nvidia drivers...), but the network card was a whole other ball game; even the Windows drivers for this card are a bit dodgy and naturally Linux drivers are non-existent. This is part one of how to solve hardware problems – Google it. Yes Google is a verb these days.

After approximately 5 minutes and 33 seconds I discovered someone in Indonesia had purchased the exact same laptop as me and purely by chance found that drivers for a similar network card worked more or less 100% with the problem-child in this laptop. A few minutes later I had installed these drivers, rebooted and was back to not-procrastinating on the 'Net.

//End example

So lets make a quick list of how YOU can get problematic hardware to work with Ubuntu and Linux in general;

  1. Check your distribution's driver management package, for Ubuntu this is 'Hardware Drivers' under System → Administration. A lot of common problems can be fixed by installing third party drivers.
  2. Google it, the answer to everything that rebooting doesn't fix. Hell I bet most of you found this blog via Google.
  3. Check out before buying anything you intend on installing Ubuntu on. It is probably the single biggest repository of information on hardware available to Ubuntu users.
  4. Check out similar to the above but for all distributions.
  5. Ask! Head on over to your distribution's forum and do a quick search to see if anyone has your problem, if not make a thread about it in the relevant category – the people who help out on these forums are topical experts in most cases and are more than happy to help new comers. Also pay heed to the rules and posting guidelines of the forum; not abiding by them will generally get your thread deleted and therefore you won't be getting any help!
*Note, do the above in order of appearance if you run into problems AFTER purchasing, but use steps 3 & 4 BEFORE buying to avoid problems in the first place.

Following these steps may not fix all problems and indeed there exists hardware for which nothing can be done; this is why it pays to do a bit of research before buying any new hardware and pay special attention to what is inside a laptop before buying it!

Sunday, January 30, 2011

Why Linux?

What is it that makes people leave the safe confines of the Windows/Mac world in order to use a comparatively obscure and allegedly 'Hard to use' operating system?

Coming from someone who has never used Linux before or has little knowledge of it, this is indeed a very valid question to which there are equally valid answers;

  1. It's free. Not a cent needs to be paid unless you feel like donating a bit of money to Linux developers or your favourite distribution team (trust me, they really do appreciate any and all donations!). Even after-market support is free, Linux users (myself included) are more than happy to offer assistance to new users on chat channels, forums, blogs etc etc.
  2. Linux isn't hard to use, especially distributions such as Ubuntu and OpenSUSE. The only reason many believe it to be 'Hard to use' is because it initially appears different to Windows/MacOS. As of the 10.04 release of Ubuntu, Linux can be said to have the same level of 'out-of-the-box' functionality as Mac OSX with built-in music store and a collection of software pre-installed that allows the user to immediately get stuck into whatever takes their fancy.
  3. Hardware support. Despite what Microsoft tells you, Windows is not compatible with much hardware at all, in fact it only supports very very basic devices without having to install additional drivers. The Linux kernel has built-in support for a huge variety of hardware ranging from mice/keyboards through to video cards and audio devices. As always though it never hurts to do a bit of research before buying a new Linux computer just to be certain!
  4. Money is not an issue for developers. Very rarely will you see an unfinished piece of software (*cough* Vista *cough*) being produced because its developers had a deadline to meet. Despite this, the Ubuntu team still keeps to a self-imposed deadline of 6 months between major updates...
  5. Regular updates. Leading in from what I mentioned 5 seconds ago, Ubuntu is updated twice a year – once in April (hence the 10.04) and once in October (hence 10.10). This means that the entire OS gets a major update twice a year plus regular little updates between then, and as I mentioned in earlier posts these updates are more or less automated and cause very little discomfort to users. Contrary to this, Microsoft releases a new 'Windows' approximately once every 3 years with infrequent updates between versions. Needless to say you need to pay for new versions of Windows as well...
  6. Control. Like driving a manual car, this isn't a huge deal for everyday users, but power users who want to get their teeth stuck into Linux can really make good use of the total control they have over their computer and customise it specifically to their liking.
  7. Viruses. They pretty well don't exist. Thats not to say a Linux computer is 100% secure, but without any extra 'Anti-virus' software having been installed, your average Linux computer is very unlikely to ever run into virus related troubles. Still that doesn't mean you shouldn't be careful on the 'Net – once information has left your computer it ends up on other computers which may or may not be as safe as yours. So when doing online banking or buying stuff online, make sure the website your using has some form of security, usually denoted by a padlock icon in the address bar of your browser.
  8. Software is available not only for free, but (in most cases) has to be approved by the distribution developers before it can find its way onto the official 'repositories'. On this note, all the software you could ever need (again, in most cases) can be found in big lists (aka. 'repositories') that are provided by developers. This allows you to browse through these lists at your leisure and tick boxes next to what you want installed.
  9. Lightweight. Lets compare the minimum specifications of Windows 7 and a lightweight distribution called 'Slitaz' shall we?

Windows 7;

1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit processor
1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
16 GB available hard disk space (32-bit) or 20 GB (64-bit)
DirectX 9 graphics device with WDDM 1.0 or higher driver
To be honest no one can say for sure, but people have succesfully installed and ran this on 14 year-old computers that have specifications inferior to most current mobile phones.

Of course to use a full graphical version of Ubuntu with desktop effects and the like enabled, you will probably *want* similar specifications to what is required for Windows 7. The differences being is the *minimum* requirements for Windows 7 and about the same as the *optimal* requirements for Ubuntu 10.10.

These are just a few of the reasons why people choose to use Linux, but I encourage everyone reading this to try different versions of Linux and compare them to their experiences on Windows/Mac.

Sunday, January 23, 2011

Ok so it's not strictly Linux...

So this is not strictly Linux related (although this does work on Linux with a bit of work), but I have recently been absorbed into a freebie game called 'League of Legends'. Basically if anyone has played the absurdly popular Warcraft 3 mod 'Defense of the Ancients', you'll feel right at home playing LoL. It's essentially the same game with extra options for customization between games and a cash shop where you can *optionally* buy extra heroes, skins and plenty of other stuff.

Technically speaking you don't ever need to pay a cent to play this game as most items in the store can be purchased using in-game money that is earned by playing the game, however it is typically a lot quicker to simply drop $20-$30 on a character pack (20 characters + a bunch of extras). But for those of you gaming on a budget it is DEFINITELY possible to play this for free, you can even try new heroes each week for free as there are always 10 or so different 'free-to-try' heroes available each week.

This video, while not being from MY prestigious channel is in fact a good overview of the game and also gives newcomers some useful tips. 

As I said, this game is playable on Linux with a bit of work and this user-made tutorial will do the trick. It's not perfect on Linux, but it is certainly playable and as Riot Games is working on a Mac edition, Wine compatibility will improve greatly in the coming months.

Keep an eye out for "synicalxx" (just synical was taken, hence the two xx's...), maybe someone out there can teach me a trick or two!

Wednesday, January 12, 2011

Windows to Linux; Now with moving pictures!

This guide is going to look at how you can use Linux to substitute your regular Windows desktop using freely available programs. It will also cover where to find and place basic files such as photos, movies and documents as well as a brief overview of how the Ubuntu file-system works in general.

What this guide will not cover is how to install Linux (there are a lot of guides for that already) and how to use Linux for professional purposes (to much depth to cover in one guide).

The Basics

For the purpose of this guide I will be using Ubuntu 10.10 as this is (at the time of writing) the most commonly used version of the most popular Linux distribution. Ubuntu is also a good choice for beginners as it has one of the largest communities who are renowned for being welcoming and helpful to newcomers as well as having a very large library of documentation to guide you through any conceivable task within Ubuntu.

Like all operating systems, Ubuntu has minimum and recommended system requirements, however compared to Windows Vista and 7 they are easily achievable;

  • 1GHz Processor
  • 512MB of RAM (Recommended 1GB)
  • 5GB of Hard Disk space available (recommended 15GB)
  • Video adapter capable of outputting 1024x768
  • CD/DVD Drive and/or a USB port
  • Ideally an Internet connection to install new software and updates.

Essentially, this means that any computer made in the last 4-5 years will have no trouble installing and running a full installation of Ubuntu. For older computers or models that do not meet the requirements, there are also different variations of Ubuntu available (such as 'Xubuntu') that can run on significantly lower specifications. As a general rule of thumb, if your already using Windows XP, Vista or 7; you can run Ubuntu much faster.

Finally, it is also worth noting some of the basic functions that can be achieved right out of the box with Ubuntu – if these fulfill your needs, then you may not even need to read the rest of this guide!

  • Open Office Suite; This is a fully featured office suit that comes pre-installed by default with Ubuntu, to begin with you have the 'Word Processor', 'Spreadsheet', 'Drawing' and 'Presentation' programs installed which replicate the function of 'Word', 'Excel', 'Paint' (sort of) and 'Powerpoint' respectively. To anyone who has used the 2003 Microsoft Office suit, the layout will be instantly familiar. Additional Open Office programs can be installed through the Ubuntu Software Center.
  • Firefox web browser; Many people will probably already be Firefox users in which case no explanation is necessary, however for the uninitiated Firefox is a web browser much like Internet Explorer. The general consensus is that Firefox is considerably more secure and faster than the current version of Internet Explorer and it also allows for extensive user customization through the use of addons.
  • Evolution Mail and Calendar; This is a powerful email and organiser client that emulates the function of 'Outlook' in that it offers almost identical features. Very easy to setup and use, Evolution comes with its settings pre-configured for many common mail providers such as Yahoo! and Gmail, so all you need to do is enter your address and password.

Customizing Your Desktop

One of the main advantages of Linux and Ubuntu is the control the user has over their computer. It is possible to change any aspect of how your computer appears or functions, from the style and look of your desktop through to what your computer does while it is starting up. In this guide, we will look at some basic customization options that will help personalise your computer.

The above window can be reached via System → Preferences → Appearance, and it allows you to control many commonly changed aspects of your desktop. The tab shown allows you to toggle between a variety of pre-installed and custom 'themes' that will change the appearance of windows, colours and folder/icon appearance. The 'Backgrounds' tab allows you to add and change wallpapers, additionally you can also choose to display slide shows as wallpapers much the same as can be done in Windows Vista and 7. Fonts can also be changed within the Fonts tab, this can effect how all text is displayed on your computer (expect in word processing applications). Finally there is the Visual Effects tab which lets you adjust the level of 'fanciness' in your desktop. This accounts mainly for a variety of effects when opening/closing/minimizing/moving windows but also for what effects occur when you move between desktops (see later chapter).

More advance users may feel comfortable installing major overhauls of the UI (user interface) made by fellow Ubuntu users. These are freely available from , installation instructions differ between packages, but most are very simple and well documented.

Installing New Software

Not only is the vast majority of software available for Ubuntu free, but it is also extremely easy to install. In fact, with a few clicks and a password you can install anything from a web browser through to a CAD program or a fully featured video editor. To install software all you need to do is open the 'Ubuntu Software Center' at Applications → Ubuntu Software Center and find something that takes your fancy!

This is the main screen for the software center and as you can see; its very user friendly and reminiscent of iTunes in some ways. Available programs are divided into categories, popular ('Featured') and new arrivals. You can also manage existing software from here under the Installed Software drop-down menu on the left. To install something, simply select the program you wish to install and press Install, Ubuntu will handle the rest for you and prompt you for the administrator password when needed. The process is the same for uninstalling software, albeit in reverse.

Again, for more advance users there is a more flexible and powerful (yet less user friendly) method of managing software 'packages' – the Synaptic Package Manager. Found at System → Administration → Synaptic Package Manager this application allows you to search a much wider library of software (some of which is not officially supported), mark as many packages for installation as you need and install/uninstall en masse. It also gives you access to library files and other more advance packages that may be required to accomplish very specific tasks. If you wish to use 'Synaptic, then installing software is done much the same way; right click on the packages you wish to install, select 'Mark for installation' and the click on 'Apply'. You will get a few more prompts (same password is needed), which you can just O.K most of the time.
For most of you however, many of the software packages will be unfamiliar, for example; who has heard of or used Déjà Dup Backup Tool? Probably no one, however it is easily one of the best, easy to use backup tools I have ever had the pleasure of using. So in order to cater for at least a few regularly used program types that aren't included with Ubuntu by default, here is a short list to keep an eye out for;

  • VLC, a fully featured media player that can play more or less any file type known to man. If it can't play a certain type right away there is a very good chance that someone has made a codec for it.
  • Cheese Webcam Booth, simple and easy to use webcam utility that lets you take photos and videos using your webcam. Like most webcam programs you can apply the obligatory visual effects and have numerous options for tweaking photos and videos.
  • OpenShot Video Editor, a powerful yet easy to use entry-level video editor that compares favorably with the likes of iMovie and Windows Movie Maker.
  • GIMP Image Editor, yes the name inspires a few giggles the first (few) times you see it, but in actual fact this is a very useful photo editor that has features on-par with Photoshop Elements. Also; GIMP stands for 'GNU Image Manipulation Program'.... You sickos.
  • Audacity, this particular title may familiar to any of you who have worked with audio editing before as it is very popular on Windows, Mac and Linux. For those of you who have not used this before, it is a powerful audio editor that can be used for anything from cutting a simple sound file a short or composing an entire song from samples on your computer.
  • Inkscape, again another program that some people may be very familiar with. This is a vector image editor that can be used for a large variety of tasks. Used in conjunction with GIMP, you have a very powerful digital art creation kit.
  • BlackLists, is a 'parental control' application that simply allows parents to control what, when and how their children use the computer. Fairly simple and straightforward to use, but certainly very effective at what it does (sorry kids).

Of course these are just a few of the thousand of freely available programs, but just this small collection alongside your Ubuntu installation gives you a fully featured desktop that is capable of almost any task you can throw at it. Better yet, it cost you nothing.

Where is my XYZ?

For the uninitiated, the file-system used in Ubuntu can be a bit daunting; anything other than your most basic folders (such as Photos, Music and Movies) do not have “normal” names. With titles such as 'dev', 'bin' and 'etc', browsing through your file-system can be a bit of a shock after coming from a Windows environment where all critical files/folders are hidden from view. This is one of the key differences between Linux and Windows – it is assumed you know not to touch things if you don't know what they do. For example, while browsing through your file-system on Ubuntu, you stumble across a folder called 'boot', is deleting this folder on the spot a logical thing to do? Windows assumes (occasionally rightly so) that the average user is prone to accidentally deleting system critical files, whereas Linux hides them from plain sight but allows you to easily find and modify them should you ever need to (advance users do this frequently). While both Operating Systems present valid points, there are of course pros and cons to both.

Therefore the nature of the Linux file-system makes it important to know just a little bit about how it works...

Firstly, there is '/' which is essentially the beginning of the file-system. In Windows this is similar to 'My Computer' or just 'Computer' in newer versions, in fact it is called Computer by a shortcut in your Places menu. From this spot, you can access all the system critical files and folders as well as users personal libraries and any external storage devices you have plugged in (pen drives, CD/DVD etc).

A quick glance over the list of folders here will reveal very little about what they do, however the 'media', 'home', and 'cdrom' folders are what we're going to look at for now. All of these are folders that you will use regularly (in one way or another) and are fairly straightforward in their use; media is where external storage *media* appears (is 'mounted'), home is where you will find your personal library folders such as Music, Photos etc, and cdrom is simply a shortcut to a folder called cdrom within your media folder where CD's and DVD's will appear. Another thing that you might have noticed is the lack of capitalisation in system critical folders, this is because Linux is case-sensitive – very important to remember when using the Terminal (more on that in later tutorials).

*Note; any files in the / directory other than the ones I have mentioned should be considered 'off-limits' for the time being as any modification or deletion of them (unless you know what your doing) can prevent your PC from functioning normally if at all.

Updates and Drivers

Like all operating systems, Ubuntu is regularly updated and on occasion you may need to hunt down a driver for a piece of hardware. Unlike Windows however, Ubuntu should work right 'out of the box' on most hardware – meaning you won't normally need to install extra bits and pieces to make your computer work properly. However there are a few pieces of hardware that will probably require you to download additional drivers to get full use out of them, main these are video and wireless network cards.

The above screenshot shows my 'Additional Drivers' window which can be accessed from System → Administration → Additional Drivers. As can be seen here, I have the option of changing drivers for my video card (the green dot shows which driver I currently have installed). To install a driver all you need to do is select the one you want and press 'Activate', Ubuntu will take care of the rest. You will also notice the short description on the bottom, this particular one mentions desktop effects cannot be enabled without this driver so many of the appearance options looked at earlier will not work without this driver having been activate/installed. This is also the case with other drivers; some features will not be available without driver software, be it wireless access or support for higher screen resolutions.


A few final points on Ubuntu; Ubuntu One and viruses.

This is the Ubuntu One menu, what is Ubuntu One? It is a free (for the first 2GB) cloud based storage service offered by Canonical (Ubuntu's best friend basically). Put simply; cloud storage is Internet based storage that you can access from anywhere with an Internet connection – so any data you put on here is available anywhere, anytime. That's not to say Ubuntu One is unsecure however as you have to register your account which is secured with a password much the same as your computer.

To begin with you are given 2GB (a decent amount) of space in the 'cloud' for free, and you can use this for whatever you want. If you decide you need more space, it can be purchased by going into System → Preferences → Ubuntu One which will bring up the above menu. From there all you need to do is hit “Upgrade your subscription” and you can then add additional blocks of 20GB for $2.99 USD each (per month).

Also, you Ubuntu One service, once signed up for, will place a folder under Places called Ubuntu One – this is where you store any files and folders that you wish to access with your Ubuntu One service.

Finally; viruses. Linux is more or less safe from viruses, however that doesn't mean there aren't dangers out there for you on the Internet. For starters, its only your computer which is safe, not information that leaves it – once information has left your computer it is up for grabs. For this type of situation the same rules apply here as do under Windows; always look for the padlock symbol in your web browser's address bar when entering personal information on a website. That padlock means that the website is using encryption methods that make it almost impossible for hackers to steal your personal information. The last thing you need to be careful of is keeping your administrator password safe. Whoever know this password has as much control over your computer as you do, which means they can do whatever they want. The simple way to avoid problems here is to choose a password that is 8-10 characters long and consists of at least one capital letter and one numeral/character.
Well that about covers it for now. Hopefully after reading all that waffle you feel confident moving from Windows to Ubuntu even if just to try it out for a while!

In later guides I will be looking at some more advance/specialized tutorials that will cover how to use certain programs, accessibility options in Ubuntu, advance customization and maybe just a little bit of Terminal work just to show you what can be done using nothing but a keyboard.

W - L

Converting from Windows to Linux

Being the considerate sod that I am, I've uploaded this particular guide to so that you can save it and view it offline/on portable devices.

I will be re-posting this in full along with embedded videos shortly so stay tuned!

Ok so I totally just found out that I can buy blocks of data from my service providers, thusly the videos are up earlier than I expected and I have therefore re-posted the full version of this guide WITH embedded video for your viewing pleasure!

Note: The PDF copy is of course still available from mediafire ;)

Y helo thar!

Well good evening to everyone unfortunate enough to be reading my blog!

By way of introduction my real name is Zak, I am 18 and currently studying networking because I have nothing better to do and being a student means I get cheaper bus tickets. Like most I.T students I have several computers in varying states of warranty void-age and cables/spare parts lying all over the place. Also like *some* I.T students I'm a firm believer in the virtues of open source software and in particular Linux.

At the moment I'm a bit of an Ubuntu boy, however the joy's of virtualization mean that I'm partial to the odd foray into whatever distributions arrive on my 'Linux User' cover disc each month. I am by no means a 'guru' or expert on any particular topic, I'm just a weirdo who deliberately uses a non-mainstream operating system and attempts to help newcomers to the scene to use it as well.

At the time of writing, I have several tutorials (videos included) that I will be posting to Youtube and embedding within posts on this blog, as soon as my monthly download/upload cap has rolled over (22/1/11). Until then expect a few odds and ends beginning with a 'Converting from Windows' guide that (hopefully) covers the main points concerning ex-Windows users.

Of course feel free to pester me with your suggestions and requests as my imagination is sorely limited (being an I.T student and all).

Thanks for reading this far and I hope at least 1 of you enjoys this blog!