change default dock for all users

This commit is contained in:
IPKM Admin 2024-02-11 17:53:59 +01:00
parent a49bbf8082
commit 5b2270d78f
3 changed files with 18 additions and 1 deletions

View File

@ -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']

4
dconf/profile/user Normal file
View File

@ -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

View File

@ -150,4 +150,14 @@
Comment[zh_CN] = 科学计算环境 Comment[zh_CN] = 科学计算环境
StartupNotify=true StartupNotify=true
StartupWMClass=com-mathworks-util-PostVMInit 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