openSUSE / openSUSEway

dotfiles for Sway on openSUSE
MIT License
82 stars 17 forks source link

Bluethooth improvements #163

Open denisok opened 2 weeks ago

denisok commented 2 weeks ago
  1. turning on fromwaybar doesn't work anymore
  2. use bluetuith instead of bluetoothctl
denisok commented 2 weeks ago

so for me bluetooth wasn't turning off: sway[31533]: sh: line 1: bluetooth: command not found.

Looks like since some time there is some conflict:

cnf bluetooth

The program 'bluetooth' can be found in the following package:
  * tlp [ path: /usr/bin/bluetooth, repository: download.opensuse.org-oss ]

Try installing with:
    sudo zypper install tlp

stdden@stdlen:~/tmp> sudo zypper in tlp
[sudo] password for root:
Retrieving repository 'Main Repository (NON-OSS)' metadata .................................................................................................................................................[done]
Building repository 'Main Repository (NON-OSS)' cache ......................................................................................................................................................[done]
Retrieving repository 'Main Repository (OSS)' metadata .....................................................................................................................................................[done]
Building repository 'Main Repository (OSS)' cache ..........................................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: the to be installed tlp-1.6.1-2.1.noarch conflicts with 'tuned' provided by the installed tuned-2.22.1.2+git.86ac977-3.1.noarch
 Solution 1: deinstallation of tuned-2.22.1.2+git.86ac977-3.1.noarch
 Solution 2: do not install tlp-1.6.1-2.1.noarch

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 1

We probably need to have Required, instead of recommend for the tools that are functional through UI/ Will add it later

FilippoBonazziSUSE commented 2 weeks ago

There has been some discussion about tlp/tuned/... conflicts recently, I think it was on the Factory ML but I can't find it right now. I think for us the simplest thing is to converge on one single tool (bluetuith) but I don't think it has a non-interactive interface to turn bluetooth on-off. Maybe something like that is still provided by bluetoothctl (bluez). I don't think I have time to look into this today though

FilippoBonazziSUSE commented 2 weeks ago

Found the discussion https://bugzilla.opensuse.org/show_bug.cgi?id=1224202

denisok commented 2 weeks ago

There has been some discussion about tlp/tuned/... conflicts recently, I think it was on the Factory ML but I can't find it right now. I think for us the simplest thing is to converge on one single tool (bluetuith) but I don't think it has a non-interactive interface to turn bluetooth on-off. Maybe something like that is still provided by bluetoothctl (bluez). I don't think I have time to look into this today though

OK - Thanks - I will check it !