summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/10adduser2
-rwxr-xr-xscripts/live-bottom/24preseed4
-rwxr-xr-xscripts/live-bottom/30accessibility6
-rwxr-xr-xscripts/live-bottom/38disable_restricted_manager4
4 files changed, 10 insertions, 6 deletions
diff --git a/scripts/live-bottom/10adduser b/scripts/live-bottom/10adduser
index 2065e7a..0f28def 100755
--- a/scripts/live-bottom/10adduser
+++ b/scripts/live-bottom/10adduser
@@ -109,7 +109,7 @@ if [ -L /root/home/$USERNAME/Examples ]; then
fi
if [ -f "/root/usr/share/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop.tobemoved" ]; then
- chroot /root install -D -o $USERNAME -g $USERNAME /root/usr/share/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop.tobemoved /home/$USERNAME/Desktop/about-kubuntu.desktop
+ chroot /root install -D -o $USERNAME -g $USERNAME /usr/share/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop.tobemoved /home/$USERNAME/Desktop/about-kubuntu.desktop
fi
log_end_msg
diff --git a/scripts/live-bottom/24preseed b/scripts/live-bottom/24preseed
index 1e80a17..55fbfc3 100755
--- a/scripts/live-bottom/24preseed
+++ b/scripts/live-bottom/24preseed
@@ -26,6 +26,10 @@ log_begin_msg "Loading preseed file..."
# live-initramfs script
+if [ -e /preseed.cfg ]; then
+ chroot /root debconf-set-selections < /preseed.cfg
+fi
+
if [ -f "/root/${LOCATION}" ]; then
chroot /root debconf-set-selections < "/root/${LOCATION}"
fi
diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility
index 8701e87..ac8d12e 100755
--- a/scripts/live-bottom/30accessibility
+++ b/scripts/live-bottom/30accessibility
@@ -64,7 +64,7 @@ case ${ACCESS} in
# Moderate Visual Impairment
access=v2)
gct -s -t bool /desktop/gnome/interface/accessibility true
- gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [orca]
+ gct -s -t bool /desktop/gnome/applications/at/visual/startup true
if [ -e /root/usr/share/pycentral/gnome-orca/site-packages/orca/settings.py ]; then
sed -i '/^enableSpeech\W/ s/True/False/;/^enableMagnifier/ s/False/True/' /root/usr/share/pycentral/gnome-orca/site-packages/orca/settings.py
fi
@@ -76,13 +76,13 @@ case ${ACCESS} in
# Disabled for now, until we know eSpeak works.
#gct -s -t bool /desktop/gnome/sound/enable_esd false
gct -s -t bool /desktop/gnome/interface/accessibility true
- gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [orca]
+ gct -s -t bool /desktop/gnome/applications/at/visual/startup true
gct -s -t bool /apps/gksu/disable-grab true
;;
# Braille
braille=ask)
gct -s -t bool /desktop/gnome/interface/accessibility true
- gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [orca]
+ gct -s -t bool /desktop/gnome/applications/at/visual/startup true
if [ -e /root/usr/share/pycentral/gnome-orca/site-packages/orca/settings.py ]; then
sed -i '/^enableSpeech\W/ s/True/False/;/^enableBraille/ s/False/True/' /root/usr/share/pycentral/gnome-orca/site-packages/orca/settings.py
fi
diff --git a/scripts/live-bottom/38disable_restricted_manager b/scripts/live-bottom/38disable_restricted_manager
index d7c75c0..2f2db35 100755
--- a/scripts/live-bottom/38disable_restricted_manager
+++ b/scripts/live-bottom/38disable_restricted_manager
@@ -20,8 +20,8 @@ esac
log_begin_msg "$DESCRIPTION"
-rm -f /root/usr/share/autostart/restricted-manager.desktop
+rm -f /root/etc/xdg/autostart/restricted-manager.desktop
-rm -f /root/usr/share/autostart/restricted-manager-kde.desktop
+rm -f /root/etc/xdg/autostart/restricted-manager-kde.desktop
log_end_msg