Add Application Icon
To add applications to the Dash (then you press the windows key), Go to ~/.local/share/applications and create your .desktop files there.
For example:
- Open Nautilus (also called Files (the file manager))
- Browse to
~/.local/share/applications(ctrl + h to show hidden folders/files) - Right click and choose create empty document
- Name the file
testing.desktop - Enter in a valid desktop contents (sample below)
- Save it and now that entry will show when you press the windows key under applications.
A much easier way…
1 | |
Then run alacarte and create menu entries as you like. They will show in the unity launcher.
Sample desktop file (from sublime text 2)
1 | |
本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!