Results 1 to 7 of 7

Thread: Very large icon in Unity

  1. #1
    Join Date
    Aug 2011
    Beans
    109
    Distro
    Ubuntu 14.04 Trusty Tahr

    Very large icon in Unity

    I have added an program to unity using .desktop file. but for some reason does the icon become very big.

    desktop file
    Code:
    [Desktop Entry]
    Type=Application
    Name=Eclipse
    Comment=Eclipse Integrated Development Environment
    Icon=/opt/eclipse/icon.xpm
    Exec=/opt/eclipse/eclipse
    Terminal=false
    Categories=Development;IDE;Java;
    Attached Images Attached Images

  2. #2
    Join Date
    Oct 2006
    Beans
    39
    Distro
    Ubuntu

    Re: Very large icon in Unity

    Peter van der Does
    Ubuntu: Sort of Maverick 10.10 (Modified kernel and software)
    Blog: http://blog.avirtualhome.com
    Twitter: @avhsoftware

  3. #3
    Join Date
    Sep 2007
    Location
    England / U.S.
    Beans
    277
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Very large icon in Unity

    This happens using the Aptana icon too. To correct, simply copy the image, scale it to 48x48 and link to that one instead.

    [edit] As Kostkon below mentions, and I'd forgotten to mention here, change it to a PNG file.
    Last edited by Mr_JMM; November 9th, 2012 at 07:19 PM. Reason: More info
    Linux is not windows // Ubuntu (Quantal:12.10) Guide
    Use descriptive thread titles // Linux... is... not... windows // OSX... is... not... Linux

  4. #4
    Join Date
    Apr 2005
    Location
    My dreams
    Beans
    3,558
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Very large icon in Unity

    Quote Originally Posted by Mr_JMM View Post
    This happens using the Aptana icon too. To correct, simply copy the image, scale it to 48x48 and link to that one instead.
    Also convert it to png, just to be on the safe side. Or just google for one.

  5. #5
    Join Date
    Sep 2007
    Location
    England / U.S.
    Beans
    277
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Very large icon in Unity

    Quote Originally Posted by kostkon View Post
    Also convert it to png, just to be on the safe side. Or just google for one.
    Sorry, yes, what Kostkon said, I forgot to mention that. I'll edit my post if I can.
    Linux is not windows // Ubuntu (Quantal:12.10) Guide
    Use descriptive thread titles // Linux... is... not... windows // OSX... is... not... Linux

  6. #6
    Join Date
    Oct 2012
    Beans
    19

    Re: Very large icon in Unity

    Haha! Are you sure they didn't do that on purpose? It's pretty apropos that a program called "Eclipse" has an icon so large that it gets in the way of surrounding icons and its own name.

  7. #7
    Join Date
    Jun 2012
    Beans
    1

    Re: Very large icon in Unity

    Check out this comment to the bug report

    https://bugs.launchpad.net/ubuntu/+s...37/comments/13

    You don't have to convert/resize your icon, you can just copy the original /opt/eclipse/icon.xpm into ~/.local/share/icons and edit the Icon entry in .desktop file to

    Icon=icon.xpm

    (well, maybe changing the file name would be a good thing)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •