Saturday, April 30, 2011

Gnome 3 in natty

Any way I am not going to use unity. So switch to gnome 3
Installation of gnome 3 in natty is simple in 3 steps
Open your terminal

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get dist-upgrade

sudo apt-get install gnome-desktop3


As the default ubuntu is not packed with gtk3, you need to install gtk 3 to make it look sexy


sudo apt-get install gtk3-engines
sudo apt-get install gnome-themes


To change themes, you need gnome-tweak-tool


sudo apt-get install gnome-tweak-tool

There is no guarantee that this will work fine.
if u are too afraid then wait till Oneiric Ocelot or switch to fedora 15.

Friday, April 29, 2011

SHUT DOWN mISSING?

Oh Gnome 3
It is as they say the next generation desktop.
But there is many flaws in it. Like the release of Kde 4 this also have many bugs.

when logged in there is no Shutdown button.
I think they hide it.But why?
I never used suspend, but now in 3, the suspend is default.
So to easily shut down I made the action for "When power button is pressed" to shut down. Now its easy.

But still I for got that setting to shutdown it by pressing.

Alt key
then the suspend option will change to
Power off


Happy codding.

Tuesday, April 19, 2011

Missed Sudo?

It is often we miss to add "sudo" and end in messages like "Permission denied" or "only root can do that"...
here is  simple tip for that

just run

sudo !!

eg:
abhisheklal@abhisheklal-System-Product-Name:~$ umount -a
umount: only root can do that
abhisheklal@abhisheklal-System-Product-Name:~$
sudo !!
sudo umount -a
umount: /home/abhisheklal/Music: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /var/run: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /dev/shm: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /dev: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
abhisheklal@abhisheklal-System-Product-Name:~$