Terminate le customizzazioni alla GUI. Aggiunte ricompilazione schemi glib2.
This commit is contained in:
parent
ba0776bec2
commit
b84c4c8371
@ -0,0 +1,2 @@
|
|||||||
|
[com.canonical.indicator.session]
|
||||||
|
user-show-menu=false
|
@ -0,0 +1,2 @@
|
|||||||
|
[org.gnome.nautilus.desktop]
|
||||||
|
volumes-visible=true
|
20
roles/common/tasks/glib2.yml
Normal file
20
roles/common/tasks/glib2.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Disabilito la visualizzazione utenti in GNOME
|
||||||
|
copy:
|
||||||
|
src: com.canonical.indicator.session.gschema.override
|
||||||
|
dest: /usr/share/glib-2.0/schemas/com.canonical.indicator.session.gschema.override
|
||||||
|
backup: yes
|
||||||
|
register: cfg_glib_users
|
||||||
|
|
||||||
|
- name: Attivo visibilità dei dischi montati sul desktop
|
||||||
|
copy:
|
||||||
|
src: org.gnome.nautilus.desktop.gschema.override
|
||||||
|
dest: /usr/share/glib-2.0/schemas/org.gnome.nautilus.desktop.gschema.override
|
||||||
|
backup: yes
|
||||||
|
register: cfg_glib_mounted
|
||||||
|
|
||||||
|
- name: Ricompilo gli schemi glib2
|
||||||
|
shell: glib-compile-schemas --strict /usr/share/glib-2.0/schemas/
|
||||||
|
sudo: yes
|
||||||
|
when: cfg_glib_users|changed or cfg_glib_mounted|changed
|
@ -9,11 +9,18 @@
|
|||||||
- ^auto eth0
|
- ^auto eth0
|
||||||
- ^iface eth0
|
- ^iface eth0
|
||||||
|
|
||||||
- name: Riavvio servizio NetworkManager
|
|
||||||
service: name=network-manager state=restarted
|
|
||||||
|
|
||||||
- name: Cambio greeter di default
|
- name: Cambio greeter di default
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
|
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
|
||||||
regexp: "^user-session=ubuntu$"
|
regexp: "^user-session=ubuntu$"
|
||||||
line: "user-session=gnome-fallback"
|
line: "user-session=gnome-fallback"
|
||||||
|
|
||||||
|
- name: Altre impostazioni lightdm
|
||||||
|
lineinfile:
|
||||||
|
dest: /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
|
||||||
|
regexp: "{{ item }}"
|
||||||
|
line: "{{ item }}"
|
||||||
|
with_items:
|
||||||
|
- "allow-guest=false"
|
||||||
|
- "greeter-hide-users=true"
|
||||||
|
- "greeter-show-manual-login=true"
|
||||||
|
@ -6,3 +6,8 @@
|
|||||||
tags:
|
tags:
|
||||||
- common
|
- common
|
||||||
- gui-customizations
|
- gui-customizations
|
||||||
|
|
||||||
|
- include: glib2.yml
|
||||||
|
tags:
|
||||||
|
- common
|
||||||
|
- glib2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user