Console booting in Linux

Usually all the linux distributions do start the graphical environment automatically. Its good, but it becomes little pain of linux nerds, they want to use it in there own ways. So this is a simple trick which will enable you to boot in console mode with help of Grub.

You just need to edit the following file.


And the find the following line


and replace it with following.


Save the file and then execute following command in the command window ( Terminal / Console ).

sudo update-grub

Thats is, next time you are going to boot in console mode. But, next thing is how run the graphical console.

Just do this, and it will run you default graphical manager.


If you wish to do some other Graphical desktop then you have to create and .xinitrc file inside your home directory.

Few examples of .xinitrc files :

Example 1 : For cinnamon desktop environment.

#exec gnome-session
exec gnome-session --session=cinnamon

Example 2 : For gnome classic.

#exec gnome-session
exec gnome-session --session=gnome-classic

Enjoy tweaking.

Ubuntu 12.10 – Maximizing Battery Backup

Here is a quick tutorial, to maximize battery backup of your laptop. This is based on ubuntu 12.10, which has many improved feature which you need to tweak to improve the backup.

Tools used are :
1. “Disks” 3.6.1
2. Jupiter Applet
3. PowerTop

Disks, This program comes default with ubuntu 12.10, it has many improved features this time. One important feature is, it also controls HDD Drive speed, which can end up in maximizing performance to battery.

After opening the Drive Settings, It shows power managements options for HDD. You can set power as low as possible to increase the Drive speed.

Next is, Jupiter applet, , after installing, start the jupiter applet and change power settings to Power Saving Mode.

Next and the last is, PowerTOP, install it by typing the terminal.

$ sudo apt-get install powertop

After installing it, give command in the terminal.

$ sudo powertop 

Your application will start running, switch screens with left and right arrow, and get into “Tuneable Tab” and change all setting which are bad.

Thats what made my battery backup approximately 80 minutes more then my normal battery backup, Thanks for reading, I hope you find this post helpful.