min117の日記

初期desireもち。趣味Mac,メインFedora,仕事xp。

fedora30 gnomeのポップアップ「System policy prevents Wi-Fi scans」がウザいので消す → cd /etc/polkit-1/localauthority/50-local.d して .plkaファイルを書いて sudo systemctl restart NetworkManager

ハピタスのポイントをビットコインに変えて円安に備える

 

1,000万円を超えたbitcoinを少しだけどもらえるURL

https://bitflyer.com/invitation?id=l50e5ljw&lang=ja-JP

ハピタスからポイントもらえるURL

その買うを、もっとハッピーに。|ハピタス

ハピタスのポイントをビットコインに変えて円安に備える

f:id:min117:20210211094322p:plain

 

fedora30を使っているとgnomeが(?)出してくるポップアップが超ウザい。

f:id:min117:20210211090601p:plain

「認証が要求されました」「System policy prevents Wi-Fi scans」

何回認証してもこの画面になる。ウッザい。

 

消し方は見つけた。コレ。

$ sudo -s

cd /etc/polkit-1/localauthority/50-local.d/

f:id:min117:20210211091416p:plain

 

vim 45-allow.colord.pkla

f:id:min117:20210211091448p:plain

[Allow Colord all Users] Identity=unix-user:* Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile;

ResultAny=no

ResultInactive=no

ResultActive=yes

 

# vim 46-allow-update-repo.pkla

f:id:min117:20210211091620p:plain

[Allow Package Management all Users]

Identity=unix-user:*

Action=org.freedesktop.packagekit.system-sources-refresh

ResultAny=yes

ResultInactive=yes

ResultActive=yes

 

# vim 47-allow-wifi-scan.pkla

f:id:min117:20210211093617p:plain

[Allow WiFi Scan all Users]

Identity=unix-user:*

Action=org.freedesktop.NetworkManager.wifi.scan

ResultAny=yes

ResultInactive=yes

ResultActive=yes

 

# sudo systemctl restart NetworkManager

f:id:min117:20210211093853p:plain

 

そのあとはgnome使っていてもポップアップされなくなった。めでたし。

f:id:min117:20210211093732p:plain

f:id:min117:20210211094255p:plain

 

サーバ版じゃなくてDesktop版なのに無限ポップアップを出すなんて最悪。こういう不親切さを解消しないとLinuxがユーザーエンドの世界で使われるはずがない。

 

UbuntuSuSEでも同じ問題が起きるらしく、海外でも困っている人たくさんいるみたい。

参考)

Ubuntu Mate 20.04 XRDP setup · GitHub

f:id:min117:20210211091256p:plain

 

 

askubuntu.com

 

f:id:min117:20210211090704p:plain