From af322d762c35288ea9c9503089a35d656207688b Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 9 Oct 2022 01:17:06 +0200 Subject: [PATCH] Update xorg default browser --- roles/firefox/tasks/update-alternatives.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/firefox/tasks/update-alternatives.yml b/roles/firefox/tasks/update-alternatives.yml index e20c83a..1db477e 100644 --- a/roles/firefox/tasks/update-alternatives.yml +++ b/roles/firefox/tasks/update-alternatives.yml @@ -1,3 +1,6 @@ - name: Set firefox as x-www-browser become: yes - cmd: update-alternatives --set x-www-browser /usr/bin/firefox \ No newline at end of file + cmd: update-alternatives --set x-www-browser /usr/bin/firefox + +- name: update xdg default-web-browser + cmd: xdg-settings set default-web-browser firefox.desktop \ No newline at end of file