Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 400728

Summary: Eclipse shows only placeholder icon in Ubuntu 12.10 Unity launcher.
Product: [Eclipse Project] Platform Reporter: Benoit Hiller <benoit.hiller>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: arunkumar.thondapu, ericwill, gheorghe, Silenio_Quarti
Version: 4.3Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
eclipse running with paceholder icon none

Description Benoit Hiller CLA 2013-02-13 14:26:26 EST
Created attachment 227042 [details]
eclipse running with paceholder icon

When not installed from the repository, eclipse only has a placeholder question mark icon in the unity launcher. I have attached a screenshot of this behaviour.

The Unity launcher appears to currently ignore the Icon specified by the application. It instead attempts to match an application to either a .desktop file or an icon located in specific system folders. There has been a downstream bug report for this issue https://bugs.launchpad.net/ubuntu/+source/unity/+bug/920715 for some time(the bug claims the issue exists in 12.04 I was not able to replicate this).

The issue does resolve itself if an icon called eclipse.[anything] is placed in ~/.local/share/icons/ or if a eclipse.desktop file is created and placed in ~/.local/share/applications/. Additionally if you have a repository version of Ubuntu installed it will use that icon (which is likely to be correct in many cases but not all). Both of these fixes do have side effects (the local files supersede any system ones) and can not really be implemented automatically by the executable.

I have sent the SWT team a FAQ entry on how to resolve the issue locally.
Comment 1 Eric Williams CLA 2018-05-14 14:46:01 EDT
I cannot reproduce the issue on my Ubuntu 17.04 VM.