~eeejay/+junk/mago-livecd

« back to all changes in this revision

Viewing changes to scripts/early_command.sh

  • Committer: Eitan Isaacson
  • Date: 2009-07-24 17:52:43 UTC
  • Revision ID: eitan@ascender.com-20090724175243-l82lub097rnejetx
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
sudo -u "$USERNAME" gconftool-2 -s -t bool /desktop/gnome/interface/accessibility true
 
2
 
 
3
sudo -u "$USERNAME" mkdir -p "/home/$USERNAME/.config/autostart"
 
4
 
 
5
echo "#!/usr/bin/env xdg-open
 
6
[Desktop Entry]
 
7
Type=Application
 
8
Terminal=false
 
9
Name=Mago
 
10
Exec=gnome-terminal -e \"/magoroot/autostart_tests.sh\"
 
11
Icon=system-run
 
12
Comment=Mago runner" > /tmp/mago.desktop
 
13
 
 
14
sudo -u "$USERNAME" cp /tmp/mago.desktop "/home/$USERNAME/.config/autostart"
 
15