How to associate an icon with a shell script?
- by Peter
Environment: Ubuntu 11.10
I have a Java application as a jar file. I have created a batch file that contains the following line:
java -jar ~/MyApp.jar
When I execute this batch file, the Java application works as expected.
To create a desktop link, I copied this batch file into my "Desktop" folder. This results in an icon appearing on the desktop. However, the icon shows "Java" on it. I would like to associate a different icon to this desktop link. Would appreciate it if someone can point me in the right direction.