From e51c49dfdfab18b75e1013a4e27e0ae1d4de897d Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Mon, 15 Dec 2025 07:27:16 -0500 Subject: Add initial definitions for the Robotics lab These are ported over from fedora-kickstarts with some small cleanups. --- Fedora.kiwi | 1 + config.sh | 37 ++++++++++++++++++++++++ teams/robotics.xml | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) create mode 100644 teams/robotics.xml diff --git a/Fedora.kiwi b/Fedora.kiwi index 3090899..14ae803 100644 --- a/Fedora.kiwi +++ b/Fedora.kiwi @@ -62,6 +62,7 @@ + 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 diff --git a/teams/robotics.xml b/teams/robotics.xml new file mode 100644 index 0000000..5c84c79 --- /dev/null +++ b/teams/robotics.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.3.1+13