summaryrefslogtreecommitdiffstats
path: root/desktop-kde-plasma
diff options
context:
space:
mode:
authorJonathan Bauer2021-05-19 10:29:26 +0200
committerJonathan Bauer2021-05-19 10:29:26 +0200
commit744dda86b9027431bf50e6e80caaf5d478359a6f (patch)
tree6faf98be6054a0095e284a92b8c2a872ee30b93b /desktop-kde-plasma
parent[desktop-i3] i3 installation (diff)
downloadansible-bwlp-744dda86b9027431bf50e6e80caaf5d478359a6f.tar.gz
ansible-bwlp-744dda86b9027431bf50e6e80caaf5d478359a6f.tar.xz
ansible-bwlp-744dda86b9027431bf50e6e80caaf5d478359a6f.zip
[desktop-kde-plasma] kde-plasma with bwlp mods
Diffstat (limited to 'desktop-kde-plasma')
-rw-r--r--desktop-kde-plasma/files/etc/xdg/baloofilerc2
-rw-r--r--desktop-kde-plasma/files/etc/xdg/kded5rc53
-rw-r--r--desktop-kde-plasma/files/etc/xdg/ksmserverrc7
-rwxr-xr-xdesktop-kde-plasma/files/usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet5
-rw-r--r--desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/contents/images/1920x1080.pngbin0 -> 244216 bytes
-rw-r--r--desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/metadata.desktop7
-rw-r--r--desktop-kde-plasma/tasks/main.yml40
7 files changed, 114 insertions, 0 deletions
diff --git a/desktop-kde-plasma/files/etc/xdg/baloofilerc b/desktop-kde-plasma/files/etc/xdg/baloofilerc
new file mode 100644
index 0000000..1735f7a
--- /dev/null
+++ b/desktop-kde-plasma/files/etc/xdg/baloofilerc
@@ -0,0 +1,2 @@
+[Basic Settings]
+Indexing-Enabled=false
diff --git a/desktop-kde-plasma/files/etc/xdg/kded5rc b/desktop-kde-plasma/files/etc/xdg/kded5rc
new file mode 100644
index 0000000..fbf4be2
--- /dev/null
+++ b/desktop-kde-plasma/files/etc/xdg/kded5rc
@@ -0,0 +1,53 @@
+[Module-appmenu]
+autoload=true
+
+[Module-baloosearchmodule]
+autoload=false
+
+[Module-bluedevil]
+autoload=false
+
+[Module-colorcorrectlocationupdater]
+autoload=false
+
+[Module-device_automounter]
+autoload=true
+
+[Module-freespacenotifier]
+autoload=false
+
+[Module-keyboard]
+autoload=true
+
+[Module-khotkeys]
+autoload=true
+
+[Module-kscreen]
+autoload=false
+
+[Module-ksysguard]
+autoload=true
+
+[Module-ktimezoned]
+autoload=true
+
+[Module-kwrited]
+autoload=true
+
+[Module-networkstatus]
+autoload=true
+
+[Module-proxyscout]
+autoload=false
+
+[Module-remotenotifier]
+autoload=false
+
+[Module-solidautoeject]
+autoload=true
+
+[Module-statusnotifierwatcher]
+autoload=true
+
+[Module-touchpad]
+autoload=true
diff --git a/desktop-kde-plasma/files/etc/xdg/ksmserverrc b/desktop-kde-plasma/files/etc/xdg/ksmserverrc
new file mode 100644
index 0000000..f213401
--- /dev/null
+++ b/desktop-kde-plasma/files/etc/xdg/ksmserverrc
@@ -0,0 +1,7 @@
+[General]
+confirmLogout=false
+excludeApps=
+loginMode=restorePreviousLogout
+offerShutdown=false
+screenCount=1
+shutdownType=0
diff --git a/desktop-kde-plasma/files/usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet b/desktop-kde-plasma/files/usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet
new file mode 100755
index 0000000..04f388d
--- /dev/null
+++ b/desktop-kde-plasma/files/usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+xscreensaver-command -lock &
+sleep 1
+loginctl unlock-session "$XDG_SESSION_ID"
diff --git a/desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/contents/images/1920x1080.png b/desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/contents/images/1920x1080.png
new file mode 100644
index 0000000..bcad928
--- /dev/null
+++ b/desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/contents/images/1920x1080.png
Binary files differ
diff --git a/desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/metadata.desktop b/desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/metadata.desktop
new file mode 100644
index 0000000..5160b7a
--- /dev/null
+++ b/desktop-kde-plasma/files/usr/share/wallpapers/bwLehrpool/metadata.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=bwLehrpool
+
+X-KDE-PluginInfo-Name=bwLehrpool
+X-KDE-PluginInfo-Author=bwLehrpool
+X-KDE-PluginInfo-Email=bwlehrpool@hs-offenburg.de
+X-KDE-PluginInfo-License=GPLv2
diff --git a/desktop-kde-plasma/tasks/main.yml b/desktop-kde-plasma/tasks/main.yml
new file mode 100644
index 0000000..8ebaa21
--- /dev/null
+++ b/desktop-kde-plasma/tasks/main.yml
@@ -0,0 +1,40 @@
+---
+- name: Install KDE plasma desktop environment
+ apt:
+ name: kde-plasma-desktop
+ state: present
+
+- name: Remove problematic files (dbus notification and screensaver)
+ file:
+ path: "{{ item }}"
+ state: absent
+ with_items:
+ - /usr/lib/x86_64-linux-gnu/libexec/kscreenlocker_greet
+ - /usr/share/dbus-1/services/org.kde.plasma.Notifications.service
+
+- name: Copy static files
+ copy:
+ src: files/
+ dest: /
+ become: yes
+
+- name: Set default theme to bwLehrpool
+ ini_file:
+ path: /usr/share/plasma/desktoptheme/default/metadata.desktop
+ section: Wallpaper
+ option: defaultWallpaperTheme
+ value: bwLehrpool
+ no_extra_spaces: yes
+
+- name: Change FillMode for wallpapers
+ community.general.xml:
+ path: /usr/share/plasma/wallpapers/org.kde.image/contents/config/main.xml
+ xpath: '/x:kcfg/x:group[@name="General"]/x:entry[@name="FillMode"]/x:default'
+ namespaces:
+ x: http://www.kde.org/standards/kcfg/1.0
+ value: "2"
+
+- name: Remove update notifier package
+ apt:
+ name: plasma-discover
+ state: absent