- Published on
Enable bluetooth management via GUI on Fedora
- Authors
- Name
- Martin Andrews
- @mdda123
blueman
GUI on Fedora
Enable bluetooth management via After an update in (maybe) 2021, a new 'permissions required' / 'RFKill' popup started to appear on Fedora - and it finally bothered me enough to track down the cause, and fix it.
Presumably, there's an equivalent group for Fedora for Debian's netdev
, but it's not clear what the choice should be - hence the below is quick-and-dirty for the (sole) desktop user on my laptop.
Following this suggestion. I added the following file, enabling RFKill access for the desktop user with group=groupname
:
/etc/polkit-1/rules.d/81-blueman.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.blueman.rfkill.setstate"
&& subject.local && subject.active
&& subject.isInGroup("groupname")) {
return polkit.Result.YES;
}
if (action.id == "org.blueman.network.setup"
&& subject.local && subject.active
&& subject.isInGroup("groupname")) {
return polkit.Result.YES;
}
});
The GUI bluetooth manager app will now stop hassling you with "RFKill" messages.