Saturday, September 20, 2014

Downloading Xubuntu

Why Xubuntu

Xubuntu uses the same base operating system as Ubuntu, but with the XFCE desktop environment instead of the Unity desktop environment. It is a more lightweight operating system that will run better on older computers, or make fast computers even faster.

Where to get it?

To get Xubuntu go to the Xubuntu Download Page and click either the 64-bit image or the 32-bit image. Your download will begin and when it is finished you can install it just like Ubuntu, albeit with a slightly different install process.

Which Download Do I Choose?

You can download either the 64-bit flavor or the 32-bit flavor. If your computer is from 2008 or later, or has 4GB RAM or more, I recommend the 64-bit version. If you have an older computer or are just unsure, select the 32-bit version. The 32-bit version will also work on a 64-bit computer, but not the other way around

Installing Wine In Ubuntu

What is Wine?

Wine is an emulation layer that allows you to install and run most Windows programs and games on your Ubuntu PC! It is free to use(as is most everything on Ubuntu) and well supported.

How Do I Get It?

In order to install Wine all you need to do is open up Terminal and type,

sudo apt-get install wine

Run the command and accept the license agreements for the fonts when they appear in the terminal window, when it is finished Wine will be installed and ready to go and you can go ahead and install programs by running the installer.exe files just like in Windows. 

What Programs are Compatible?


In order to find out what is compatible with Wine, all you have to do is go to WineHQ and type in the name of the program you want to get info on into the search box in the top right corner. A list will appear with ratings on how well a certain application preforms under wine. The scale starts at Garbage as the worst preforming and goes up to Platinum, which are the best preforming applications.

Should I Use XFCE Instead of Unity?

What Is XFCE and Why Should I Use It?


XFCE is a desktop environment for Linux. It comes with Xubuntu and can be installed on Ubuntu. The default desktop environment on Ubuntu is Unity, which some people dislike. I personally prefer XFCE over Unity by a long shot, here are my reasons why,
  1. Speed
  2. Simplicity
  3. Ease of configuration
  4. Themes
  5. Low Resource Usage
Let me break it down for you.

Speed

XFCE uses less resources to do the same things so it is inherently faster. Every once in a while I notice lag when using Unity, even on speedy computers. I like my computers to run fast and fluid and Unity doesn't deliver that 100% of the time like I expect, whereas XFCE never seems to slow down, even on slower computers. The amount of RAM freed up from using XFCE also allows more programs to be run on the same computer if your computer has a small amount of RAM.

Simplicity

Unity is simple to use, but has so many features that it is not as straightforward as XFCE. I prefer a simple, to the point DE and XFCE is perfect for that. You get a start menu and a task bar and your set, if you want more panels, so be it. You can add as many as you want with a few mouse clicks. Each panel can do a different thing and you can cater your entire environment to your workflow.

Ease of configuration

With XFCE everything is a few clicks away. You can adjust every aspect of your desktop, from the panels, to the application menu and the notification area. There are so many ways to set up your Desktop environment.

Themes

XFCE can look like anything you want it to. 

Like Windows 7, theres a theme. XP? That too. What about OS X? Yep. Some stereotypical futuristic computer theme? You betcha.

Even with a bunch of themes, your computer will still run lightning fast.

Low Resource Usage

Probably the most important point to me is that is uses very little resources. This basically means that your computer can use the power that it usually puts towards running Unity into your applications, which matter the most. Your computer will be snappier and any lag you had will be gone.

Downsides?

The downsides are appearance and functionality related. If you want to sacrifice preformace for fancy animations or the Unity Lenses, then so be it. It all comes down to personal preference, but I HIGHLY recommend you give XFCE a try.

Installing Flash Player on Ubuntu

Flash for Ubuntu


Flash should already be installed if you installed Ubuntu using the directions on this blog. But in case you didn't it can be installed with one simple command. Open up Terminal and type,

sudo apt-get install flashplugin-installer

Press Enter and wait a minute or two, when the install finishes Flash will be installed and you can YouTube all you want!


Speeding Up Firefox

Simple Tweaks to Speed Up Firefox


On any operating system, Firefox has a few tricks up its sleeve. By typing about:config into the address bar and accepting the warning you can access a huge assortment of settings. By changing a few of these you can make a night and day difference in the speed of Firefox. I highly recommend every user of Firefox does this.
  1. Type about:config into the address bar
  2. Accept warning
  3. Change network.dns.disableIPv6 to true
  4. Change network.http.pipelining to true
  5. Change network.http.pipelining.aggressive to true
  6. Change network.http.pipelining.maxrequests to 45
  7. Profit
Those four tweaks speed up Firefox immensely and there are even more if you want to go more in depth with RAM Disk Cache and such. But thats for another post.

Terminal and Why It Is Important

Why Should I Use It?


In my opinion, the Terminal is the single most useful application in the entire operating system. You can administer the entire system from one place. In this post I will give a very basic overview of the Terminal, this doesn't even begin to scratch the surface of what you can do with it and I believe that EVERY Ubuntu user should know his/her way around the command line.

