Friday, October 24, 2014

Install VMWare & VMWare Tools in Ubuntu

Go to VMWare downloads site. Look for VMWare Player and download the .bundle file.

Open Terminal in the download location

sudo ./VMware-Player-6.0.2-1744117.x86_64.bundle
After installation:

 sudo apt-get install build-essential linux-headers-$(uname -r)

Ubuntu or Ubuntu Server with a graphical user interface
To mount the CD image and extract the contents:

    Power on the virtual machine.
    Log into the virtual machine using an account with administrator or root privileges.

    For Fusion: Virtual Machine > Install VMware Tools.
    For Workstation: VM > Install VMware Tools.
    For Player: Player > Manage > Install VMware Tools.

    Note: If you are running the light version of Fusion, a version of Workstation without VMware Tools, or VMware Player, you are prompted to download VMware Tools before they can be installed. Click Download Now to begin the download.

    Open the VMware Tools CD mounted on the Ubuntu desktop.
    Right-click the file name that is similar to VMwareTools.x.x.x-xxxx.tar.gz, click Extract to, and select the Ubuntu Desktop to save the extracted contents.

    The vmware-tools-distrib folder is extracted to the Ubuntu Desktop.

To install VMware Tools in Ubuntu:

    Open a Terminal window.
    In the Terminal, run this command to navigate to the vmware-tools-distrib folder:

    cd Desktop/vmware-tools-distrib

    Run this command to install VMware Tools:

    sudo ./ -d

    Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers.

    Enter your Ubuntu password.
    Restart the Ubuntu virtual machine after the VMware Tools installation completes.

Tuesday, October 14, 2014

Enable / disable touchpad

Create launchers with commands to enable/disable touchpad easily. Works in Xfce but not only.

xinput set-prop 15 "Device Enabled" 0 xinput set-prop 15 "Device Enabled" 1

the number 15 is my device, to see the variable number for the touchpad, run:

xinput list

Monday, October 13, 2014

Install Shutter to capture screen and edit captures and images

sudo apt-get install shutter

Install Shotwell to see and edit images

sudo add-apt-repository ppa:yorba/ppa&&sudo apt-get update&&sudo apt-get install shotwell

Edit shortcuts in a program in Xfce

1. Enable editable accelerators in SettingsManager -> Appearance -> Settings

2. Hover the mouse over the menu item for which you want to change the shortcut and press the new key combination.

Use in terminal, etc. Works in all programs.