I am using SSR to record and I chose the option "record an opengl game" and I'm wondering what I put in the command spot:

I am using SSR to record and I chose the option "record an opengl game" and I'm wondering what I put in the command spot:

It depends on how you launch Minecraft.
I'll provide solutions for the two most common methods, that way other people can benefit as well.
The following steps are generic and work for whatever method you launch Minecraft by, they're simply how you set up SimpleScreenRecorder to record OpenGL
Start up SimpleScreenRecorder. You obviously need to have it installed, so do that.
Set it up as follows (ignoring the Profile title - that's just my custom profile):
You need to select Record OpenGL (experimental), then set the FPS you want to record at - 30 FPS & 60 FPS are what most Youtubers use.
Anything above 60 FPS is just wasted and harder to work with, since you can only upload to Youtube in up to 60 FPS.

If you installed Minecraft/run Minecraft via Minecraft Peep's launcher, this is fairly simple.
Since you can launch Minecraft from the terminal via the command minecraft, you simply put that in for the command:
Install Minecraft Peep's Minecraft Launcher (works in 12.04 through 14.04) via:
sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
and then
sudo apt-get update && sudo apt-get install minecraft-installer.
This should install the launcher and make it so you can launch Minecraft via the program in the launcher and via the command minecraft. Note: You'll still need to install Java to run Minecraft.
After installing the Minecraft Peep's launcher and setting up SimpleScreenRecorder for OpenGL recording (detailed above), click on OpenGL settings... and set the next windows as such:

You need to type in minecraft in the command text box and then select Launch Automatically.
Record! You can set the rest of the parameters as you like.
java -jar commandThis is probably the most common way that people launch Minecraft on Ubuntu, by downloading the Minecraft.jar file and launching it manually either in the terminal or by Alt+F2.
Download the Minecraft.jar file from the Minecraft website. You'll also need to install Java.
Put the jar wherever you want. The place where you launch it from won't change how it works (unless it's stored on an external HDD or USB stick.) I personally just leave it in my /home/USER/Downloads folder where I downloaded it to.
Just remember where it's stored.
After downloading the Minecraft.jar file from the site and setting up SimpleScreenRecorder for recording OpenGL (detailed above) click on OpenGL settings... and set the next windows as such:

If you simply downloaded the Minecraft.jar file you can just enter into the command text box the following:
java -jar ~/Downloads/Minecraft.jar
and it should work!
If you moved the downloaded Minecraft.jar file, you'll need to enter java -jar followed by the full path to the file.
Record! You can set the rest of the parameters as you like.