I am learning the Ubuntu SDK, and I have make an new HTML5 Touch UI project with Qt Creator.
The project folder has an .desktop
file. I then added an launcher.png
to my project's folder.
Here is my .desktop
file:
[Desktop Entry]
Name=myapp
StartupNotify=true
Icon=/usr/share/myapp/launcher.png
MimeType=text/plain;
NoDisplay=true
Comment=something...
Exec=/usr/bin/qmlscene $@ /usr/share/myapp/diaspora-webclient.qml
Terminal=false
Type=Application
X-Ubuntu-Touch=true
Now I press Ctrl+R to run the app with qmlscene
. The app runs, but launcher.png
is not displayed as the app's icon in the Unity Launcher.
Do I need to run an command to update the changes? Or do I need to move the launcher.png
to /usr/share/myapp/launcher.png
via in-app-code?
/usr/share
would require you to type your password each time. Another alternative is to simply put a copy of the icon in~/.icons
.~/.icons
(for testing purposes).