[PR #11511] Enable changing the bell sound #28629

Open
opened 2026-01-31 09:29:45 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/11511

State: closed
Merged: Yes


Summary of the Pull Request

Adds a per-profile setting for setting the audio sound for the bell. The setting is bellSound, it accepts a path. We'll use the file at that path as the sound for the bell. If it doesn't exist, then oh well, so sound for you.

It'll also secretly accept an array of paths. If you provide an array, it will pick one at random.

PR Checklist

Validation Steps Performed

I'm not suggesting that anyone go to this post and download a zip full of honk.mp3s. I'm definitely not suggesting you add it to your settings like

"bellSound": [
    "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk1.mp3",
    "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk2.mp3",
    "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk3.mp3",
    "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk4.mp3",
    "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk-muffled1.mp3",
    "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk-muffled2.mp3",
    "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk-muffled3.mp3"
]

No, don't do that.

https://user-images.githubusercontent.com/18356694/137389503-91e43dba-8f7b-4078-9d35-23ceb2ac9432.mp4

  • It surprisingly works elevated
  • We should probably accept env vars in these paths
  • We may only want one MediaPlayer per terminal, rather than one per pane
  • We may want to validate the paths, and discard ones that don't exist.
    • alternatively, meh
**Original Pull Request:** https://github.com/microsoft/terminal/pull/11511 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adds a per-profile setting for setting the audio sound for the bell. The setting is `bellSound`, it accepts a path. We'll use the file at that path as the sound for the bell. If it doesn't exist, then oh well, so sound for you. It'll also secretly accept an array of paths. If you provide an array, it will pick one at random. ## PR Checklist * [x] Closes #8366 * [x] I work here * [ ] Tests - lol this is the hackathon, I'm just messing around * [ ] Requires documentation to be updated ## Validation Steps Performed I'm not suggesting that anyone go to [this post](https://www.reddit.com/r/untitledgoosegame/comments/d77le4/honk_ringtones/) and download a zip full of `honk.mp3`s. I'm definitely not suggesting you add it to your settings like ```jsonc "bellSound": [ "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk1.mp3", "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk2.mp3", "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk3.mp3", "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk4.mp3", "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk-muffled1.mp3", "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk-muffled2.mp3", "C:\\Users\\migrie\\Downloads\\memes\\honks\\Honk-muffled3.mp3" ] ``` No, don't do that. https://user-images.githubusercontent.com/18356694/137389503-91e43dba-8f7b-4078-9d35-23ceb2ac9432.mp4 * [x] It surprisingly works elevated * [x] We should probably accept env vars in these paths * [x] We may only want one `MediaPlayer` per terminal, rather than one per pane * [ ] We may want to validate the paths, and discard ones that don't exist. * [x] alternatively, _meh_
claunia added the pull-request label 2026-01-31 09:29:45 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28629