Comment 0 for bug 1002417

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

1) the desktop file is installed to /opt/extras.ubuntu.com/qreator/share/applications/ The system won't pick it up there.

2) The Exec and Icon lines in the desktop file don't point to the actually installed files in opt:

Exec=qreator
Icon=/usr/share/qreator/media/qreator.svg

Even if you edit the icon path to be correct for opt, setup.py stomps on it since "datadir" isn't set correctly (see bug 998910) and this is called:

        for line in fin:
            if 'Icon=' in line:
                line = "Icon=%s\n" % (datadir + 'media/qreator.svg')
            fout.write(line)