PranksterO
09-08-2003, 09:32 AM
I use the nautilus filebrowser under gnome. I have a bunch of java jar files ( extension .jar ) that I want to assign a custom icon to under gnome. I dont want to go through each individual icon and change it to a custom icon, what i want to do is change the default icon type for that extension. Right now it displays a text file image as the icon, what I want is an icon of a jar with some beans inside it to better represent the jar file. I found the icon I want to use already on my system. Anyway...I went into the filetypes editor and chose to edit the .jar filetype. I set the custom icon to the icon I wanted but that icon never shows up! Just the same old text file icon.
Another thing...When I double click on the jar file I want the file to execute just like it does under windows. I have found out that to do this I need to type java -jar filename.jar. How can I get this to execute just by a double click? Thanks!
Another thing...When I double click on the jar file I want the file to execute just like it does under windows. I have found out that to do this I need to type java -jar filename.jar. How can I get this to execute just by a double click? Thanks!