Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Custom/adding application icons

    Reply
    jayholler | # 1 | 2006-12-11, 17:11 | Report

    I was getting kind of annoyed with the applications in the task menu that had no pretty icon, and I couldn't find a tutorial anywhere describing this process, so here you go. Let me know if any info here is unclear or innaccurate!

    Here is what I did to give minimo the default firefox icon. Root and xterm are required.

    All third party apps appear to place a .png file in /usr/share/pixmaps to be used as the icon.

    For example the GAIM launcher has an icon called gaim.png

    First you will need to get an icon into this folder. You can find one through google, or make your own with the GIMP. It can be any size, and the desktop manager will scale it as needed. I saved the file in my /media/mmc1 directory and then moved it thusly, using xterm:

    Originally Posted by
    cp /media/mmc1/file.png /usr/share/pixmaps/file.png
    then make sure the permissions match the other icons in that folder.

    ls -al will tell you the permissions, as well as other useful info.

    you can change them with a command like: chmod a+r file.png which would add read rights to the file for all users and groups, as well as the owner.

    Next you will need to edit the file which launches the program, in this case minimo. I found the file at:

    Originally Posted by
    /usr/share/applications/hildon/minimo.desktop
    using the command:

    Originally Posted by
    find / -name minimo.desktop
    then

    Originally Posted by
    vi /usr/share/applications/hildon/minimo.desktop
    You can edit the file only if you are root. Just change the line after Icon= to your new icon's name, minus the extension.

    In this case i came up with:

    Icon=file

    Then just reboot, and voila! Your apps custom icon will appear rather than the default grey "no icon" icon.

    ps- Is there a way to reestart the desktop without rebooting?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jayholler; 2006-12-11 at 17:15. Reason: clarity

     
    SeRi@lDiE | # 2 | 2006-12-11, 18:17 | Report

    Originally Posted by jayholler
    I was getting kind of annoyed with the applications in the task menu that had no pretty icon, and I couldn't find a tutorial anywhere describing this process, so here you go. Let me know if any info here is unclear or innaccurate!

    Here is what I did to give minimo the default firefox icon. Root and xterm are required.

    All third party apps appear to place a .png file in /usr/share/pixmaps to be used as the icon.

    For example the GAIM launcher has an icon called gaim.png

    First you will need to get an icon into this folder. You can find one through google, or make your own with the GIMP. It can be any size, and the desktop manager will scale it as needed. I saved the file in my /media/mmc1 directory and then moved it thusly, using xterm:



    then make sure the permissions match the other icons in that folder.

    ls -al will tell you the permissions, as well as other useful info.

    you can change them with a command like: chmod a+r file.png which would add read rights to the file for all users and groups, as well as the owner.

    Next you will need to edit the file which launches the program, in this case minimo. I found the file at:



    using the command:



    then



    You can edit the file only if you are root. Just change the line after Icon= to your new icon's name, minus the extension.

    In this case i came up with:

    Icon=file

    Then just reboot, and voila! Your apps custom icon will appear rather than the default grey "no icon" icon.

    ps- Is there a way to reestart the desktop without rebooting?

    Dont forget that some aliases do call to the directory /usr/share/icons/hicolor/scalable/hildon and not pixmaps....
    I know because I did this long time ago and I got some icons to work your way and some icons to work in the above directory.

    Thanks Grate tut by the way...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jayholler | # 3 | 2006-12-11, 19:53 | Report

    Thanks for the heads up, I did not know that!

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout