View Single Post
juandp77's Avatar
Posts: 203 | Thanked: 201 times | Joined on Jun 2010 @ Ecuador
#248
I think I know how to fix it, ok do this

Code:
sudo nano /usr/bin/ubuntu
erase all and copy this

Code:
if [ "x$UBUNTUIMG" = "x" ] ; then
  UBUNTUIMG="`ls -1 /media/mmc1/ubuntu*.img* | head -1`"
fi

if [ "x$UBUNTUCHROOT" = "x" ] ; then
  UBUNTUCHROOT="/.ubuntu"
fi

if [ ! -d "$UBUNTUCHROOT" ] ; then
  sudo mkdir $UBUNTUCHROOT
fi

sudo qchroot $UBUNTUIMG $UBUNTUCHROOT "$@"
give it permission for execution

Code:
sudo chmod +x /usr/bin/ubuntu
now try again with the desktop entry I provided to you
 

The Following User Says Thank You to juandp77 For This Useful Post: