Skip to content

Update window title handling to include name property#81

Merged
orhun merged 1 commit into
orhun:mainfrom
AndreasSeidl:main
May 27, 2026
Merged

Update window title handling to include name property#81
orhun merged 1 commit into
orhun:mainfrom
AndreasSeidl:main

Conversation

@AndreasSeidl

Copy link
Copy Markdown
Contributor

In Ubuntu 26.04 using wayland, when a desktop entry is created for Ratty it shows up as an unknown app in the dock.

bevyengine/bevy#7650 adds:

Add name field to bevy::window::Window. Specifying this field adds different properties to the window: application ID on Wayland, WM_CLASS on X11, or window class name on Windows. It has no effect on other platforms.

With this change the app_id is set to "Ratty" and with the following desktop entry the name and icon now work correctly:

[Desktop Entry]
Type=Application
Name=Ratty
Exec=<path to ratty binary>
Categories=Terminal;Emulator;
Keywords=ratty;terminal;emulator
Icon=<icon under ~/.icons>

@orhun orhun left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx!

@orhun orhun merged commit 9669478 into orhun:main May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants