Saturday, April 30, 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.

Wednesday, April 20, 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:~$