# Automating Bluetooth Profile switching thanks to Copilot Chat

DevFeed: [Automating Bluetooth Profile switching thanks to Copilot Chat](<https://devfeed.tech/articles/automating-bluetooth-profile-switching-thanks-to-copilot-chat-25675.md>)

Original publisher: [Read original article](<https://blog.sanskar10100.dev/automating-bluetooth-profile-switching-thanks-to-copilot-chat>)

Author: Sanskar Agrawal

Published: 2023-10-09T20:20:18Z

Content type: opinion

Language: en

Sources: [Sanskar's Stuff](<https://devfeed.tech/sources/sanskar-s-stuff.md>)

Topics: [Bluetooth](<https://devfeed.tech/topics/bluetooth.md>), [GitHub Copilot](<https://devfeed.tech/topics/github-copilot.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [developer-productivity](<https://devfeed.tech/topics/developer-productivity.md>), [Shell](<https://devfeed.tech/topics/shell.md>)

Tags: [bluetooth](<https://devfeed.tech/tags/bluetooth.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [coding](<https://devfeed.tech/tags/coding.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [github-copilot](<https://devfeed.tech/tags/github-copilot.md>), [linux](<https://devfeed.tech/tags/linux.md>), [productivity](<https://devfeed.tech/tags/productivity.md>)

## AI overview

The author describes using GitHub Copilot Chat to create a shell script that switches Bluetooth headset profiles on EndeavourOS. The script provides a keyboard-accessible workaround for a microphone problem, although it took about 30 minutes of back-and-forth to reach the correct commands.

## Source excerpt

A task I completed that I wouldn't have (or at least, not without putting several hours into it) without Generative AI: I use an Arch-based Linux distro called Endeavour OS. It's a great OS, but lately, I've been having this issue where my computer w...