Confirmed users
1,031
edits
m (briefing stating what a target is) |
No edit summary |
||
| Line 161: | Line 161: | ||
[http://people.mozilla.org/~blassey/MaemoVM.7z MaemoVM.7z] | [http://people.mozilla.org/~blassey/MaemoVM.7z MaemoVM.7z] | ||
==Debugging UI Hints== | |||
If you are going to be hacking on the front end, here are some hints for you. First you want to set up keys on your device so that you do not have to type a password when ssh'ing into the device: | |||
1. on the device, cd ~ | |||
2. mkdir .ssh | |||
3. copy your public key to ~/.ssh/authorized_keys | |||
Now you should be able to ssh from your main machine into your device. | |||
<pre> | |||
ssh root@<device's ip> | |||
BusyBox v1.6.1 (2007-09-27 18:08:59 EEST) Built-in shell (ash) | |||
Enter 'help' for a list of built-in commands. | |||
Nokia-N810-51-3:~# | |||
</pre> | |||
Now, in your build tree, after you make a change, you can type this command and it will build your tree, copy over the bits, then execute fennec: | |||
<pre> | |||
make ; scp dist/bin/chrome/browser.jar root@<device's ip>:/root/fennec/chrome ; ssh -f root@<device's ip> DISPLAY=:0 /root/fennec/fennec | |||
</pre> | |||