em
/
gjk-ansible-fedora
Archived
1
0
Fork 0

Custom GNOME configuration

master
Emil Miler 2 years ago
parent 2ef76205d0
commit 9a7b9c31f9

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

@ -0,0 +1,2 @@
[org/gnome/shell]
favorite-apps = ['firefox.desktop', 'gnome-terminal.desktop', 'nautilus.desktop']

@ -0,0 +1,5 @@
[org/gnome/desktop/background]
picture-uri='file:///usr/local/share/wallpaper.jpg'
picture-options='zoom'
primary-color='000000'
secondary-color='FFFFFF'

@ -0,0 +1,35 @@
- name: GJK GNOME configuration
hosts: all
user: administrator
become: true
tasks:
- name: Pin applications to dash
copy:
src: 'gdm/dash'
dest: '/etc/dconf/db/local.d/dash'
- name: Set wallpaper
copy: src={{ item.src }} dest={{ item.dest }}
with_items:
- { src: 'gdm/wallpaper', dest: '/etc/dconf/db/local.d/wallpaper' }
- { src: 'files/wallpaper.jpg', dest: '/usr/local/share/wallpaper.jpg' }
- name: GDM usernames profile
copy:
src: 'gdm/profile'
dest: '/etc/dconf/profile/gdm'
- name: GDM login screen configuration - don't show all users
copy:
src: 'gdm/login-screen'
dest: '/etc/dconf/db/gdm.d/login-screen'
- name: GDM login screen configuration - disable accessibility
# Not working, perhaps broken GDM
copy:
src: 'gdm/accessibility'
dest: '/etc/dconf/db/gdm.d/accessibility'
- name: Update dconf database
command: "dconf update"

@ -47,20 +47,6 @@
command: "flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo"
- name: Enable flathub repo
command: "flatpak remote-modify --enable flathub"
- name: GDM usernames profile
copy:
src: 'gdm/profile'
dest: '/etc/dconf/profile/gdm'
- name: GDM login screen configuration - don't show all users
copy:
src: 'gdm/00-login-screen'
dest: '/etc/dconf/db/gdm.d/00-login-screen'
- name: GDM login screen configuration - disable accessibility #nefunguje, asi rozbitý GDM
copy:
src: 'gdm/07-accessibility'
dest: '/etc/dconf/db/gdm.d/07-accessibility'
- name: Update dconf database
command: "dconf update"
- name: Create Administrator user
user:
name: administrator