Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have tried to connect my Asus transformer 300T tablet (android 4.1 ) to Ubuntu 12.04 by following the steps in this tutorial.

However something went wrong in this step (I am not sure which exactly ):

You’re almost done! Now, restart your computer, and then run these three commands :

echo “alias android-connect=\”mtpfs -o allow_other /media/GalaxyNexus\”" >> ~/.bashrc
echo “alias android-disconnect=\”fusermount -u /media/GalaxyNexus\”" >> ~/.bashrc

source ~/.bashrc

and now my terminal is repeatedly showing non-stop (seems like an infinite loop)

alias: command not found
alias android-disconnect=”fusermount -u /media/TransformerT300T”

This happens even after I restarted my computer. Can anyone diagnose what is going wrong?

Here is a screenshoot:

enter image description here

share|improve this question
    
Here are some alternative instructions, if you are willing to give them a try: askubuntu.com/questions/216246/… –  earthmeLon Nov 13 '12 at 1:33

1 Answer 1

up vote 2 down vote accepted

Open .bashrc file and edit those two lines you added. Remove the double quotes and add single quotes

alias android-connect='mtpfs -o allow_other /media/GalaxyNexus'
alias android-disconnect='fusermount -u /media/GalaxyNexus'

After editing try to source the .bashrc file.

share|improve this answer
    
thank you very much ~! this works right away without even have to source the .bashrc . –  cyc115 Nov 13 '12 at 13:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.