Friday, April 23, 2010

Ubuntu - Update Package Index

  • Open Terminal
  • Type:
    • sudo apt-get update

Ubuntu - Removing Package

  • Open Terminal
  • Type:
    • sudo apt-get remove

Ubuntu - Install IP Calculator

  • Open Terminal
  • Type:
    • sudo apt-get install gip

Ubuntu - Install G++

  • Open Terminal
  • Type:
    • sudo aptitude update && sudo aptitude install g++

Monday, April 19, 2010

VMWare Workstation - Turning off the PC speaker for all virtual machines

To disable the speaker emulation for virtual machines, add the following line to Workstation's global configuration file:
mks.noBeep = "TRUE"
 
The global configuration file should exist in ~/.vmware/config on a Linux host, and
C:\Documents and Settings\All Users\Application Data\VMware\VMwareWorkstation\config.ini on a Windows host. If the file does not exist, create a new text file and add the mks.noBeep line to it.

Wednesday, April 14, 2010

Ubuntu - Extracting bz files

  • Open Terminal
  • sudo tar zxfv filename.tar.gz -C /opt/

Ubuntu - Installing bz2 files like FileZilla

  1. The latest version of FileZilla is 3.3.2.1. You can get it from here.
  2. Run these command in terminal:

    sudo tar jxvf FileZilla_3.3.2.1_i586-linux-gnu.tar.bz2 -C /opt/
    sudo chown -R root:root /opt/FileZilla3/
    sudo chmod -R 755 /opt/FileZilla3/
  3. Create a menu item:
    sudo gedit /usr/share/applications/filezilla.desktop Add the following:

    [Desktop Entry]
    Encoding=UTF-8
    Name=FileZilla
    Comment=FTP Client
    Exec=/opt/FileZilla3/bin/filezilla
    Icon=/opt/FileZilla3/share/pixmaps/filezilla.png
    Terminal=false
    Type=Application
    Categories=Application;Network;
    StartupNotify=true
To launch FileZilla, click Applications → Internet → FileZilla.

Ubuntu - Enable/Disable Root Account

  •  To Enable:
    • Open Terminal
    • Type "sudo passwd root"
  • To Disable
    • Open Terminal
    • Type "sudo passwd -l root"

Ubuntu - Show Desktop Icons

  • Open the Configuration Editor, by running the program gconf-editor from terminal.
  • Choose apps->nautilus->desktop.
  • Tick the box beside computer_icon_visible, home_icon_visible, and trash_icon_visible. The changes take effect immediately.

Friday, April 2, 2010

Fix: An error occurred while Windows was synchronizing with time.windows.com

  1. Most of the time you get the error is due to the time server being down, so try again later.
  2. Try another Server. ( time.nist.gov )
  3. Your firewall might be blocking W32Time, disable firewall, update time and enable again.
  4. The following steps will stop and start the time update application:

    Start > Run cmd.exe
    net stop w32time
    w32tm.exe /unregister
    w32tm.exe /register
    net start w32time