summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-11-11 17:33:47 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:02 +0100
commitc3e20f8ca4cd37d2641007947e58c781fd501f11 (patch)
tree1b045cfeb6756ed2a323a4956adf92834202c926 /scripts
parent9c7aa9141ce947bf2ea2430e430d0571c28de954 (diff)
downloadlive-boot-c3e20f8ca4cd37d2641007947e58c781fd501f11.tar.gz
live-boot-c3e20f8ca4cd37d2641007947e58c781fd501f11.zip
Merging casper 1.140.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/30accessibility4
-rwxr-xr-xscripts/live-bottom/38disable_restricted_manager2
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility
index a169342..2a91157 100755
--- a/scripts/live-bottom/30accessibility
+++ b/scripts/live-bottom/30accessibility
@@ -70,7 +70,7 @@ case ${ACCESS} in
gct -s -t bool /desktop/gnome/applications/at/visual/startup true
gct -s -t bool /apps/gksu/disable-grab true
- if type orca > /dev/null 2>&1
+ if [ -x /root/usr/bin/orca ]
then
mkdir -p /root/home/${USERNAME}/.orca
echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py
@@ -97,7 +97,7 @@ case ${ACCESS} in
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
- if type orca > /dev/null 2>&1
+ if [ -x /root/usr/bin/orca ]
then
mkdir -p /root/home/${USERNAME}/.orca
echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py
diff --git a/scripts/live-bottom/38disable_restricted_manager b/scripts/live-bottom/38disable_restricted_manager
index d585d3c..c2096ed 100755
--- a/scripts/live-bottom/38disable_restricted_manager
+++ b/scripts/live-bottom/38disable_restricted_manager
@@ -27,6 +27,8 @@ log_begin_msg "Disabling restricted-manager"
rm -f /root/etc/xdg/autostart/restricted-manager.desktop
rm -f /root/etc/xdg/autostart/restricted-manager-kde.desktop
+rm -f /root/etc/xdg/autostart/jockey*.desktop
+
# Since we disable restricted-manager, there isn't much point generating the
# fglrx or nvidia modules either. The other restricted modules may still be
# useful.