webOS Nation Forums > Homebrew > webOS patches > On-Screen Keyboard - Bugs, Functionality, Enhancements
1 2 3 4 5 6 7 8 9 10 15 55 105  ... Last
Member: gsx62391@yahoo.com
at: 01:05 AM 08/14/2009
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.
Member: Jtemple33
at: 01:58 AM 08/14/2009
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.
Developer: egaudet
at: 02:03 AM 08/14/2009
Originally Posted by Jtemple33:
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.
Developer: egaudet
at: 04:04 AM 08/14/2009
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
Member: intro
at: 05:27 AM 08/14/2009
I ran the instructions given and the patch is not updating I still have the original patched keyboard:

Originally Posted by :
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?
Member: abiezerf
at: 09:46 AM 08/14/2009
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.
Member: Rennat
at: 11:21 AM 08/14/2009
Same here. If it isn't updating for you just copy-paste this:
Originally Posted by :
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##

Member: intro
at: 11:28 AM 08/14/2009
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
Developer: egaudet
at: 11:56 AM 08/14/2009
Originally Posted by intro:
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
Member: intro
at: 12:27 PM 08/14/2009
no problem emoney, i showed the guys your patch yesterday at the store and everyone is amazed lol :]
Member: gollyzila
at: 02:50 PM 08/14/2009
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:

Originally Posted by :
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?
Member: jmetcalf154
at: 02:59 PM 08/14/2009
so when or where can i download this on screen keybord app i really want to download it
Developer: egaudet
at: 03:01 PM 08/14/2009
Originally Posted by gollyzila:
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
Member: gollyzila
at: 03:09 PM 08/14/2009
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?
Developer: egaudet
at: 03:13 PM 08/14/2009
Originally Posted by gollyzila:
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.
Member: gollyzila
at: 03:22 PM 08/14/2009
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?
Member: intro
at: 03:26 PM 08/14/2009
Originally Posted by gollyzila:
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
Member: gollyzila
at: 04:08 PM 08/14/2009
^^^^^^^^but that won't delete all my patches right??
Member: lilmexx323
at: 04:48 PM 08/14/2009
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..
Member: intro
at: 10:03 PM 08/14/2009
Originally Posted by gollyzila:
^^^^^^^^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 :]
1 2 3 4 5 6 7 8 9 10 15 55 105  ... Last
Closed Thread

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