Erlend's Lookout Post

Concerning ns-3, Xubuntu and other stuff.

Vmware tools on Xubuntu 16.10

From here:

Delete or remove any already attempted installation of vmware tools. If you used apt to install open-vm-tools, remove with sudo apt remove open-vm-tools.

Next, install the working package:

sudo apt install open-vm-tools-desktop


Install Google Earth on Ubuntu 16.04

From here:

For new installation, download the .deb file from Google, then simply run

sudo apt-get install lsb-core
sudo dpkg -i google-earth-stable_current_amd64.deb

If you have the previous version of GE installed, then remove it first:

sudo dpkg -P google-earth-stable
sudo rm -rf /opt/google/earth/free

Works like a charm!

Change video orientation metadata


Download ffmpeg.

After that, do this:

ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=0 output.mp4

“Auto-scale” pyplots

xdiff = (xmax-xmin)*0.05 # 5%

ydiff = (ymax-ymin)*0.05 # 5%

ax.set_xlim(xmin=xmin-xdiff, xmax=xmax+xdiff)


Fix dropbox icon in Xubuntu


In you terminal run
sudo gedit /usr/bin/dropbox

Create a new line after import os and add the following:
os.environ['DBUS_SESSION_BUS_ADDRESS'] = ""

Save and reboot

Wireless on nx6325 and Xubuntu 16.04

Basically just do this:

sudo apt-get purge bcmwl-kernel-source broadcom-sta-common broadcom-sta-source && sudo apt-get install b43-fwcutter firmware-b43-installer

Remove the ethernet cable.

Restart computer.


Source: easylinuxtipsproject

Auto-mount host folder in virtualbox

Do the tip here:


In short:

Install guest-os-additions

Add user to vboxfs user group:
sudo usermod -a -G vboxsf USER

Create easy accessible symbolic link:
sudo ln -s /media/sf_Share /home/<>/Share

Enable auto-mount for the shared folder:
You may go to Device->Shared Folder Settings, edit the shared folder, and enable Auto-mount.

Import olsrd into Eclipse

This is to avoid all sorts of red markers on the right hand side (potential compilation errors). I have not yet tried to compile this. Just browsing at the moment:

  1. Create new makefile project with existing code.
  2. Set project path to be the top directory olsrd.
  3. Make sure to select the Linux toolchain (or the correct one for your environment).

That’s it.


If problems starting Xming applications, disable some security on the windows machine.

Blog at

Up ↑