Archive for Ubuntu

Ubuntu: How to uninstall VMWare Player or VMWare Workstation

Ubuntu: How to uninstall VMWare Player

Trivial task and it took me to Google the right page (but I hope its getting better now with the right trackbacks)

http://ubuntuforums.org/showthread.php?t=1364485

the program is located under
/usr/bin/vmware-installer

Examples and usage:

Be aware that you need to be root to execute all those commands so you either su – to root or use the sudo in front of each command.

Show what is currently installed (list products):

# sudo /usr/bin/vmware-installer -l

Product Name Product Version
========================================
vmware-workstation 8.0.2.591240

 

Uninstall a Product

# sudo /usr/bin/vmware-installer -u vmware-workstation

The gui opens and gone is Vmware.

Alternative: 

# sudo /usr/bin/vmware-installer -u vmware-player
for the VMWare Player

 

Unity optimisation

Assuming someone is working on unity there might be 2 applets which are crucial to install

1. CPU frequency scaling applet in unity

Indicator applet for displaying and changing CPU frequency on-the-fly. It provides the same functionality as the Gnome CPU frequency applet, but doesn’t require Gnome panel and works under Unity.

Install CPU frequency applet on ubuntu 11.04(Natty)

Open the terminal and run the following commands

# sudo add-apt-repository ppa:artfwo/ppa
# sudo apt-get update; sudo apt-get install indicator-cpufreq -y

Create unity launcher

You can create unity launcher using the following procedure

Right click on desktop, select “create launcher” name it, icon it, and put “indicator-cpufreq” as the command. then drag it to the unity launcher.

 

2. Indicator-sysmonitor – Monitor your CPU and memory usage

Unity users can easily monitor CPU and Memory usage by using indicator-sysmonitor application.This is very simple and helpful application

Install indicator-sysmonitor on ubuntu

open the terminal and run the following commands

# sudo add-apt-repository ppa:alexeftimie/ppa
# sudo apt-get update; sudo apt-get install indicator-sysmonitor -y

Create unity launcher

You can create unity launcher using the following procedure

Right click on desktop, select “create launcher” name it, icon it, and put “indicator-sysmonitor” as the command. then drag it to the unity launcher.

Ubunty Unity-2D

There comes the time when you might update a slow specked device (Netbook) to a more recent Ubuntu version with Unity and realize somewhere after the install that “It seems that you do not have the hardware required to run Unity. Please choose Ubuntu Classic at the login screen and you will be using the traditional environment.”

So what to do now?

Option 1.

You anyway haven’t been a friend of that Unity thingy and would like to have that archaic but known Gnome Desktop.

You’re da man, here you go, but this works only on Ubuntu 11.04  Natty (nutty) Narwahl

In case you are logged in, you have to logout (do not restart just log out)

On the “Login Screen” enter your login name and at the bottom you might find a drop down menu offering you Ubuntu classic as a environment to start.

 

Option 2.

“Well, I like to have Unity, it rocks, its the best on the world that ever could have happened to me”.

I’m sure there exist some heavy medication against that but that’s not the topic here. Let’s look about you.

Unity-2D is not excatly the same as Unity but almost but it runs on slow specked hardware and looks the same and have most of its features.

Assuming you are on the  system have have any terminal open

# sudo add-apt-repository ppa:unity-2d-team/unity-2d-daily
# sudo apt-get update; sudo apt-get install unity-2d

This will install all of the necessary dependencies to run Unity 2D, including a “Unity 2D” session that you’ll need to choose when logging in.

Hardware lister lshw

I recently run into the need to know what components I have inside my box without going upstairs and grabbing the screwdriver and going back downstairs, starting to unscrew the case, maybe hurt myself while doing so, etc etc.

Under Windows there is the nice tool called Speccy doing that job. But what about my Ubuntu?

Its almost as easy as Speccy, called lshw (hardware lister)

  1. install it – It should be in the default Ubuntu repositories
    # sudo apt-get update;sudo apt-get install lshw lshw-gtk -y
  2. start the commandline tool
    # sudo lshw
  3. You might like to export the lshw report to a html document to store it somewhere for quick access.
    # sudo lshw -html > /tmp/your-file-name.html
  4. or alternatively because I love GUI’s
    # sudo lshw -X

 

Safe erase harddrives on Ubuntu

Suppose you want to erase all data on a hard-drive before selling or trowing it away.

Use the following commands to do so.

# sudo fdisk -l

to Identify the hard-drive to be deleted

# shred -vfz -n 10 /dev/sdb  

(where sdb correspondence to the devicename you identified via fdisk)
This will overwrite the hard-drive 10 times and should be enough for standard hard-drive deletion.


Options are:
(-n) 10 passes to overwrite the entire hard disk with (-z) zeros.
And shred (-f) forces the write by changing the permissions wherever necessary.
Close
loading...