Cursor Incorrect System Tray Class and Name on X11

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Set window class and name for Linux X11 to ensure system tray and window manager identify the app correctly instead of using default ‘electron’ identifier.

However, currently cursor’s X11 properties of the system tray icon are oriented from ‘electron’:

$ xwininfo -tree -id 0x1a00002
xwininfo: Window id: 0x1a00002 "polybar-primary_HDMI-0"
  Root window id: 0x21a (the root window) "i3"
  // others
        0x7000003 "electron": ("electron" "Electron")  21x21+0+0  +3746+80

Maybe add app.commandLine.appendSwitch on class and name?

Steps to Reproduce

Just lauch on any X11 Linux Desktop and track the system tray info.

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

cursor-bin 2.3.26-1

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

I’ve passed this on to the team to review. You’re right, setting the correct WM_CLASS will help window managers and system trays identify Cursor properly instead of showing the generic electron identifier.

This is a valid improvement request for Linux/X11 users. I’ll keep you posted if there’s any progress.