Active Topics

 


Reply
Thread Tools
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#11
Hmm... I think those probably live in your theme directories, but I'm not at all sure.
 

The Following 2 Users Say Thank You to Benson For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#12
Originally Posted by roblynn View Post
Here is what you need to customize the layout of a virtual keyboard:
1) Get the decode_vkb perl script. You use this script on the appropriate VKB file in /usr/share/keyboards to convert the VKB into an editable XML document.
2) Get both deb from here for the appropriate architecture (depending if you are doing this on the device or on a linux x86 workstation). Use ar and tar to extract the files from the deb, and then to extract the gen_vkb executable and the libimlayouts shared object from the installation archives. Put them both in the same folder -- to run you need to add the current path to LD_LIBRARY_PATH.

Now you have the tools. Simply decode the VKB to XML, edit the file, and then re-encode it using gen_vkb. Move the generated .vkb file to /usr/share/keyboards, restart the hildon-input daemon and voila!
I could use some help with Step 1. After I download decode_vkb I end up with a file called decode_vkb.htm. If I doubleclick it, I get an html page with three links. One is a read me, one is a license, and one is, I suppose, a perl script: decode_vkb.pl

I have no idea what to do with that perl script. Clicking it in MicroB gets me a File Not Found error. But the script doesn't seem accessible other than from within html. Maybe I need some perl software, or I'm just lost.

To summarize, I have no idea about how to "use this [perl] script on the appropriate VKB file ... to convert the VKB into an editable XML document."
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 

The Following User Says Thank You to GeraldKo For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#13
Use his second post.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#14
Originally Posted by qwerty12 View Post
Use his second post.
That post details Step 2; I'm lost at Step 1: creating the xml file.
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 

The Following User Says Thank You to GeraldKo For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#15
No, he's already done the bit with decode-vkb so that step is not needed anymore.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#16
Originally Posted by qwerty12 View Post
No, he's already done the bit with decode-vkb so that step is not needed anymore.

But "the bit with decode-vkb" is Step 1. He's done it, but I haven't!

"1) Get the decode_vkb perl script. You use this script on the appropriate VKB file in /usr/share/keyboards to convert the VKB into an editable XML document." When I "get" the perl script, it appears to me to be part of an html file. I don't know how to get it out of there and what to do with it.

It seems to me that what he does in Post #4 assumes you have completed Step 1, that you already have converted the VKB file into an XML file -- that's what I can't do.

(And, Faheem, I don't want to look a gift horse in the mouth, but aren't you supposed to be in school now! )
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 

The Following User Says Thank You to GeraldKo For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#17
Oh sorry! I forget, you are right. Give me a sec, and i'll help you out.

Hehe, not today, bank holiday monday

Last edited by qwerty12; 2008-05-05 at 12:14.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#18
No rush, time for me to head back to bed! Have a fun day off
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)
 

The Following User Says Thank You to GeraldKo For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#19
Ok, make sure you have the tar from #4 extracted to the /home/user/MyDocs folder.
Save this http://idoru.metadreams.net/~kimju/s.../decode_vkb.pl - in the gen_vkb_arm folder.

Now, "cd /home/user/MyDocs/gen_vkb_arm" and run "chmod +x ./decode_vkb.pl"
(I assume you use american english layout)
run
"cp /usr/share/keyboards/en_US.vkb ."

now "./decode_vkb.pl en_US.vkb > en_US.xml"

and u now have a xml file

Thanks!
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 28 | Thanked: 5 times | Joined on Aug 2007
#20
I noticed that the standard OSK layout shows a little, thin key to the left of the spacebar that I can tap on. Is this a valid key? Can I assign CTRL to this key, so I don't have to use the sidebar in Xterm?
 

The Following User Says Thank You to jbenny For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 00:20.