Archive | ubuntu RSS for this section

How to change repository server in Ubuntu?

Press ALT+F2 and type “software-properties-gtk"

then pick other server prefer at [Download from:] drop down list.

At the end, update repository  by cmd:  “sudo apt-get update”

How to enable JAVA support in Ubuntu browser?

Google Chrome
  • Become the root user by running the su command and then enter the super-user password. Type:
    sudo -s
  • Create a directory called plugins if you do not have it. Type:
    mkdir -p /opt/google/chrome/plugins
  • Go to Google chrome plugins directory before you make the symbolic link. Type:
    cd /opt/google/chrome/plugins
  • Create a symbolic link. Type:
    ln -s /usr/local/java/jre1.7.0/lib/amd64/libnpjp2.so
  • Restart your browser and test Java
Mozilla Firefox
  • Become the root user by running the su command and then enter the super-user password. Type:
    sudo -s
  • Create a directory called plugins if you do not have it. Type:
    mkdir -p /usr/lib/mozilla/plugins
  • Go to Google chrome plugins directory before you make the symbolic link. Type:
    cd /usr/lib/mozilla/plugins
  • Create a symbolic link. Type:
    ln -s /usr/local/java/jre1.7.0/lib/amd64/libnpjp2.so
  • Restart your browser and test Java

ref: http://java.com/en/download/help/enable_browser_ubuntu.xml

How to create menu shortcut in ubuntu?

How to create menu shortcut in ubuntu?

create a file with extension “.desktop” under ~/.local/share/applications  with following details:

 [Desktop Entry]

Encoding=UTF-8
Name=<NAME of shortcut to show on screen>
Comment=<Comment of shortcut>
Version=1.0
Type=Application
Terminal=0
StartupNotify=true
Icon=<path to icon>
Exec=<executable script to start app>
Categories=<Menu category eg, Development;IDE;Java;>