Set firefox and thunderbird as default applications

This commit is contained in:
Raphael Dannecker 2025-07-18 12:14:09 +02:00
parent 80c366df51
commit feec0067db

View file

@ -161,6 +161,16 @@
dest: /usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/fvs-config.js dest: /usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/fvs-config.js
mode: '0644' mode: '0644'
- name: Configure default KDE applications
ansible.builtin.blockinfile:
path: /etc/xdg/mimeapps.list
create: true
mode: '0644'
block: |
[Default Applications]
x-scheme-handler/http=firefox-esr.desktop;
x-scheme-handler/https=firefox-esr.desktop;
x-scheme-handler/mailto=thunderbird.desktop;
- name: Configure some KDE aspects - name: Configure some KDE aspects
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
@ -169,10 +179,10 @@
mode: '0644' mode: '0644'
block: | block: |
[KDE] [KDE]
SingleClick=false #SingleClick=false
[KDE Action Restrictions][$i] [KDE Action Restrictions][$i]
action/start_new_session=false #action/start_new_session=false
#action/switch_user=false #action/switch_user=false
#action/lock_screen=false #action/lock_screen=false