webOS Nation Forums >  Homebrew >  webOS patches > On-Screen Keyboard - Bugs, Functionality, Enhancements
On-Screen Keyboard - Bugs, Functionality, Enhancements

  Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08/14/2009, 12:05 AM   #81 (permalink)
Member
 
gsx62391@yahoo.com's Avatar
 
Join Date: Jun 2008
Posts: 123
Likes Received: 0
Thanks: 39
Thanked 27 Times in 15 Posts
Default

I just followed the Wiki page for removing and applying patch.
* Log into your Pre, and gain root privileges. (Note: This command is not required when using the emulator)

sudo -i # Yes, the -i is important.
* Put your Pre in to Read Write Mode

mount -o remount,rw /
* Ensure your list of modifications is up to date

cd /opt/src/modifications
git pull
quilt series # you should see your patch listed in here
cd / # It is *very* important to be in the / directory when you run quilt.
quilt pop (this is where you copy and paste the old patch to remove it.)
Next you will copy and paste the new patch and reboot.
That is the process i went though and it applied the newer version.
I suggest removing it from your pre and maybe just wait till the app has been fully developed because there is going to be alot more removing and installing new patches till then. I am just trying to help with feedback on the bugs in order to help with the development. But if you are having troubles with quilt this early in the stage, then yo'll be pulling your hair out in the future.

Last edited by gsx62391@yahoo.com; 08/14/2009 at 12:11 AM.
gsx62391@yahoo.com is offline  
Old 08/14/2009, 12:58 AM   #82 (permalink)
Member
 
Join Date: Jul 2009
Posts: 213
Likes Received: 0
Thanks: 22
Thanked 24 Times in 17 Posts
Default

root@castle:/opt/src# quilt import /opt/src/modifications/frameworks/add-onscre
en-keyboard.patch
Importing patch /opt/src/patches/add-onscreen-keyboard.patch
root@castle:/opt/src# quilt series
/opt/src/patches/add-onscreen-keyboard.patch
root@castle:/opt/src# quilt push -a
Applying patch /opt/src/patches/add-onscreen-keyboard.patch
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|commit 395b3d2af8af90e522d011196d66d47a363ea121
|Author: Eric <egaudet@egaudet-ubuntu.(none)>
|Date: Thu Aug 13 23:03:11 2009 -0400
|
| Add onscreen keyboard support (v0.2.0)
|
|diff --git a/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js b/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js
|index 4307893..97bd500 100644
|--- a/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js
|+++ b/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js
--------------------------
No file to patch. Skipping patch.
8 out of 8 hunks ignored
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_fulltable.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_fulltable_qwertz.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_table.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_table_azerty.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_table_qwertz.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/kbchars_fulltable.json
can't find file to patch at input line 1110
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css b/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css
|index 39fa4ec..612a873 100644
|--- a/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css
|+++ b/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
patching file usr/palm/frameworks/mojo/submissions/191.15/templates/kbselector/char-selector-row.html
patching file usr/palm/frameworks/mojo/submissions/191.15/templates/kbselector/char.html
patching file usr/palm/frameworks/mojo/submissions/191.15/templates/kbselector/charselector.html
Patch /opt/src/patches/add-onscreen-keyboard.patch does not apply (enforce with -f)
root@castle:/opt/src#


this is what happens when i try and install the patch.
Jtemple33 is offline  
Old 08/14/2009, 01:03 AM   #83 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by Jtemple33 View Post
root@castle:/opt/src# quilt import /opt/src/modifications/frameworks/add-onscre
en-keyboard.patch
Importing patch /opt/src/patches/add-onscreen-keyboard.patch
root@castle:/opt/src# quilt series
/opt/src/patches/add-onscreen-keyboard.patch
root@castle:/opt/src# quilt push -a
Applying patch /opt/src/patches/add-onscreen-keyboard.patch
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|commit 395b3d2af8af90e522d011196d66d47a363ea121
|Author: Eric <egaudet@egaudet-ubuntu.(none)>
|Date: Thu Aug 13 23:03:11 2009 -0400
|
| Add onscreen keyboard support (v0.2.0)
|
|diff --git a/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js b/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js
|index 4307893..97bd500 100644
|--- a/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js
|+++ b/usr/palm/frameworks/mojo/builtins/palmInitFramework191_15.js
--------------------------
No file to patch. Skipping patch.
8 out of 8 hunks ignored
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_fulltable.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_fulltable_qwertz.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_table.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_table_azerty.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/en_us/kbchars_table_qwertz.json
patching file usr/palm/frameworks/mojo/submissions/191.15/resources/kbchars_fulltable.json
can't find file to patch at input line 1110
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css b/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css
|index 39fa4ec..612a873 100644
|--- a/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css
|+++ b/usr/palm/frameworks/mojo/submissions/191.15/stylesheets/global.css
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
patching file usr/palm/frameworks/mojo/submissions/191.15/templates/kbselector/char-selector-row.html
patching file usr/palm/frameworks/mojo/submissions/191.15/templates/kbselector/char.html
patching file usr/palm/frameworks/mojo/submissions/191.15/templates/kbselector/charselector.html
Patch /opt/src/patches/add-onscreen-keyboard.patch does not apply (enforce with -f)
root@castle:/opt/src#


