解决ubuntu12.10之后的版本图标变大

ubuntu12.10之后的版本图标会变很大,解决方法如下:

  • Copy icon.xpm (from eclipse folder) into ~/.local/share/icons/eclipse4.xpm
  • In your eclipse.desktop file (which should be in ~/.local/share/applications instead of /usr/share/…), replace Icon=/path/to/eclipse/icon.xpm by Icon=eclipse4. You don’t need to add the .xpm suffix.

The eclipse.desktop will thus be something like this:


[Desktop Entry]
Version=1.0
Name=Eclipse
GenericName=Integrated Development Application
Comment=Eclipse Juno
Exec=/usr/local/bin/eclipse
TryExec=/usr/local/bin/eclipse
Icon=eclipse4
Terminal=false
Type=Application
Categories=Development;IDE;
捐助共勉
版权声明:若无特殊注明,本文皆为原创,转载请保留文章出处。