Browse Source

Merge branch 'master' of git.devops.thengo.intranet:kita-pro/ansible-role-kita-pro-desktop

master
Markus Brechtel 5 years ago
parent
commit
afe628e637
9 changed files with 29 additions and 132 deletions
  1. +0
    -3
      defaults/main.yml
  2. +0
    -2
      files/gdmflexiserver-fake.sh
  3. +4
    -7
      tasks/clean.yaml
  4. +1
    -20
      tasks/desktop_apps.yaml
  5. +3
    -3
      tasks/main.yaml
  6. +0
    -11
      tasks/multimedia.yaml
  7. +21
    -0
      tasks/xfce-customization.yaml
  8. +0
    -51
      tasks/xfce.yaml
  9. +0
    -35
      templates/Xresources.xscreensaver.j2

+ 0
- 3
defaults/main.yml View File

@@ -34,6 +34,3 @@ kiosk_unlocked_users: root
xfwm4_use_compositing: true xfwm4_use_compositing: true


xfce_lock_panel: true xfce_lock_panel: true

xscreensaver_dpms: true
xscreensaver_timeout: 900

+ 0
- 2
files/gdmflexiserver-fake.sh View File

@@ -1,2 +0,0 @@
#!/bin/sh
/usr/bin/dm-tool switch-to-greeter

+ 4
- 7
tasks/clean.yaml View File

@@ -1,10 +1,7 @@
--- ---




- name: ensure old packages are absent
apt:
pkg:
- gwenview
- kipi-plugins
- kde-l10n-de
state: absent
# - name: ensure old packages are absent
# apt:
# pkg:
# state: absent

+ 1
- 20
tasks/desktop_apps.yaml View File

@@ -1,29 +1,10 @@
--- ---


- import_role: - import_role:
name: desktop_apps

- import_role:
name: libreoffice

- import_role:
name: firefox
name: desktop


- import_tasks: fotowall.yaml - import_tasks: fotowall.yaml
when: install_fotowall when: install_fotowall


- import_tasks: cewe_fotobuch.yaml - import_tasks: cewe_fotobuch.yaml
when: install_cewe_fotobuch when: install_cewe_fotobuch

- name: additional desktop apps
apt:
pkg:
- simple-scan
- gthumb
- krita
- krita-l10n
- gimp
- gimp-help-de
- audacity
- notify-osd
- catfish

+ 3
- 3
tasks/main.yaml View File

@@ -20,13 +20,13 @@


- import_tasks: clean.yaml - import_tasks: clean.yaml


- import_tasks: xfce.yaml
- import_tasks: screensaver.yaml
- import_role:
name: screensaver
- import_tasks: backgrounds.yaml - import_tasks: backgrounds.yaml
- import_tasks: fonts.yaml - import_tasks: fonts.yaml


- import_tasks: desktop_apps.yaml - import_tasks: desktop_apps.yaml
- import_tasks: multimedia.yaml
- import_tasks: xfce-customization.yaml


- import_tasks: media-access-bug.yaml - import_tasks: media-access-bug.yaml




+ 0
- 11
tasks/multimedia.yaml View File

@@ -1,11 +0,0 @@
---

- name: multimedia packages
apt:
pkg:
- vlc
- vlc-l10n
- libdvd-pkg
- libdvdread4
- openshot
- openshot-doc

+ 21
- 0
tasks/xfce-customization.yaml View File

@@ -0,0 +1,21 @@
---

- name: xdg config
copy:
src: xdg/
dest: /etc/xdg/

- name: xfce panel config
template:
src: xfce4-panel.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

- name: whiskermenu config
template:
src: whiskermenu-1.rc.j2
dest: /etc/xdg/xfce4/panel/whiskermenu-1.rc

- name: xfwm4 config
template:
src: xfwm4.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml

+ 0
- 51
tasks/xfce.yaml View File

@@ -1,51 +0,0 @@
---

- name: desktop packages
apt:
pkg:
- xfce4
- task-desktop
- task-xfce-desktop
- task-german
- task-german-desktop
- dmz-cursor-theme
- gnome-brave-icon-theme
- gnome-dust-icon-theme
- gnome-human-icon-theme
- gnome-icon-theme
- gnome-icon-theme-gartoon
- gnome-icon-theme-nuovo
- gnome-icon-theme-suede
- gnome-icon-theme-yasis
- gnome-extra-icons
- gnome-illustrious-icon-theme
- gnome-noble-icon-theme
- gnome-wine-icon-theme
- gnome-wise-icon-theme
- xfonts-terminus
- gvfs
- gvfs-backends
- gvfs-bin
- gvfs-fuse
- zip
- unzip

- name: xdg config
copy:
src: xdg/
dest: /etc/xdg/

- name: xfce panel config
template:
src: xfce4-panel.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

- name: whiskermenu config
template:
src: whiskermenu-1.rc.j2
dest: /etc/xdg/xfce4/panel/whiskermenu-1.rc

- name: xfwm4 config
template:
src: xfwm4.xml.j2
dest: /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml

+ 0
- 35
templates/Xresources.xscreensaver.j2 View File

@@ -1,35 +0,0 @@
xscreensaver.mode: blank

xscreensaver.timeout: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.lockTimeout: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.passwdTimeout: 0:00:30

{% if xscreensaver_dpms %}
xscreensaver.dpmsEnabled: True
xscreensaver.dpmsQuickoffEnabled: True
xscreensaver.dpmsStandby: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsSuspend: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsOff: {{ (xscreensaver_timeout / 60 / 60) | round(0,'floor') | int }}:{{ (xscreensaver_timeout / 60 % 60) | round(0,'floor') | int }}:{{ xscreensaver_timeout % 60 }}
{% else %}
xscreensaver.dpmsEnabled: False
xscreensaver.dpmsQuickoffEnabled: False
{% endif %}

xscreensaver.cycle: 0:15:00

xscreensaver.grabDesktopImages: False
xscreensaver.grabVideoFrames: False
xscreensaver.chooseRandomImages: True

xscreensaver.lock: True

xscreensaver.fade: True
xscreensaver.unfade: False
xscreensaver.fadeSeconds: 0:00:03

xscreensaver.splash: False

xscreensaver.passwd.heading.label: XScreenSaver
xscreensaver.passwd.body.label: Dieser Bildschirm ist gesperrt.
xscreensaver.passwd.unlock.label: OK
xscreensaver.passwd.login.label: Benutzer wechseln

Loading…
Cancel
Save