Well you can right-click -> Properties -> Click the icon and change it, which is probably controlled by some .dotfile in the home directory, but I'm not sure if modifying that file is the right way to go about changing icons programmatically.
The "ugly border" is because you're not actually changing the icon. You're creating a thumbnail for the file (like a thumbnail for a PDF or graphic, which I think is the wrong way to do it. -- Use embedded icons for executable files https://bugs.launchpad.net/bugs/292504 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs