Help - Search - Members - Calendar
Full Version: Help getting started:install,uic, Dvorak Kbd
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > User Request for Applications
panyo
I got my Zaurus 5500 last week, and quickly added 128 M flash,
256 M sd, and a Targus Universal wireless IR keyboard and installed
OZ 3.3.5. Had to check out a digital camera from school because
nothing I did to my CF could get me around the dual blinking lights.

My main reason for buying it was to write articles using the Dvorak
keyboard layout on an external keyboard and vim or emacs.
I quickly grew to like the built-in keyboard and now want Dvoark on
that too.

Unfortunately, all I found in my searching was opie-dvorak which is an
on-screen keyboard, posts leading to dead links, and posts asking for
Dvorak and getting no reply. Then the Zaurus forum site disappeared
(found it again, but now here I am). It is a shame that there is no
Dvorak on this, a linux device.

I thus turned to the source code for keyz
http://sourceforge.net/projects/keyz/
and for IRK, (can't find source site anymore), to try to add the support
myself. To do this I had to get development working. I failed to get a
cross compiler working on OSX, and have no room to do the installation
under Gentoo on PPC. I have, however, almost completely succeeded
on-board using the cramfs files from:
http://www.zaurususergroup.com/feed/zgcc2install.html .
I had to add these symbolic links to the instructions,

CODE
# ln -sf /mnt/card/.include/Qtopia/ $QTDIR/include

# ln -sf /mnt/card/.zgcc/bin/moc $QTDIR/bin/moc


but now I can compile. However, I cannot make an ipk. The the make
fails when the Makefile calls the 'install' binary.

Questions:
1) Is there already Dvorak support on the Zaurus?

2) Where do I get the 'install' binary?

Also, where can I get uic ? Needed to compile IRK.
3) How are the keys handled if I am running with no GUI? Can I rotate
the console under these conditions?
edit
Partial answers I have found:/ur/bin/ install comes from fileutils, /usr/bin/uic is available for arm in Debian stable. Trying to satisfy uic dependenices made me run out of space, so don't know how well it would have worked.
panyo
edit: I have changed spacing and indentation and reversed ' and " (now mapped to e and w). This map is supported by opie-zkbapplet.

The following keymap file gives Dvorak-like input on the builtin 5500 keyboard with keyz.
http://sourceforge.net/projects/keyz
Just put it in the zkb/ directory and with en.xml and the other maps. Name it something like dv.xml.

It maps, wrapping around to the purple keys on the 5500 and displacing the question mark to the Q.
?"'PYFGCRL
/,.pyfgcrl

AOEUIDHTN
aoeuidhtn

:QJKXBMS
;qjkxbms

ZVW
zvw


CODE
<keymap>

<include file="common.xml"/>

<state name="lower-case">
       <map keycode="Space" pressed="true">
               <event keycode="Space" unicode="32" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Apostrophe" pressed="true">
               <event keycode="Apostrophe" unicode="118" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Comma" pressed="true">
               <event keycode="Comma" unicode="115" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Period" pressed="true">
               <event keycode="Period" unicode="119" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Slash" pressed="true">
               <event keycode="Slash" unicode="122" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="A" pressed="true">
               <event keycode="A" unicode="97" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="B" pressed="true">
               <event keycode="B" unicode="120" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="C" pressed="true">
               <event keycode="C" unicode="106" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="D" pressed="true">
               <event keycode="D" unicode="101" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="E" pressed="true">
               <event keycode="E" unicode="46" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="F" pressed="true">
               <event keycode="F" unicode="117" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="G" pressed="true">
               <event keycode="G" unicode="105" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="H" pressed="true">
               <event keycode="H" unicode="100" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="I" pressed="true">
               <event keycode="I" unicode="99" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="J" pressed="true">
               <event keycode="J" unicode="104" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="K" pressed="true">
               <event keycode="K" unicode="116" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="L" pressed="true">
               <event keycode="L" unicode="110" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="M" pressed="true">
               <event keycode="M" unicode="109" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="N" pressed="true">
               <event keycode="N" unicode="98" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="O" pressed="true">
               <event keycode="O" unicode="114" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="P" pressed="true">
               <event keycode="P" unicode="108" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Q" pressed="true">
               <event keycode="Q" unicode="47" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="R" pressed="true">
               <event keycode="R" unicode="112" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="S" pressed="true">
               <event keycode="S" unicode="111" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="T" pressed="true">
               <event keycode="T" unicode="121" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="U" pressed="true">
               <event keycode="U" unicode="103" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="V" pressed="true">
               <event keycode="V" unicode="107" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="W" pressed="true">
               <event keycode="W" unicode="44" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="X" pressed="true">
               <event keycode="X" unicode="113" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Y" pressed="true">
               <event keycode="Y" unicode="102" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Z" pressed="true">
               <event keycode="Z" unicode="59" pressed="true" autorepeat="true"/>

      </map>



      <map keycode="Space" pressed="false">
              <event keycode="Space" unicode="32" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Apostrophe" pressed="false">
               <event keycode="Apostrophe" unicode="118" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Comma" pressed="false">
               <event keycode="Comma" unicode="115" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Period" pressed="false">
               <event keycode="Period" unicode="119" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Slash" pressed="false">
               <event keycode="Slash" unicode="122" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="A" pressed="false">
               <event keycode="A" unicode="97" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="B" pressed="false">
               <event keycode="B" unicode="120" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="C" pressed="false">

        <event keycode="C" unicode="106" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="D" pressed="false">
               <event keycode="D" unicode="101" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="E" pressed="false">
               <event keycode="E" unicode="46" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="F" pressed="false">
               <event keycode="F" unicode="117" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="G" pressed="false">
               <event keycode="G" unicode="105" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="H" pressed="false">
               <event keycode="H" unicode="100" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="I" pressed="false">
               <event keycode="I" unicode="99" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="J" pressed="false">
               <event keycode="J" unicode="104" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="K" pressed="false">
               <event keycode="K" unicode="116" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="L" pressed="false">
               <event keycode="L" unicode="110" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="M" pressed="false">
               <event keycode="M" unicode="109" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="N" pressed="false">
               <event keycode="N" unicode="98" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="O" pressed="false">
               <event keycode="O" unicode="114" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="P" pressed="false">
               <event keycode="P" unicode="108" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Q" pressed="false">

              <event keycode="Q" unicode="47" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="R" pressed="false">
               <event keycode="R" unicode="112" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="S" pressed="false">
               <event keycode="S" unicode="111" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="T" pressed="false">
               <event keycode="T" unicode="121" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="U" pressed="false">
               <event keycode="U" unicode="103" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="V" pressed="false">
               <event keycode="V" unicode="107" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="W" pressed="false">
               <event keycode="W" unicode="44" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="X" pressed="false">
               <event keycode="X" unicode="113" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Y" pressed="false">
               <event keycode="Y" unicode="102" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Z" pressed="false">
               <event keycode="Z" unicode="59" pressed="false" autorepeat="true"/>
     </map>
</state>
<state name="upper-case">
      <map keycode="Space" pressed="true">
               <event keycode="Space" unicode="32" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Apostrophe" pressed="true">
               <event keycode="QuoteDbl" unicode="86" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Comma" pressed="true">
               <event keycode="Semicolon" unicode="83" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Period" pressed="true">
               <event keycode="Colon" unicode="87" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Slash" pressed="true">
               <event keycode="Question" unicode="90" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="A" pressed="true">
               <event keycode="A" unicode="65" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="B" pressed="true">
               <event keycode="B" unicode="88" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="C" pressed="true">
               <event keycode="C" unicode="74" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="D" pressed="true">
               <event keycode="D" unicode="69" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="E" pressed="true">
               <event keycode="E" unicode="39" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="F" pressed="true">
               <event keycode="F" unicode="85" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="G" pressed="true">
               <event keycode="G" unicode="73" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="H" pressed="true">
               <event keycode="H" unicode="68" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="I" pressed="true">
               <event keycode="I" unicode="67" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="J" pressed="true">
               <event keycode="J" unicode="72" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="K" pressed="true">
               <event keycode="K" unicode="84" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="L" pressed="true">
               <event keycode="L" unicode="78" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="M" pressed="true">
               <event keycode="M" unicode="77" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="N" pressed="true">
               <event keycode="N" unicode="66" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="O" pressed="true">
               <event keycode="O" unicode="82" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="P" pressed="true">
               <event keycode="P" unicode="76" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Q" pressed="true">
               <event keycode="Q" unicode="63" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="R" pressed="true">
               <event keycode="R" unicode="80" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="S" pressed="true">
               <event keycode="S" unicode="79" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="T" pressed="true">
               <event keycode="T" unicode="89" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="U" pressed="true">
               <event keycode="U" unicode="71" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="V" pressed="true">
               <event keycode="V" unicode="75" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="W" pressed="true">
               <event keycode="W" unicode="34" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="X" pressed="true">
               <event keycode="X" unicode="81" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Y" pressed="true">
               <event keycode="Y" unicode="70" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>
      <map keycode="Z" pressed="true">
               <event keycode="Z" unicode="58" modifiers="Shift" pressed="true" autorepeat="true"/>
      </map>

   

      <map keycode="Space" pressed="false">
               <event keycode="Space" unicode="32" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Apostrophe" pressed="false">
               <event keycode="QuoteDbl" unicode="86" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Comma" pressed="false">
               <event keycode="Semicolon" unicode="83" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Period" pressed="false">
               <event keycode="Colon" unicode="87" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Slash" pressed="false">
               <event keycode="Question" unicode="90" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="A" pressed="false">
               <event keycode="A" unicode="65" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="B" pressed="false">
               <event keycode="B" unicode="88" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="C" pressed="false">
               <event keycode="C" unicode="74" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="D" pressed="false">
               <event keycode="D" unicode="69" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="E" pressed="false">
               <event keycode="E" unicode="39" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="F" pressed="false">
               <event keycode="F" unicode="85" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="G" pressed="false">
               <event keycode="G" unicode="73" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="H" pressed="false">
               <event keycode="H" unicode="68" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="I" pressed="false">
               <event keycode="I" unicode="67" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="J" pressed="false">
               <event keycode="J" unicode="85" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="K" pressed="false">
               <event keycode="K" unicode="84" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="L" pressed="false">
               <event keycode="L" unicode="78" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="M" pressed="false">
               <event keycode="M" unicode="77" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="N" pressed="false">
               <event keycode="N" unicode="66" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="O" pressed="false">
               <event keycode="O" unicode="82" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="P" pressed="false">
               <event keycode="P" unicode="76" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Q" pressed="false">
               <event keycode="Q" unicode="63" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="R" pressed="false">
               <event keycode="R" unicode="80" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="S" pressed="false">
               <event keycode="S" unicode="79" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="T" pressed="false">
               <event keycode="T" unicode="89" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="U" pressed="false">
               <event keycode="U" unicode="71" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="V" pressed="false">
               <event keycode="V" unicode="75" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="W" pressed="false">
               <event keycode="W" unicode="34" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="X" pressed="false">
               <event keycode="X" unicode="81" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Y" pressed="false">
               <event keycode="Y" unicode="70" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
      <map keycode="Z" pressed="false">
               <event keycode="Z" unicode="58" modifiers="Shift" pressed="false" autorepeat="true"/>
      </map>
</state>
</keymap>
dhns
QUOTE
I failed to get a 
cross compiler working on OSX, and have no room to do the installation 
under Gentoo on PPC.

There are two resources to create a cross compiler:

http://www.lucid-cake.net/osx_arm/index_en.html - for creating the cross compiler yourself

http://www.lucid-cake.net/osx_arm/index_en.html - a complete binaries package - but without Qt headers and libraries

-- hns
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.