Category Archives: Professional Geekery

curly brackets, commas, semi-colons

Fixing antialiased fonts in intelliJ on linux

If you’re using intelliJ on linux, know that the default openjdk has defects for supporting antialiased font rendering on Linux. You can google for a patch, or repos to install a fixed jdk, settings to change, compile this that.

I found it easiest to… (for me this is on Linux Mint 17.2)


Virtualbox and getting USB devices to show up

Every few months I’m setting up a new virtualbox OS. I always forget that on a Linux host you need to add your username to the ‘vboxusers’ group (and need the extension pack). Usually in my case, its a linux host, with windows guest…

  1. Install virtualbox extension pack to support USB devices, enable USB 2.0/3.0 support in machine settings.
  2. ‘sudo usermod -aG vboxusers <someuser>’ then logout/login to put this into effect.

USB devices should now show up for OS guests.

Install ‘ia32-libs’ on Ubuntu 14.04

The ‘ia32-libs’ package for 32bit library support has been removed from Ubuntu. In order to do some flex debugging and get the Flash debug player working in my 64bit Ubuntu environment, I needed to install the 32bit libraries. I found this solution worked for me:

sudo apt-get install libc6:i386
sudo -i
cd /etc/apt/sources.list.d
echo "deb raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
rm /etc/apt/sources.list.d/ia32-libs-raring.list
apt-get update

Creative Sound Blaster XFI USB and Ubuntu

As of kernel in Ubuntu 11.10 (at least as of late 2011 updates), XFI USB (and Titanium HD support) is there.

However for whatever reason, it’s disabled by default as a preference/rule in /etc/modprobe.d/alsa-base.conf, and doesn’t show up in listed devices nor does it play.

Had to go in that conf file, right near the bottom or find this:
“# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2”

… and change the -2 to 1 (being an index for device). This allowed both my on-board Intel audio (index 0) and USB xfi (index 1) to show up at the same time.