Skip to content

Long port names on Linux #106

@sourcebox

Description

@sourcebox

When using Linux, the returned port name is much longer than with Windows/macOS. These long names force me to reserve more space in the GUI than needed just because of Linux users, which are a minority.

Example:

  • Windows/macOS: Arturia KeyStep 32
  • Linux: Arturia KeyStep 32:Arturia KeyStep 32 MIDI 1 20:0

It is obvious that the second part "Arturia KeyStep 32 MIDI 1" including the port info needs to be returned, but the first part seems to be redundant.
When using amidi --list-devices the result is also "Arturia KeyStep 32 MIDI 1", the so called "client name" is omitted there.

I already thought about manually splitting the parts using the colon as delimiter, but I think the colon is a valid character inside the port name, so this method is not 100% safe, even if I'm not aware of any device that's named in such manner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions