Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday, September 17, 2013

touchpad disabled after upgrading kernel to 3.4.0-030400-generic on Ubuntu 12.04 Dell Vostro-Solved

Recently i upgraded my kernel of Ubuntu 12.04 LTS from 3.2.xxx to 3.4 for some software installation , however found my Vostro Dell touchpad disabled and mouse non functional

Here are the commands which help me in getting back the control of touchpad
This command will reload the mouse driver

sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps
Also this helps only to make it working in current session , to be able to have it working on every boot time as you would have already figured out , we need to add it to /etc/modprobe.d
Create a file like sudo vi mouse.conf
Add this as a content of file
options psmouse proto=imps
save it , hopefully you wont see the problem again , its like adding a service at stratup as per windows definition.

Manish

Thursday, August 29, 2013

install sqldeveloper on Ubuntu 12.04 LTS

1.download the oracle from Oracle main Site …Geek alert- Nah no command for this , you need to go register and download !!!
2.sudo apt-get install alien (Most probably this would have got already installed while installing oracle)
3.Logically you have  a rpm now so you got to change it to the format ubuntu understands it right ? Alient is your saviour to get that bit done

sudo alien --scripts -d sqldeveloper-3.2.20.09.87-1.noarch.rpm

4.Install sql developer from the deb package you have
sudo dpkg -i sqldeveloper_3.2.20.09.87-2_all.deb

5.Create the following directory in your home folder, this where it's going to store path to the jdk in the next step:
cd /home/$username(The system name variable)
say in my case cd /home/manish
  1. mkdir .sqldeveloper/
Run the sql developer from shell it is gonna ask it to feed path of java Do that , see 
echo $JAVA_HOME and feed that as input
mostly it is going to look like this
/usr/lib/jvm/java-6-openjdk
sudo /opt/sqldeveloper/sqldeveloper.sh