View Single Post
Posts: 44 | Thanked: 15 times | Joined on Jan 2009 @ China
#1
Hi,
I'm trying to execute the suggestions by more senior members in order to install/use multiple GVM installations* on my n810 and also to set up shortcuts to launch individual Palm apps. I'd also like to do a script to set the Hotsync ID (since it often gets lost after a Hotsync).

My question:
What script editor would people recommend? How should line breaks be set?

I have TextWrangler (donateware) on my Powerbook G4 and it has worked well with Supermemo files, but it gives 3 options for line breaks: CR (Mac), LF (Unix) and CRLF (Windows). I assume LF would be the correct choice for scripts in Maemo.

I've also read that some people use nano to edit--what's that? Another poster mentioned vim. My Application Manager says that I have vim installed, but I can't find an icon to launch it in the launch menu.

[If I understand the procedure:
1. I should create the script file and save it as a *.sh file where "*" is, of course, the name of your file.
2. copy the *.sh file to the /home/user folder
3. become root, i.e.: sudo gainroot [with Becomeroot, rootSH or OpenSSH installed]
4. change to the correct directory with: cd /home/user
5. execute a command to change the *.sh files to *.desktop files: chmod +x *.sh
6. copy the new *.desktop file to the "Extra's" directory: copy to /usr/share/applications/hildon
7. Use Control Panel-->Panels-->Organize to move the application to the panel of my choice

For one-line scripts, I've found options listed by bunanson here:

http://www.internettablettalk.com/fo...9&postcount=10

Both bunanson and Mara have posted directions for saving scripts as applications. Mara's are here:

http://www.internettablettalk.com/fo...0&postcount=12

For creating multiple GVM installations, I found burmashave's code here:

http://www.internettablettalk.com/fo...ad.php?t=15518

TA-t3's instructions for launching individual Palm apps (bypassing the GVM launcher) via shortcuts:

http://www.internettablettalk.com/fo...ad.php?t=12297

Thanks!]