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 inside any file smaller than my maximum (avoiding searching huge binary file) #!/bin/bash maxFileSize=10M #don’t search inside huge binary files if [ $# -eq 1 ]; then srchText=$1 fDir=”.” fntmp=”*” elif [ $# -eq 2 ]; then fDir=$1 srchText=$2 fntmp=”*” elif [ $# -eq 3 ]; […]

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. […]

GoToMeeting.com 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 http://support.brother.com/g/b/downloadtop.aspx?c=eu_ot&lang=en&prod=hl3170cdw_all 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