Lens Desktop Icon on Linux
Author: jetersenCreated Feb 12, 2025Updated Jun 26, 2026
Labelsbug
Describe the bug
Icon in the Linux desktop shows up as an actual Lens. Most likely due to StartupWMClass=Lens
"Lens" is properly why the icon is wrong.
Looking into .desktop reveals the issue. There is no file located in /opt/Lens named lens-desktop.{png,svg,ico}
[Desktop Entry]
Name=Lens
Exec=/opt/Lens/lens-desktop %U
Terminal=false
Type=Application
Icon=lens-desktop
StartupWMClass=Lens
Comment=Lens - The way the world runs Kubernetes
MimeType=x-scheme-handler/lens;
Categories=Network;To Reproduce Install on Linux Desktop using RPM repository
Expected behavior Use lens-desktop icon
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- Lens Version: 2025.1.161916-latest
- OS: Nobara Linux
- Installation method (e.g. snap or AppImage in Linux): RPM
Logs: N/A
Kubeconfig: N/A
Additional context N/A
Source: lensapp/lens