What Do I Do?

The Terminal is basically a text box that does things. You type something and an action is preformed. When you first open the Terminal you have the permission level of your user. In Linux you require root permissions to edit the system, root is the equivalent of a Windows Administrator account. In order to access root while in the Terminal you must type sudo before a command. This lets Ubuntu know you want to run this command with root permissions.

For Example,
sudo apt-get install gimp

This command will install the application GIMP, which is a photo editor similar to photoshop. To use this command simply type it and press Enter. Ubuntu will prompt you for your password, type it in and press Enter. Your password won't show up for security reasons, but it will work after you press Enter.

What Does What?

File Management

cd - Changes directory

cd /home/liam/Downloads

cd .. - Returns to previous directory

cd ..

ls - Lists files in directory

ls

mkdir - Creates folder

mkdir Example

rm - Removes file or folder

rm Example.txt

cp - Copies file or folder

cp Example.txt /home/liam/Documents

chmod +x - Makes file executable

chmod +x App.sh

Application Management

Apt-get is the Ubuntu package manager. This is how you install and remove applications. To use apt-get simply type,

sudo apt-get x y

Where X is what you want to do and Y is what application you want to do it to. For example,

sudo apt-get install flashplugin-installer

Which would install Flash Player, or,

sudo apt-get remove firefox

Which would remove Firefox. If you want to know any extra commands you can type,

sudo apt-get -h

To bring up the help commands, -h is a flag that brings up the help text for most applications.

Generic Application Use

To use an application from the terminal, type the application name and file to open in it. For example,

gedit readme.txt

To open a text document, or,

gimp picture.png

To open a picture. 

You can apply these commands to most anything. I will discuss the many more commands in later posts.



Some Ubuntu Basics

Interface

In Ubuntu the close, maximize and minimize buttons are in the top left corner. They are hidden until you mouse over them. The little menu on top of most windows in Windows with File and Edit etc is also up on the top bar. The closest thing to the Taskbar is the bar on the left, it shows apps that have been pinned(similar to quick launch) as well as apps that are currently open and mounted volumes(USB Drives and CDs).

Accessing Apps


To get to your applications, click the Ubuntu symbol in the top left corner. It will bring up Unity Lenses. Click the icons on the bottom to view the different lenses. There is a lens for every type of multimedia. The Application lens is the second one. Click it and click Installed to list your installed applications. You can search them at any time by clicking in the box up top and typing what you want to search. You can install new apps using the Ubuntu Software Center.

What Do These Apps Do?

Here are some Windows equivalents for the Ubuntu Apps,

Firefox > Internet Explorer
Calculator > Calculator
Rhythmbox > Windows Media Player
Libre Office Suite > Microsoft Office Suite
Terminal > Command Line (But much more useful)
System Settings > Control Panel
Transmission > uTorrent
Text Editor > Notepad
Shotwell > Windows Photo Manager

Configuring Ubuntu For VirtualBox

Its Installed Now What?

Now that Ubuntu is installed we need to set it up so you can use it efficiently in VirtualBox. This requires the installation of VirtualBox Guest Additions, a set of drivers made by VirtualBox to allow your Virtual Machine to interface with your host (your real computer). It allows full resolution full screen as well as file sharing and many other tools.

Lets Set It Up Then!



VirtualBox has a set of commands that use your host key. Your host key is displayed in the bottom right corner of your screen. Start up Ubuntu and press Host+D to pop in your virtual Guest Additions CD (When you are preforming commands make sure that you click inside your Virtual Machine first to verify that it is selected). Ubuntu will read this like it is a real CD.


A popup asking if you want to run this software will appear, click Run.


Another popup asking you to Authenticate this decision will appear, simply type in your password and click Authenticate.


Guest Additions will start to install, a terminal window displays what is going on during the install. This may take a few minutes.


When it says Press Return to close this window... the just press the Enter key.



Now click the menu in the top right, this is a system menu that you use in Ubuntu to shut down, restart, log out, access system preferences etc. Click Shut Down and select Restart.

You now have a fully-functional Ubuntu install! When the Virtual Machine restarts then press Host+F to enter fullscreen mode, this is what your computer will look like when Ubuntu is installed to your hard drive. Please note that you do not have to do any of this post UNLESS you are using VirtualBox.


Installing Ubuntu in VirtualBox

Starting the Install

Now you are ready to install Ubuntu! Set aside 30 minutes to an hour to install this on your computer. Start by going into VirtualBox and selecting the new Virtual Machine you made, then click start.


You will be prompted to choose a disc,
  1. Click the little folder icon
  2. Browse to your Downloads
  3. Select the Ubuntu ISO you downloaded earlier (Ubuntu-14.04.1-desktop-amd64.iso etc.)
  4. Click Start

Installing



Ubuntu will begin to boot up, give it a few minutes and you should come to the screen that allows you to select whether to use the Live CD or to Install. I never use the Live CD in VirtualBox so click Install Ubuntu.


