blueutil icon indicating copy to clipboard operation
blueutil copied to clipboard

How to add favorite?

Open mattdee opened this issue 1 year ago • 1 comments

I attempt to add all my device to favorites with the following script:

for i in $(blueutil --paired | awk '{print $2}' | sed 's/,//g')                                                                                                                                                                                  
do
blueutil --add-favourite $i
blueutil --favourites
done

How do I add a device to favorites?

Thanks, Matt

mattdee avatar Aug 08 '23 14:08 mattdee

This doesn't change output of blueutil --favourites? Can you check contents of ~/Library/Preferences/ByHost/com.apple.Bluetooth.*.plist? There should be an array for key FavoriteDevices. Also given that favourite devices are not supported from GUI since some OS version, maybe they are not really working from some version.

toy avatar Aug 08 '23 18:08 toy

Not the OP – but I am also having this issue.

➞ blueutil --info 00-1f-20-27-7c-1a address: 00-1f-20-27-7c-1a, connected (master, -51 dBm), not favourite, paired, name: "Logitech MX Revolution Mouse", recent access date: 2024-05-08 18:01:43 +0000 ➞ blueutil --add-favourite 00-1f-20-27-7c-1a ➞ blueutil --favourites

m-graf avatar May 08 '24 18:05 m-graf

@mattdee @m-graf Unfortunately the favourites logic is apparently deprecated and is not working since some version of osx (probably Monterey), I've documented it in the tool in v2.10.0

toy avatar May 08 '24 20:05 toy