this is what happens when i try and install the patch.
you must "cd /" before quilt push.
egaudet is offline  
Old 08/14/2009, 03:04 AM   #84 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

ATTENTION

An install script has been pushed into the /opt/sources/modifications tree.

Update you tree (git pull) and you may use this script to install patches. To install/update the keyboard patch with this script do the following as root:

cd /opt/src/modifications
git pull
./install add-onscreen-keyboard.patch
egaudet is offline  
Old 08/14/2009, 04:27 AM   #85 (permalink)
Member
 
Join Date: Jan 2009
Location: texas
Posts: 174
Likes Received: 0
Thanks: 2
Thanked 26 Times in 20 Posts
Default

I ran the instructions given and the patch is not updating I still have the original patched keyboard:

Quote:
intro@phreak:~$ export PATH="$PATH:/opt/Palm/novacom"
intro@phreak:~$ novaterm
root@castle:/#
root@castle:/# cd /opt/src/modifications
root@castle:/opt/src/modifications# git pull
Already up-to-date.
root@castle:/opt/src/modifications# ./install add-onscreen-keyboard.patch
Looking for patch add-onscreen-keyboard.patch...
./frameworks/add-onscreen-keyboard.patch
Pulling latest git tree...
Already up-to-date.
Checking for patch in quilt series...
/opt/src/patches/add-onscreen-keyboard.patch
Verifying patch is in quilt series...
/opt/src/patches/add-onscreen-keyboard.patch
Remounting / rw...
Popping previous patch...
Removing patch /opt/src/patches/more_icons_per_row.patch
Restoring usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
Restoring usr/lib/luna/system/luna-applauncher/stylesheets/launcher.css

Now at patch /opt/src/patches/roam-control.patch
Pushing new patch...
Applying patch /opt/src/patches/more_icons_per_row.patch
patching file usr/lib/luna/system/luna-applauncher/app/controllers/launcher-assistant.js
patching file usr/lib/luna/system/luna-applauncher/stylesheets/launcher.css

Now at patch /opt/src/patches/more_icons_per_row.patch
SUCCESS
Remounting / to read-only
any suggestions?
__________________
--
Please post inquiries to the "Ask a Sprint rep" sticky on the CDMA North America forum.
If my post was helpful please thank me!

Linux/Palm Pre HELP can be found at:
http://www.crombiez.com

-intro.
intro is offline  
Old 08/14/2009, 08:46 AM   #86 (permalink)
Member
 
Join Date: Jun 2009
Posts: 164
Likes Received: 1
Thanks: 78
Thanked 11 Times in 7 Posts
Default

I had the same thing, i ended up completely deleting the patch, reimporting it forcefully, and then quilt pop -a to remove all patches, and reinstall with quilt push -a and then a simple reboot. Everything is good now.
abiezerf is offline  
Old 08/14/2009, 10:21 AM   #87 (permalink)
Member
 
Rennat's Avatar
 
Join Date: Jun 2009
Location: With a colony of King Penguins in Antartica
Posts: 1,318
Likes Received: 95
Thanks: 533
Thanked 304 Times in 153 Posts
Default

Same here. If it isn't updating for you just copy-paste this:
Quote:
cd /
rm /opt/src/patches/add-onscreen-keyboard.patch
cd /opt/src/modifications
git pull
cd /
quilt import -f /opt/src/modifications/frameworks/add-onscreen-keyboard.patch
quilt pop -a
quilt pop -f
quilt pop -a
quilt push -a
quilt push -f
quilt push -a
pkill LunaSysMgr
##END##
__________________
My Tutorial on how to get Ubuntu on the TouchPad: http://forums.precentral.net/webos-d...-touchpad.html

Last edited by Rennat; 08/15/2009 at 10:45 PM.
Rennat is offline  
Old 08/14/2009, 10:28 AM   #88 (permalink)
Member
 