Select both of the check boxes and click Continue to proceed.


 Leave this option as-is and click Install Now. Note that this is where you can mess up your computer when not installing to VirtualBox. I will demonstrate how to configure this screen when we install Ubuntu to the hard drive later. But for now it is harmless because we are using VirtualBox.


Select your time zone by clicking where you live on the map or typing in the name of a major city in your time zone. The highlighted area will change when you change your time zone so you can see if you selected the right one or not. The example above shows the Eastern Time Zone because I live in Florida. Click Continue when finished.


 Select your keyboard layout. If you are not sure what keyboard layout you have it is most likely the default. Click Continue when finished.


Insert your user information. All these settings are up to you and your personal preferences. A cool feature of Ubuntu is that it tells you the strength of you password, my password is weak because it is simply password.



Your almost done! This screen signifies that Ubuntu is installing. Go get some coffee or somethings to eat as this can take a while depending on the speed of your computer and internet.


The install is complete, click Devices, then CD/DVD Devices, then remove disc from virtual drive. Finally, click Restart Now.

Congratulations, Ubuntu is now installed on your VirtualBox Virtual Machine. Now you can access Ubuntu anytime by opening VirtualBox, selecting your Virtual Machine and hitting start. Ubuntu should be booting now since you clicked Restart Now.

Downloading Ubuntu

Where To Get It?

Downloading Ubuntu is as simple as going to the Ubuntu Download Page. Selecting your flavor, then downloading it. You can choose to donate after you click the link, if you do not wish to donate then scroll down and click Not now, take me to the download and your download will begin.

Which Download Do I Choose?

You can download either the 64-bit flavor or the 32-bit flavor. If your computer is from 2008 or later, or has 4GB RAM or more, I recommend the 64-bit version. If you have an older computer or are just unsure, select the 32-bit version. The 32-bit version will also work on a 64-bit computer, but not the other way around.

What Do I Do Now?

Once your download is finished you can install it in VirtualBox or put it on a USB or CD and install it to your Hard Drive.

Will It Work On My Computer?

What Do You Mean?

Ubuntu can run on a variety of computers, but you need to fulfill the system requirements. Usually if you are running Windows Vista or above you can run Ubuntu no problem, and the same is true for computers running Windows XP in most cases. Usually RAM (Memory) is the limiting factor for these older computers.

So What Do I Look For?

Your computer should have at least the following specs in order to run Ubuntu successfully. 
  • 1 GHz Processor
  • 1 GB RAM
  • 5GB HDD Space
I recommend the specs below, they are not required but ensure a smooth running install.
  • 1.86 GHz Processor
  • 2 GB RAM
  • 20GB HDD Space
If your computer meets these specifications then you are ready to download and install Ubuntu! If you do not know if you meet these requirements, and want to check and see if you do see below.

Finding Your System Specifications

If you want to find out the specifications of your system, follow the directions below based on your operating system version.

Windows XP or Earlier

To find your system specifications on Windows XP or earlier,

  1. Click the start menu
  2. Right click My Computer
  3. Click Properties

Windows Vista and 7

To find your system specifications on Windows Vista or Windows 7,

  1. Click the start menu
  2. Right click Computer
  3. Click Properties

Windows 8 or Later

To find your system specifications on Windows 8 or Later,

  1. Go to main tiles screen
  2. Type Computer
  3. Right click Computer 
  4. Select Properties

How Should I Install It?

VirtualBox or HDD?

There are two ways to install Ubuntu, with VirtualBox or onto your hard drive (like Windows is). I HIGHLY recommend that you install your freshly downloaded Ubuntu install in VirtualBox to get a feel for how the install process and the operating system works. After you install it in VirtualBox you can see how you like Ubuntu and play around with it without consequences.

So What Is VirtualBox?

VirtualBox is simply a computer within your computer. It allows you to create Virtual Machines, which are basically little computers configured how you want them, it allows you to mess around with new operating system without messing up your actual computer. The Virtual Machines you create can be deleted at any time if you decide to put Ubuntu on your actual hard drive, or just want to free up some space.

Well How Do I Get VirtualBox?


To download VirtualBox click the link below for you operating system.

Windows

OS X


Installing VirtualBox

To install VirtualBox click the file you downloaded and follow the install dialogs. If you don't know what you are doing just click next and allow when prompted. You will be notified when the install finishes and from there you can launch VirtualBox.

Setting Up Your Ubuntu Virtual Machine


After launching VirtualBox you should get a window similar to the one above, but blank. Click New in the top left corner to configure a new Virtual Machine.


A small drop down will pop up, name your Virtual Machine and set your memory size to at least 1024MB, 2048MB is recommended if you have enough RAM in your computer. Click create in the bottom right corner and it will take you to the Hard Drive Setup.


Here all you have to do is change the File Size to at least 8GB, I recommend 20GB or above to give you some wiggle room. After you have done this then click the create button in the bottom right corner.

Now you should see your newly created Virtual Machine as an entry in the list on the left. To launch it and begin the install, just click the Start arrow up top.