FelicianoTech / pocket-casts-desktop-app

The Pocket Casts webapp, packaged for the Linux Desktop.
MIT License
92 stars 8 forks source link

Override "Chromium" application name #44

Open hadess opened 3 years ago

hadess commented 3 years ago

It would be useful for configuration purposes if the application had a different visible name in pulseaudio. This is apparently possible with recent versions of Electron: https://github.com/electron/electron/issues/7470

echo ls | pacmd shows:

    index: 66
        driver: <protocol-native.c>
        owner module: 10
        properties:
                application.name = "Chromium"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "33"
                media.role = "music"
                application.icon_name = "tech.feliciano.pocket-casts"
                application.process.id = "75"
                application.process.user = "hadess"
                application.process.host = "classic"
                application.process.binary = "pocket-casts"
                application.language = "en_GB.UTF-8"
                window.x11.display = ":99.0"
                application.process.machine_id = "5fafeb6f2e754399b569c5a7db9070d9"

The application.name should be Pocket Casts instead.

FelicianoTech commented 10 months ago

Apparently not fixed. 😒 A second issue was opened for this: https://github.com/electron/electron/issues/27581