Use KDE filepicker in Firefox, Thunderbird, ...
This commit is contained in:
parent
5192b27d9e
commit
f9c0202107
1 changed files with 20 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Install desktop and educational packages
|
- name: Install desktop and educational packages
|
||||||
apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
- akonadi-backend-sqlite
|
- akonadi-backend-sqlite
|
||||||
- arduino
|
- arduino
|
||||||
|
@ -40,13 +40,13 @@
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
- name: Add {{ ansible_distribution_release }}-backports
|
- name: Add {{ ansible_distribution_release }}-backports
|
||||||
apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
repo: deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-backports main non-free-firmware
|
repo: deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-backports main non-free-firmware
|
||||||
state: present
|
state: present
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: Install extra packages from backports
|
- name: Install extra packages from backports
|
||||||
apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
- filius
|
- filius
|
||||||
- kicad
|
- kicad
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
- name: Use sqlite in akonadi
|
- name: Use sqlite in akonadi
|
||||||
blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /etc/xdg/akonadi/akonadiserverrc
|
path: /etc/xdg/akonadi/akonadiserverrc
|
||||||
create: true
|
create: true
|
||||||
block: |
|
block: |
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
## Akonadi complains if not set:
|
## Akonadi complains if not set:
|
||||||
- name: Add home dirs to apparmor
|
- name: Add home dirs to apparmor
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/apparmor.d/tunables/home.d/ubuntu
|
dest: /etc/apparmor.d/tunables/home.d/ubuntu
|
||||||
line: >-
|
line: >-
|
||||||
@{HOMEDIRS}+=/srv/samba/schools/default-school/teachers/
|
@{HOMEDIRS}+=/srv/samba/schools/default-school/teachers/
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
|
|
||||||
- name: tune SDDM login
|
- name: tune SDDM login
|
||||||
blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /etc/sddm.conf
|
path: /etc/sddm.conf
|
||||||
create: true
|
create: true
|
||||||
block: |
|
block: |
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
when: not (groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop)
|
when: not (groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop)
|
||||||
|
|
||||||
- name: Avoid suspending
|
- name: Avoid suspending
|
||||||
blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /etc/systemd/sleep.conf.d/nosuspend.conf
|
path: /etc/systemd/sleep.conf.d/nosuspend.conf
|
||||||
create: true
|
create: true
|
||||||
block: |
|
block: |
|
||||||
|
@ -119,21 +119,21 @@
|
||||||
when: not (groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop)
|
when: not (groups.teacherlaptop is defined and inventory_hostname in groups.teacherlaptop)
|
||||||
|
|
||||||
- name: Deploy dolphin script
|
- name: Deploy dolphin script
|
||||||
copy:
|
ansible.builtin.copy:
|
||||||
src: lmn-fix-dolphin.sh
|
src: lmn-fix-dolphin.sh
|
||||||
dest: /usr/local/bin/
|
dest: /usr/local/bin/
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
|
||||||
################# general settings ##################
|
################# general settings ##################
|
||||||
- name: Enable boot splash screen
|
- name: Enable boot splash screen
|
||||||
replace:
|
ansible.builtin.replace:
|
||||||
dest: "/etc/default/grub"
|
dest: "/etc/default/grub"
|
||||||
regexp: '"quiet"$'
|
regexp: '"quiet"$'
|
||||||
replace: '"quiet splash"'
|
replace: '"quiet splash"'
|
||||||
notify: Run update-grub
|
notify: Run update-grub
|
||||||
|
|
||||||
- name: Protect editing grub menu entries
|
- name: Protect editing grub menu entries
|
||||||
blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /etc/grub.d/40_custom
|
path: /etc/grub.d/40_custom
|
||||||
block: |
|
block: |
|
||||||
set superusers='root'
|
set superusers='root'
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
notify: Run update-grub
|
notify: Run update-grub
|
||||||
|
|
||||||
- name: Allow booting grub menu entries
|
- name: Allow booting grub menu entries
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/grub.d/10_linux
|
dest: /etc/grub.d/10_linux
|
||||||
line: CLASS="${CLASS} --unrestricted"
|
line: CLASS="${CLASS} --unrestricted"
|
||||||
insertafter: '^CLASS=.*'
|
insertafter: '^CLASS=.*'
|
||||||
|
@ -150,14 +150,14 @@
|
||||||
notify: Run update-grub
|
notify: Run update-grub
|
||||||
|
|
||||||
- name: Disable Grub submenus
|
- name: Disable Grub submenus
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/default/grub
|
dest: /etc/default/grub
|
||||||
line: 'GRUB_DISABLE_SUBMENU=true'
|
line: 'GRUB_DISABLE_SUBMENU=true'
|
||||||
insertafter: '^GRUB_TIMEOUT=.*'
|
insertafter: '^GRUB_TIMEOUT=.*'
|
||||||
notify: Run update-grub
|
notify: Run update-grub
|
||||||
|
|
||||||
- name: Grub timeout
|
- name: Grub timeout
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/default/grub
|
dest: /etc/default/grub
|
||||||
regexp: '^(GRUB_TIMEOUT=).*'
|
regexp: '^(GRUB_TIMEOUT=).*'
|
||||||
line: '\g<1>1'
|
line: '\g<1>1'
|
||||||
|
@ -165,8 +165,14 @@
|
||||||
notify: Run update-grub
|
notify: Run update-grub
|
||||||
|
|
||||||
- name: Keyboard compose key
|
- name: Keyboard compose key
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/default/keyboard
|
dest: /etc/default/keyboard
|
||||||
regexp: '^(XKBOPTIONS=).*'
|
regexp: '^(XKBOPTIONS=).*'
|
||||||
line: '\1"compose:caps"'
|
line: '\1"compose:caps"'
|
||||||
backrefs: yes
|
backrefs: yes
|
||||||
|
|
||||||
|
- name: Default KDE filepicker
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/environment.d/90lmn-filepicker.conf
|
||||||
|
create: true
|
||||||
|
line: GTK_USE_PORTAL=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue