Add Custom icons to Dash Menu ?


Hey, Hmm to be honest in terms of design Ubuntu newest versions getting more attention due to it's elegant Dash Menu.

Dash Menu ? Oh, if you wonder what it is ? Here's My Dash.



The new Dash Menu is something even windows OS team couldn't figure out earlier to Ubuntu.

Alright, this post isn't about elegance of Dash, but the way to add icons to Dash Menu.

 1. First, prepare Your icon. It's better to save it with the extensions like .png or .ico. In this example I used my iReport-3.7.1 icon.



 Make sure you save it in installation directory. That'll be fair & when you uninstall software the icon will automatically be removed.

2. Then, take your terminal and type following terminal command.




3. Now, Decide a name for your icon file & type vi .desktop. It'll open vi-editor & ultimately start a text file.




4. Edit & add the following code. Make changes according to your senario.

[Desktop Entry]
Name=Ireport 3.7.1
Comment=Report Application
Exec=Ireport
Icon=/opt/ireport 3.7.1/bin/ireport.png
Terminal=false
Type=Application
StartupNotify=true
Keywords=report;ireport;i;



5. Important : Make Sure you add the correct image path & save the file. (Key Sequence Esc -> :wq ->Enter)



6. Check whether it works by typing keywords you add inside the code in the search box of Ubuntu Dash.8




Enjoy !

No comments: