On 07/31/2011 10:16 PM, Mark Goldstein wrote:
On Sun, Jul 31, 2011 at 10:02 PM, Stan Goodman
wrote: On 07/31/2011 08:49 PM, Mark Goldstein wrote:
...
Strange. When I click on icon, I'm getting the dialog box "Select Icon". There I can select any png file (single click) and after pressing "OK" this image replaces previous icon.
That is not what happens here.
Do you mean there is no "Select Icon" dialog? When I click left mouse button once on the icon in "property" dialog, "Select Icon" is opened.
That is what I have been saying. It doesn't happen here.
Alternatively, as Vojtěch wrote, you can find ".desktop" file for your application (in your $HOME/Desktop directory) and edit "Icon" line there changing it to full path to your image.
Here is the complete content of the file ~/Desktop/genj (the changed neame);
cd ~/bin/javaapps/genj
export CLASSPATH=./lib/genj.jar:./lib/jhbasic.jar
java genj.app.App
Changing the filename back again and making the link, causes the link to
be an executable file that starts the application. Its content is now:
cd ~/bin/javaapps/genj
export CLASSPATH=./lib/genj.jar:./lib/jhbasic.jar
java genj.app.App
Hard to see a difference. This file doesn't resemble at all the other
Perhaps the behavior is related to the fact that the name of the exec file has an additional dot:<~/Desktop/genj.sh.desktop>. I can change that, of course, it's just a historical relic.
No, this doesn't help. Changing the name of genj.sh to genj (there was no other file with that name), and writing a new link: ln genj ~/Desktop/genj does make a new icon in Desktop Folder, but it is a text file, despite that fact that its permissions are rwx for everybody. I do not understand this, perhaps someone can explain it.
Don't change the file name. Open it with some text editor (I opened it using mc F4 key).
I've been using vim.
This file should have a number of lines, one of them should look like Icon=xxxxxx
This is free-form? E.g, the short filename less the extension?
Change xxxxx to the full path to your image (like /home/user/pic.png) If there is no such line, I guess you can just add it.
Anything else that must be present? -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org