Join Date: Jan 2009
Location: texas
Posts: 174
Likes Received: 0
Thanks: 2
Thanked 26 Times in 20 Posts
Default

i got it working using the steps abiezerf did. I love the space, enter, etc. but on the wiki it shows the keyboard with the fixed right side, mine does not have that i still have the line

also one suggestion, when using it to test a text i noticed that you cant hold down the backspace you must tap it to delete each character this isnt bad for a few or one mistake on a word but what if you wanna delete a whole phrase :P
__________________
--
Please post inquiries to the "Ask a Sprint rep" sticky on the CDMA North America forum.
If my post was helpful please thank me!

Linux/Palm Pre HELP can be found at:
http://www.crombiez.com

-intro.
intro is offline  
Old 08/14/2009, 10:56 AM   #89 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by intro View Post
i got it working using the steps abiezerf did. I love the space, enter, etc. but on the wiki it shows the keyboard with the fixed right side, mine does not have that i still have the line

also one suggestion, when using it to test a text i noticed that you cant hold down the backspace you must tap it to delete each character this isnt bad for a few or one mistake on a word but what if you wanna delete a whole phrase :P
This is an artifact of only getting the event triggered when taking your finger off the screen. I will explore ways around this, but I at least intend to try and implement the hold-sym/hold-shift swipe to move the cursor/highlight. Thanks for the input
egaudet is offline  
Old 08/14/2009, 11:27 AM   #90 (permalink)
Member
 
Join Date: Jan 2009
Location: texas
Posts: 174
Likes Received: 0
Thanks: 2
Thanked 26 Times in 20 Posts
Default

no problem emoney, i showed the guys your patch yesterday at the store and everyone is amazed lol :]
__________________
--
Please post inquiries to the "Ask a Sprint rep" sticky on the CDMA North America forum.
If my post was helpful please thank me!

Linux/Palm Pre HELP can be found at:
http://www.crombiez.com

-intro.
intro is offline  
Old 08/14/2009, 01:50 PM   #91 (permalink)
Member
 
gollyzila's Avatar
 
Join Date: May 2009
Posts: 1,003
Likes Received: 0
Thanks: 343
Thanked 95 Times in 70 Posts
Default

I've been running into some trouble uninstalling and reinstalling the patch. I just tried install with the install script emoney_33 posted and this is what i get:

Quote:
root@castle:/#
root@castle:/# cd /opt/src/modifications
root@castle:/opt/src/modifications# ./install add-onscreen-keyboard.patch
Looking for patch add-onscreen-keyboard.patch...
./frameworks/add-onscreen-keyboard.patch
Pulling latest git tree...
Already up-to-date.
Checking for patch in quilt series...
patches/add-onscreen-keyboard.patch
Verifying patch is in quilt series...
patches/add-onscreen-keyboard.patch
Remounting / rw...
Popping previous patch...
Removing patch patches/hidden-clock.patch
Restoring usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock.html
Restoring usr/palm/applications/com.palm.app.clock/themes/manualanalog/manualanalog-clock-functions.js
Restoring usr/palm/applications/com.palm.app.clock/themes/themes.json

Now at patch patches/add-delete-pages-in-the-launcher.patch
Pushing new patch...
File series fully applied, ends at patch patches/add-delete-pages-in-the-launcher.patch
ERROR: Could not push patch
Please visit Applying Patches - WebOS Internals
root@castle:/opt/src/modifications#
Can anyone help me please?
gollyzila is offline  
Old 08/14/2009, 01:59 PM   #92 (permalink)
Member
 
Join Date: Aug 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default forums>webOS software and chat>webOS development>on screen keyboaard

so when or where can i download this on screen keybord app i really want to download it
jmetcalf154 is offline  
Old 08/14/2009, 02:01 PM   #93 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by gollyzila View Post
I've been running into some trouble uninstalling and reinstalling the patch. I just tried install with the install script emoney_33 posted and this is what i get:



Can anyone help me please?

can you tell me what you get from doing the following:

cd /
quilt series
egaudet is offline  
Old 08/14/2009, 02:09 PM   #94 (permalink)
Member
 
gollyzila's Avatar
 
Join Date: May 2009
Posts: 1,003
Likes Received: 0
Thanks: 343
Thanked 95 Times in 70 Posts
Default

I was able to get it installed but all my other patches are gone now. I'm using the terminal on my pre, and when I input quilt series it just lists the on-screen-keyboard patch. So do I have to install all my other patches again?
gollyzila is offline  
Old 08/14/2009, 02:13 PM   #95 (permalink)
Developer
 
