libretro / libretro/RetroArch

[Feature Request] allow setting a custom window title from retroarch CLI

Open
#19,086 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

When launching some game with retro arch CLI, it sets a standard window title something like

RetroArch Genesis Plus GX <version> depending on what core it's using.

It would be useful to allow setting any custom title, like for example reflecting the name of the game that's being run.

The benefit is that you can create a launcher script using such title, and then make a kwin window rule in KDE Plasma that would match that window to specific icon. That can make such game when it's running appear with a game specific icon in task manager in KDE.

Otherwise it always shows retroarch's default icon.

Contributor guide

Open the 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.

Research direction

Start by tracing RetroArch's CLI option handling and the existing code that generates the standard window title. Define the option's expected behavior for a launched game, then verify that the custom title appears on the running window while the existing default remains unchanged when the option is omitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.