quarta-feira, 30 de julho de 2014

How to disable the grub boot menu

Often when we reinstall Ubuntu that grub boot menu with the kernel options show up for you to choose which one should load. Annoying isn't it?

Here is how to disable the menu:

sudo gedit /etc/default/grub

Remove the # mark from second line,

and change the line

GRUB_HIDDEN_TIMEOUT_QUIET=false
to 
GRUB_HIDDEN_TIMEOUT_QUIET=true

The main part of the file should look like this
...
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
...

Then run sudo update-grub command and reboot

terça-feira, 29 de julho de 2014

JavaSE7 Ubuntu setup

Here goes an easy and fast way to install and configure JavaSE7 on your Ubuntu system

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java7-installer

Use the following to automatically set up the environment variables JAVA_HOME and PATH:

sudo apt-get install oracle-java7-set-default