gnome3-run.sh: Adds background setting in .xinitrc file
This commit is contained in:
parent
02f2f98747
commit
2223a73070
|
@ -25,6 +25,7 @@ setup_usergroups() {
|
|||
|
||||
rm -rf "${ROOTFS}"/etc/skel
|
||||
cp -a thuser "${ROOTFS}"/etc/skel
|
||||
sed -i '2 i\gsettings set org.gnome.desktop.background picture-uri file:\/\/\/usr\/share\/backgrounds\/background.jpg' "${ROOTFS}"/etc/skel/.xinitrc
|
||||
mkdir -p "${ROOTFS}"/etc/skel/{Desktop,Documents,Downloads,Music,Pictures,Public,Templates,Videos,.ssh,.cache/dconf,.config/dconf}
|
||||
chmod 700 "${ROOTFS}"/etc/skel/.ssh
|
||||
wget -O "${ROOTFS}"/etc/skel/.config/dconf/user "${DCONF_LOCAL}"
|
||||
|
@ -32,6 +33,7 @@ setup_usergroups() {
|
|||
|
||||
rm -rf "${ROOTFS}"/home/thuser
|
||||
cp -a thuser "${ROOTFS}"/home/thuser
|
||||
sed -i '2 i\gsettings set org.gnome.desktop.background picture-uri file:\/\/\/usr\/share\/backgrounds\/background.jpg' "${ROOTFS}"/home/thuser/.xinitrc
|
||||
cp -a files/{Encrypt,Save,Utilities} "${ROOTFS}"/home/thuser
|
||||
rm -rf "${ROOTFS}"/home/thuser/Utilities/post_xfce4_install.sh
|
||||
mkdir -p "${ROOTFS}"/home/thuser/{Desktop,Documents,Downloads,Music,Pictures,Public,Templates,Videos,.ssh,.cache/dconf,.config/dconf}
|
||||
|
|
Loading…
Reference in a new issue