aboutsummaryrefslogtreecommitdiff
path: root/config.sh
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-12-15 07:27:16 -0500
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-12-15 07:27:16 -0500
commite51c49dfdfab18b75e1013a4e27e0ae1d4de897d (patch)
tree197f18086f603ba2115ac5357842caf4d2aaab94 /config.sh
parent9bd988f52195deec41c44c73f1de41687b3d7bb3 (diff)
downloadkiwi-descriptions-e51c49dfdfab18b75e1013a4e27e0ae1d4de897d.tar.gz
kiwi-descriptions-e51c49dfdfab18b75e1013a4e27e0ae1d4de897d.zip
Add initial definitions for the Robotics lab
These are ported over from fedora-kickstarts with some small cleanups.
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh37
1 files changed, 37 insertions, 0 deletions
diff --git a/config.sh b/config.sh
index 839702c..81cd2a3 100755
--- a/config.sh
+++ b/config.sh
@@ -327,6 +327,43 @@ FOE
EOF
fi
+if [[ "$kiwi_profiles" == *"Robotics"* ]]; then
+
+# Extend the post-configuration from the live-desktop, set default shortcuts to IDEs
+cat >> /var/lib/livesys/livesys-session-extra << EOF
+# disable screensaver locking
+cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.override << FOE
+[org.gnome.desktop.screensaver]
+lock-enabled=false
+FOE
+
+# and hide the lock screen option
+cat >> /usr/share/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.override << FOE
+[org.gnome.desktop.lockdown]
+disable-lock-screen=true
+FOE
+
+# make the installer show up
+if [ -f /usr/share/applications/liveinst.desktop ]; then
+ # Show harddisk install in shell dash
+ sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop ""
+ # need to move it to anaconda.desktop to make shell happy
+ mv /usr/share/applications/liveinst.desktop /usr/share/applications/anaconda.desktop
+
+ cat >> /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override << FOE
+[org.gnome.shell]
+favorite-apps=['org.mozilla.firefox.desktop', 'org.qt-project.qtcreator.desktop', 'arduino.desktop', 'gnome-terminal.desktop','nautilus.desktop', 'anaconda.desktop']
+FOE
+
+fi
+
+# rebuild schema cache with any overrides we installed
+glib-compile-schemas /usr/share/glib-2.0/schemas
+
+EOF
+
+fi
+
if [[ "$kiwi_profiles" == *"Design_suite"* ]]; then
# Add link to lists of tutorials
cat >> /usr/share/applications/list-design-tutorials.desktop << FOE