If I understand correctly this is what you have:
And you want to run
freedom.jar as root.
If you want to do it via the terminal
Just open the terminal (Ctrl+Alt+T) then
sudo java -jar freedom.jar
If you want to have a launcher for
yourfreedom in the Dash
1: Open a terminal
Run the following commands:
cp ~/Desktop/freedom-folder/freedom.jar ~/bin
sudo apt-get install gksu
The first two lines will create a folder called
bin in your home folder and
.jar file into it. The last line is to install
gksu a GUI frontend for
2: Open GEdit Text Editor
Write the following script:
gksudo java -jar ~/bin/freedom.jar
Save it to the
bin folder you've created in your home folder. I will assume you've named this script as
freedom-as-root without any file extensions.
Now, still in GEdit, click
File -> Open... (or click the folder icon). In the file selection dialog, navigate to your home folder and type Ctrl+H to make the hidden files visible. Open
.bashrc. Go to the last line of this file and add the following new line:
Save it. (This line in
~/bin to the search path for executables.)
Create a new file and add the following to it:
Name=Your Freedom (with root privileges)
Save it in your home folder as
freedom-as-root.desktop. (Instead of
your-username make sure to type your actual username!)
3: Open a terminal again
Before, opening the terminal download this icon, by clicking the image and
Save as... or the like. Save it as
freedom.svg to your home folder.
(If you wish you can get some other free/libre icon from the internet, Wikipedia is a good source for these.)
Go to a terminal again and type:
chmod +x ~/bin/freedom-as-root
mv ~/freedom.svg ~/.icons
mv ~/freedom-as-root.desktop ~/.local/share/applications
4: See if this worked
Just open the Dash and type
your freedom to see if there were any problems.
The icon should appear in the Dash, and when you click it
gksu should ask for your password.
Due to an extra step in part (2), now you can also type
freedom-as-root in the terminal and it will be enough to run
yourfreedom with privileges.
Hope it helps.