Category: Linux

Posts relating to how to do common and/or useful tasks under various Linux distributions.

Matlab R2014b: X11 forwarding and OpenGL

The new plotting engine in Matlab R2014b has caused some hangups and reduced quality plots for people using Matlab over X11 forwarding. Consider starting Matlab this way: matlab -nosoftwareopengl figure set(gcf,’renderermode’,'manual’,'renderer’,'painters’) plot(randn(100,1)) If you can’t start Matlab with the -nosoftwareopengl open, omit that open and try plotting with the set(gcf….’painters’) line as shown above for […]

AGI STK in Virtualbox on Linux

AGI STK (Systems Tool kit) does not currently run under WINE for version 10 of STK. However, you can run STK from VirtualBox using Windows guest virtual machine. Currently (with VirtualBox 4.3.16) you may find that STK crashes upon opening a scenario. Shutdown your virtual machine and try disabling 3D acceleration, enabling 2D acceleration, and […]

Find text string in file

I save a script named “findtext” that will look for specific text you want inside any file smaller than a maximum size (avoiding searching huge binary file) you can find this and several other useful scripts at

SpectraVue 3.3 on WINE Linux

NOTE: As of Wine 1.7, there still was not USB support for ANY devices without some substantial hacking work. This process is just to test Spectravue processing recorded data files. SpectraVue 3.30 and newer changed to using Visual Studio 2010. As a result, you will need to install: winetricks vcrun2010 then you will be able […]

802.1x wireless WPA2-Enterprise without certificate: Ubuntu 14.04

NetworkManager in Ubuntu 14.04 has an issue with 802.1x networks that don’t require the laptop to have a .cert file. A bug report has been launched in regards to this. Note: the following discussion can subject your laptop to “man-in-the-middle” attacks by disregarding the need for a .cert file. However, if your network IT dept. […] Windows client under Wine / Linux

So far, the webcam doesn’t work, but the send/receive audio does work on a test call. I didn’t test receiving video. NOTE: in an actual conference, I wasn’t able to get sound, and so had to use a telephone. I have also seen problems with this for people using Windows and Mac at a large […]

Matlab R2013b C++ MEX on Ubuntu 14.04

Ubuntu 14.04 comes with GCC 4.8, but Matlab R2013b wants GCC 4.8. The error you will get includes. Warning: You are using gcc version ’4.8.2′. The version of gcc is not supported. Note that Matlab R2014a uses a new system for MEX configuration. You should not use this process for R2014a and newer. For Matlab […]

Notes on in-place upgrade to Ubuntu 14.04 LTS

I have upgraded a couple systems so far to Ubuntu 14.04. Here are a few scattered notes and observations. Very old computers like Pentium 4 are still fine with the Xubuntu or Lubuntu desktops. On “modern” computers like Core 2 Duo and newer, the Unity desktop is splendid and “feels” faster than before. One computer […]

Brother HL-3170CDW install in Ubuntu 14.04

This was very easy to install. 0) sudo mkdir -p /var/spool/lpd/hl3170cdw 1) download linux-brprinter-installer script from 2) extract to /tmp, type chmod +x /tmp/linux-brprinter-installer* sudo ./linux-brprinter-installer* 3) Assuming you’re USB connected, answer: “Input model name ->” HL-3170CDW “Will you specify the Device URI? [Y/n] ” n (yes if networked)

Getting motherboard model

sudo dmidecode -t 2