[Bug]: Lantern shows a generic icon in the Linux dock

Open Beginner friendly
#9,387 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
dart, linux
Domain
desktop

Research direction

Start by locating Lantern’s Linux packaging and its .desktop file. Check how the package installs that file and whether it includes StartupWMClass=org.getlantern.lantern. Done when the packaged launcher includes this entry and Linux desktop environments show Lantern’s application icon.

Written by the indexing model from the issue text.

Description

What happened?

On Linux, Lantern's window shows a generic icon in the dock instead of its actual application icon.

Screenshot From 2026-11-26 06-43-29

This seems to be a desktop integration issue. Adding the following line to Lantern's .desktop file fixes the problem:
StartupWMClass=org.getlantern.lantern

Screenshot From 2026-11-26 06-44-54 Screenshot From 2026-11-26 06-44-43

It would be great if this could be included in the Linux packaging so that Lantern is correctly recognized by desktop environments and displays its proper icon.
Thanks!

Version

11.0.0

Which platform(s) does this affect?
  • Android
  • iOS
  • Desktop (Windows)
  • Desktop (MacOS)
  • Desktop (Linux)
Related Support Tickets

No response

Dominant language
Dart
Stars
16.9k
Forks
11k
Avg merge
16h 25m
Merged PRs (30d)
128

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getlantern/lantern

All issues in getlantern/lantern

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.