Update after finals 2023
This commit is contained in:
parent
295a111cec
commit
9e9cfaabea
12 changed files with 78 additions and 28 deletions
|
|
@ -16,6 +16,7 @@ $ROOTCMD systemctl disable bluetooth.service
|
|||
$ROOTCMD systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||
|
||||
sed -i 's|"homepage": ".*"|"homepage": "https://finals.soi.ch/"|' $target/etc/chromium/master_preferences
|
||||
sed -i 's|"homepage_is_newtabpage": true,|"homepage_is_newtabpage": false,|' $target/etc/chromium/master_preferences
|
||||
|
||||
# Disable panels in gnome-control-center
|
||||
DISABLE_DESKTOP="$ROOTCMD dpkg-statoverride --force-statoverride-add --update --add root root 640"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,20 @@ if ! grep -q '_T("soi")' $target/usr/share/codeblocks/templates/wizard/config.sc
|
|||
sed -i 's|// project wizards|RegisterWizard(wizProject, _T("soi"), _T("A SOI task"), _T("Console"));|' $target/usr/share/codeblocks/templates/wizard/config.script
|
||||
fi
|
||||
|
||||
# Add a default keyring to avoid a prompt to create one when launching Chromium
|
||||
mkdir -p $target/etc/skel/.local/share/keyrings/
|
||||
chmod og= $target/etc/skel/.local/share/keyrings/
|
||||
echo -n "Default_keyring" > $target/etc/skel/.local/share/keyrings/default
|
||||
cat > $target/etc/skel/.local/share/keyrings/Default_keyring.keyring << EOF
|
||||
[keyring]
|
||||
display-name=Default keyring
|
||||
ctime=0
|
||||
mtime=0
|
||||
lock-on-idle=false
|
||||
lock-after=false
|
||||
EOF
|
||||
chmod og= $target/etc/skel/.local/share/keyrings/Default_keyring.keyring
|
||||
|
||||
# add super user account
|
||||
if [ -n "$SUPER_USER_NAME" ]; then
|
||||
if ! $ROOTCMD getent passwd $SUPER_USER_NAME ; then
|
||||
|
|
|
|||
Reference in a new issue