Lessons learned: Gephi not starting up

Scenario: When using Ubuntu Trusty (14.04.3LTS) Gephi 0.82 initializes but gets stuck on "Loading Cached Objects" Solution: The default Gephi startup bash script does not correctly initialize the JAVA path (it uses $jdkhome) The solution is simply to add the following to the beginning of the startup script (~/gephi/bin/gephi) export JAVA_HOME=/usr/lib/jvm/default-java jdkhome=$JAVA_HOME The full script is … Continue reading Lessons learned: Gephi not starting up

Advertisements

Lessons Learned: Setting up TVHeadend for live TV streaming in Malta

I recently had the opportunity of setting up a system which captures free-to-air channels and streams them over IP for use by TV set-top boxes such as RaspBMC (or plain old XBMC). We decided on using the excellent TVHeadend. The system was made up of two components: A TVHeadend server. This was simply a desktop … Continue reading Lessons Learned: Setting up TVHeadend for live TV streaming in Malta

Android (SL4A) bluetooth to Linux (ubuntu)

As a follow up to my recent post I tried to program a very basic launcher. The idea is to pass commands from my android phone to my ubuntu laptop. The android side of things was already catered for by SL4A, I used a fixed version of their bluetooth_chat.py program that comes bundled with SL4A python. … Continue reading Android (SL4A) bluetooth to Linux (ubuntu)

Connecting Ubuntu / Mint to exchange mail and calendar

Assumptions and pre-requisites. This article assumes the Linux user has the following installed: An Ubuntu derived distribution such as Ubuntu itself, Linux Mint, and so on The email client used is evolution, installed via the following packages and their dependencies: evolution evolution-common evolution-data-server-common evolution-mapi evolution-ews evolution-data-server-goa evolution-plugins gnome-online-accounts gnome-control-center Setup Details Open the system menu … Continue reading Connecting Ubuntu / Mint to exchange mail and calendar

Lessons Learned : Linux System Tray Icons in python

While programming in python, for an Ubuntu/Linux Mint target, you may want to include a system tray icon for batter interaction with users. In Ubuntu, these are called "application indicators". A basic appindicator icon is quite simple to do in python via PyGTK. There's a very good example here: http://developer.ubuntu.com/resources/technologies/application-indicators/ Scroll down to the PyGTK … Continue reading Lessons Learned : Linux System Tray Icons in python

Python system tray notifications in Linux

As a follow up to my previous post, here's how to accomplish system tray notifications in ubuntu linux and family. I must say, compared to windows, this is child's play... under ten lines of code! #!/usr/bin/python import sys import pynotify if __name__ == '__main__': if not pynotify.init ("summary-body"): sys.exit (1) # try the summary-body case … Continue reading Python system tray notifications in Linux

Configuring basic cisco network traffic monitoring with ntop and NetFlow

If you are the admin of a cisco (and sonicwall now in the newer firmware) network, NetFlow is a good and easy way of gathering insight into what exactly is passing through your cisco. Apart from seeing link usage, netflow also allows the admin to see which protocols, ports and hosts are being used. This … Continue reading Configuring basic cisco network traffic monitoring with ntop and NetFlow