It runs fine from the terminal using the command in my last post, but not when launching from the menu/desktop. I still haven't figured out why. It doesn't make any sense, since the shortcut runs the same file.