I’ve Installed it, now what?
First things first. Update your repositories, follow instructions here
Install vim and ssh
This way you can ssh into your box if your display stops working or some other thing goes wrong.
Getting the GPG keys
Check for and Install Updates
Despite this release being fresh off the production line, last minute updates or ironing of bugs will be more than likely so make sure you are all updated. open a terminal and run the following:
Check for Proprietary Hardware Drivers
To check if you need to install any drivers, press the windows button and search for Additional Drivers. Start the app and it will tell you if you have or not.
Disable Unity Product Scopes
Enter the following in a terminal:
Enable Laptop Mode
If you are on a laptop, do this to improve battery life.
This will enable your Ubuntu to play popular file formats and a ton of other extras. Run the following in a terminal window.
Oracle JDK is no longer included by default in Ubuntu’s repositories due to licensing. OpenJDK is default now but many apps still don’t play nice with it. This is why I installed Oracle JDK. I’ll walk you through the process of installing Oracle JDK 7, the easy way. For this we will use the “install oracle-java7-installer” package from “WEBUPD8″. This package will download the official binaries from Oracle and install the JAVA 7 JDK, JRE and browser plugins on your machine.
First you need to remove openjdk, for this run the following command from your terminal
Now you can install Java7 by running each command individually:
Restart your browser and go here: http://www.java.com/en/download/testjava.jsp to verify if your install went ok.
AntiVirus and Firewall
Despite being clean for a long time, Ubuntu is growing in popularity and may soon find itself in the cross-hairs of virus writers. Arm yourself before the attack starts. For Ubuntu we prefer ClamAV; to install, run the following in terminal:
Enable Full DVD Playback
Though installing the restricted extras package will solve most of your problems, you may not be able to play dual layer dvds yet; for that, you need to install some packages:
Speed Up your System
Preload is nice little application that could make your Linux system a lot faster. preload is an adaptive readahead daemon. It monitors applications that users run, and by analyzing this data, predicts what applications users might run, and fetches those binaries and their dependencies into memory for faster start-up times. Packages are available for almost all Linux distributions. And it is available by default in the Synaptic Package Manager in Ubuntu. Alternatively, you can install it via Terminal.
That’s it, Preload will run silently in the background. If you want to further tweak preload, its conf file is available at /etc/preload.conf.
Show all startup applications
You’ll notice that with Ubuntu 12.04 there are basically no applications shown in your Startup Applications program. I’m not really sure why they did this, but there is a way to make them appear again.
Optimize swap usage
As we know, swap is the area on a hard disk as part of the Virtual Memory and temporarily holds memory pages that are inactive. Swap space is used when your system decides that it needs physical memory(RAM) for active processes and there is insufficient unused physical memory available. We can control the usage of swap area to speed up Ubuntu if there’s a large enough RAM. There’s a swappiness parameter controls the tendency of the kernel to move processes out of physical memory and onto the swap disk. It ranges from 0 to 100, and when swappiness=0 it tells the kernel to avoid swapping processes out of physical memory for as long as possible, when swappiness=100 it tells the kernel to aggressively swap processes out of physical memory and move them to swap cache.
First, check the value of swappiness
change swappiness’ value to 10
Search for vm.swappiness and change its value as desired. If vm.swappiness does not exist, add it to the end of the file like so:
Save and exit. Once you reboot your system, the changes will take effect.
BleachBit quickly frees disk space and tirelessly guards your privacy. Free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn’t know was there. Designed for Linux and Windows systems, it wipes clean 90 applications including Firefox, Internet Explorer, Adobe Flash, Google Chrome, Opera, Safari,and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source.
ZRAM creates a RAM based block device which acts as a swap disk, but is compressed and stored in memory instead of swap disk (which is slow), allowing very fast I/O and increasing the amount of memory available before the system starts swapping to disk.
This gives amazing performance improvements on systems with low RAM. Especially netbooks! However it is not known if this gives a beneficial effect to Solid State Drives (SSDs.)
Other Tips & Tricks
Setting up Aliases
First off, lets create the bash_aliases file
Add your aliases in this file. One on each line. Here’s an example with a few of my favorites:
Something went wrong! How do I reset Unity or Compiz?
You can easily reset Unity or Compiz using the following commands (be careful when using these commands and only use them if you really have to!):
– to reset the Unity launcher icons:
– to reset Unity:
– to reset Compiz:
Get more cool icons – Faenza icons
If you are not impressed with the default icons of Ubuntu, you should give a try to Faenza icons. And you will like them. In the screenshot given at the end of this post, I am using these icons.
Shortcuts to know
Super Key'(Windows Key) - Opens dashboard
Hold Super Key - Invokes Launcher.
Hold Super Key and hit 1, 2, 3 etc - Open an Application from Launcher. When you hold the Super Key, specific numbers will be displayed in order above each application.
Alt + F1 - Put keyboard focus on the Launcher, use arrow keys to navigate, Enter key launches the application, Right arrow exposes the quicklists if an application has them.
Alt + F2 - Opens dash in special mode to run any commands.
Super + A - Opens up applications dash.
Super + F - Opens up files and folders dash.