02/22/2010, 10:33 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: London, UK
Posts: 1,609
Likes Received: 3
Thanks: 383
Thanked 891 Times in 345 Posts
|
How to edit the Auto-Correct Dictionary.
*Note: Where the directory is /en_us/ you should choose your local region. For example, I live in Great Britain so I would choose the folder /en_gb/ 1) Install Internalz from Preware 2) Hit Menu -> Preferences and turn Master Mode to ON 3) Navigate to /etc/palm/autoreplace/en_us/ (or choose your region*) 4) Open the file text-edit-autoreplace 5) Add/Edit/Remove entries as you'd like - use the format dan|daniel or bb|bye 6) Restart Luna (or reset your device) I highly recommend backing up text-edit-autoreplace before editing ![]() Also, it's likely that when you update your firmware this file will be overwritten, so keep a copy of your edited version that you can apply again after you've updated. Enjoy
Last edited by errade; 08/14/2010 at 04:00 PM. |
02/22/2010, 10:36 AM
|
#2 (permalink) |
|
Member
![]() Join Date: Sep 2009
Location: London, UK
Posts: 1,609
Likes Received: 3
Thanks: 383
Thanked 891 Times in 345 Posts
|
As knobbysideup points out, if you're able to use vi and you have rooted your Pre, you can just edit the relevant files in-line from a terminal. Remember to remount the partition as read-write first.
|
02/22/2010, 06:17 PM
|
#4 (permalink) |
|
Member
![]() Join Date: Feb 2005
Location: Lexington, KY
Posts: 175
Likes Received: 2
Thanks: 31
Thanked 25 Times in 20 Posts
|
First, let me say thank you for writing up this tutorial. It should be very helpful to those that are looking for a free option. I would like to make some corrections, however. First of all, IMO, the instructions as you've written them are suitable for people with almost any level of skill, not just advanced users. If you've been able to install WebOS Quick Install on your computer, you can follow these instructions. This is the easiest method of editing your autocorrect entries and I don't want anyone to be turned away by thinking it's for advanced users only. In fact, these instructions do not require you to have any knowledge of Linux at all.
Second, I'm not sure that I would describe this as a patch at all. In the very loosest definition of the term, in that you are making changes to a system file, I suppose it could be considered a patch, but since it's a set of instructions on how to edit a file and not something that is installed, I can't see calling it a patch. This is not something that could ever be submitted to Preware to be included in their patch list. That may be nitpicky, but it leads me to my last point... I don't believe you need to reverse this before an update. The reason that patches used to need to be removed is because when an update happens, many system files, but not all, are overwritten with new files, and the way that certain things used to be done can be changed by a new update. Considering that text-edit-autoreplace has been the file that's been used for autocorrections since day one, it's unlikely for that to change in the near future. Also, the file is just a list of words that are used by the autoreplace code, and not actually code in itself, so making changes to the file isn't the same as making changes to code. It is possible that the new update might overwrite text-edit-autoreplace, and you could lose any additions/changes that you may have made, but there's no way that not reversing your changes will cause an issue with an update. As long as you keep a current copy of the file on your computer with all the changes that you've made to it, you can simply re-copy the file back to your Pre if the update wiped out your changes. Does that make sense? Let me just also add that Notepad does work fine, but you need to make sure that if it saves as a .txt file, that you remove the .txt extension before you send it to your Pre. If you have your folder settings set to not display file extensions for known file types, you'll need to change that setting in order to be able to remove the .txt.
__________________
|
02/22/2010, 06:27 PM
|
#5 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2007
Location: Northport, NY
Posts: 610
Likes Received: 4
Thanks: 448
Thanked 133 Times in 89 Posts
|
Wouldn't it be possible to make this a patch? At least for each individual user? If there was a bunch of terms someone wanted to change ( like you suggested, bbl, ttys, etc ) they could use Jason's Diff Creator to make it a patch, install it to their own device, & when an update comes, just remove the patch instead of having to get to the computer to restore the original file ( if necessary as Shadowcat said ).
I might give this a try just to see if it works. EDIT: & yep, i really did not think before i posted this... Of course it can be made into a patch, there's those few in the Repo... Sorry about that. Last edited by Veritas06; 02/22/2010 at 07:14 PM. |
02/23/2010, 12:59 AM
|
#6 (permalink) | |
|
Member
![]() Join Date: Sep 2009
Location: London, UK
Posts: 1,609
Likes Received: 3
Thanks: 383
Thanked 891 Times in 345 Posts
|
Quote:
I will update the original post to include some of your suggestions, SqyArc |
|
02/23/2010, 02:10 AM
|
#7 (permalink) | |
|
Member
![]() Join Date: Feb 2005
Location: Lexington, KY
Posts: 175
Likes Received: 2
Thanks: 31
Thanked 25 Times in 20 Posts
|
Quote:
If someone did want to try to make a blank template kind of patch, keep in mind that while the other patches seem to make a point of keeping the text-edit-autoreplace entries in alphabetical order, that's not actually necessary. AutoCorrect Edit always adds new entries to the bottom of text-edit-autoreplace, so my file is definitely not completely in alphabetical order and yet my corrections work perfectly.
__________________
|
|
02/23/2010, 02:14 AM
|
#8 (permalink) | |
|
Member
![]() Join Date: Feb 2005
Location: Lexington, KY
Posts: 175
Likes Received: 2
Thanks: 31
Thanked 25 Times in 20 Posts
|
Quote:
__________________
|
|
04/23/2010, 11:03 PM
|
#10 (permalink) |
|
Banned
Join Date: Apr 2010
Posts: 799
Likes Received: 1
Thanks: 12
Thanked 68 Times in 51 Posts
|
Thanks so much for the tutorial. Now I can finally type ur and get your!!! And type idk and get I don't know!!! I'm going to look so much smarter now all thanks to your tutorial.
|
04/24/2010, 07:31 AM
|
#14 (permalink) |
|
Member
![]() ![]() Join Date: Mar 2010
Location: UK
Posts: 1,947
Likes Received: 0
Thanks: 152
Thanked 428 Times in 350 Posts
|
Did you open in notepad or different program? It should open in a really nice self explanatory way incorrect|correct
incorrect|correct and follows this pattern all the way alphabetically. |
04/24/2010, 09:17 AM
|
#15 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 147
Likes Received: 0
Thanks: 8
Thanked 4 Times in 4 Posts
|
Quote:
I've tried this twice now and had the same result. Obviously, I'm doing some thing wrong. Thoughts??? |
|
04/24/2010, 09:27 AM
|
#16 (permalink) |
|
Member
![]() ![]() Join Date: Mar 2010
Location: UK
Posts: 1,947
Likes Received: 0
Thanks: 152
Thanked 428 Times in 350 Posts
|
Only new to this myself, I'm sure SqyArc will have a better answer. All I can think, is possibly check that your grabing the right file but I should imagine you have done that. Or maybe are you using any of the auto-replace patches or the apps? This maybe could affect the file your grabbing.
I must admit mine went pretty smoothly. |
04/24/2010, 09:32 AM
|
#17 (permalink) |
|
Member
![]() Join Date: Mar 2010
Posts: 147
Likes Received: 0
Thanks: 8
Thanked 4 Times in 4 Posts
|
I have HAD some auto replace patches and apps on my device before including Rick Hong's demo. But I have checked via WOSQI Device Management and I see no remnants of any such patches or apps. However, I do wonder if there's something hanging around on my phone from these that may be interfering. Hmmmm....
|
04/24/2010, 09:43 AM
|
#18 (permalink) |
|
Member
![]() ![]() Join Date: Mar 2010
Location: UK
Posts: 1,947
Likes Received: 0
Thanks: 152
Thanked 428 Times in 350 Posts
|
You could try EFV or webOS repair utility since neither harm your device but I'm not sure if they will locate the specific files that could be corrupted. Or it might be worth waiting for the maintainer of this thread since he might have a much better idea than me of what's wrong.
|
04/24/2010, 10:49 AM
|
#20 (permalink) |
|
Member
![]() Join Date: Mar 2009
Posts: 394
Likes Received: 0
Thanks: 43
Thanked 35 Times in 26 Posts
|
...and make sure you back it up (if using vi). As mentioned above, it will get clobbered when there is a webOS update.
__________________
Dave Cook | Fort Myers, Florida | Palm pre | Touchstone | Vaja iVolution Deco |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-discussion/231763-advanced-tutorial-view-edit-autocorrect-dictionary-free.html
|
||||
| Posted By | For | Type | Date | |
| Thread Advanced Tutorial: View and Edit the Autocorrect Dictionary for Free | TreoCentral.com | BoardReader | This thread | Refback | 07/01/2010 02:08 AM | |



