Sunday, May 6, 2012

Recover Login Password of Ubuntu 12.04

After my first installation of Ubuntu 12.04, I forgot my login password and need to recover it.

To recover it you need to follow these steps:

1. Boot your computer.

2. When you get the grub menu, select option with recover as shown in figure.

Ubuntu 12.04 : Grub Menu
3. This will take you to recovery menu. In recovery menu select option "drop to root shell" as shown in figure.

Ubuntu 12.04 : Recovery Menu

4. A shell prompt will be displayed at the bottom of the screen with root as username. To change the password of particular user say naveen

       passwd naveen

5. The above command will ask you to enter your new password and retype password. Type your new password.

6. You might get "Authentication Manipulation error". If you get this error then you need to type :
     mount -rw -o remount /
    And again follow step 4 and 5.

Saturday, May 5, 2012

Ubuntu 12.04 : Adding Bookmarks/Shortcuts to left sidebar of nautilus manager

If you are looking for adding folder shortcuts/ bookmarks to the left sidebar of Nautilus Manger (folder explorer), then you have come to the right place. The image below shows the finally added bookmarks.

Ubuntu 12.04: Nautilus Sidebar Bookmarks

In Ubuntu 12.04, you cannot directly Drag and Drop folder to the sidebar. This problem occurs only for the first bookmark. If you have added the first bookmark, then you can Drag and Drop elements.

To add your first bookmark:

1. Go to your folder and press Ctrl + D (or ADD from Bookmark option in menu bar).

This will add your first bookmark as shown below. In my case the folder was example-content.

2. Now you can Drag and Drop your folder into the Bookmarks.

Ubuntu 12.04 : Keyboard Shortcut List

Ubuntu 12.04 has come up with a new way to display some common Unity Desktop keyboard shortcuts.

If you hold 'super' key for 2 seconds, you can see a Lens coming up displaying Ubuntu Desktop Keyboard shortcut keys. The image below shows the Shortcut Lens.

Ubuntu 12.04 : Keyboard Shortcut Keys

You can find comprehensive list of keyboard shortcuts of various Ubuntu 12.04 default applications here: