linutil icon indicating copy to clipboard operation
linutil copied to clipboard

Bluetooth manager fails on ZorinOS(Debian)

Open maheshrijal opened this issue 1 year ago • 4 comments

Describe the bug

Bluetooth Manager fails on Zorin OS 17.1

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Utilities'
  2. Run 'Bluetooth manager'

Expected behavior

Screenshots

image

Additional context

maheshrijal avatar Sep 05 '24 15:09 maheshrijal

I might have figured this out. I think the redirection <<< operator does not work in the sh shell it only works on bash.

maheshrijal avatar Sep 05 '24 16:09 maheshrijal

Perhaps replacing the line 78 in bluetooth-control.sh will fix this?

Old: IFS=$'\n' read -r -a device_list <<<"$devices" New: echo "$devices" | IFS=$'\n' read -r -a device_list

maheshrijal avatar Sep 05 '24 16:09 maheshrijal

at first when i pushed, it was in bash. Later they changed it cause it was not working in ubuntu to use sh instead of bash :)

guruswarupa avatar Sep 05 '24 17:09 guruswarupa

Ah I see. I pushed a patch after I was able to ran it locally.

maheshrijal avatar Sep 06 '24 03:09 maheshrijal