Search This Blog

Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Saturday, November 10, 2012

Touchpad right click button not working in Ubuntu 12.04??

Ubuntu 12.04 Touchpad right click issue

Recently I had installed Ubuntu 12.04 LTS edition on ma HP Probook.
And it seemed I couldn’t use the right click button integrated on the Touchpad!!
Since I had an external mouse,it didn’t bother me a lot.
After a while, I thought of finding a solution and started Googling!!
(that’s what I do when I’m in a crysis!!)

Then I realised that not only me but several other people out there was facing the same issue.

after a little bit of searching,I found that its some bug with 12.04 synaptics driver thing and is fixed in 12.10
But being a Long term support(LTS) edition, I didn’t want to update it to 12.10.

So here are a few steps you can solve it yourself!!

Enabling right button click for clickpads on Ubuntu 12.04 LTS

Ubuntu 12.04 LTS added support for clickpads. The buttons are pressed by pressing the surface of the trackpad itself. All known clickpads, with the exception of the Apple Magic Trackpad, have indications on the trackpad for where the left and right buttons are. Clicking in the right button area should cause a right button click action. However, right button click support was added too late in the 12.04 LTS development cycle to be enabled by default. It is enabled by default in Ubuntu 12.10 and on.

Fortunately, the right click functionality is present and working in the release. It simply needs to be enabled. The attached “enable-rightbutton.sh” script may be used to simplify the process. After downloading the script, execute the following:

chmod a+x enable-rightbutton.sh
./enable-rightbutton.sh <device id|device name>

Be sure to use the device id or name of your specific trackpad. You can list the devices on your computer using the "xinput" command.

Attachement:

enable-rightbutton.sh
for example, "./enable-rightbutton.sh 11"
in my case,HP probook 4520s.

Friday, October 5, 2012

Grub Customizer

GRUB/GRUB2 Customizer


Grub Customizer is a graphical interface to configure the GRUB2/BURG settings and menuentries
Features:
 * move, remove or rename menu entries (they can be updated by update-grub)
 * edit the contents of menu entries or create new ones (internally it edits the 40_custom)
 * support for GRUB2 and BURG
 * re-installation of the boot-loader to MBR
 * settings like default operating system, kernel parameters, background image and text colors etc.
 * changing the installed operating system by running on a live CD.


Download here 





Thursday, October 4, 2012

Grub Rescue

GRUB RESCUE

Grub Rescue commands

It may occur that Grub Rescue prompt appears after installing Ubuntu or after an upgrade of grub and screen is showing
grub rescue>
unknown filesystem

or anything similar to that.

Then Ubuntu grub rescue or restore has to done. It can be done through Ubuntu Desktop CD or a bootable USB pen Drive.

This article will show how to do Ubuntu grub rescue with screen shots using Ubuntu Desktop CD. These screenshots of Ubuntu grub rescue has been taken on Ubuntu 11.04. The very same method can be used to repair grub mint Debian or Later versions of Ubuntu.

NOTE:  You will get /usr/sbin/grub-probe: error: cannot stat 'aufs'  error if you didn't follow the commands listed below. Specifically you did not do chroot,
ie sudo chroot /mnt

For Ubuntu grub rescue follow these steps:
1.Boot from the Ubuntu Desktop live CD or Pendrive
Select Try Ubuntu   

2.In Live Desktop session open terminal. 
  Applications , Accessories , Terminal.
(in ubuntu 12.04 precise pangolin,click dash and type terminal)

3. In Terminal type sudo fdisk -l   
    It will display all partition of the disk.
  
The partition which have Linux under System column is your drive in which Ubuntu Linux is installed. In screenshot Ubuntu partition drive is /dev/sda11.

4. Mount the Ubuntu partition drive
       sudo mount /dev/sdXX /mnt  (example 'sudo mount /dev/sda11 /mnt' ,don't miss the spaces.)

5.Only if you have a separate boot partition: 
            sudo mount /dev/sdYY /mnt/boot.
 6.  Mount the virtual file systems: 
            
            sudo mount --bind /dev /mnt/dev
            sudo mount --bind /proc /mnt/proc 
            sudo mount --bind /sys /mnt/sys

7. To ensure that only the grub utilities from the Live CD get executed, mount /usr     
     

           sudo mount --bind /usr/ /mnt/usr 
           sudo chroot /mnt  

8. If there is no /boot/grub/grub.cfg or it's not correct, create one using 
           

           update-grub 
or 
           update-grub2

9.Now re-install Grub  
         
           grub-install /dev/sdX 

 (eg. grub-install  /dev/sda. Do not specify the partition number.   

10. Verify the install 
        
           sudo grub-install --recheck /dev/sdX
11. Exit chroot : CTRL-D on keyboard.
12. Un-mount virtual file-systems:  
           sudo umount /mnt/dev 
           sudo umount /mnt/proc
           sudo umount /mnt/sys 

If you mounted a separate /boot partition:  
           sudo umount /mnt/boot 

13. Unmount the LiveCD's /usr directory: 
          sudo umount /mnt/usr

14. Unmount last device: 
           sudo umount /mnt
15. Reboot. 
         sudo reboot.

NOTE: If you are getting /usr/sbin/grub-probe: error: cannot stat 'aufs'  

error then the possible reason is that you didn't follow the commands 

listed above. Specifically you did not do chroot,

ie sudo chroot /mnt.

Follow the above steps correctly and you are done.