making desktop shortcuts using chmod?
Ok I have a .jar file that I plan on using a lot.
Instead of having to go into console all the time and cding to the dir and then java -jar file,, I wanted to just put a link on the desktop to a script that would open it up for me.
Somebody said I could type the commands in a text file, save it to the desktop, then go in and type
chmod +x filename
I did all this, and closed everything. I went to click on the button and a console window flashed on the screen and then nothing happened.
Is what I'm trying to do possible? Or is there another way to do this?
Using redhat7.2 KDE 2.2
|