From 5b2270d78f9f6ab05bb1bc0dec168ed8368b745f Mon Sep 17 00:00:00 2001 From: IPKM Admin Date: Sun, 11 Feb 2024 17:53:59 +0100 Subject: [PATCH] change default dock for all users --- dconf/db/ipkm.d/00-ipkm-settings | 3 +++ dconf/profile/user | 4 ++++ liebchen.yml | 12 +++++++++++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 dconf/db/ipkm.d/00-ipkm-settings create mode 100644 dconf/profile/user diff --git a/dconf/db/ipkm.d/00-ipkm-settings b/dconf/db/ipkm.d/00-ipkm-settings new file mode 100644 index 0000000..2895d96 --- /dev/null +++ b/dconf/db/ipkm.d/00-ipkm-settings @@ -0,0 +1,3 @@ +# Define default favorite apps +[org/gnome/shell] +favorite-apps = ['firefox_firefox.desktop', 'thunderbird.desktop', 'nautilus.desktop', 'gnome-terminal.desktop', 'matlab.desktop', 'texstudio.desktop'] diff --git a/dconf/profile/user b/dconf/profile/user new file mode 100644 index 0000000..6faae31 --- /dev/null +++ b/dconf/profile/user @@ -0,0 +1,4 @@ +#This line allows the user to change the default favorites later. +user-db:user +#This line defines a system database named ipkm +system-db:ipkm diff --git a/liebchen.yml b/liebchen.yml index 71bcc2b..98466df 100644 --- a/liebchen.yml +++ b/liebchen.yml @@ -150,4 +150,14 @@ Comment[zh_CN] = 科学计算环境 StartupNotify=true StartupWMClass=com-mathworks-util-PostVMInit - + - name: Copy default dock configuration (1) + copy: + src: dconf/db/ipkm.d/00-ipkm-settings + dest: /etc/dconf/db/ipkm.d/00-ipkm-settings + - name: Copy default dock configuration (2) + copy: + src: dconf/profile/user + dest: /etc/dconf/profile/user + - name: Update default dock confuguration + command: dconf update +