Easier way to connect to Bluetooth device
I have a laptop running Ubuntu 18.04 which is paired with an external Bluetooth speaker. It takes me seven mouse clicks to connect to this speaker (such as when the laptop has been outside range of the speaker).
- Click upper right corner of screen
- Click Bluetooth icon
- Click Bluetooth Settings
- Click device name
- Click Connection
- Click window close
- Click window close
Is there a way to connect to a USB device in fewer steps than this?
18.04 bluetooth
add a comment |
I have a laptop running Ubuntu 18.04 which is paired with an external Bluetooth speaker. It takes me seven mouse clicks to connect to this speaker (such as when the laptop has been outside range of the speaker).
- Click upper right corner of screen
- Click Bluetooth icon
- Click Bluetooth Settings
- Click device name
- Click Connection
- Click window close
- Click window close
Is there a way to connect to a USB device in fewer steps than this?
18.04 bluetooth
add a comment |
I have a laptop running Ubuntu 18.04 which is paired with an external Bluetooth speaker. It takes me seven mouse clicks to connect to this speaker (such as when the laptop has been outside range of the speaker).
- Click upper right corner of screen
- Click Bluetooth icon
- Click Bluetooth Settings
- Click device name
- Click Connection
- Click window close
- Click window close
Is there a way to connect to a USB device in fewer steps than this?
18.04 bluetooth
I have a laptop running Ubuntu 18.04 which is paired with an external Bluetooth speaker. It takes me seven mouse clicks to connect to this speaker (such as when the laptop has been outside range of the speaker).
- Click upper right corner of screen
- Click Bluetooth icon
- Click Bluetooth Settings
- Click device name
- Click Connection
- Click window close
- Click window close
Is there a way to connect to a USB device in fewer steps than this?
18.04 bluetooth
18.04 bluetooth
asked Jan 23 at 14:38
kasperdkasperd
1,04811132
1,04811132
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Take a look at a similar question/answer here.
First, the MAC Address of the Bluetooth device is needed. You can find it by running the following commands:
sudo systemctl start bluetooth
bluetoothctl
(a new bash prompt "[bluetooth]#" will be visible after running this command)devices
- Look for the MAC Address of your Bluetooth device by searching through the names of the device listed, assuming the device is powered on and visible.
Finally, run the following commands which start the Bluetooth service and passes the commands through the echo program. These two commands are what you need to connect to your bluetooth device over the terminal.
sudo systemctl start bluetooth
echo -e 'echo -e 'connect YOUR_DEVICE_MAC_ADDRESS nquit' | bluetoothctl
This can be put in a bash script and the bash script can be automated to run upon startup.
Just typingbluetoothctl
was sufficient to find the MAC address (at least if the device is already connected). Andecho "connect $DEVICE_MAC" | bluetoothctl
was sufficient to establish a connection when not currently connected. So scripting it would work. Running the script on startup is not useful for me. But calling the script from a hotkey should work.
– kasperd
Jan 23 at 16:12
1
Though I didn't use this answer exactly the way it was written. It still gave me the information I needed to create a hotkey to achieve the desired effect.
– kasperd
Jan 23 at 16:22
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112259%2feasier-way-to-connect-to-bluetooth-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Take a look at a similar question/answer here.
First, the MAC Address of the Bluetooth device is needed. You can find it by running the following commands:
sudo systemctl start bluetooth
bluetoothctl
(a new bash prompt "[bluetooth]#" will be visible after running this command)devices
- Look for the MAC Address of your Bluetooth device by searching through the names of the device listed, assuming the device is powered on and visible.
Finally, run the following commands which start the Bluetooth service and passes the commands through the echo program. These two commands are what you need to connect to your bluetooth device over the terminal.
sudo systemctl start bluetooth
echo -e 'echo -e 'connect YOUR_DEVICE_MAC_ADDRESS nquit' | bluetoothctl
This can be put in a bash script and the bash script can be automated to run upon startup.
Just typingbluetoothctl
was sufficient to find the MAC address (at least if the device is already connected). Andecho "connect $DEVICE_MAC" | bluetoothctl
was sufficient to establish a connection when not currently connected. So scripting it would work. Running the script on startup is not useful for me. But calling the script from a hotkey should work.
– kasperd
Jan 23 at 16:12
1
Though I didn't use this answer exactly the way it was written. It still gave me the information I needed to create a hotkey to achieve the desired effect.
– kasperd
Jan 23 at 16:22
add a comment |
Take a look at a similar question/answer here.
First, the MAC Address of the Bluetooth device is needed. You can find it by running the following commands:
sudo systemctl start bluetooth
bluetoothctl
(a new bash prompt "[bluetooth]#" will be visible after running this command)devices
- Look for the MAC Address of your Bluetooth device by searching through the names of the device listed, assuming the device is powered on and visible.
Finally, run the following commands which start the Bluetooth service and passes the commands through the echo program. These two commands are what you need to connect to your bluetooth device over the terminal.
sudo systemctl start bluetooth
echo -e 'echo -e 'connect YOUR_DEVICE_MAC_ADDRESS nquit' | bluetoothctl
This can be put in a bash script and the bash script can be automated to run upon startup.
Just typingbluetoothctl
was sufficient to find the MAC address (at least if the device is already connected). Andecho "connect $DEVICE_MAC" | bluetoothctl
was sufficient to establish a connection when not currently connected. So scripting it would work. Running the script on startup is not useful for me. But calling the script from a hotkey should work.
– kasperd
Jan 23 at 16:12
1
Though I didn't use this answer exactly the way it was written. It still gave me the information I needed to create a hotkey to achieve the desired effect.
– kasperd
Jan 23 at 16:22
add a comment |
Take a look at a similar question/answer here.
First, the MAC Address of the Bluetooth device is needed. You can find it by running the following commands:
sudo systemctl start bluetooth
bluetoothctl
(a new bash prompt "[bluetooth]#" will be visible after running this command)devices
- Look for the MAC Address of your Bluetooth device by searching through the names of the device listed, assuming the device is powered on and visible.
Finally, run the following commands which start the Bluetooth service and passes the commands through the echo program. These two commands are what you need to connect to your bluetooth device over the terminal.
sudo systemctl start bluetooth
echo -e 'echo -e 'connect YOUR_DEVICE_MAC_ADDRESS nquit' | bluetoothctl
This can be put in a bash script and the bash script can be automated to run upon startup.
Take a look at a similar question/answer here.
First, the MAC Address of the Bluetooth device is needed. You can find it by running the following commands:
sudo systemctl start bluetooth
bluetoothctl
(a new bash prompt "[bluetooth]#" will be visible after running this command)devices
- Look for the MAC Address of your Bluetooth device by searching through the names of the device listed, assuming the device is powered on and visible.
Finally, run the following commands which start the Bluetooth service and passes the commands through the echo program. These two commands are what you need to connect to your bluetooth device over the terminal.
sudo systemctl start bluetooth
echo -e 'echo -e 'connect YOUR_DEVICE_MAC_ADDRESS nquit' | bluetoothctl
This can be put in a bash script and the bash script can be automated to run upon startup.
edited Jan 23 at 15:55
answered Jan 23 at 15:43
PSAPSA
1117
1117
Just typingbluetoothctl
was sufficient to find the MAC address (at least if the device is already connected). Andecho "connect $DEVICE_MAC" | bluetoothctl
was sufficient to establish a connection when not currently connected. So scripting it would work. Running the script on startup is not useful for me. But calling the script from a hotkey should work.
– kasperd
Jan 23 at 16:12
1
Though I didn't use this answer exactly the way it was written. It still gave me the information I needed to create a hotkey to achieve the desired effect.
– kasperd
Jan 23 at 16:22
add a comment |
Just typingbluetoothctl
was sufficient to find the MAC address (at least if the device is already connected). Andecho "connect $DEVICE_MAC" | bluetoothctl
was sufficient to establish a connection when not currently connected. So scripting it would work. Running the script on startup is not useful for me. But calling the script from a hotkey should work.
– kasperd
Jan 23 at 16:12
1
Though I didn't use this answer exactly the way it was written. It still gave me the information I needed to create a hotkey to achieve the desired effect.
– kasperd
Jan 23 at 16:22
Just typing
bluetoothctl
was sufficient to find the MAC address (at least if the device is already connected). And echo "connect $DEVICE_MAC" | bluetoothctl
was sufficient to establish a connection when not currently connected. So scripting it would work. Running the script on startup is not useful for me. But calling the script from a hotkey should work.– kasperd
Jan 23 at 16:12
Just typing
bluetoothctl
was sufficient to find the MAC address (at least if the device is already connected). And echo "connect $DEVICE_MAC" | bluetoothctl
was sufficient to establish a connection when not currently connected. So scripting it would work. Running the script on startup is not useful for me. But calling the script from a hotkey should work.– kasperd
Jan 23 at 16:12
1
1
Though I didn't use this answer exactly the way it was written. It still gave me the information I needed to create a hotkey to achieve the desired effect.
– kasperd
Jan 23 at 16:22
Though I didn't use this answer exactly the way it was written. It still gave me the information I needed to create a hotkey to achieve the desired effect.
– kasperd
Jan 23 at 16:22
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112259%2feasier-way-to-connect-to-bluetooth-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown