diff --git a/roles/development/tasks/gui.yml b/roles/development/tasks/gui.yml index f2a8ac8..2e91f75 100644 --- a/roles/development/tasks/gui.yml +++ b/roles/development/tasks/gui.yml @@ -5,6 +5,31 @@ # more information, please refer to the accompanying "UNLICENCE" file. --- +# "psutil" is required by the "community.general.dconf" Ansible module. +- name: 'Ensure the "psutil" Python package is installed for system Python' + ansible.builtin.apt: + force_apt_get: true + name: + - 'python3-psutil' + state: 'present' + +- name: 'Ensure custom Gnome settings have been applied' + community.general.dconf: + state: 'present' + key: '{{ item.key }}' + value: '{{ item.value }}' + become: true + become_user: '{{ development__user_username }}' + loop: + - key: '/org/gnome/desktop/interface/enable-animations' + value: 'false' + - key: '/org/gnome/mutter/center-new-windows' + value: 'true' + - key: '/org/gnome/shell/extensions/desktop-icons/show-home' + value: 'false' + - key: '/org/gnome/shell/extensions/desktop-icons/show-trash' + value: 'false' + # I use "xsel" for general clipboard wrangling (mainly out of habit), # but reach for "xclip" when dealing with slightly more elaborate data # formats (e.g. copying HTML from Firefox).