Join Date: Jul 2009
Posts: 1,400
Likes Received: 3
Thanks: 17
Thanked 1,540 Times in 376 Posts
Default

Quote:
Originally Posted by gollyzila View Post
I was able to get it installed but all my other patches are gone now. I'm using the terminal on my pre, and when I input quilt series it just lists the on-screen-keyboard patch. So do I have to install all my other patches again?

Hmmm, that could be the case. I will have to get the script updated to not do this, sorry for the inconvenience.
egaudet is offline  
Old 08/14/2009, 02:22 PM   #96 (permalink)
Member
 
gollyzila's Avatar
 
Join Date: May 2009
Posts: 1,003
Likes Received: 0
Thanks: 343
Thanked 95 Times in 70 Posts
Default

Its all good. I'm just glad it didn't end badly. So what would you recommend doing next time I have to update the on-screen-keyboard?
gollyzila is offline  
Old 08/14/2009, 02:26 PM   #97 (permalink)
Member
 
Join Date: Jan 2009
Location: texas
Posts: 174
Likes Received: 0
Thanks: 2
Thanked 26 Times in 20 Posts
Default

Quote:
Originally Posted by gollyzila View Post
Its all good. I'm just glad it didn't end badly. So what would you recommend doing next time I have to update the on-screen-keyboard?
cd /
rm /opt/src/patches/add-onscreen-keyboard.patch
cd /opt/src/modifications
git pull
cd /
quilt import -f /opt/src/modifications/frameworks/add-onscreen-keyboard.patch
quilt pop -a
quilt pop -f
quilt pop -a
quilt push -a
quilt push -f
quilt push -a
reboot

i would follow those steps as a rule of thumb although i dont really like the idea of forcing the patch but it doesnt seem to mess anything up
__________________
--
Please post inquiries to the "Ask a Sprint rep" sticky on the CDMA North America forum.
If my post was helpful please thank me!

Linux/Palm Pre HELP can be found at:
http://www.crombiez.com

-intro.
intro is offline  
Thanked By: gollyzila
Old 08/14/2009, 03:08 PM   #98 (permalink)
Member
 
gollyzila's Avatar
 
Join Date: May 2009
Posts: 1,003
Likes Received: 0
Thanks: 343
Thanked 95 Times in 70 Posts
Default

^^^^^^^^but that won't delete all my patches right??
gollyzila is offline  
Old 08/14/2009, 03:48 PM   #99 (permalink)
Member
 
lilmexx323's Avatar
 
Join Date: Oct 2007
Posts: 166
Likes Received: 0
Thanks: 5
Thanked 17 Times in 12 Posts
Default

No... it wont as you are only removing the onscreen-keyboard.pach file. Then reloading the new one.... This is an easy way of updating to the latest..
lilmexx323 is offline  
Thanked By: gollyzila
Old 08/14/2009, 09:03 PM   #100 (permalink)
Member
 
Join Date: Jan 2009
Location: texas
Posts: 174
Likes Received: 0
Thanks: 2
Thanked 26 Times in 20 Posts
Default

Quote:
Originally Posted by gollyzila View Post
^^^^^^^^but that won't delete all my patches right??
No, here's an explanation of the commands:
cd / #change directory to root
rm /opt/src/patches/add-onscreen-keyboard.patch #remove the add-onscreen kb patch
cd /opt/src/modifications #go to the modifications folder
git pull #update your git sources
cd / #change to root directory
quilt import -f /opt/src/modifications/frameworks/add-onscreen-keyboard.patch # FORCE quilt to import the new patch to the quilt series
quilt pop -a # "undo" all of the patches (will give an error about the kb patch)
quilt pop -f # FORCE quilt to "undo" kb + all erroring patches
quilt pop -a # "undo" all of the patches (no error)
this command will "delete" all of your patches
quilt push -a # "apply" all patches
this command will "install" all patches that you just "deleted"
quilt push -f # FORCE apply to all patches (if errors are received)
quilt push -a # "apply" all patches (no error)
reboot # kill/restart all services OR you can start + stop luna which is alittle quicker

i hope this clarifies some things for you :]
__________________
--
Please post inquiries to the "Ask a Sprint rep" sticky on the CDMA North America forum.
If my post was helpful please thank me!

Linux/Palm Pre HELP can be found at:
http://www.crombiez.com

-intro.
intro is offline  
Thanked By: gollyzila
Closed Thread

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0