Search This Blog

Saturday, January 19, 2013

Commands used after installing Ubuntu

 

To install Drivers and VLC

  • sudo apt-get update
  • sudo apt-get install ubuntu-restricted-extras
  • sudo apt-get install vlc  
  

To Install JAVA from bin file jdk-6u39-linux-i586.bin

 Remove open JDK

  • sudo apt-get purge openjdk*
Copy .bin java file to dir /usr/lib/jvm (I Created jvm folder) using sudo
i.e 
  • cd /usr/lib
  • sudo mkdir jvm
  • cp sourceFilePath/jdk-6u39-linux-i586.bin /usr/lib/jvm/
  • sudo chmod +x /usr/lib/jvm/jdk-6u39-linux-i586.bin
  • gedit ~/.bashrc 
  • export JAVA_HOME='/usr/lib/jvm/jdk1.6.0_39'
    PATH=.:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH 
  • which java 
    • Above command will return /usr/lib/jvm/jdk1.6.0_39     

Install Softwares

  • sudo apt-get install wireshark
  • sudo apt-get install tshark
  • sudo apt-get install ns2

To Enable Root Account

  • sudo passwd root
  • sudo sh -c 'echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf'
         [Ref:] http://www.techlw.com/2012/05/enable-login-as-root-in-ubuntu-12041110.html


Move Minimize,Maximize & Close Button to Right 

  • sudo apt-get install gconf-editor 
  • gconf-editor
  • Go to the following: 'apps' -> 'metacity' -> 'general' Find the "button_layout" parameter,
  • Right mouse click, and select Edit Key.
  • Change the value to the following: menu:minimize,maximize,close then Press Enter
        [Ref:] http://www.noobslab.com/2012/04/important-things-to-do-after-install_26.html

Adobe Reader invisble Menus

  • //from terminal
    • cd /etc/X11/Xsession.d
    • sudo gedit 98menuproxy
  • //open gedit & paste
    • export UBUNTU_MENUPROXY="acroread":$UBUNTU_MENUPROXY
  • //save file; log off and log on



No comments: